1 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5 (dprintf): Define as a weak alias of __dprintf, not a strong
7 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
8 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
10 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
23 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
24 (in6addr_loopback): Rename to __in6addr_loopback and define as
25 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
26 * include/netinet/in.h (__in6addr_loopback): Declare. Use
28 (__in6addr_any): Likewise.
29 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
31 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
33 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
37 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
38 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
39 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
40 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
42 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
43 * sysdeps/x86_64/fpu/Versions: New versions added.
44 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
45 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
46 build of SSE, AVX2 and AVX512 IFUNC versions.
47 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
48 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
49 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
50 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
51 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
52 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
53 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
54 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
55 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
56 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
57 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
58 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
59 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
60 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
61 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
62 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
63 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
64 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
65 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
66 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
67 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
68 * NEWS: Mention addition of x86_64 vector pow.
70 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
71 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
72 redirections for expf.
73 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
74 * sysdeps/x86_64/fpu/Versions: New versions added.
75 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
76 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
77 build of SSE, AVX2 and AVX512 IFUNC versions.
78 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
79 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
80 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
81 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
82 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
83 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
84 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
85 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
86 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
87 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
88 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
89 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
90 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
91 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
92 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
93 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
94 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
95 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
96 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
97 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
98 * NEWS: Mention addition of x86_64 vector expf.
100 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
101 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
102 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
103 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
104 redirections for exp.
105 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
106 * sysdeps/x86_64/fpu/Versions: New versions added.
107 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
108 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
109 build of SSE, AVX2 and AVX512 IFUNC versions.
110 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
111 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
112 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
113 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
114 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
115 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
116 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
117 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
118 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
119 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
120 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
121 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
122 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
123 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
124 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
125 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
126 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
127 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
128 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
129 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
130 * NEWS: Mention addition of x86_64 vector exp.
132 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
133 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
134 redirections for logf.
135 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
136 * sysdeps/x86_64/fpu/Versions: New versions added.
137 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
138 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
139 build of SSE, AVX2 and AVX512 IFUNC versions.
140 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
141 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
142 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
143 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
144 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
145 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
146 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
147 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
148 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
149 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
150 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
151 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
152 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
153 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
154 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
155 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
156 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
157 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
158 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
159 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
160 * NEWS: Mention addition of x86_64 vector logf.
162 * bits/libm-simd-decl-stubs.h: Added stubs for log.
163 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
164 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
165 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
166 redirections for log.
167 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
168 * sysdeps/x86_64/fpu/Versions: New versions added.
169 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
170 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
171 build of SSE, AVX2 and AVX512 IFUNC versions.
172 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
173 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
174 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
175 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
176 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
177 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
178 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
179 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
180 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
181 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
182 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
183 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
184 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
185 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
186 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
187 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
188 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
189 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
190 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
191 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
192 * NEWS: Mention addition of x86_64 vector log.
194 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
196 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
197 cfi_adjust_cfa_offset argument.
198 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
199 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
202 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
203 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
204 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
206 (_dl_tlsdesc_dynamic): Likewise.
207 (_dl_tlsdesc_return_lazy): Likewise.
208 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
209 relaxed atomics instead of volatile and synchronize with release store.
210 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
212 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
214 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
216 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
217 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
218 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
219 * sysdeps/x86_64/fpu/Versions: New versions added.
220 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
221 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
222 build of SSE, AVX2 and AVX512 IFUNC versions.
223 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
224 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
225 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
226 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
227 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
228 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
229 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
230 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
231 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
232 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
233 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
234 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
235 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
236 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
237 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
238 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
239 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
240 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
241 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
242 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
243 * NEWS: Mention addition of x86_64 vector sinf.
245 2015-06-14 Joseph Myers <joseph@codesourcery.com>
247 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
248 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
249 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
251 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
252 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
254 2015-06-12 Joseph Myers <joseph@codesourcery.com>
257 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
258 strong alias of _IO_fputs. Use libc_hidden_def.
259 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
260 and define as weak alias of __fputs_unlocked. Use
262 * include/stdio.h (__fputs_unlocked): Declare. Use
264 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
268 * resolv/netdb.h [__USE_POSIX]: Change condition to
270 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
272 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
273 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
274 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
275 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
276 [XPG4 || UNIX98] (AI_ALL): Likewise.
277 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
278 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
279 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
280 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
281 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
282 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
283 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
284 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
285 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
286 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
287 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
288 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
289 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
290 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
291 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
292 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
293 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
294 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
295 [XPG4 || UNIX98] (gai_strerror): Likewise.
296 [XPG4 || UNIX98] (getaddrinfo): Likewise.
297 [XPG4 || UNIX98] (getnameinfo): Likewise.
300 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
301 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
303 (getgrent): Likewise.
304 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
306 [XPG3 || POSIX2008] (endgrent): Likewise.
307 [XPG3] (setgrent): Likewise.
308 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
310 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
313 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
314 define as weak alias of __getlogin_r. Use libc_hidden_weak.
315 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
316 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
317 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
318 * include/unistd.h (__getlogin_r): Declare. Use
320 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
321 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
323 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
324 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
325 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
327 2015-06-12 Martin Sebor <msebor@redhat.com>
330 * Makerules (check-install-supported): New target.
331 (install): Add check-install-supported as a dependency.
332 * manual/install.texi (Installing the C Library): Document
333 that overriding prefix and exec_prefix is not supported.
335 * INSTALL: Regenerate from the above.
337 2015-06-12 Joseph Myers <joseph@codesourcery.com>
340 * posix/Versions (libc): Export __libc_pread at version
342 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
344 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
349 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
350 (cvt_symbol): Use weak_alias instead of strong_alias.
351 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
352 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
354 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
355 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
358 * inet/herrno.c (h_errno): Rename to __h_errno.
359 (__libc_h_errno): Define as alias of __h_errno not h_errno.
360 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
361 to __h_errno instead of h_errno.
362 * nptl/herrno.c (h_errno): Rename to __h_errno.
363 (__h_errno_location): Refer to __h_errno not h_errno.
364 * resolv/Versions (h_errno): Rename to __h_errno.
365 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
367 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
369 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
371 * configure.ac: More strict check for AVX512 assembler support.
372 * configure: Regenerated.
374 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
375 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
376 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
377 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
378 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
379 * sysdeps/x86_64/fpu/Versions: New versions added.
380 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
381 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
382 build of SSE, AVX2 and AVX512 IFUNC versions.
383 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
384 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
385 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
386 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
387 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
388 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
389 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
390 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
391 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
392 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
393 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
394 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
395 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
396 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
397 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
398 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
399 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
400 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
401 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
402 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
403 * NEWS: Mention addition of x86_64 vector sin.
405 2015-06-11 Florian Weimer <fweimer@redhat.com>
407 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
410 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
413 * nptl/pt-interp.c: New file.
414 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
416 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
417 $(common-objpfx)runtime-linker.h.
419 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
421 * Makeconfig (+interp): Remove unused variable.
422 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
423 only. Depend on $(common-objpfx)runtime-linker.h instead of
424 $(elf-objpfx)runtime-linker.h.
425 ($(elf-objpfx)runtime-linker.h): Rename to
426 $(common-objpfx)runtime-linker.h and move ...
427 * Makerules [$(build-shared) = yes]: ... here.
428 * elf/interp.c: Include <runtime-linker.h> instead of
429 <elf/runtime-linker.h>.
431 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
433 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
434 (__gettimeofday_syscall): Remove vsyscall fallback.
435 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
436 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
437 Add syscall fallback function.
438 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
439 if vDSO is not present.
440 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
442 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
444 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
445 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
447 2015-06-09 Joseph Myers <joseph@codesourcery.com>
450 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
452 (wcscmp): Define as weak alias of WCSCMP.
453 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
455 (USE_HIDDEN_DEF): Define.
456 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
457 __wcscoll. Don't use libc_hidden_weak.
458 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
460 * sysdeps/i386/i686/multiarch/wcscmp-c.c
461 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
463 (weak_alias): Undefine and redefine.
464 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
465 __wcscmp and define as weak alias of __wcscmp.
466 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
467 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
468 (__wcscoll): Likewise.
469 (wcscmp): Don't use libc_hidden_proto.
471 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
473 * posix/regexec.c (check_node_accept_bytes): Likewise.
474 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
476 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
477 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
480 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
481 __fstatvfs and define as weak alias of __fstatvfs. Use
483 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
484 and define as weak alias of __statvfs. Use libc_hidden_weak.
485 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
486 Define as alias of __fstatvfs, not fstatvfs.
487 (fstatvfs64): Likewise.
488 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
489 Define as alias of __statvfs, not statvfs.
490 (statvfs64): Likewise.
491 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
494 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
497 (HAVE_GETCPU_VSYSCALL): Define.
498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
499 (HAVE_GETCPU_VSYSCALL): Likewise.
500 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
501 * sysdeps/unix/sysv/linux/sched_getcpu.c
502 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
503 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
504 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
506 * sysdeps/unix/sysv/linux/x86_64/init-first.c
507 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
508 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
509 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
511 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
512 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
513 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
514 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
516 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
518 * sysdeps/x86_64/fpu/Makefile: New file.
519 * sysdeps/x86_64/fpu/Versions: New file.
520 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
521 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
522 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
523 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
524 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
525 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
526 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
527 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
528 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
529 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
530 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
531 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
532 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
533 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
534 build of SSE, AVX2 and AVX512 IFUNC versions.
535 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
536 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
537 * sysdeps/x86_64/configure.ac: Options for libmvec build.
538 * sysdeps/x86_64/configure: Regenerated.
539 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
540 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
541 * manual/install.texi (Configuring and compiling): Document
543 * INSTALL: Regenerated.
544 * NEWS: Mention addition of libmvec and x86_64 vector cos.
546 * math/Makefile: Added rules for vector tests.
547 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
548 declaration under condition.
549 * math/test-double-vlen2.h: New file.
550 * math/test-double-vlen4.h: New file.
551 * math/test-double-vlen8.h: New file.
552 * math/test-vec-loop.h: Added initialization macro.
553 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
554 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
555 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
556 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
557 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
558 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
559 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
560 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
561 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
562 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
563 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
565 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
566 * sysdeps/x86_64/fpu/Versions: New versions added.
567 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
568 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
569 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
570 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
571 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
572 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
573 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
574 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
575 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
576 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
577 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
578 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
579 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
580 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
581 build of SSE, AVX2 and AVX512 IFUNC versions.
582 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
583 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
584 * NEWS: Mention addition of x86_64 vector cosf.
586 * math/Makefile: Added CFLAGS for new tests.
587 * math/test-float-vlen16.h: New file.
588 * math/test-float-vlen4.h: New file.
589 * math/test-float-vlen8.h: New file.
590 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
591 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
592 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
593 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
594 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
595 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
596 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
597 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
598 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
599 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
600 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
602 2015-06-09 Marko Myllynen <myllynen@redhat.com>
604 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
605 * locale/programs/ld-ctype.c: Likewise.
607 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
609 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
610 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
611 bit_ZMM16_31_state): New macro.
612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
613 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
615 2015-06-08 Joseph Myers <joseph@codesourcery.com>
617 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
619 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
621 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
623 2015-06-05 Joseph Myers <joseph@codesourcery.com>
626 * libio/memstream.c (open_memstream): Rename to __open_memstream
627 and define as weak alias of __open_memstream.
628 * include/stdio.h (__open_memstream): Declare. Use
630 (open_memstream): Don't use libc_hidden_proto.
631 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
633 * posix/getopt.c (_getopt_internal_r): Likewise.
634 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
636 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
637 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
638 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
641 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
645 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
646 [__USE_XOPEN2K8]. Remove redundant #endif.
647 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
648 Remove redundant #if.
649 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
651 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
652 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
655 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
656 (__iswlower): Likewise.
657 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
658 (__iswlower): Likewise.
659 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
661 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
662 instead of iswlower. Call __towupper instead of towupper.
663 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
666 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
668 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
671 2015-06-05 Florian Weimer <fweimer@redhat.com>
675 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
676 Check for overflow properly. Check for O_APPEND. Ignore large
677 file system block sizes. Add comments about problems.
678 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
679 * manual/filesys.texi (Storage Allocation): New node.
681 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
683 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
684 cancellable syscalls.
685 (SYS_ify): Add guard to no redefine it.
686 (INLINE_SYSCALL): Likewise.
687 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
688 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
689 SYSCALL_CANCEL instead.
690 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
691 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
692 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
693 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
694 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
695 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
696 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
697 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
698 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
699 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
700 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
701 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
702 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
703 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
704 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
705 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
707 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
708 (__libc_pread64): Likewise.
709 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
710 (__libc_preadv): Likewise.
711 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
712 (__libc_readv64): Likewise.
713 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
714 (__libc_pwrite): Likewise.
715 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
716 (__libc_pwrite64): Likewise.
717 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
718 (__libc_pwritev): Likewise.
719 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
720 (__libc_pwritev64): Likewise.
721 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
722 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
723 (sync_file_range): Likewise.
724 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
726 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
728 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
729 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
730 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
731 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
732 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
733 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
734 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
735 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
739 (__libc_read64): Likewise.
740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
749 (__libc_pread64): Likewise.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
753 (__libc_pwrite64): Likewise.
754 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
755 (sync_file_range): Likewise.
756 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
757 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
758 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
759 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
760 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
761 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
762 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
763 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
764 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
765 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
766 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
767 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
768 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
769 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
770 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
771 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
772 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
773 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
774 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
776 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
778 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
779 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
781 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
782 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
783 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
784 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
786 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
787 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
788 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
789 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
790 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
792 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
794 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
796 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
797 Use VDSO routines for gettimeofday, clock_gettime if
799 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
800 Declare VDSO symbols.
801 * sysdeps/unix/sysv/linux/arm/sysdep.h:
802 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
803 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
804 * sysdeps/unix/sysv/linux/arm/Versions: Add
805 __vdso_clock_gettime.
807 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
809 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
810 be an inline implementation regardless of library is built within.
811 (open_not_cancel_2): Likewise.
812 (__read_nocancel): Likewise.
813 (__write_nocancel): Likewise.
814 (openat_not_cancel): Likewise.
815 (openat_not_cancel_3): Likewise.
816 (openat64_not_cancel): Likewise.
817 (openat64_not_cancel_3): Likewise.
818 (__close_nocancel): Likewise.
819 (pause_not_cancel): Likewise.
820 (nanosleep_not_cancel): Likewise.
821 (sigsuspend_not_cancel): Likewise.
823 2015-06-04 Torvald Riegel <triegel@redhat.com>
826 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
828 (__pthread_rwlock_rdlock_slow): Likewise.
829 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
831 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
833 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
834 * nptl/tst-rwlock16.c: New file.
835 * nptl/Makefile (tests): Add new test.
837 2015-06-04 Torvald Riegel <triegel@redhat.com>
840 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
841 missing wake-up of readers.
842 * nptl/tst-rwlock15.c: New file.
843 * nptl/Makefile (tests): Add new test.
845 2015-06-03 Roland McGrath <roland@hack.frob.com>
847 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
848 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
849 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
850 and __nacl_supply_interface_rtld.
851 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
852 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
853 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
854 Add __nacl_supply_interface_rtld.
855 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
857 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
859 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
861 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
862 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
864 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
866 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
867 __signbit* with standard C99 macros.
868 * math/e_exp10l.c: Likewise.
869 * math/e_exp2l.c: Likewise.
870 * math/e_scalb.c: Likewise.
871 * math/e_scalbf.c: Likewise.
872 * math/e_scalbl.c: Likewise.
873 * math/s_ldexp.c: Likewise.
874 * math/s_ldexpf.c: Likewise.
875 * math/s_ldexpl.c: Likewise.
876 * math/w_atan2.c: Likewise.
877 * math/w_atan2f.c: Likewise.
878 * math/w_atan2l.c: Likewise.
879 * math/w_cosh.c: Likewise.
880 * math/w_coshf.c: Likewise.
881 * math/w_coshl.c: Likewise.
882 * math/w_exp10.c: Likewise.
883 * math/w_exp10f.c: Likewise.
884 * math/w_exp10l.c: Likewise.
885 * math/w_exp2.c: Likewise.
886 * math/w_exp2f.c: Likewise.
887 * math/w_exp2l.c: Likewise.
888 * math/w_fmod.c: Likewise.
889 * math/w_fmodf.c: Likewise.
890 * math/w_fmodl.c: Likewise.
891 * math/w_hypot.c: Likewise.
892 * math/w_hypotf.c: Likewise.
893 * math/w_hypotl.c: Likewise.
894 * math/w_jnl.c: Likewise.
895 * math/w_lgamma.c: Likewise.
896 * math/w_lgamma_r.c: Likewise.
897 * math/w_lgammaf.c: Likewise.
898 * math/w_lgammaf_r.c: Likewise.
899 * math/w_lgammal.c: Likewise.
900 * math/w_lgammal_r.c: Likewise.
901 * math/w_pow.c: Likewise.
902 * math/w_powf.c: Likewise.
903 * math/w_powl.c: Likewise.
904 * math/w_remainder.c: Likewise.
905 * math/w_remainderf.c: Likewise.
906 * math/w_remainderl.c: Likewise.
907 * math/w_scalb.c: Likewise.
908 * math/w_scalbf.c: Likewise.
909 * math/w_scalbl.c: Likewise.
910 * math/w_scalbln.c: Likewise.
911 * math/w_scalblnf.c: Likewise.
912 * math/w_scalblnl.c: Likewise.
913 * math/w_sinh.c: Likewise.
914 * math/w_sinhf.c: Likewise.
915 * math/w_sinhl.c: Likewise.
916 * math/w_tgamma.c: Likewise.
917 * math/w_tgammaf.c: Likewise.
918 * math/w_tgammal.c: Likewise.
919 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
920 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
921 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
922 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
923 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
925 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
926 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
927 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
928 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
929 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
930 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
931 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
932 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
933 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
934 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
935 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
936 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
937 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
938 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
939 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
940 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
941 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
942 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
943 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
944 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
945 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
946 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
947 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
948 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
949 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
950 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
951 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
952 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
953 * stdio-common/printf_fp.c: Likewise.
954 * stdio-common/printf_fphex.c: Likewise.
955 * stdio-common/printf_size.c: Likewise.
957 2015-06-03 Joseph Myers <joseph@codesourcery.com>
960 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
962 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
964 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
965 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
966 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
967 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
968 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
969 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
970 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
971 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
972 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
973 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
976 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
977 weak alias of __wmemchr. Use libc_hidden_weak.
978 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
979 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
982 2015-06-02 Roland McGrath <roland@hack.frob.com>
985 * elf/tst-tlsalign-extern.c: New file.
986 * elf/tst-tlsalign-extern-static.c: New file.
987 * elf/tst-tlsalign-vars.c: New file.
988 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
989 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
990 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
991 ($(objpfx)tst-tlsalign-extern-static): Likewise.
992 (test-xfail-tst-tlsalign-extern-static): New variable.
994 2015-06-02 Joseph Myers <joseph@codesourcery.com>
996 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
997 Use variable name _sc_err instead of err.
998 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1000 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1001 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1002 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1003 (INLINE_SYSCALL): Likewise.
1005 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1006 * include/string.h (__strnlen): Use libc_hidden_proto.
1007 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1008 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1009 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1010 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1011 (libc_hidden_def): Undefine and redefine.
1012 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1013 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1015 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1017 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1020 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1021 weak alias of __towlower. Use libc_hidden_weak.
1022 (towupper): Rename to __towupper and define as weak alias of
1023 __towupper. Use libc_hidden_weak.
1024 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
1025 (__towupper): Likewise.
1026 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1027 __towlower instead of towlower.
1029 2015-06-02 Roland McGrath <roland@hack.frob.com>
1031 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1032 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1034 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1036 * sysdeps/aarch64/libm-test-ulps: Update.
1038 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1040 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1042 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1044 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1045 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1046 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1047 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1048 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1050 2015-06-01 Martin Sebor <msebor@redhat.com>
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1054 (__setcontext): Use extended four-operand version of mtsf whenever
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1057 (__novec_swapcontext): Likewise.
1059 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1061 * benchtests/scripts/compare_bench.py: New file.
1062 * benchtests/scripts/import_bench.py (mean): New function.
1063 (split_list): Likewise.
1064 (do_for_all_timings): Likewise.
1065 (compress_timings): Likewise.
1067 * benchtests/scripts/import_bench.py: New file.
1068 * benchtests/scripts/validate_benchout.py: Import import_bench
1069 instead of jsonschema.
1070 (validate_bench): Remove function.
1071 (main): Use import_bench.
1073 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
1075 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1076 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1078 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1082 2015-05-28 Roland McGrath <roland@hack.frob.com>
1084 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1085 set THREAD_SELF->tid to a magic value and futex-wake it.
1086 Pass its address to the thread_exit system call.
1087 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1089 * sysdeps/nacl/lowlevellock.h: New file.
1090 * sysdeps/nacl/lll_timedwait_tid.c: New file.
1092 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1093 Add TIMEOUT to current time, don't subtract it.
1095 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
1098 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1099 ($(objpfx)tst-audit2.out): Also depend on
1100 $(objpfx)tst-auditmod9b.so.
1101 * elf/tst-audit2.c: Include <dlfcn.h>.
1102 (calloc_called): New.
1103 (calloc): Allow to be called more than once.
1104 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1106 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
1108 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1109 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1111 2015-05-27 Marko Myllynen <myllynen@redhat.com>
1113 * stdlib/monetary.h: Fix comment.
1115 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
1117 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1118 Avoid using variables in #defines that might cause shadowing.
1119 (INTERNAL_VSYSCALL_CALL): Likewise.
1121 2015-05-26 Roland McGrath <roland@hack.frob.com>
1123 * sysdeps/nacl/lll_timedlock_wait.c: New file.
1125 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1126 * nptl/lll_timedlock_wait.c: ... to this new file.
1127 * nptl/Makefile (libpthread-routines): Add it.
1128 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1129 * nptl/lll_timedwait_tid.c: ... to this new file.
1130 * nptl/Makefile (libpthread-routines): Add it.
1131 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1132 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1133 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1134 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1135 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1136 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1137 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1138 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1139 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1140 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1142 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1144 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1145 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1146 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1147 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1148 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1149 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1150 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1151 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1152 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1153 * sysdeps/unix/sysv/linux/tile/sysdep.h
1154 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1155 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1156 using vDSO syscall macro.
1158 2015-05-26 Andriy Rysin <arysin@gmail.com>
1161 * uk_UA: Fix sorting order for Ukrainian locale
1163 2015-05-26 Marko Myllynen <myllynen@redhat.com>
1165 * stdlib/monetary.h: Fix comment.
1167 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
1170 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1171 st_mtim and st_ctim members.
1172 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1173 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1174 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1175 (struct stat64): Likewise.
1176 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1177 (struct stat64): Likewise.
1178 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1179 (struct stat64): Likewise.
1181 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1183 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1184 Define and include sysdep-vdso.h.
1185 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1187 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1189 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1190 Define with VDSO_SYMBOL and use PTR_MANGLE.
1191 (__vdso_clock_gettime): Likewise.
1192 (__vdso_clock_getres): Likewise.
1193 (_libc_vdso_platform_setup): Likewise.
1194 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1196 (_libc_vdso_platform_setup): Likewise.
1197 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1199 (__vdso_clock_gettime): Likewise.
1200 (__vdso_clock_getres): Likewise.
1201 (__vdso_get_tbfreq): Likewise.
1202 (__vdso_getcpu): Likewise.
1203 (__vdso_time): Likewise.
1204 (__vdso_sigtramp_rt64): Likewise.
1205 (__vdso_signtramp32): Likewise.
1206 (__vdso_sigtramp_rt32): Likewise.
1207 (_libc_vdso_platform_setup): Likewise.
1208 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1210 (__vdso_clock_gettime): Likewise.
1211 (__vdso_clock_getres): Likewise.
1212 (_libc_vdso_platform_setup): Likewise.
1213 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1215 (__vdso_clock_gettime): Likewise.
1216 (_libc_vdso_platform_setup): Likewise.
1217 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1219 (__vdso_getcpu): Likewise.
1220 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1221 Use VDSO_SYMBOL macro to define.
1222 (__vdso_clock_gettime): Likewise.
1223 (__vdso_clock_getres): Likewise.
1224 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1226 (__vdso_clock_gettime): Likewise.
1227 (__vdso_clock_getres): Likewise.
1228 (__vdso_get_tbfreq): Likewise.
1229 (__vdso_getcpu): Likewise.
1230 (__vdso_time): Likewise.
1231 (__vdso_sigtramp_rt64): Likewise.
1232 (__vdso_signtramp32): Likewise.
1233 (__vdso_sigtramp_rt32): Likewise.
1234 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1236 (__vdso_clock_gettime): Likewise.
1237 (__vdso_clock_getres): Likewise.
1238 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1240 (__vdso_clock_gettime): Likewise.
1241 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1243 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
1245 (INTERNAL_VSYSCALL): Likewise.
1246 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1248 (INTERNAL_VSYSCALL): Likewise.
1249 (INTERNAL_VSYSCALL_NCS): Likewise.
1250 (INTERNAL_VSYSCALL_CALL): New macro.
1251 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1252 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1254 (INTERNAL_VSYSCALL): Likewise.
1255 (INTERNAL_VSYSCALL_NCS): Likewise.
1256 (INTERNAL_VSYSCALL_CALL): New macro.
1257 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1259 (INLINE_VSYSCALL): Remove macro.
1260 (INTERNAL_VSYSCALL): Remove macro.
1261 (INTERNAL_VSYSCALL_NCS): Remove macro.
1262 (INTERNAL_VSYSCALL_CALL): New macro.
1263 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1264 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1265 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1266 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1267 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1269 (INLINE_VSYSCALL): Remove macro.
1270 (INTERNAL_VSYSCALL): Likewise.
1271 (INTERNAL_VSYSCALL_NCS): Likewise.
1272 (INTERNAL_VSYSCALL_CALL): New macro.
1273 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1274 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1275 PTR_DEMANGLE on vDSO pointer.
1276 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1277 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1279 (INTERNAL_SYSCALL): Likewise.
1280 (INTERNAL_VSYSCALL_NCS): Remove macro.
1281 (INTERNAL_VSYSCALL_CALL): New macro.
1282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1284 (INTERNAL_VSYSCALL): Likewise.
1285 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1286 sysdep-vdso.h instead of libc-vdso.h.
1287 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1289 (INLINE_VSYSCALL): Likewise.
1290 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1291 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1293 (INLINE_VSYSCALL): Likewise.
1294 (INTERNAL_VSYSCALL): Likewise.
1295 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1296 * sysdeps/unix/sysv/linux/timespec_get.c
1297 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1298 (timespec_get): Use ANSI prototype.
1299 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1300 and definition for Linux.
1302 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
1304 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1305 * include/libc-symbols.h: libmvec_hidden_* macro series added.
1307 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
1310 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1311 for missing DT_PLTRELSZ.
1313 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
1315 Remove obsolete aliases that broke 'locale -a'
1317 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1318 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1319 breaking some applications that use 'locale -a' output.
1320 Change the encoding of this file from Latin-1 to ASCII to avoid
1321 other potential problems with people grepping this file.
1323 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1325 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1326 -fasynchronous-unwind-tables.
1327 (CFLAGS-sendto.c): Likewise.
1328 (CFLAGS-sendmsg.c): Likewise.
1329 (CFLAGS-connect.c): Likewise.
1330 (CFLAGS-recvmsg.c): Likewise.
1331 (CFLAGS-recvfrom.c): Likewise.
1332 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1333 (SOCKETCALL): New macro: non-cancellable socketcall.
1334 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1335 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1336 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1337 * sysdeps/unix/sysv/linux/accept.c: New file.
1338 * sysdeps/unix/sysv/linux/bind.c: Likewise.
1339 * sysdeps/unix/sysv/linux/connect.c: Likewise.
1340 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1341 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1342 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1343 * sysdeps/unix/sysv/linux/listen.c: Likewise.
1344 * sysdeps/unix/sysv/linux/recv.c: Likewise.
1345 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1346 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1347 * sysdeps/unix/sysv/linux/send.c: Likewise.
1348 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1349 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1350 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1351 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1352 * sysdeps/unix/sysv/linux/socket.c: Likewise.
1353 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1354 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1356 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1357 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1358 instead of __internal_xxx function.
1359 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1361 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1362 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1363 instead of __internal_xxx function.
1364 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1366 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1367 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1368 instead of __internal_xxx function.
1369 * sysdeps/unix/sysv/linux/accept.S: Remove file.
1370 * sysdeps/unix/sysv/linux/bind.S: Likewise.
1371 * sysdeps/unix/sysv/linux/connect.S: Likewise.
1372 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1373 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1374 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1375 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1376 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1377 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1378 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1379 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1380 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1381 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1382 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1383 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1384 * sysdeps/unix/sysv/linux/listen.S: Likewise.
1385 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1386 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1387 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1388 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1391 * sysdeps/unix/sysv/linux/recv.S: Likewise.
1392 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1393 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1394 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1395 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1396 * sysdeps/unix/sysv/linux/send.S: Likewise.
1397 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1398 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1399 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1400 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1401 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1402 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1403 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1404 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1405 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1406 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1407 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1408 socketcall is implemented in GLIBC.
1410 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1412 * soft-fp/fmadf4.c: Include <libc-internal.h>.
1413 (__fma): Ignore uninitialized warnings around packing.
1414 * soft-fp/fmasf4.c: Include <libc-internal.h>.
1415 (__fmaf): Ignore uninitialized warnings around packing.
1416 * soft-fp/fmatf4.c: Include <libc-internal.h>.
1417 (__fmal): Ignore uninitialized warnings around packing.
1419 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1420 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1421 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1422 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1424 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1425 switch statement into default case.
1426 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1428 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1429 a conditional in forcing "inexact".
1430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1433 2015-05-22 Roland McGrath <roland@hack.frob.com>
1435 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1436 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1437 for each INTERNAL_SYSCALL use.
1439 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1442 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1443 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1447 * string/basename.c (basename): Rename to __basename and define as
1448 weak alias of __basename. Use libc_hidden_weak.
1449 * include/string.h (__basename): Declare. Use libc_hidden_proto.
1450 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1451 __basename instead of basename.
1452 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1454 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1456 2015-05-18 Florian Weimer <fweimer@redhat.com>
1458 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1459 (_IO_JUMPS_FILE_plus): New.
1460 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1461 _IO_CAST_FIELD_ACCESS.
1462 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1463 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1464 * libio/freopen.c (freopen): Likewise.
1465 * libio/freopen64.c (freopen64): Likewise.
1466 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1467 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1468 * libio/iofwide.c (_IO_fwide): Likewise.
1469 * libio/memstream.c (open_memstream): Likewise.
1470 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1471 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1472 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1474 2015-05-21 Joseph Myers <joseph@codesourcery.com>
1476 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1477 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1479 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1480 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1482 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1483 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1486 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1489 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1490 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1492 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1493 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1494 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1496 2015-05-21 Florian Weimer <fweimer@redhat.com>
1498 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1499 Adjust jump table label generation macros.
1501 2015-05-21 Florian Weimer <fweimer@redhat.com>
1503 * stdio-common/vfprintf.c (vfprintf): Move local variables
1504 args_malloced, specs, specs_malloced, and the code after
1505 do_positional to the printf_positional function.
1506 (printf_positional): New function.
1508 2015-05-21 Florian Weimer <fweimer@redhat.com>
1510 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1512 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1513 STEP4_TABLE, process_arg): Move macro definitions
1514 out of the vfprintf function. (Cosmetic change only.)
1516 2015-05-21 Carlos O'Donell <carlos@redhat.com>
1518 * benchtests/Makefile (stdio-common-bench): Define.
1519 (benchset): Add stdio-common-bench.
1520 * sprintf-inputs: New file.
1521 * sprintf-source.c: New file.
1523 2015-05-21 Andreas Schwab <schwab@suse.de>
1527 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1528 of struct __res_state.
1529 * resolv/res_send.c (__libc_res_nsend): Likewise.
1530 (get_nsaddr): New function.
1531 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1534 2015-05-20 Joseph Myers <joseph@codesourcery.com>
1536 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1537 -D_POSIX_C_SOURCE=199506L.
1539 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1541 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1542 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1543 Do not mention otherwise.
1544 [POSIX] (_XOPEN_VERSION): Do not expect.
1545 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1546 [POSIX] (_POSIX2_C_BIND): Likewise.
1547 [POSIX] (_POSIX2_VERSION): Likewise.
1548 [POSIX] (_XOPEN_XPG2): Likewise.
1549 [POSIX] (_XOPEN_XPG3): Likewise.
1550 [POSIX] (_XOPEN_XPG4): Likewise.
1551 [POSIX] (_XOPEN_UNIX): Likewise.
1552 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1553 [POSIX] (_POSIX_BARRIERS): Likewise.
1554 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1555 [POSIX] (_POSIX_CPUTIME): Likewise.
1556 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1557 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1558 [POSIX] (_POSIX_SHELL): Likewise.
1559 [POSIX] (_POSIX_SPAWN): Likewise.
1560 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1561 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1562 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1563 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1564 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1565 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1566 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1567 [POSIX] (_XBS5_LP64_OFF64): Likewise.
1568 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1569 [POSIX] (_POSIX_TIMEOUTS): Likewise.
1570 [POSIX] (_POSIX2_PBS): Likewise.
1571 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1572 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1573 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1574 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1575 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1576 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1577 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1578 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1579 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1580 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1581 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1582 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1583 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1584 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1585 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1586 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1587 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1588 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1589 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1590 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1591 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1592 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1593 [POSIX] (_SC_2_C_BIND): Likewise.
1594 [POSIX] (_SC_2_C_VERSION): Likewise.
1595 [POSIX] (_SC_2_PBS): Likewise.
1596 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1597 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1598 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1599 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1600 [POSIX] (_SC_2_PBS_TRACK): Likewise.
1601 [POSIX] (_SC_ATEXIT_MAX): Likewise.
1602 [POSIX] (_SC_BARRIERS): Likewise.
1603 [POSIX] (_SC_BASE): Likewise.
1604 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1605 [POSIX] (_SC_DEVICE_IO): Likewise.
1606 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1607 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1608 [POSIX] (_SC_FD_MGMT): Likewise.
1609 [POSIX] (_SC_FIFO): Likewise.
1610 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1611 [POSIX] (_SC_FILE_LOCKING): Likewise.
1612 [POSIX] (_SC_FILE_SYSTEM): Likewise.
1613 [POSIX] (_SC_IOV_MAX): Likewise.
1614 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1615 [POSIX] (_SC_NETWORKING): Likewise.
1616 [POSIX] (_SC_PAGE_SIZE): Likewise.
1617 [POSIX] (_SC_PASS_MAX): Likewise.
1618 [POSIX] (_SC_PIPE): Likewise.
1619 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1620 [POSIX] (_SC_REGEXP): Likewise.
1621 [POSIX] (_SC_SHELL): Likewise.
1622 [POSIX] (_SC_SIGNALS): Likewise.
1623 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1624 [POSIX] (_SC_SPIN_LOCKS): Likewise.
1625 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1626 [POSIX] (_SC_USER_GROUPS): Likewise.
1627 [POSIX] (_SC_USER_GROUPS_R): Likewise.
1628 [POSIX] (_SC_STREAMS): Likewise.
1629 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1630 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1631 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1632 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1633 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1634 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1635 [POSIX] (_PC_FILESIZEBITS): Likewise.
1636 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1637 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1638 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1639 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1640 [POSIX] (uid_t): Likewise.
1641 [POSIX] (gid_t): Likewise.
1642 [POSIX] (off_t): Likewise.
1643 [POSIX] (pid_t): Likewise.
1644 [POSIX] (cuserid): Allow.
1645 (_SC_2_CHAR_TERM): Require constant.
1646 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1647 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1650 2015-05-20 Roland McGrath <roland@hack.frob.com>
1652 * sysdeps/nacl/pthread-pids.h: New file.
1653 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1654 (create_thread): Use __nacl_get_tid to initialize PD->tid.
1656 * nptl/pthread-pids.h: New file.
1657 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1658 * nptl/nptl-init.c: Include <pthread-pids.h>.
1659 (__pthread_initialize_minimal_internal):
1660 Call __pthread_initialize_pids instead of set_tid_address syscall.
1662 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1663 * sysdeps/posix/usleep.c: ... here.
1665 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1667 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1668 call_pselect6 object.
1669 [$(subdir) = io]: Remove call_sync_file_range object.
1670 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1671 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1672 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1673 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1675 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
1677 * math/s_cproj.c: Add include "math_private.h".
1678 * math/s_cprojf.c: Likewise.
1679 * math/s_cprojl.c: Likewise.
1681 2015-05-19 Joseph Myers <joseph@codesourcery.com>
1684 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1685 high mantissa bit when testing whether P is a NaN.
1686 * math/libm-test.inc (remainder_test_data): Add more tests.
1687 (remquo_test_data): Likewise.
1690 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1691 below -32, return the argument, with underflow if subnormal.
1692 * math/auto-libm-test-in: Add more tests of atanh.
1693 * math/auto-libm-test-out: Regenerated.
1695 2015-05-19 Roland McGrath <roland@hack.frob.com>
1698 * nptl/tst-sem15.c: New file.
1699 * nptl/Makefile (tests): Add it.
1700 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1701 s/<</>>/ to fix typo in EOVERFLOW check.
1702 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1704 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1706 * manual/strings.texi (envz_remove): Fix typo in safety
1709 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
1710 Steve Ellcey <sellcey@imgtec.com>
1712 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1713 in order to avoid strict alias warnings.
1714 (iruserok_af): Ditto for ra.
1716 2015-05-19 James Lemke <jwlemke@codesourcery.com>
1720 (magicbyte): Convert to a function and avoid returning 0x01.
1721 (mem2mem_check): Avoid using a length byte equal to the magic byte.
1722 (mem2chunk_check): Fix unsigned comparisons to zero.
1723 Hoist defs of sz and magic.
1725 2015-05-19 Richard Henderson <rth@redhat.com>
1727 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1729 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1731 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1734 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1735 * malloc/arena.c (arena_lock): Check if arena is corrupt.
1736 (reused_arena): Find a non-corrupt arena.
1737 (heap_trim): Pass arena to unlink.
1738 * malloc/hooks.c (malloc_check_get_size): Pass arena to
1740 (top_check): Likewise.
1741 (free_check): Likewise.
1742 (realloc_check): Likewise.
1743 * malloc/malloc.c (malloc_printerr): Add arena argument.
1745 (munmap_chunk): Adjust.
1746 (ARENA_CORRUPTION_BIT): New macro.
1747 (arena_is_corrupt): Likewise.
1748 (set_arena_corrupt): Likewise.
1749 (sysmalloc): Use mmap if there are no usable arenas.
1750 (_int_malloc): Likewise.
1751 (__libc_malloc): Don't fail if arena_get returns NULL.
1752 (_mid_memalign): Likewise.
1753 (__libc_calloc): Likewise.
1754 (__libc_realloc): Adjust for additional argument to
1756 (_int_free): Likewise.
1757 (malloc_consolidate): Likewise.
1758 (_int_realloc): Likewise.
1759 (_int_memalign): Don't touch corrupt arenas.
1760 * malloc/tst-malloc-backtrace.c: New test case.
1762 * Makefile (summarize-tests): Fix return value on success.
1764 * manual/string.texi (Envz Functions): Add envz_remove.
1766 2015-05-18 Roland McGrath <roland@hack.frob.com>
1768 * sysdeps/posix/opendir.c: Include <stdbool.h>.
1769 (invalid_name): New function, broken out of ...
1770 (__opendirat): ... here. Call it.
1771 (need_isdir_precheck): New function, broken out of ...
1772 (__opendirat): ... here. Call it.
1773 Use __fxstatat64, not __xstatat64.
1774 (opendir_oflags): New function, broken out of ...
1775 (__opendirat): ... here. Call it.
1776 (opendir_tail): New function, broken out of ...
1777 (__opendirat): ... here. Call it.
1778 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1779 opendir_tail, rather than punting to __opendirat.
1780 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1782 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1784 * .gitignore: Ignore generated *.pyc.
1786 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
1788 * include/stdio.h: Define __need_wint_t.
1789 * test-skeleton.c: Avoid `for' loop initial declaration.
1790 * nptl/tst-initializers1.c: Use test-skeleton.c.
1792 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1795 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1797 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1800 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1801 (__ieee754_atanh): Force underflow exception for results with
1802 small absolute value.
1803 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1804 (__ieee754_atanhf): Force underflow exception for results with
1805 small absolute value.
1806 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1807 (__ieee754_atanh): Force underflow exception for results with
1808 small absolute value.
1809 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1810 (__ieee754_atanhf): Force underflow exception for results with
1811 small absolute value.
1812 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1813 (__ieee754_atanhl): Force underflow exception for results with
1814 small absolute value.
1815 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1816 (__ieee754_atanhl): Force underflow exception for results with
1817 small absolute value.
1818 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1819 (__ieee754_atanhl): Force underflow exception for results with
1820 small absolute value.
1821 * math/auto-libm-test-in: Do not allow missing underflow
1822 exceptions from atanh.
1823 * math/auto-libm-test-out: Regenerated.
1826 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1827 2**-28 as threshold for returning x or +/- 1/x.
1828 * math/auto-libm-test-in: Add more tests of tan.
1829 * math/auto-libm-test-out: Regenerated.
1832 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1833 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1834 * math/auto-libm-test-in: Add another test of lgamma.
1835 * math/auto-libm-test-out: Regenerated.
1837 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
1839 * stdio-common/printf_fp.c (___printf_fp): Use abs.
1840 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
1841 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1842 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1843 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
1844 (ADD2A): Use fabs. (SUB2A): Use fabs.
1845 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1846 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1848 (log1): Use fabs. (my_log2): Use fabs.
1849 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1850 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1851 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1852 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1853 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1854 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
1855 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
1856 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
1857 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
1858 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1859 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1861 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1864 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1865 as threshold for returning 1 - x.
1866 * math/auto-libm-test-in: Add more tests of erfc.
1867 * math/auto-libm-test-out: Regenerated.
1869 2015-05-14 Joseph Myers <joseph@codesourcery.com>
1872 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1873 threshold for large arguments.
1874 * math/auto-libm-test-in: Add another test of atan.
1875 * math/auto-libm-test-out: Regenerated.
1878 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1879 (__log1p): Force underflow exception for results with small
1881 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1882 (__log1pf): Force underflow exception for results with small
1884 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1885 (__log1p): Force underflow exception for results with small
1887 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1888 (__log1pf): Force underflow exception for results with small
1890 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1891 (__log1pl): Force underflow exception for results with small
1893 * math/auto-libm-test-in: Do not allow missing underflow
1894 exceptions from log1p.
1895 * math/auto-libm-test-out: Regenerated.
1897 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
1898 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1901 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1903 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
1905 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1906 (libmvec): New variable.
1907 * configure.ac: Added option for mathvec build.
1908 * configure: Regenerated.
1909 * mathvec/Depend: New file.
1910 * mathvec/Makefile: New file.
1911 * shlib-versions: Added libmvec.
1912 * math/Makefile: Added rule for libm.so installation.
1914 * bits/math-vector.h: New file.
1915 * bits/libm-simd-decl-stubs.h: New header.
1916 * math/Makefile (headers): Added new header
1917 libm-simd-decl-stubs.h.
1918 * math/math.h (__MATHCALL_VEC): New macro.
1920 * math/gen-libm-have-vector-test.sh: Script generates series of macros
1921 for conditions in testing functions.
1922 * math/Makefile: Added call of libm-have-vector-test.sh.
1923 * math/libm-test.inc (HAVE_VECTOR): New macros.
1925 * math/libm-test.inc: START refactored.
1926 * math/test-double.c (TEST_MATHVEC): Add define.
1927 * math/test-float.c: Likewise.
1928 * math/test-idouble.c: Likewise.
1929 * math/test-ifloat.c: Likewise.
1930 * math/test-ildoubl.c: Likewise.
1931 * math/test-ldouble.c: Likewise.
1932 * sysdeps/generic/math-tests-arch.h
1933 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1936 * math/test-double.c (FUNC_TEST): New macro.
1937 * math/test-float.c: Likewise.
1938 * math/test-idouble.c: Likewise.
1939 * math/test-ifloat.c: Likewise.
1940 * math/test-ildoubl.c: Likewise.
1941 * math/test-ldouble.c: Likewise.
1942 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1944 2015-05-13 Roland McGrath <roland@hack.frob.com>
1946 * sysdeps/nacl/fdopendir.c: New file.
1948 * dirent/scandir-tail.c: New file.
1949 * dirent/scandir64-tail.c: New file.
1950 * dirent/Makefile (routines): Add them.
1951 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1952 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1953 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1954 [!SCANDIR] (SCANDIR_TAIL): New macro.
1955 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1956 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1957 (SCANDIRAT): Macro removed.
1958 (SCANDIR_TAIL): New macro.
1959 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1960 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1961 (SCANDIRAT): Just call __opendirat and __scandir_tail.
1962 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1963 (READDIR): Macro removed.
1964 (SCANDIR_TAIL): New macro.
1965 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1966 (SCANDIR_TAIL): New macro.
1968 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1969 * dirent/scandir-cancel.c: ... to this new file.
1970 * dirent/Makefile (routines): Add it.
1971 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1972 * sysdeps/unix/sysv/linux/i386/scandir64.c
1973 (SKIP_SCANDIR_CANCEL): Macro removed.
1974 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1976 * dirent/tst-scandir.c: New file.
1977 * dirent/tst-scandir64.c: New file.
1978 * dirent/Makefile (tests): Add them.
1980 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
1983 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1985 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1987 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1990 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
1992 * benchtests/bench-strcoll.c: New benchmark.
1993 * benchtests/Makefile: Generate locales and run benchmark.
1994 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1995 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1996 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1997 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1998 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1999 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2000 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2001 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2002 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2003 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2004 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2005 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2006 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2007 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2008 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2009 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2010 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2011 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2012 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2013 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2014 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2015 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2016 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2017 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2019 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
2021 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2022 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2024 2015-05-12 Roland McGrath <roland@hack.frob.com>
2026 * posix/uname-values.h: New file.
2027 * posix/uname.c: Include that instead of <config-name.h>.
2028 * sysdeps/nacl/uname-values.h: New file.
2029 * sysdeps/arm/nacl/uname-values.h: New file.
2031 2015-05-12 Joseph Myers <joseph@codesourcery.com>
2033 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2034 splitting into fields.
2036 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
2038 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2039 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2040 * locale/localeinfo.h: Add enum collation_encoding_type.
2041 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2042 * programs/ld-collate.c (collate_output): Add encoding type info.
2043 * string/strcoll_l.c (STRDIFF): New function.
2044 * (STRCOLL): Use STRDIFF to skip over equal prefix.
2045 * wcsmbs/wcscoll_l.c: Define STRDIFF.
2047 2015-05-11 Joseph Myers <joseph@codesourcery.com>
2050 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2051 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
2052 <fpu_control.h> instead of <math/fpu_control.c>.
2053 * sysdeps/mips/mips32/fpu/Makefile: New file.
2055 2015-05-11 Andreas Schwab <schwab@suse.de>
2058 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2060 (_nss_compat_endgrent): Call nss_endgrent.
2061 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2063 (_nss_compat_endpwent): Call nss_endpwent.
2064 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2065 needent, call nss_setspent only if non-zero.
2066 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2067 (internal_endspent): Don't call nss_endspent.
2068 (_nss_compat_endspent): Call nss_endspent.
2069 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2070 Remove. All uses removed.
2071 (internal_setent): Remove parameter stayopen, add parameter
2072 stream. Use it instead of global variable.
2073 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2074 (internal_endent, internal_getent): Add parameter stream. Use it
2075 instead of global variable.
2076 (CONCAT(_nss_files_end,ENTNAME))
2077 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2078 (_nss_files_get##name##_r): Pass local stream. Remove locking.
2079 * nss/nss_files/files-alias.c (position, last_use): Remove. All
2081 (internal_setent, internal_endent): Add parameter stream. Use it
2082 instead of global variable.
2083 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2085 (get_next_alias): Add parameter stream.
2086 (_nss_files_getaliasent_r): Pass global stream.
2087 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
2088 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2089 (_nss_files_gethostbyname4_r): Pass local stream to
2090 internal_setent, internal_getent and internal_endent. Remove
2093 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2095 * tst-strfmon1.c (tests): Update expected currency symbol.
2097 2015-05-08 Roland McGrath <roland@hack.frob.com>
2099 * sysdeps/nacl/gethostname.c: New file.
2101 2015-05-08 Joseph Myers <joseph@codesourcery.com>
2103 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2105 * math/auto-libm-test-out: Regenerated.
2106 * sysdeps/i386/fpu/libm-test-ulps: Update.
2107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2109 2015-05-08 Carlos O'Donell <carlos@redhat.com>
2112 * stdlib/tst-setcontext3.c: New file.
2113 * stdlib/tst-setcontext3.sh: New file.
2114 * stdlib/Makefile (tests): Add tst-setcontext3.
2115 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2116 to verify test program created output file.
2117 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2118 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2119 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2120 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2122 2015-05-06 Roland McGrath <roland@hack.frob.com>
2125 * elf/tst-tlsalign.c: New file.
2126 * elf/tst-tlsalign-static.c: New file.
2127 * elf/tst-tlsalign-lib.c: New file.
2128 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2129 (tests-static): Add tst-tlsalign-static.
2130 (modules-names): Add tst-tlsalign-lib.
2131 (test-xfail-tst-tlsalign): New variable.
2132 (test-xfail-tst-tlsalign-static): New variable.
2134 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2135 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2137 2015-05-06 Joseph Myers <joseph@codesourcery.com>
2139 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2140 csqrt, erfc, sin and sincos.
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-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
2147 * sysdeps/aarch64/libm-test-ulps: Update.
2149 2015-05-05 Joseph Myers <joseph@codesourcery.com>
2151 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2152 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2153 * math/auto-libm-test-out: Regenerated.
2154 * sysdeps/i386/fpu/libm-test-ulps: Update.
2155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2157 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2160 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2161 (wcsncpy): Likewise.
2163 2015-05-05 Florian Weimer <fweimer@redhat.com>
2165 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2166 Assume __ASSUME_FALLOCATE is always true.
2167 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2168 (__posix_fallocate64_l64): Likweise.
2169 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2170 (posix_fallocate): Likewise.
2171 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2172 (__posix_fallocate64_l64): Likewise.
2173 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2174 [!__ASSUME_FALLOCATE]: Add comment.
2176 2015-05-05 Florian Weimer <fweimer@redhat.com>
2178 * sysdeps/unix/sysv/linux/i386/Makefile
2179 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2180 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2181 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2182 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2183 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2184 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2185 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2187 2015-05-02 Joseph Myers <joseph@codesourcery.com>
2189 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2190 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
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 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2198 * math/auto-libm-test-in: Add more tests of tgamma.
2199 * math/auto-libm-test-out: Regenerated.
2200 * sysdeps/i386/fpu/libm-test-ulps: Update.
2201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2203 * math/auto-libm-test-in: Add more tests of tanh.
2204 * math/auto-libm-test-out: Regenerated.
2205 * sysdeps/i386/fpu/libm-test-ulps: Update.
2206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2208 * math/auto-libm-test-in: Add more tests of tan.
2209 * math/auto-libm-test-out: Regenerated.
2210 * sysdeps/i386/fpu/libm-test-ulps: Update.
2211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2213 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2214 * math/auto-libm-test-out: Regenerated.
2215 * sysdeps/i386/fpu/libm-test-ulps: Update.
2216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2218 * math/auto-libm-test-in: Add another test of pow.
2219 * math/auto-libm-test-out: Regenerated.
2220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2222 * math/auto-libm-test-in: Add more tests of lgamma.
2223 * math/auto-libm-test-out: Regenerated.
2224 * sysdeps/i386/fpu/libm-test-ulps: Update.
2225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2227 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2229 * math/auto-libm-test-out: Regenerated.
2230 * sysdeps/i386/fpu/libm-test-ulps: Update.
2231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2233 2015-05-01 Mark Wielaard <mjw@redhat.com>
2235 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2236 Elf64_Chdr structs and ELFCOMPRESS constants.
2238 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2240 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2242 * math/auto-libm-test-out: Regenerated.
2243 * sysdeps/i386/fpu/libm-test-ulps: Update.
2244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2246 * math/auto-libm-test-in: Add more tests of erf and erfc.
2247 * math/auto-libm-test-out: Regenerated.
2248 * sysdeps/i386/fpu/libm-test-ulps: Update.
2249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2251 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2253 * config.h.in (HAVE_AARCH64_BE): Add.
2255 2015-04-30 Joseph Myers <joseph@codesourcery.com>
2257 * math/auto-libm-test-in: Add more tests of csqrt.
2258 * math/auto-libm-test-out: Regenerated.
2259 * sysdeps/i386/fpu/libm-test-ulps: Update.
2260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2262 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2263 * math/auto-libm-test-out: Regenerated.
2264 * sysdeps/i386/fpu/libm-test-ulps: Update.
2265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2267 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2269 2015-04-29 Roland McGrath <roland@hack.frob.com>
2271 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2272 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2274 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2275 (euidaccess, eaccess): Define as weak aliases.
2277 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2278 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
2279 but __suseconds_t is often 'long int' so some sources assume that
2280 type is being used (e.g. they use %ld to print tv_usec).
2282 2015-04-29 Florian Weimer <fweimer@redhat.com>
2285 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2287 * nss/tst-nss-getpwent.c: New file.
2288 * nss/Makefile (tests): Add new test.
2290 2015-04-28 Joseph Myers <joseph@codesourcery.com>
2293 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2294 exponents less than 48 as cases where high part of mantissa needs
2295 examining to determine whether argument is integral.
2296 * math/libm-test.inc (round_test_data): Add more tests.
2298 2015-04-28 Mark Wielaard <mjw@redhat.com>
2300 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2302 2015-04-27 David S. Miller <davem@davemloft.net>
2304 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2306 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2308 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
2311 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2313 2015-04-27 Florian Weimer <fweimer@redhat.com>
2316 * time/tzset.c (parse_tzname): Return error on memory allocation
2318 * test-skeleton.c (struct temp_name_list): Change type of name
2319 member to non-const.
2320 (add_temp_file): Create a copy of the file name.
2321 (delete_temp_files): Deallocate memory.
2322 (create_temp_file): Add comment.
2324 2015-04-24 Florian Weimer <fweimer@redhat.com>
2326 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2327 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2329 2015-04-24 Roland McGrath <roland@hack.frob.com>
2331 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2332 * sysdeps/arm/configure: Regenerated.
2334 2015-04-24 Florian Weimer <fweimer@redhat.com>
2337 * time/tzfile.c (__tzfile_read): Check for large values of
2338 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
2339 * time/tzset.c (__tzstring_len): New function, based on the old
2340 __tzstring function.
2341 (__tzstring): Call __tzstring_len.
2342 (parse_tzname): New helper function extracted from
2343 __tzset_parse_tz. Call __tzstring_len, without making a copy of
2345 (parse_offset): New helper function extracted from
2346 __tzset_parse_tz. Replace switch with fallthrough with
2347 initialization before sscanf.
2348 (parse_rule): Likewise.
2349 (__tzset_parse_tz): Rewrite using the new helper functions. Use
2350 new-style function definition.
2351 * timezone/Makefile (tests): Add tst-tzset.
2352 (tst-tzset.out): Dependencies on time zone files.
2353 (tst-tzset-ENV): Set TZDIR.
2354 (testdata/XT%): Copy crafted time zone files.
2355 * timezone/README: Mention crafted time zone files.
2356 * timezone/testdata/XT1, timezone/testdata/XT2,
2357 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2359 * timezone/tst-tzset.c: New test.
2361 2015-04-24 Florian Weimer <fweimer@redhat.com>
2363 * Makeconfig (+gccwarn): Remove -Winline.
2365 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2367 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2369 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2371 * NEWS: Mention sysconf() cache information support for s390.
2372 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2374 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
2376 * math/k_casinh.c (__kernel_casinh): Use __copysign.
2377 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2378 (__nearbyint): Likewise.
2379 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2380 (copysignl): Likewise.
2382 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
2385 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2386 based on padding. (CVE-2015-1781)
2388 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2390 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2392 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2393 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2394 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2395 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2396 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2397 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2398 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2399 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2400 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2401 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2402 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2403 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2404 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2405 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2406 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2407 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2408 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2409 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2410 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2411 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2412 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2413 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2414 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2416 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
2418 * stdlib/setenv.c (__add_to_environ):
2419 Dump core quickly if setenv (..., NULL, ...) is called.
2420 This time, do it the right way, and pacify GCC with a pragma.
2422 2015-04-17 Roland McGrath <roland@hack.frob.com>
2424 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2425 IMAP->l_prev cannot be null, and #if out the code for the contrary
2426 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2427 believe that NS (&_dl_ns[NSID]) could point outside the array.
2429 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2430 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2431 before using NSID as an index.
2433 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
2436 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2437 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2438 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2440 2015-04-17 Roland McGrath <roland@hack.frob.com>
2442 Add preliminary port to Google Native Client on ARM.
2443 * abi-tags (.*-.*-nacl.*): New entry.
2444 * sysdeps/arm/nacl: New directory.
2445 * sysdeps/nacl: New directory.
2447 2015-04-16 David S. Miller <davem@davemloft.net>
2449 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2450 lowlevellock-futex.h
2452 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
2454 * sysdeps/tile/configure.ac: New file.
2455 * sysdeps/tile/configure: Regenerated.
2457 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2459 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
2460 conditionals for weak_alias and libc_hidden_weak.
2461 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2462 libc_hidden_weak and weak_alias.
2463 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2464 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2465 and weak_alias for static one.
2467 2015-04-15 David S. Miller <davem@davemloft.net>
2469 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2471 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2474 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2475 Use signed comparision instead of substraction to avoid
2477 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2478 Take the sign of ret.
2479 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2480 Do not expect precise return values. Only the sign matters.
2481 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2482 * wcsmbs/test-wcsncmp.c: New File.
2483 * string/test-strncmp.c: Add wcsncmp support.
2485 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2488 * math/w_log1p.c: New file.
2489 * math/w_log1pf.c: Likewise.
2490 * math/w_log1pl.c: Likewise.
2491 * math/Makefile (libm-calls): Add w_log1p.
2492 * math/s_log1pl.c (log1pl): Remove weak_alias.
2493 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2494 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2495 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2496 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2497 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2498 [NO_LONG_DOUBLE] (log1pl): Likewise.
2499 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2500 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2501 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2502 (log1p): Remove long_double_symbol.
2503 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2504 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2505 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2506 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2507 remove weak_alias for corresponding log1p function.
2508 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2509 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2510 * sysdeps/ia64/fpu/w_log1p.c: New file.
2511 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2512 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2513 * math/libm-test.inc (log1p_test_data): Add errno expectations.
2515 2015-04-10 Joseph Myers <joseph@codesourcery.com>
2518 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2519 decimal exponent by 1.
2520 * stdlib/tst-strtod-round-data: Add more tests.
2521 * stdlib/tst-strtod-round.c (tests): Regenerated.
2523 2015-04-09 Joseph Myers <joseph@codesourcery.com>
2525 * math/auto-libm-test-in: Add more tests of clog and clog10.
2526 * math/auto-libm-test-out: Regenerated.
2527 * sysdeps/i386/fpu/libm-test-ulps: Update.
2528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2530 2015-04-09 Roland McGrath <roland@hack.frob.com>
2532 * Makeconfig (module-cppflags): Exclude all .v.i files.
2533 (skip-module-cppflags): Variable removed.
2535 * configure.ac (libc_config_ok): Initialize before reading
2536 preconfigure scripts, not after.
2537 * configure: Regenerated.
2539 * test-skeleton.c (TIMEOUT): Move #define to top level.
2540 (main): Grok environment variable TEST_DIRECT. If set, print
2541 test expectation details into that file and then behave as if
2544 2015-04-09 Florian Weimer <fweimer@redhat.com>
2546 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2549 2015-04-08 David S. Miller <davem@davemloft.net>
2551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2553 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2555 * math/auto-libm-test-in: Add more tests of atanh.
2556 * math/auto-libm-test-out: Regenerated.
2557 * sysdeps/i386/fpu/libm-test-ulps: Update.
2558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2560 * math/auto-libm-test-in: Add more tests of atan.
2561 * math/auto-libm-test-out: Regenerated.
2562 * sysdeps/i386/fpu/libm-test-ulps: Update.
2563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2565 2015-04-08 Florian Weimer <fweimer@redhat.com>
2567 * elf/pldd.c (main): Rewrite to use struct
2568 scratch_buffer instead of extend_alloca.
2569 * elf/pldd-xx.c (find_maps): Likewise.
2570 * grp/initgroups.c: Include <scratch_buffer.h> instead of
2572 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2573 scratch_buffer instead of extend_alloca.
2574 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2575 grp/compat-initgroups.c.
2576 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2577 Rewrite to use struct scratch_buffer instead of extend_alloca.
2578 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2579 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2581 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2583 * math/auto-libm-test-in: Add more tests of cbrt.
2584 * math/auto-libm-test-out: Regenerated.
2585 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2587 * math/auto-libm-test-in: Add more tests of cabs.
2588 * math/auto-libm-test-out: Regenerated.
2589 * sysdeps/i386/fpu/libm-test-ulps: Update.
2590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2594 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2595 (__ieee754_atan2): Set FE_TONEAREST mode for internal
2597 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2599 * math/auto-libm-test-out: Regenerated.
2600 * sysdeps/i386/fpu/libm-test-ulps: Update.
2601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2604 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2605 (atan): Set FE_TONEAREST mode for internal computations.
2606 * math/auto-libm-test-in: Add more tests of atan.
2607 * math/auto-libm-test-out: Regenerated.
2609 2015-04-07 James Cowgill <james410@cowgill.org.uk>
2612 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2614 2015-04-07 Florian Weimer <fweimer@redhat.com>
2616 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2618 2015-04-07 Florian Weimer <fweimer@redhat.com>
2620 * include/scratch_buffer.h: New file.
2621 * malloc/scratch_buffer_grow.c: Likewise.
2622 * malloc/scratch_buffer_grow_preserve.c: Likewise.
2623 * malloc/scratch_buffer_set_array_size.c: Likewise.
2624 * malloc/tst-scratch_buffer.c: Likewise.
2625 * malloc/Makefile (routines): Add scratch_buffer_grow.
2626 (tests): Add test case.
2627 * malloc/Versions (GLIBC_PRIVATE): Export
2628 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2629 __libc_scratch_buffer_set_array_size.
2631 2015-04-06 Richard Henderson <rth@redhat.com>
2633 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2634 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2636 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2637 unsigned int before printing.
2639 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2642 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2643 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2645 2015-04-02 Florian Weimer <fweimer@redhat.com>
2647 * include/libc-internal.h (libc_max_align_t): Define.
2649 2015-04-02 Andreas Schwab <schwab@suse.de>
2652 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2654 2015-04-02 Mel Gorman <mgorman@suse.de>
2657 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2658 as well as the main arena.
2660 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2663 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2664 sharing L2 cache to 2 for Silvermont/Knights Landing.
2666 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2669 * config.make.in (have-protected-data): New.
2670 * configure.ac: Check linker support for protected data symbol.
2671 * configure: Regenerated.
2672 * elf/Makefile (modules-names): Add tst-protected1moda and
2673 tst-protected1modb if $(have-protected-data) is yes.
2674 (tests): Add tst-protected1a and tst-protected1b if
2675 $(have-protected-data) is yes.
2676 ($(objpfx)tst-protected1a): New.
2677 ($(objpfx)tst-protected1b): Likewise.
2678 (tst-protected1modb.so-no-z-defs): Likewise.
2679 * elf/tst-protected1a.c: New file.
2680 * elf/tst-protected1b.c: Likewise.
2681 * elf/tst-protected1mod.h: Likewise.
2682 * elf/tst-protected1moda.c: Likewise.
2683 * elf/tst-protected1modb.c: Likewise.
2685 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2688 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2689 indicates it is called from do_lookup_x on relocation against
2690 protected data, skip the data definion in the executable from
2692 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2693 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2694 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2695 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2696 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2698 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2699 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2700 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2701 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2702 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2703 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2705 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
2707 * sysdeps/nptl/pthread.h: Remove duplicate definition of
2708 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2710 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
2712 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2714 * sysdeps/x86_64/nptl/tls.h: Ditto.
2716 2015-03-27 Roland McGrath <roland@hack.frob.com>
2718 * dlfcn/tststatic.c (main): Converted to ...
2719 (do_test): ... this.
2720 (TEST_FUNCTION): New macro.
2721 Include test-skeleton.c.
2723 2015-03-26 Alan Modra <amodra@gmail.com>
2725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2726 Don't segfault if ifunc resolver returns a NULL. Do set plt to
2727 zero for undefined weak.
2728 (elf_machine_plt_conflict): Similarly.
2730 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2732 * math/auto-libm-test-in: Add more tests of acosh, asinh and
2734 * math/auto-libm-test-out: Regenerated.
2735 * sysdeps/i386/fpu/libm-test-ulps: Update.
2736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2738 * math/auto-libm-test-in: Add another test of asin.
2739 * math/auto-libm-test-out: Regenerated.
2740 * sysdeps/i386/fpu/libm-test-ulps: Update.
2741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2743 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2745 (LLL_EBX_REG): Likewise.
2746 (LLL_ENTER_KERNEL): Likewise.
2748 * math/auto-libm-test-in: Add more tests of asin.
2749 * math/auto-libm-test-out: Regenerated.
2750 * sysdeps/i386/fpu/libm-test-ulps: Update.
2751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2754 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2755 libc_do_syscall_args): New structure.
2756 (INTERNAL_SYSCALL_MAIN_0): New macro.
2757 (INTERNAL_SYSCALL_MAIN_1): Likewise.
2758 (INTERNAL_SYSCALL_MAIN_2): Likewise.
2759 (INTERNAL_SYSCALL_MAIN_3): Likewise.
2760 (INTERNAL_SYSCALL_MAIN_4): Likewise.
2761 (INTERNAL_SYSCALL_MAIN_5): Likewise.
2762 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
2763 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2764 Replace conditional definitions by conditional definitions of ....
2765 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
2766 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2767 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2768 (libpthread-sysdep_routines): Add libc-do-syscall.
2769 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2770 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2771 to __NR_futex not 240.
2773 2015-03-25 Alan Modra <amodra@gmail.com>
2775 * NEWS: Advertise TLS optimization.
2776 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2777 (DT_PPC_NUM): Increment.
2778 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2779 (CHECK_STATIC_TLS): Use here.
2780 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2782 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2783 * sysdeps/powerpc/dl-tls.c: New file.
2784 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2785 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2786 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2787 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2792 2015-03-25 Alan Modra <amodra@gmail.com>
2794 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2795 for overlapping .opd entries" to "support...".
2796 * sysdeps/powerpc/powerpc64/configure: Regenerate
2798 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2800 * math/auto-libm-test-in: Add more tests of acos.
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 * math/auto-libm-test-in: Add more tests of expm1.
2806 * math/auto-libm-test-out: Regenerated.
2807 * sysdeps/i386/fpu/libm-test-ulps: Update.
2808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2810 2015-03-24 Joseph Myers <joseph@codesourcery.com>
2812 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2813 * math/auto-libm-test-out: Regenerated.
2814 * sysdeps/i386/fpu/libm-test-ulps: Update.
2815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2817 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2820 * math/auto-libm-test-in: Add more tests of log2.
2821 * math/auto-libm-test-out: Regenerated.
2822 * sysdeps/i386/fpu/libm-test-ulps: Update.
2823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2825 2015-03-23 Roland McGrath <roland@hack.frob.com>
2827 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2828 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
2829 _IO_IS_APPENDING bit in READ_WRITE instead.
2831 2015-03-23 Florian Weimer <fweimer@redhat.com>
2833 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2834 (__determine_cpumask_size): Replace extend_alloca with a
2835 variable-length array. Do not treat res == 0 as an error.
2837 2015-03-23 Florian Weimer <fweimer@redhat.com>
2840 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2841 and integer overflow.
2842 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2843 (main): Add integer overflow tests.
2844 * manual/pattern.texi (Calling Wordexp): Document additional use
2847 2015-03-23 Alan Modra <amodra@gmail.com>
2849 * config.h.in: Remove HAVE_ASM_PPC_REL16.
2850 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2851 and false branch of conditional.
2852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2855 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
2857 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2859 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2860 unused declaration of _hurd_intr_rpc_msg_in_trap.
2861 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2862 defined instead of whether it is non-zero.
2863 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2864 input constraint instead of both input and output constraint. Use ecx
2865 clobber instead of %ecx.
2866 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2867 mutex_unlock): Use a statement expression instead of an expression list.
2868 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2869 type to vm_size_t instead of vm_address_t.
2870 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2871 defined instead of whether it is non-zero.
2872 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2873 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2874 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2875 comparisons with mapaddr.
2876 * nscd/nscd-client.h: Include <time.h>.
2877 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2878 9th parameter to __vm_region instead of int.
2879 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2880 * scripts/check-local-headers.sh (exclude): Add device/,
2881 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2884 2015-03-19 Roland McGrath <roland@hack.frob.com>
2886 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2887 to account for alignment padding.
2888 * sysdeps/arm/memmove.S: Likewise.
2890 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
2892 * sysdeps/unix/sysv/linux/generic/README: New file.
2894 2015-03-18 Joseph Myers <joseph@codesourcery.com>
2897 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2898 (futex_abstimed_wait)
2899 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2900 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2901 of lll_futex_timed_wait.
2903 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
2906 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2908 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
2915 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2916 entries with Static TLS too. Skip entries past the end of the
2917 allocated DTV, from Alan Modra.
2918 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
2919 Static TLS DTV entry set up from...
2920 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2921 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2922 * nptl/allocatestack.c (init_one_static_tls): ... and here...
2923 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2925 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
2926 that the slot we find is associated with the given map before
2927 using its generation count.
2928 * nptl_db/db_info.c: Include ldsodefs.h.
2929 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2930 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2931 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2932 (link_map::l_tls_offset): New struct field.
2933 (dtv_t::counter): Likewise.
2934 (rtld_global): New struct.
2935 (_rtld_global): New rtld variable.
2936 (dl_tls_dtv_slotinfo_list): New rtld global field.
2937 (dtv_slotinfo_list): New struct.
2938 (dtv_slotinfo): Likewise.
2939 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2940 (td_lookup): Rename to...
2941 (td_mod_lookup): ... this. Use new mod parameter instead of
2943 * nptl_db/td_thr_tlsbase.c: Include link.h.
2944 (dtv_slotinfo_list, dtv_slotinfo): New functions.
2945 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
2946 addresses even if the DTV is out of date or missing them.
2947 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2948 index zero-length arrays.
2949 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2950 (td_lookup): Make it a macro implemented in terms of...
2951 (td_mod_lookup): ... this declaration.
2952 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2953 (DB_MAIN_VARIABLE): Likewise.
2955 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
2958 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2960 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
2962 * stdlib/setenv.c (__add_to_environ): Revert previous change.
2964 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
2967 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2968 (atomic_add, atomic_increment_and_test)
2969 (atomic_decrement_and_test): Fix 64-bit arithmetic.
2971 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
2973 * stdlib/setenv.c (__add_to_environ):
2974 Dump core quickly if setenv (..., NULL, ...) is called.
2976 2015-03-13 Roland McGrath <roland@hack.frob.com>
2978 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2979 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2980 all the necessary asm magic in one place.
2981 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2984 2015-03-13 Carlos O'Donell <carlos@redhat.com>
2987 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2988 traced file mtime. Use consistent log message.
2989 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2990 (register_traced_file): Call install_watches. Always set mtime.
2991 (invalidate_cache): Iterate over all trace files. Call install_watches.
2992 (inotify_check_files): Don't inline. Handle watching parent
2993 directories and configuration file movement in and out.
2994 (handle_inotify_events): New function.
2995 (main_loop_poll): Call handle_inotify_events.
2996 (main_loop_epoll): Likewise.
2997 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2998 (struct traced_file): Use array of inotify fds. Add parent directory,
3000 (struct database_dyn): Remove unused file_mtime.
3001 (init_traced_file): New inline function.
3002 (define_traced_file): New macro.
3003 * nss/nss_db/db-init.c: Use define_traced_file.
3004 (_nss_db_init): Use init_traced_file.
3005 * nss/nss_files/files-init.c: Use define_traced_file.
3006 (_nss_files_init): Use init_traced_file.
3008 2015-03-12 Joseph Myers <joseph@codesourcery.com>
3010 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3011 [_LIBC]: Do not include <stdlib.h>.
3012 [!_LIBC] (abort): Remove declaration.
3013 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3014 _FP_STATIC_ASSERT instead of conditionally calling abort.
3015 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3016 (_FP_EXTEND_CNAN): Likewise.
3017 (FP_TRUNC): Likewise.
3018 (__FP_CLZ): Likewise.
3019 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3021 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
3023 * manual/string.texi (XPG basename): Fix prototype.
3025 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3028 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3029 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3030 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3031 (__setcontext): Likewise.
3032 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3033 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3034 Call rt_sigprocmask syscall one time to set new signal mask
3035 and retrieve the current signal mask instead of two calls.
3036 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3037 (__swapcontext): Likewise.
3038 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3039 * stdlib/tst-setcontext2.c: New file.
3041 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3043 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3045 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
3048 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3051 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3054 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3056 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3058 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3059 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3061 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3062 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3063 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3064 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3065 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3066 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3068 * nptl_db/td_symbol_list.c (td_lookup): Remove
3069 HAVE_ASM_GLOBAL_DOT_NAME code.
3070 * sysdeps/powerpc/powerpc64/configure.ac: Remove
3071 HAVE_ASM_GLOBAL_DOT_NAME check.
3072 * sysdeps/powerpc/powerpc64/configure: Regenerate.
3073 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3074 (DOT_LABEL): Remove define.
3075 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3076 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3077 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3078 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3079 (__TLS_GET_ADDR): Likewise.
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3081 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3083 2015-03-11 Carlos O'Donell <carlos@redhat.com>
3086 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3087 (_FPU_SETCW): Initialize cw from fpsr before storing.
3088 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3089 (fesetexceptflag): Rewrite using fpu_control.h.
3090 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3092 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
3095 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3097 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3099 2015-03-11 Joseph Myers <joseph@codesourcery.com>
3101 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3102 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3104 (_FP_FMA): Likewise.
3105 (_FP_DIV): Likewise.
3107 2015-03-10 Roland McGrath <roland@hack.frob.com>
3109 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3110 with 0 in that case.
3111 * Makefile (summarize-tests): New canned sequence, factored out of
3112 commands for targets tests and xtests. Display summary lines that
3113 don't start with PASS: or XFAIL: rather than ones that do start with
3114 ERROR: or FAIL:. Make the commands fail if any summary lines fail
3115 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3116 do start with ERROR: or FAIL:.
3117 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3118 (except for [$(build-shared) = yes]).
3119 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3120 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3121 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3122 * nptl/Makefile: Revert 2015-03-04 changes.
3123 [$(CXX) empty] (tests-unsupported): New variable.
3124 * debug/Makefile: Likewise.
3126 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3127 gnulib file. Replace __attribute with __attribute__ throughout.
3129 2015-03-10 Carlos O'Donell <carlos@redhat.com>
3131 * sysdeps/hppa/fpu/libm-test-ulps: Update.
3133 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3136 * math/auto-libm-test-in: Add another test of pow.
3137 * math/auto-libm-test-out: Regenerated.
3139 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3141 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3142 $(config-cflags-nofma).
3144 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3146 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3147 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3148 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3149 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3150 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3151 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3152 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3153 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3154 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3155 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3156 Add comment on closing #endif.
3158 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3160 * posix/wordexp.c (CHAR_IN_SET): New macro.
3161 (parse_param): Use it.
3163 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3165 * sysdeps/powerpc/fpu/libm-test-ulps: update.
3167 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3170 * posix/wordexp.c (parse_param): Fix buffer overflow.
3171 * posix/wordexp-test.c (test_case): Add test case.
3173 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3176 * posix/wordexp.c (parse_backtick): Fix off-by-one.
3177 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3179 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3182 * posix/wordexp-test.c (test_case): Add test for BZ #18043
3183 (do_bz18043): Delete.
3185 (testit): Refactor to have words at the edge of unreadable page.
3187 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3190 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3191 Cleanup read-only streams as well.
3192 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3194 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3196 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3199 2015-03-07 Joseph Myers <joseph@codesourcery.com>
3201 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
3203 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3204 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3205 * soft-fp/op-common.h (_FP_DECL): Likewise.
3207 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
3209 * elf/ifuncdep2.c (global): Replace
3210 __attribute__((visibility("protected"))) with
3211 asm (".protected global").
3212 * elf/ifuncmod1.c (global): Likewise.
3213 * elf/ifuncmod5.c (global): Likewise.
3215 2015-03-06 Joseph Myers <joseph@codesourcery.com>
3217 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3218 <asm/sfp-machine.h> instead of <sfp-machine.h>.
3220 2015-03-06 Roland McGrath <roland@hack.frob.com>
3222 * manual/install.texi (Configuring and compiling):
3223 Document test-wrapper-env-only.
3224 * INSTALL: Regenerated.
3226 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3229 * posix/wordexp.c (parse_param): Fix buffer overflow.
3230 * posix/wordexp-test.c (do_bz18043): Add test case.
3232 2015-03-06 Vincent Bernat <vincent@bernat.im>
3234 * time/tst-strptime2.c (do_test): Ensure failing tests are
3236 * time/tst-strptime3.c (do_test): Likewise.
3238 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
3240 Fix aio_error thread-safety.
3241 * sysdeps/pthread/aio_error.c: New file
3242 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3245 2015-03-06 Florian Weimer <fweimer@redhat.com>
3247 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3248 (group_number, vfprintf): Use it.
3249 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3250 (JUMP, REF): Use it.
3251 (WORK_BUFFER_SIZE): New enum constant.
3252 (process_arg, vfprintf): Use it.
3254 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
3256 * manual/errno.texi (Error Messages): Complete example function
3257 by adding missing #define.
3258 (program_invocation_name): Add statement indicating GNU
3259 extension and reference which header file declares the variable.
3260 (program_invocation_short_name): Likewise.
3262 2015-03-06 Mike Frysinger <vapier@gentoo.org>
3264 * manual/errno.texi (Error Messages): Delete strerror ISO C89
3267 2015-03-05 Roland McGrath <roland@hack.frob.com>
3269 * Makeconfig (test-wrapper-env-only): New variable.
3270 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3271 then use that with $(test-wrapper-env-only) rather than using
3272 $(test-wrapper-env) $(run-program-env) $($*-ENV).
3274 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
3277 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3278 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3279 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3280 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3281 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3282 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3283 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3284 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3286 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3287 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3289 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3291 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3293 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3295 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3296 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3298 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3300 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3301 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3303 2015-03-04 Roland McGrath <roland@hack.frob.com>
3305 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3306 (ETH_ALEN): New macro.
3307 (struct ether_addr): Use it for length of ether_addr_octet.
3309 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3310 (setdb): Don't call __nss_configure_lookup for "rpc".
3311 (do_test): Don't call test_rpc.
3312 (output_rpcent, test_rpc): Functions moved ...
3313 * sunrpc/test-rpcent.c: ... to this new file.
3314 * sunrpc/Makefile (tests): Add it.
3316 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3318 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3319 * nptl/tst-signal6.c: Likewise.
3320 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3321 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3323 * configure.ac (libc_cv_cxx_link_ok): New check.
3324 Reset CXX to empty if it fails to link.
3325 * configure: Regenerated.
3326 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3327 bug-atexit3-lib only if $(CXX) is nonempty.
3328 * nptl/Makefile (tests): Likewise for tst-cancel24.
3329 (tests, tests-static): Likewise for tst-cancel24-static.
3330 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3331 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3332 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3333 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3335 2015-03-04 Andreas Schwab <schwab@suse.de>
3338 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3339 for non-GCC compilers.
3340 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3343 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3346 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3347 integer before bitwise and assembly operations.
3348 (feclearexcept): Likewise.
3349 * math/test-fenvinline.c: New file.
3350 * math/Makefile: Add test-fenvinline test.
3352 2015-03-03 Alan Modra <amodra@gmail.com>
3355 * scripts/localplt.awk: Strip off symbol version.
3356 * NEWS: Mention bug fix.
3358 2015-03-02 Roland McGrath <roland@hack.frob.com>
3360 * sysdeps/pthread/timer_routines.c
3361 (timer_free_list, thread_free_list, thread_active_list): Make static.
3363 2015-03-02 Joseph Myers <joseph@codesourcery.com>
3366 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3367 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3369 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3370 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3372 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3373 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3376 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3379 * posix/fnmatch_loop.c (END): Detect invalid pattern.
3380 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3382 2015-03-02 Andreas Schwab <schwab@suse.de>
3384 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3387 2015-03-02 Florian Weimer <fweimer@redhat.com>
3389 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3390 Return error status.
3392 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
3395 * locale/findlocale.c (_nl_find_locale): Introduce const
3396 version of loc_name and drop unsafe type casts.
3398 2015-02-27 Roland McGrath <roland@hack.frob.com>
3400 * dlfcn/tststatic2.c (main): Converted to ...
3401 (do_test): ... this.
3402 (TEST_FUNCTION): New macro.
3403 Include test-skeleton.c.
3405 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
3408 * elf/Makefile (tests): Add vismain only if PIE is enabled.
3409 (tests-pie): Add vismain.
3410 (CFLAGS-vismain.c): New.
3411 * elf/vismain.c: Add comments for PIE requirement.
3413 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3417 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3418 0x1p-56L as threshold for just returning the argument.
3419 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3420 0x1p-32L as threshold for just returning the argument.
3421 * math/auto-libm-test-in: Add more tests of atanh.
3422 * math/auto-libm-test-out: Regenerated.
3423 * sysdeps/i386/fpu/libm-test-ulps: Update.
3424 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3426 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3428 * string/bcopy.c (bcopy): Call memmove for performance.
3430 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3432 * string/bzero.c (__bzero): Call memset for performance.
3434 2015-02-27 John David Anglin <dave.anglin@bell.net>
3437 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3440 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3442 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3444 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3446 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3447 (__kernel_standard): Use CSTR macro when setting exc.name.
3448 * sysdeps/ieee754/Makefile [$(subdir) = math]
3449 (CFLAGS-k_standard.c): Remove variable.
3451 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3452 setting p and q from "else if" to "else".
3454 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3456 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3458 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3460 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3462 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3467 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3468 return pi/2 for arguments below 0x1p-113L.
3469 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3470 return pi/2 for arguments below 0x1p-106L.
3471 * math/auto-libm-test-in: Add more tests of acos.
3472 * math/auto-libm-test-out: Regenerated.
3475 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3477 (__ieee754_asin): Force underflow exception for results with small
3479 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3481 (__ieee754_asinf): Force underflow exception for results with
3482 small absolute value.
3483 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3484 (__ieee754_asin): Force underflow exception for results with small
3486 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3487 (__ieee754_asinf): Force underflow exception for results with
3488 small absolute value.
3489 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3490 (__ieee754_asinl): Force underflow exception for results with
3491 small absolute value.
3492 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3493 (__ieee754_asinl): Force underflow exception for results with
3494 small absolute value.
3495 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3496 (__ieee754_asinl): Force underflow exception for results with
3497 small absolute value.
3498 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3500 * math/auto-libm-test-in: Do not mark underflow exceptions as
3501 possibly missing for bug 16351.
3502 * math/auto-libm-test-out: Regenerated.
3505 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3506 of power of 2 down when low part has opposite sign.
3507 * math/libm-test.inc (logb_test_data): Add more tests.
3509 2015-02-26 Andreas Schwab <schwab@suse.de>
3512 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3513 over collating symbol inside a bracket expression. Minor cleanup.
3514 * posix/tst-fnmatch3.c (do_test): Add test case.
3516 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3519 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3520 Adjust exponent of power of 2 down when low part has opposite
3522 * math/libm-test.inc (ilogb_test_data): Add more tests.
3524 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
3527 * locale/findlocale.c (_nl_find_locale): Fix constness error in
3528 the previous change.
3531 * locale/findlocale.c (_nl_find_locale): Retry archive search
3532 after alias expansion.
3534 2015-02-25 Roland McGrath <roland@hack.frob.com>
3536 * iconv/tst-iconv3.c (main): Converted to ...
3537 (do_test): ... this.
3538 (TEST_FUNCTION): New macro.
3539 Include test-skeleton.c.
3541 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3542 (convert): Make function static.
3543 (test_unalign): Likewise. Add const to argument pointee types.
3544 (main): Replace with static function do_test.
3545 Print "Succeeded." only if RET is zero.
3546 (TEST_FUNCTION): New macro.
3547 Include test-skeleton.c.
3549 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3550 returns a null pointer.
3552 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3554 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3555 to __memcpy_ppc only for static builds.
3557 2015-02-25 Joseph Myers <joseph@codesourcery.com>
3560 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3561 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3562 * math/auto-libm-test-in: Add more tests of asinh.
3563 * math/auto-libm-test-out: Regenerated.
3564 * sysdeps/i386/fpu/libm-test-ulps: Update.
3565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3567 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
3570 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3571 and ip6_mtuinfo definitions here.
3572 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3573 in this define too. Update comment.
3575 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
3577 * elf/sprof.c (load_shobj): Tweak error message to match others.
3579 2015-02-24 Kevin Easton <kevin@guarana.org>
3581 [BZ #16145] (partial fix)
3582 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3583 to reduce lock contention.
3585 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
3587 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3588 (struct timex): Update time comment.
3589 (ADJ_SETOFFSET): Define.
3591 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3594 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3595 2**56 not 2**28 as threshold for log (2x) formula.
3596 * math/auto-libm-test-in: Add more tests of acosh.
3597 * math/auto-libm-test-out: Regenerated.
3598 * sysdeps/i386/fpu/libm-test-ulps: Update.
3599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3601 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3603 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3604 parenthesis around the buf assignment.
3605 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3607 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3610 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3611 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3612 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3613 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3614 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3615 * math/libm-test.inc (scalb_test_data): Add more tests.
3617 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3620 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3621 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3623 2015-02-24 Eric Rannaud <e@nanocritical.com>
3626 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3627 * io/bits/fcntl2.h (open): Use it.
3629 * io/open.c (__libc_open): Likewise.
3630 * io/open64.c (__libc_open64): Likewise.
3631 * io/open64_2.c (__open64_2): Likewise.
3632 * io/open_2.c (__open_2): Likewise.
3633 * io/openat.c (__openat): Likewise.
3634 * io/openat64.c (__openat64): Likewise.
3635 * io/openat64_2.c (__openat64_2): Likewise.
3636 * io/openat_2.c (__openat_2): Likewise.
3637 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3638 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3639 * sysdeps/posix/open64.c (__libc_open64): Likewise.
3640 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3641 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3642 (__open_nocancel): Likewise.
3643 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3644 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3645 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3647 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3650 * resolv/gethnamaddr.c (getanswer): Skip logging if
3651 RES_USE_DNSSEC is set.
3652 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3654 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3656 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3658 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
3660 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3661 201304L, for Unicode 7.
3663 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
3666 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3667 shared library. Add gmon-start.os otherwise.
3668 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3669 $(objpfx)gmon-start.os if builing shared library.
3670 ($(objpfx)g$(static-start-installed-name)): Likewise.
3672 2015-02-23 Andreas Schwab <schwab@suse.de>
3674 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3676 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3679 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3680 (enlarge_userbuf): Likewise.
3682 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
3684 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3685 * math/atest-exp.c (TIMEOUT): Adjust to 200.
3686 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3687 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3689 2015-02-20 Joseph Myers <joseph@codesourcery.com>
3691 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3692 expression inside statement expression.
3694 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3696 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3697 <sysdeps/nptl/lowlevellock.h> and remove macros and
3698 functions that are now defined there.
3699 (SYS_futex): Remove.
3700 (lll_compare_and_swap): Remove.
3701 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3703 2015-02-19 Joseph Myers <joseph@codesourcery.com>
3706 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3707 instead of scandirat.
3708 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3709 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3710 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3712 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3713 (__scandirat): Declare. Use libc_hidden_proto.
3714 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3716 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3718 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3721 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3723 (__ieee754_atan2): For results with small absolute value, force
3724 underflow exception and remove excess range and precision from
3726 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3728 (__ieee754_atan2f): For results with small absolute value, force
3729 underflow exception and remove excess range and precision from
3731 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3733 (__atan): For results with small absolute value, force underflow
3734 exception and remove excess range and precision from return value.
3735 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3737 (__atanf): For results with small absolute value, force underflow
3738 exception and remove excess range and precision from return value.
3739 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3741 (__ieee754_atan2): Force underflow exception for results with
3742 small absolute value.
3743 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3745 (atan): Force underflow exception for results with small absolute
3747 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3748 (__atanf): Force underflow exception for results with small
3750 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3752 (__atanl): Force underflow exception for results with small
3754 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3755 (__atanl): Force underflow exception for results with small
3757 * sysdeps/x86/fpu/bits/mathinline.h
3758 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3759 (__ieee754_atan2): Only define inline for long double.
3760 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3761 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3762 * math/auto-libm-test-in: Do not mark underflow exceptions as
3763 possibly missing for bug 15319. Add more tests of atan2.
3764 * math/auto-libm-test-out: Regenerated.
3765 * math/libm-test.inc (casin_test_data): Do not mark underflow
3766 exceptions as possibly missing for bug 15319.
3767 (casinh_test_data): Likewise.
3768 * sysdeps/i386/fpu/libm-test-ulps: Update.
3770 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
3772 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3773 * sysdeps/mips/bits/endian.h: Fix comments.
3775 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3778 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3779 (hdestroy_r): Likewise.
3780 (hsearch_r): Likewise.
3781 (__hcreate_r): Declare and use libc_hidden_proto.
3782 (__hdestroy_r): Likewise.
3783 (__hsearch_r): Likewise.
3784 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3785 (hcreate): Call __hcreate_r instead of hcreate_r.
3786 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3787 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3788 as weak alias of __hcreate_r.
3789 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3791 (hsearch_r): Rename to __hsearch_r and define as weak alias of
3793 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3795 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3796 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3797 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3798 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3800 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3802 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3803 arena_lock into a single arena_get.
3805 2015-02-17 Carlos O'Donell <carlos@redhat.com>
3807 * dl-reloc.c: Inlucde libc-internal.h.
3808 (_dl_try_allocate_static_tls): Call ALIGN_UP.
3809 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3810 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3811 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3812 (grow_heap): Likewise.
3813 * malloc/malloc.c: Include libc-internal.h.
3814 (do_check_malloc): Call powerof2.
3815 (sysmalloc): Use pagesize. Call ALIGN_UP.
3816 (systrim): Use pagesize.
3817 (mremap_chunk): Use pagesize. Call ALIGN_UP.
3818 (__libc_valloc): Use pagesize.
3819 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3821 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3824 * include/sys/resource.h (__getrlimit64): Declare. Use
3826 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3827 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
3828 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3830 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3832 [!getrlimit64] (getrlimit64): Define as weak alias of
3833 __getrlimit64. Use libc_hidden_weak.
3834 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3835 using __getrlimit64 not __new_getrlimit64.
3836 (__GI_getrlimit64): Likewise.
3837 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3839 (__GI_getrlimit64): Likewise.
3840 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3842 (getrlimit): Add __getrlimit64 alias.
3843 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3845 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3847 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3848 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3850 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3852 * libio/fileops.c: Add missing sys/mman.h
3853 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3855 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3857 * manual/math.texi (Errors in Math Functions): Clarify goals
3858 regarding inexact and underflow exceptions.
3860 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3862 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3863 * sysdeps/mips/memset.S: Ditto.
3865 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3867 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3869 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3871 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3872 (__v1longjmp): Remove versioned symbol.
3873 (__v1siglongjmp): Remove alias and versioned symbol.
3874 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3875 (__v2siglongjmp): Likewise.
3877 2015-02-16 Torvald Riegel <triegel@redhat.com>
3879 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3881 2015-02-16 Mike Frysinger <vapier@gentoo.org>
3883 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3885 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3888 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3889 zero result does not depend on the sign resulting from
3891 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3893 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3894 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3895 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3896 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3897 * math/libm-test.inc (remquo_test_data): Add more tests.
3899 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
3901 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3902 Problem reported by J William Piggott.
3904 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3907 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3908 products 4 * y and 2 * y where those would overflow.
3909 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3911 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3912 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3913 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3914 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3915 * math/libm-test.inc (remquo_test_data): Add more tests.
3917 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3919 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3920 [defined _COMPILING_NEWLIB].
3921 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3922 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3924 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3925 [!defined __mips_isa_rev || __mips_isa_rev < 6].
3927 2015-02-16 Torvald Riegel <triegel@redhat.com>
3929 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3932 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
3935 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3936 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3937 HOST_STACK_END_ADDR): Likewise.
3939 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
3941 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3942 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3943 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3945 2015-02-13 Roland McGrath <roland@hack.frob.com>
3947 * sysdeps/generic/c++-types.data: New file.
3948 * sysdeps/generic/ld.abilist: New file.
3949 * sysdeps/generic/libBrokenLocale.abilist: New file.
3950 * sysdeps/generic/libanl.abilist: New file.
3951 * sysdeps/generic/libc.abilist: New file.
3952 * sysdeps/generic/libcrypt.abilist: New file.
3953 * sysdeps/generic/libdl.abilist: New file.
3954 * sysdeps/generic/libm.abilist: New file.
3955 * sysdeps/generic/libpthread.abilist: New file.
3956 * sysdeps/generic/libresolv.abilist: New file.
3957 * sysdeps/generic/librt.abilist: New file.
3959 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3962 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3963 Compute absolute value of x as modified by fmod, not original
3965 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3966 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
3967 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
3968 RUN_TEST_ffI_f1_mod8.
3969 (remquo_test_data): Add more tests.
3971 2015-02-13 Roland McGrath <roland@hack.frob.com>
3973 * sysdeps/init_array/pt-crti.S: New file.
3975 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3978 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3979 __builtin_fmaf instead of relying on contraction of a * b + c.
3981 2015-02-12 J William Piggott <elseifthen@gmx.com>
3984 * manual/time.texi: correct the zoneinfo path in the TZ Variable
3987 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3990 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3991 __builtin_fma instead of relying on contraction of a * b + c.
3993 2015-02-12 Roland McGrath <roland@hack.frob.com>
3995 * Makeconfig (ASFLAGS): Add -Werror=undef.
3996 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3997 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3998 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4000 * Makeconfig (after-link): New variable.
4001 (+link-pie, +link-pie-tests): Use it.
4002 (+link-static, +link-static-tests): Likewise.
4003 (+link, +link-tests): Likewise.
4004 * Makerules (build-module, build-module-asneeded): Likewise.
4005 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4007 * elf/Makefile ($(objpfx)ld.so): Likewise.
4009 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4012 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4013 both struct timeval and struct timespec.
4015 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4018 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4020 (__ieee754_exp2l): Do not multiply small fractional parts by
4022 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4024 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4025 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4026 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4027 * math/auto-libm-test-in: Add more tests of exp2.
4028 * math/auto-libm-test-out: Regenerated.
4030 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4032 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4035 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4037 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4040 2015-02-12 Andreas Schwab <schwab@suse.de>
4043 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4044 Filter out elision flags from value returned in kind.
4045 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4046 * nptl/tst-pthread-mutexattr.c: New file.
4048 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
4050 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4051 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4052 into gnu-gnu, and update comment to refer to abi-tags.
4054 2015-02-11 Joseph Myers <joseph@codesourcery.com>
4057 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4058 (__sincos): Set errno to EDOM for infinite argument.
4059 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4060 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4061 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4062 (__sincosl): Set errno to EDOM for infinite argument.
4063 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4064 (__sincosl): Set errno to EDOM for infinite argument.
4065 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4066 (__sincosl): Set errno to EDOM for infinite argument.
4067 * math/libm-test.inc (sincos_test_data): Test errno setting.
4069 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
4071 * string/strxfrm_l.c: Remove #define STRCMP.
4072 * string/strcoll_l.c: Remove #define STRLEN.
4073 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4074 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4076 2015-02-10 Joseph Myers <joseph@codesourcery.com>
4078 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4079 * sysdeps/mips/mips32/sfp-machine.h: ... here.
4080 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4081 * sysdeps/mips/mips64/Makefile: ... here.
4082 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4083 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4084 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4085 * sysdeps/mips/mips64/sfp-machine.h: ... here.
4086 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4087 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4088 * sysdeps/mips/mips64/n64/Implies: Likewise.
4090 2015-02-10 Roland McGrath <roland@hack.frob.com>
4092 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4093 <sys/time.h>, <string.h>, and <errno.h>.
4094 (dest_offset, dest_address, value, zero): Remove unused variables.
4095 (ldouble): Remove typedef.
4096 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4097 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
4099 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4100 (check): Function removed.
4102 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
4103 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4104 Don't call set_sigaction_FP and remove_sigaction_FP here.
4105 (ldouble_test): Just use 'long double' as macro argument, no need for
4106 the 'ldouble' typedef.
4107 (do_test): Set up SIGFPE handler at start, using plain signal rather
4108 than sigaction. Fix code style.
4110 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
4113 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4116 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4118 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4119 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4121 * sysdeps/powerpc/configure.ac: Remove file.
4122 * sysdeps/powerpc/configure: Likewise.
4124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4125 [sysdep_routines]: Remove wordcopy-power6 object.
4126 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4127 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4128 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4129 (__memmove_ppc32): Likewise.
4130 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4132 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4133 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4134 Remove preprocessor.
4136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4137 [sysdep_routines]: Remove wide chars objects.
4138 [wcsmbs]: New rule for wide char objects.
4140 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4141 Remove wordcopy-power6 obejct.
4142 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4143 Use local call for wordcopy and memcpy symbols.
4144 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4145 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4146 implementation for loader.
4147 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4149 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4150 Remove wordcopy-power7 object.
4151 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4152 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4153 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4154 (_wordcopy_fwd_dest_aligned): Likewise.
4155 (_wordcopy_bwd_aligned): Likewise.
4156 (_wordcopy_bwd_dest_aligned): Likewise.
4158 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4159 Rewrite to call __memmove_ppc instead of include default
4162 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4163 Remove wide chars objects.
4164 [wcsmbs]: New rule for wide char objects.
4166 2015-02-09 Andreas Schwab <schwab@suse.de>
4169 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4170 in terms of __O_DIRECTORY.
4172 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4174 * time/getdate.c: Include <stdbool.h>.
4175 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4177 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4180 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
4182 Add ersatz _Static_assert on older C hosts
4183 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4184 pre-C11 C platform that is not known to support _Static_assert.
4186 2015-02-07 Richard Braun <rbraun@sceen.net>
4188 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4190 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4192 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4194 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4195 priority against unexistent AIO_PRIO_DELTA_MAX.
4196 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4198 * misc/fchflags.c (fchflags): Likewise.
4199 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4200 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4201 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4202 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4203 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4205 [__USE_MISC] (chflags, fchflags): Declare functions.
4206 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4207 EINVAL when nfds is greater than FD_SETSIZE.
4208 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4209 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4211 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4212 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4213 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4215 * hurd/hurd/signal.h (_hurd_self_sigstate,
4216 _hurd_critical_section_lock, _hurd_critical_section_unlock):
4217 Explicit casts from void *.
4218 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4219 * abi-tags: Rename gnu-gnu os into gnu.
4222 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4223 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4224 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4225 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4226 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4227 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4230 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4231 duplicates ADDR->sun_path with sockaddr LEN limitation.
4232 * sysdeps/mach/hurd/connect.c: Include <string.h>
4233 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4234 * sysdeps/mach/hurd/sendmsg.c: Likewise.
4235 * sysdeps/mach/hurd/sendto.c: Likewise.
4236 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4237 implementing it by hand.
4239 2015-02-06 Roland McGrath <roland@hack.frob.com>
4241 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4242 Use sfi_breg on ldr.
4243 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4246 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4248 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4249 Test SIGSETXID only if it's defined.
4251 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4253 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4254 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
4256 * nptl/tst-align2.c: Moved ...
4257 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4258 * nptl/Makefile (tests): Remove tst-align2.
4259 * sysdeps/unix/sysv/linux/Makefile
4260 [$(subdir) = nptl] (tests): Add tst-align-clone.
4261 * nptl/tst-getpid1.c: Moved ...
4262 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4263 * nptl/tst-getpid2.c: Moved ...
4264 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4265 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4266 * sysdeps/unix/sysv/linux/Makefile
4267 [$(subdir) = nptl] (tests): ... here.
4268 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4269 * sysdeps/unix/sysv/linux/Makefile
4270 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4272 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4273 Drop trailing \n from perror argument. Use return rather than exit.
4275 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4277 * nptl/tst-cancel21.c (do_test): Likewise.
4278 * debug/tst-backtrace6.c: Include <signal.h> first thing.
4279 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4280 [!SA_SIGINFO]: Make it a stub test.
4282 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4283 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4285 * posix/tst-getlogin.c: Move to ...
4286 * login/tst-getlogin.c: ... here.
4287 * posix/Makefile (tests): Move tst-getlogin to ...
4288 * login/Makefile (tests): ... here.
4290 * libio/tst-atime.c (do_test): Move local variables SV and E
4291 inside [ST_NOATIME] conditional.
4293 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4295 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4297 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4298 (wait_code): New function replaces macro.
4299 Call nanosleep rather than syscall.
4301 * nptl/pt-system.c: Rewritten. Put everything under
4302 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4303 Use IFUNC to redirect when possible.
4305 * nptl/pt-longjmp.c: Rewritten. Put everything under
4306 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4307 Use IFUNC to redirect when possible.
4309 * nptl/pt-fork.c: Rewritten. Put everything under
4310 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4311 Use IFUNC to redirect when possible.
4312 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4314 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4315 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4316 unconditionally nowadays. This included the only reference to
4317 __vdso_clock_gettime that appears outside libc proper.
4318 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4319 Remove version set (containing only __vdso_clock_gettime).
4320 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4321 Add attribute_hidden.
4322 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4323 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4324 libc_hidden_data_def.
4325 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4326 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4328 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4329 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4330 setrpcent, and getrpcport to ...
4331 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4332 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4333 getrpcbynumber_r, and getrpcent_r to ...
4334 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4335 * inet/getrpcbyname.c: Moved ...
4336 * sunrpc/getrpcbyname.c: ... here.
4337 * inet/getrpcbyname_r.c: Moved ...
4338 * sunrpc/getrpcbyname_r.c: ... here.
4339 * inet/getrpcbynumber.c: Moved ...
4340 * sunrpc/getrpcbynumber.c: ... here.
4341 * inet/getrpcbynumber_r.c: Moved ...
4342 * sunrpc/getrpcbynumber_r.c: ... here.
4343 * inet/getrpcent.c: Moved ...
4344 * sunrpc/getrpcent.c: ... here.
4345 * inet/getrpcent_r.c: Moved ...
4346 * sunrpc/getrpcent_r.c: ... here.
4347 * inet/Makefile (routines): Move those to ...
4348 * sunrpc/Makefile (routines): ... here.
4349 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4350 the $(subdirs) list.
4351 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
4352 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4353 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4354 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4356 * elf/Makefile (routines): Include $(all-dl-routines), not just
4358 (rtld-routines): Likewise. Use = rather than :=.
4359 * sysdeps/aarch64/Makefile [$(subdir) = elf]
4360 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4361 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4362 * sysdeps/arm/Makefile: Likewise.
4363 * sysdeps/i386/Makefile: Likewise.
4364 * sysdeps/x86_64/Makefile: Likewise.
4365 * sysdeps/hppa/Makefile [$(subdir) = elf]
4366 (sysdep_routines, sysdep-rtld-routines): Don't add
4367 $(sysdep-dl-routines) to these.
4368 * sysdeps/ia64/Makefile: Likewise.
4369 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4370 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4371 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4372 Don't add dl-static to these; sysdep-dl-routines alone is enough.
4373 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4374 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4375 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4376 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4377 * sysdeps/powerpc/Makefile [$(subdir) = elf]
4378 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4379 these; sysdep-dl-routines alone is enough.
4381 2015-02-06 Joseph Myers <joseph@codesourcery.com>
4384 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4385 where multiplication results in zero and third argument is finite
4387 * math/auto-libm-test-in: Add more tests of fma.
4388 * math/auto-libm-test-out: Regenerated.
4390 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4391 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4392 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4393 (_FP_CMP_EQ): Likewise.
4394 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4396 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4397 extra argument CHECK_NAN. Redefine as wrapper around
4400 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
4402 * version.h (RELEASE): Set to "stable".
4403 (VERSION): Set to "2.21"
4404 * include/features.h (__GLIBC_MINOR__): Set to 21.
4406 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4408 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4409 Paul Eggert <eggert@cs.ucla.edu>
4412 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4413 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4414 size in bytes. Store needed elements in wpmax. Use needed size
4415 in bytes for extend_alloca.
4417 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
4419 * manual/install.texi: Latest tested versions are GCC 4.9.2,
4420 binutls 2.25, and texinfo 5.2.
4421 * INSTALL: Regenerate.
4422 * sysdeps/nios2/configure: Regenerate.
4423 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4424 * manual/contrib.texi: Update.
4448 * po/pt_BR.po: Update.
4457 * po/zh_CN.po: Update.
4458 * po/zh_TW.po: Update.
4460 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4461 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4462 * sysdeps/hppa/dl-irel.h: Remove #warning.
4463 * sysdeps/hppa/entry.h: Provide prototype for
4464 __canonicalize_funcptr_for_compare and cast argument.
4465 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4466 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4467 * sysdeps/hppa/sotruss-lib.c: New file.
4468 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4469 (atomic_compare_and_exchange_val_acq): Use __typeof__.
4470 (atomic_compare_and_exchange_bool_acq): Likewise.
4471 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4472 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4474 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4475 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4476 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4478 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4480 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4481 called function in non-PIC case.
4483 2015-01-31 David S. Miller <davem@davemloft.net>
4485 * sysdeps/sparc/sparc32/bits/atomic.h
4486 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4487 unlock not after it.
4488 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4489 volatile register usage warnings from the compiler.
4491 * sysdeps/sparc/nptl/sem_init.c: Delete.
4492 * sysdeps/sparc/nptl/sem_post.c: Delete.
4493 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4494 * sysdeps/sparc/nptl/sem_wait.c: Delete.
4495 * sysdeps/sparc/sparc32/sem_init.c: New file.
4496 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4497 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4498 padding explicitly initialized.
4499 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4500 padding for in-semaphore spinlock.
4501 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4502 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4503 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4504 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4505 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4506 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4507 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4508 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4510 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4511 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4513 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
4516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4517 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4518 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4520 (index_AVX_Fast_Unaligned_Load): Likewise.
4521 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4522 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4523 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4524 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4525 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4526 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4527 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4528 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4529 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4531 2015-01-29 Andreas Schwab <schwab@suse.de>
4533 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4535 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4538 * nscd/nscd_stat.c (send_stats): Initialize DATA.
4540 2015-01-28 Martin Sebor <msebor@redhat.com>
4542 * math/README.libm-test: Clarify. Add "How to read the test output."
4544 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
4546 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4549 2015-01-28 Joseph Myers <joseph@codesourcery.com>
4551 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4552 (__HAVE_64B_ATOMICS): Define to 0.
4554 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4557 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4558 value to set as new flag.
4561 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4562 and use _ARCH_PPCSQ instead.
4563 (__ieee754_sqrt): Likewise.
4564 (__ieee754_sqrtf): Likewise.
4565 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4566 _ARCH_PPCSQ is defined.
4567 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4569 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4570 _ARCH_PPCSQ is defined.
4571 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4573 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4575 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4577 * iconv/loop.c: Suppress array out of bound warning caused by GCC
4578 bug (GCC BZ #64739).
4580 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
4582 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4583 Mark _retval as used.
4584 (lll_futex_wake_unlock): Likewise.
4585 (lll_futex_timed_wait_requeue_pi): Likewise.
4587 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4588 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4591 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4594 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4595 (__bswap_64): Mark as __always_inline.
4597 2015-01-25 Bram <bug_rh@spam.wizbit.be>
4600 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4601 when none of the search directories exist.
4603 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4606 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4607 power8 in .machine directive.
4610 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4611 set dependency from opd value.
4613 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4616 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4619 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4622 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4624 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4626 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4627 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4628 Replace 1UL with (uint64_t) 1.
4629 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4632 2015-01-23 Roland McGrath <roland@hack.frob.com>
4634 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4635 (if_freenameindex): Likewise.
4637 * resource/getrlimit64.c: Add missing libc_hidden_def.
4639 2015-01-22 Joseph Myers <joseph@codesourcery.com>
4641 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4643 (_FP_FMA): Likewise.
4644 (_FP_TO_INT_ROUND): Likewise.
4645 (_FP_FROM_INT): Likewise.
4647 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4650 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4651 Make code racy and cancel safe.
4653 2015-01-21 Carlos O'Donell <carlos@redhat.com>
4655 * sysdeps/arm/unwind-resume.h: Fix copyright year.
4656 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4659 * pwd/tst-getpw.c: Rewrite.
4662 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4663 (modules-names): Add moddummy1 and moddummy2.
4664 ($(objpfx)tst-rec-dlopen): Define.
4665 * dlfcn/moddummy1.c: New file.
4666 * dlfcn/moddummy2.c: New file.
4667 * dlfcn/tst-rec-dlopen.c: New file.
4668 * elf/dl-cache.c (_dl_load_cache_lookup):
4669 Return char*. Copy result with alloca/strcpy/strdup.
4670 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4671 returns char*. Free cached. If not saving realname
4673 * elf/dl-open.c (dl_open_worker): Do not assert that
4674 _r_debug->r_state is RT_CONSISTENT.
4675 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4678 2015-01-21 Torvald Riegel <triegel@redhat.com>
4679 Carlos O'Donell <carlos@redhat.com>
4682 * nptl/sem_waitcommon.c: New file.
4683 * nptl/sem_wait.c: Include sem_waitcommon.c.
4684 (__sem_wait_cleanup, do_futex_wait): Remove.
4685 (__new_sem_wait): Adapt.
4686 (__new_sem_trywait): New function.
4687 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4688 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4689 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4690 (sem_timedwait): Adapt.
4691 * nptl/sem_post.c (__new_sem_post): Adapt.
4692 (futex_wake): New function.
4693 (__old_sem_post): Add release MO fence.
4694 * nptl/sem_open.c (sem_open): Adapt.
4695 * nptl/sem_init.c (__new_sem_init): Adapt.
4696 (futex_private_if_supported): New function.
4697 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4698 (__old_sem_getvalue): Add using previous code.
4699 * sysdeps/nptl/internaltypes.h: Adapt.
4700 * nptl/tst-sem13.c (do_test): Adapt.
4701 * nptl/tst-sem11.c (main): Adapt.
4702 * nptl/sem_trywait.c: Remove.
4703 * nptl/DESIGN-sem.txt: Remove.
4704 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4705 (gen-as-const-headers): Remove structsem.sym.
4706 * nptl/structsem.sym: Remove.
4707 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4708 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4709 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4710 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4711 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4712 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4713 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4714 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4715 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4716 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4717 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4718 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4719 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4720 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4721 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4722 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4723 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4724 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4725 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4726 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4727 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4728 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4730 2015-01-20 Carlos O'Donell <carlos@redhat.com>
4732 * INSTALL: Regenerated.
4734 * po/libc.pot: Regenerated.
4736 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
4737 Sandra Loosemore <sandra@codesourcery.com>
4738 Andrew Jenner <andrew@codesourcery.com>
4739 Joseph Myers <joseph@codesourcery.com>
4740 Nathan Sidwell <nathan@codesourcery.com>
4742 * NEWS: Mention new Nios II port.
4743 * sysdeps/nios2/Implies: New file.
4744 * sysdeps/nios2/Makefile: New file.
4745 * sysdeps/nios2/Subdirs: New file.
4746 * sysdeps/nios2/Versions: New file.
4747 * sysdeps/nios2/__longjmp.S: New file.
4748 * sysdeps/nios2/abort-instr.h: New file.
4749 * sysdeps/nios2/backtrace.c: New file.
4750 * sysdeps/nios2/bits/endian.h: New file.
4751 * sysdeps/nios2/bits/fenv.h: New file.
4752 * sysdeps/nios2/bits/link.h: New file.
4753 * sysdeps/nios2/bits/setjmp.h: New file.
4754 * sysdeps/nios2/bsd-_setjmp.S: New file.
4755 * sysdeps/nios2/bsd-setjmp.S: New file.
4756 * sysdeps/nios2/configure: New generated file.
4757 * sysdeps/nios2/configure.ac: New file.
4758 * sysdeps/nios2/crti.S: New file.
4759 * sysdeps/nios2/crtn.S: New file.
4760 * sysdeps/nios2/dl-init.c: New file.
4761 * sysdeps/nios2/dl-machine.h: New file.
4762 * sysdeps/nios2/dl-sysdep.h: New file.
4763 * sysdeps/nios2/dl-tls.h: New file.
4764 * sysdeps/nios2/dl-trampoline.S: New file.
4765 * sysdeps/nios2/gccframe.h: New file.
4766 * sysdeps/nios2/gmp-mparam.h: New file.
4767 * sysdeps/nios2/jmpbuf-offsets.h: New file.
4768 * sysdeps/nios2/jmpbuf-unwind.h: New file.
4769 * sysdeps/nios2/ldsodefs.h: New file.
4770 * sysdeps/nios2/libc-tls.c: New file.
4771 * sysdeps/nios2/libm-test-ulps: New file.
4772 * sysdeps/nios2/machine-gmon.h: New file.
4773 * sysdeps/nios2/math-tests.h: New file.
4774 * sysdeps/nios2/math_private.h: New file.
4775 * sysdeps/nios2/memusage.h: New file.
4776 * sysdeps/nios2/nptl/Makefile: New file.
4777 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4778 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4779 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4780 * sysdeps/nios2/nptl/pthreaddef.h: New file.
4781 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4782 * sysdeps/nios2/nptl/tls.h: New file.
4783 * sysdeps/nios2/preconfigure: New file.
4784 * sysdeps/nios2/s_fma.c: New file.
4785 * sysdeps/nios2/s_fmaf.c: New file.
4786 * sysdeps/nios2/setjmp.S: New file.
4787 * sysdeps/nios2/sfp-machine.h: New file.
4788 * sysdeps/nios2/sotruss-lib.c: New file.
4789 * sysdeps/nios2/stackguard-macros.h: New file.
4790 * sysdeps/nios2/stackinfo.h: New file.
4791 * sysdeps/nios2/start.S: New file.
4792 * sysdeps/nios2/sysdep.h: New file.
4793 * sysdeps/nios2/tls-macros.h: New file.
4794 * sysdeps/nios2/tst-audit.h: New file.
4795 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4796 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4797 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4798 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4799 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4800 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4801 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4802 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4803 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4804 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4805 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4806 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4807 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4808 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4809 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4810 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4811 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4812 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4813 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4814 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4815 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4816 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4817 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4818 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4819 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4820 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4821 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4822 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4823 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4824 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4825 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4826 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4827 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4828 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4829 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4830 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4831 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4832 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4833 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4834 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4835 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4836 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4837 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4838 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4840 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4843 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4844 (getutent): Use weak_alias in non SHARED case
4845 and default_symbol_version in SHARED case.
4846 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4847 (getutent_r, pututline): Likewise.
4848 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4849 (getutid): Likewise.
4850 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4851 (getutid_r): Likewise.
4852 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4853 (getutline): Likewise.
4854 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4855 (getutline_r): Likewise.
4856 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4857 (updwtmp): Likewise.
4859 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4862 * sysdeps/s390/s390-32/memcmp.S
4863 (memcmp_g5): Rename to __memcmp_g5.
4864 * sysdeps/s390/s390-32/memcpy.S
4865 (memcpy_g5): Rename to __memcpy_g5.
4866 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4867 (memcpy_mvcle) Rename to __memcpy_mvcle.
4868 * sysdeps/s390/s390-32/memset.S
4869 (memset_g5): Rename to __memset_g5.
4870 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4871 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4872 and use prefixed functions.
4873 * sysdeps/s390/s390-32/multiarch/memcmp.S
4874 (memcmp_z196): Rename to __memcmp_z196.
4875 (memcmp_z10): Rename to __memcmp_z10.
4876 (memcmp): Set alias to __memcmp_g5.
4877 (bcmp): Set alias to __memcmp_g5.
4878 * sysdeps/s390/s390-32/multiarch/memcpy.S
4879 (memcpy_z196): Rename to __memcpy_z196.
4880 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4881 (memcpy_z10): Rename to __memcpy_z10.
4882 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4883 (memcpy): Set alias to __memcpy_g5.
4884 * sysdeps/s390/s390-32/multiarch/memset.S
4885 (memset_z196): Rename to __memset_z196.
4886 Jump to __memset_mvcle instead of memset_mvcle.
4887 (memset_z10): Rename to __memset_z10.
4888 Jump to __memset_mvcle instead of memset_mvcle.
4889 (memset_mvcle) Rename to __memset_mvcle.
4890 (memset): Set alias to __memset_g5.
4891 * sysdeps/s390/s390-64/memcmp.S
4892 (memcmp_z900): Rename to __memcmp_z900.
4893 * sysdeps/s390/s390-64/memcpy.S
4894 (memcpy_z900): Rename to __memcpy_z900.
4895 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4896 (memcpy_mvcle) Rename to __memcpy_mvcle.
4897 * sysdeps/s390/s390-64/memset.S
4898 (memset_z900): Rename to __memset_z900.
4899 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4900 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4901 and use prefixed functions.
4902 * sysdeps/s390/s390-64/multiarch/memcmp.S
4903 (memcmp_z196): Rename to __memcmp_z196.
4904 (memcmp_z10): Rename to __memcmp_z10.
4905 (memcmp): Set alias to __memcmp_z900.
4906 (bcmp): Set alias to __memcmp_z900.
4907 * sysdeps/s390/s390-64/multiarch/memcpy.S
4908 (memcpy_z196): Rename to __memcpy_z196.
4909 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4910 (memcpy_z10): Rename to __memcpy_z10.
4911 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4912 (memcpy): Set alias to __memcpy_z900.
4913 * sysdeps/s390/s390-64/multiarch/memset.S
4914 (memset_z196): Rename to __memset_z196.
4915 Jump to __memset_mvcle instead of memset_mvcle.
4916 (memset_z10): Rename to __memset_z10.
4917 Jump to __memset_mvcle instead of memset_mvcle.
4918 (memset_mvcle) Rename to __memset_mvcle.
4919 (memset): Set alias to __memset_z900.
4921 2015-01-14 Joseph Myers <joseph@codesourcery.com>
4924 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4925 __fesetenv instead of fesetenv.
4927 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4929 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4932 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4934 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4937 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4938 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4939 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4940 strncmp-power8 object.
4941 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4942 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4943 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4946 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4947 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4949 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4950 trailing byte check.
4952 2015-01-13 David S. Miller <davem@davemloft.net>
4954 * include/signal.h (__sigreturn): Guard with __USE_MISC.
4956 2015-01-13 Roland McGrath <roland@hack.frob.com>
4958 * login/logout.c (logout): Use memset rather than bzero.
4959 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4960 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4961 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4962 (_gethtbyaddr): Likewise.
4963 * locale/programs/simple-hash.c (bcopy): Macro removed.
4965 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4967 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4968 Add strcmp-power8 object.
4969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4970 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4971 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4972 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4973 __strcmp_power8 implementation.
4974 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4977 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4978 Add strncpy-power8 and stpncpy-power8 objects.
4979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4980 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4982 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4983 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4984 __stpncpy_power8 implementation.
4985 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4986 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4987 __strncpy_power8 implementation.
4988 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4989 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4992 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4993 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4994 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4996 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4997 strncat-power8 object.
4998 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4999 __strcat_power8 implementation.
5000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5001 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5002 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5003 optimized strcat for power8.
5005 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5006 strcpy-power8 and stpcpy-power8 objects.
5007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5008 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5010 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5011 multiarch stpcpy implementation for POWER8.
5012 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5013 multiarch strcpy implementation for POWER8.
5014 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5015 __strcpy_power8 function.
5016 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5018 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5022 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
5025 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5026 weights and rules. Use do_xfrm_cached if data fits in cache,
5027 do_xfrm otherwise. Moved former main loop to...
5028 * (do_xfrm_cached): New function.
5029 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5030 find_idx, find_position and stack_push.
5031 * (find_idx): New function.
5032 * (find_position): Likewise.
5033 * localedata/sort-test.sh: Added test run for do_xfrm.
5034 * localedata/xfrm-test.c (main): Added command line option
5035 -nocache to run the test with strings that are too large for
5038 2015-01-13 Torvald Riegel <triegel@redhat.com>
5040 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5041 variable to lll_futex_wake call, not the value itself.
5043 2015-01-12 Joseph Myers <joseph@codesourcery.com>
5046 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5047 twom64. Adjust value to 0x1p-64L.
5048 (__scalblnl): Only return standard underflowing result for K <=
5049 -64 not K <= -63; adjust exponent for underflowing result by 64
5051 * math/libm-test.inc (scalbn_test_data): Add more tests.
5052 (scalbln_test_data): Likewise.
5055 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5057 (__scalblnl): Get new exponent of adjusted subnormal value from ES
5059 * math/libm-test.inc (scalbn_test_data): Add more tests.
5060 (scalbln_test_data): Likewise.
5062 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5063 Stefani Seibold <stefani@seibold.net>
5065 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5066 (sysdep_routines): Add dl-vdso here, ...
5067 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5068 (sysdep_routines): ... not here.
5069 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5070 fallback when vDSO is not presented.
5071 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5072 Define with libc_hidden_proto/libc_hidden_data_def definitions.
5073 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5074 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5075 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5076 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5077 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5078 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5079 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5080 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5081 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
5082 fallback configurable symbol when vDSO is not available.
5083 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5084 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
5085 be able to redefine fallback symbol when vDSO is not available.
5086 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5087 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5089 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5091 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5092 (TLS_INIT_TP): Add tm_capable initialization.
5093 (TLS_DEFINE_INIT_TP): Likewise.
5094 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5096 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5097 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5099 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5100 transactoion is lock elision is built and TCB tm_capable is set.
5101 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5103 (INTERNAL_SYSCALL_NCS): Likewise.
5104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5105 (INTERNAL_SYSCALL_NCS): Likewise.
5106 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5108 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5110 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5111 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5112 and remove it for 32 bits case.
5113 [pthread_rwlock_t] (__rwelision): New field for lock elision.
5114 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5116 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5117 Disable lock elision with rdlocks if elision is not available.
5119 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5120 (sysdep_routines): Add lock elision objects.
5121 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5122 [pthread_mutex_t] (__spins): Rework to add lock elision field.
5123 [pthread_mutex_t] (__elision): Add field.
5124 [__PTHREAD_SPINS]: Adjust to init lock elision field.
5125 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5126 elision definitions for powerpc.
5127 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5128 implementation of lock elision for powerpc.
5129 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5130 implementation of timed lock elision for powerpc.
5131 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5132 implementation of trylock with lock elision for powerpc.
5133 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5134 implementaion of unlock for lock elision for powerpc.
5135 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5136 automatic enable lock elision for mutexes.
5137 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5138 transaction execution definitions for powerpc.
5139 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5141 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5142 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5143 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5144 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5147 2015-01-09 Roland McGrath <roland@hack.frob.com>
5149 * sysdeps/posix/shm-directory.c: Use <> rather than ""
5150 for #include of <shm-directory.h>.
5152 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
5154 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5155 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5157 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
5160 * NEWS: Mention bug fix.
5161 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5162 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5163 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5165 2015-01-09 Torvald Riegel <triegel@redhat.com>
5167 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5169 2015-01-09 Torvald Riegel <triegel@redhat.com>
5171 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5173 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5175 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5176 pointer and cast to uintptr_t.
5178 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5180 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5182 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5184 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5186 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5189 2015-01-08 Roland McGrath <roland@hack.frob.com>
5191 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5192 <nptl/pthreadP.h> instead.
5193 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5195 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5197 [__SIGRTMIN] (init): Function removed.
5198 [__SIGRTMIN] (initialized): Variable removed.
5199 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5200 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5201 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5202 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5203 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5204 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5205 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5206 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5207 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5208 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5209 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5210 * sysdeps/nptl/allocrtsig.c: New file.
5211 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5212 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5213 * sysdeps/generic/testrtsig.h: File removed.
5215 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5216 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5218 * nptl/nptl-init.c (pthread_functions): Conditionalize
5219 .ptr__nptl_setxid initialization on [SIGSETXID].
5221 * sysdeps/nptl/sys/procfs.h: New file.
5222 * nptl_db/Makefile (headers): Add it.
5223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5225 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5226 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5227 * nptl/pthread_attr_setaffinity.c: Include it.
5228 * nptl/pthread_setattr_default_np.c: Likewise.
5229 * nptl/check-cpuset.h: New file.
5231 2015-01-08 Richard Henderson <rth@redhat.com>
5233 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5234 (CFLAGS-tst-execstack-prog.c): Likewise.
5235 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5237 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
5238 Sandra Loosemore <sandra@codesourcery.com>
5239 Andrew Jenner <andrew@codesourcery.com>
5240 Joseph Myers <joseph@codesourcery.com>
5241 Nathan Sidwell <nathan@codesourcery.com>
5243 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5244 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5245 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5246 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5247 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5248 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5249 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5250 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5251 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5252 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5253 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5254 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5255 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5256 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5257 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5258 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5259 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5261 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5263 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5264 timespec struct member in syscall macro.
5265 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5266 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5267 first timeval struct member in syscall macro.
5268 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5270 2015-01-07 Joseph Myers <joseph@codesourcery.com>
5273 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5274 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5275 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5276 __feupdateenv and define as weak alias of __feupdateenv. Use
5278 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5280 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5281 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
5282 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5283 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5285 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5286 __feupdateenv and define as weak alias of __feupdateenv. Use
5288 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5290 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5291 __feupdateenv and define as weak alias of __feupdateenv. Use
5293 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5295 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5296 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5297 (__feupdateenv): Likewise.
5298 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5299 __feupdateenv and define as weak alias of __feupdateenv. Use
5301 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5302 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5304 * sysdeps/tile/math_private.h (__feupdateenv): New inline
5306 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5308 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5309 __feupdateenv instead of feupdateenv.
5310 (default_libc_feupdateenv_test): Likewise.
5311 (libc_feresetround_ctx): Likewise.
5313 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5315 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5318 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
5320 * posix/regcomp.c (parse_bracket_exp): Initialize type to
5321 COLL_SYM in a couple of places to avoid uninitialized variable
5322 wanings on tilegx gcc 4.8.2.
5324 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5326 * sysdeps/aarch64/strcpy.S: New file.
5327 * sysdeps/aarch64/stpcpy.S: New file.
5330 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5332 * sysdeps/aarch64/strrchr.S: New file.
5335 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
5338 * stdlib/setenv.c: Fix memory leak when setting large,
5341 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
5344 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5345 and tabs from buffer before parsing fstab entry.
5346 * misc/tst-mntent.c (main): Add test for mount entry with
5347 trailing spaces and tabs.
5349 2015-01-06 Joseph Myers <joseph@codesourcery.com>
5352 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
5353 * math/fesetround.c (fesetround): Rename to __fesetround and
5354 define as weak alias of __fesetround. Use libm_hidden_weak.
5355 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5356 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5357 * sysdeps/arm/fesetround.c (fesetround): Likewise.
5358 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5359 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5360 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5361 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5362 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5363 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5364 __fesetround_inline.
5365 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5366 __fesetround_inline instead of __fesetround.
5367 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5368 __fesetround and define as weak alias of __fesetround. Use
5369 libm_hidden_weak. Call __fesetround_inline instead of
5371 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5372 __fesetround and define as weak alias of __fesetround. Use
5374 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5376 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5377 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5378 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5379 * sysdeps/tile/math_private.h (__fesetround): New inline function.
5380 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5381 __fesetround and define as weak alias of __fesetround. Use
5383 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5384 __fesetround instead of fesetround.
5385 (default_libc_feholdexcept_setround): Likewise.
5386 (libc_feholdsetround_ctx): Likewise.
5387 (libc_feholdsetround_noex_ctx): Likewise.
5390 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5391 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5392 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5393 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5394 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5395 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5396 define as weak alias of __fesetenv. Use libm_hidden_weak.
5397 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5398 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5399 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5400 define as weak alias of __fesetenv. Use libm_hidden_weak.
5401 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5402 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5403 define as weak alias of __fesetenv. Use libm_hidden_weak.
5404 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5406 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5407 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5409 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5410 define as weak alias of __fesetenv. Use libm_hidden_weak.
5411 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5412 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5413 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5414 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5415 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5416 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5417 __fesetenv instead of fesetenv.
5418 (libc_feresetround_noex_ctx): Likewise.
5419 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5420 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5421 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5422 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5423 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5424 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5425 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5426 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5427 (__feupdateenv): Likewise.
5428 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5429 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5430 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5431 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5433 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5436 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5437 addresses have been freed.
5439 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5441 * resolv/res_init.c (__res_vinit): Improve comments about nserv
5444 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
5446 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5447 Clean up check_pf allocation pattern. addresses
5449 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5451 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5452 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5453 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5454 * nptl/pthread_exit.c (__pthread_exit): Likewise.
5455 * nptl/pthread_join.c (pthread_join): Likewise.
5456 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5457 * sysdeps/posix/waitid.c (__waitid): Likewise.
5458 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5459 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5460 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5461 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5462 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5464 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5465 (__libc_pread64): Likewise.
5466 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5467 (__libc_pwrite): Likewise.
5468 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5469 (__libc_pwrite64): Likewsie.
5470 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5471 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5472 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5473 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5474 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5475 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5476 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5480 (__libc_pread64): Likewise.
5481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5484 (__libc_pwrite64): Likewise.
5485 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5486 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5487 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5488 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5489 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5490 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5491 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5492 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5493 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5494 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5495 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5496 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5497 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5498 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5499 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5500 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5503 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5505 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5506 (CFLAGS-test-double.c): Likewise.
5507 (CFLAGS-test-ldouble.c): Likewise.
5508 (CPPFLAGS-test-ifloat.c): Likewise.
5509 (CPPFLAGS-test-idouble.c): Likewise.
5510 (CPPFLAGS-test-ildoubl.c): Likewise.
5511 (CFLAGS-test-test-fenv.c): Remove variable.
5512 (CFLAGS-test-misc.c): Likewise.
5514 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
5517 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5518 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5519 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5520 CLOCKS_PER_SEC == 1000000.
5521 * time/clocktest.c (main): Replace %ld with %jd and cast to
5524 2015-01-05 Roland McGrath <roland@hack.frob.com>
5526 * sysdeps/generic/unwind-resume.h: New file.
5527 * sysdeps/gnu/unwind-resume.c: Include it.
5528 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5529 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5531 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5532 global rather than static.
5533 (_Unwind_Resume): Update user.
5534 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5535 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
5536 rather than static. Add __attribute__ ((cold)).
5537 (_Unwind_Resume, __gcc_personality_v0): Update callers.
5538 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5539 * sysdeps/arm/arm-unwind-resume.S: New file.
5540 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5541 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5542 * sysdeps/arm/Makefile [$(subdir) = csu]
5543 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5544 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5545 Add rt-arm-unwind-resume.
5547 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5548 Add pt-arm-unwind-resume.
5549 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5550 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5552 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5555 * include/fenv.h (__feholdexcept): Declare. Use
5557 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5558 define as weak alias of __feholdexcept. Use libm_hidden_weak.
5559 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5560 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5561 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5562 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5563 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5564 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5565 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5566 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5567 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5568 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5569 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5570 (feholdexcept): Likewise.
5571 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5572 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5573 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5574 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5575 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5576 __feholdexcept instead of feholdexcept.
5577 (default_libc_feholdexcept_setround): Likewise.
5579 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5581 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5582 to avoid using stl/str to align destination.
5584 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5586 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5588 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5591 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5592 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5593 Define as weak alias not strong alias.
5595 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5597 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5598 bltzal with addiupc.
5599 (RTLD_START): Ditto.
5601 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
5603 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5604 for __vdso_* functions in declarations.
5605 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5607 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5608 INTERNAL_VSYSCALL): Use struct return types to check for error.
5610 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5611 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5612 function with cast from llround().
5613 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5614 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5617 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5620 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5621 Define as weak alias not strong alias.
5624 * ctype/ctype-c99.c: New file. isblank implementation moved from
5626 * ctype/ctype-extn.c: ... here.
5627 (__isblank_l): Move to ...
5628 * ctype/ctype-c99_l.c: ... here. New file.
5629 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5630 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5632 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5633 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5634 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5635 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5636 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5639 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5640 (posix_fadvise64): Define as weak alias not strong alias.
5641 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5642 (posix_fallocate64): Likewise.
5643 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5645 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5646 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5647 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5648 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5649 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5651 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
5654 * NEWS: Mention bug fix.
5655 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5656 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5657 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5658 (HOST_STACK_END_ADDR): Likewise.
5660 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5663 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
5664 * math/fegetround.c (fegetround): Rename to __fegetround and
5665 define as weak alias of __fegetround. Use libm_hidden_weak.
5666 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5667 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5668 * sysdeps/arm/fegetround.c (fegetround): Likewise.
5669 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5670 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5671 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5672 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5673 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5674 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5675 Undefine after rather than before function definition; use
5676 parentheses around function name in definition.
5677 (__fegetround): Also undefine macro after function definition.
5678 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5679 __fegetround and define as weak alias of __fegetround. Use
5680 libm_hidden_weak. Do not undefine as macro.
5681 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5683 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5684 __fegetround and define as weak alias of __fegetround. Use
5686 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5687 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5688 * sysdeps/tile/math_private.h (__fegetround): New inline function.
5689 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5690 __fegetround and define as weak alias of __fegetround. Use
5692 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5693 __fegetround instead of fegetround.
5696 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5697 Condition macro definition on [__USE_MISC].
5700 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5701 (struct sigaction): Change type of sa_flags field to int.
5704 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5705 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5708 * nptl/version.c (banner): Use single year in copyright notice.
5710 * NEWS: Update copyright dates.
5711 * catgets/gencat.c (print_version): Likewise.
5712 * csu/version.c (banner): Likewise.
5713 * debug/catchsegv.sh: Likewise.
5714 * debug/pcprofiledump.c (print_version): Likewise.
5715 * debug/xtrace.sh (do_version): Likewise.
5716 * elf/ldconfig.c (print_version): Likewise.
5717 * elf/ldd.bash.in: Likewise.
5718 * elf/pldd.c (print_version): Likewise.
5719 * elf/sotruss.sh: Likewise.
5720 * elf/sprof.c (print_version): Likewise.
5721 * iconv/iconv_prog.c (print_version): Likewise.
5722 * iconv/iconvconfig.c (print_version): Likewise.
5723 * locale/programs/locale.c (print_version): Likewise.
5724 * locale/programs/localedef.c (print_version): Likewise.
5725 * login/programs/pt_chown.c (print_version): Likewise.
5726 * malloc/memusage.sh (do_version): Likewise.
5727 * malloc/memusagestat.c (print_version): Likewise.
5728 * malloc/mtrace.pl: Likewise.
5729 * manual/libc.texinfo: Likewise.
5730 * nptl/version.c (banner): Likewise.
5731 * nscd/nscd.c (print_version): Likewise.
5732 * nss/getent.c (print_version): Likewise.
5733 * nss/makedb.c (print_version): Likewise.
5734 * posix/getconf.c (main): Likewise.
5735 * scripts/test-installation.pl: Likewise.
5736 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5738 2015-01-02 Will Newton <will.newton@linaro.org>
5740 * sysdeps/arm/armv7/configure: Removed.
5741 * sysdeps/arm/armv7/configure.ac: Likewise.
5743 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5745 * All files with FSF copyright notices: Update copyright dates
5746 using scripts/update-copyrights.
5747 * intl/plural.c: Regenerated.
5748 * locale/programs/charmap-kw.h: Likewise.
5749 * locale/programs/locfile-kw.h: Likewise.
5751 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5753 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5755 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5758 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5759 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5760 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5761 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5762 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5763 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5764 define as weak alias of __fegetenv. Use libm_hidden_weak.
5765 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5766 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5767 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5768 define as weak alias of __fegetenv. Use libm_hidden_weak.
5769 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5770 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5771 define as weak alias of __fegetenv. Use libm_hidden_weak.
5772 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5774 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5775 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5777 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5778 define as weak alias of __fegetenv. Use libm_hidden_weak.
5779 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5780 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5781 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5782 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5783 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5784 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5785 __fegetenv instead of fegetenv.
5786 (libc_feholdsetround_noex_ctx): Likewise.
5788 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
5790 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5791 (Elf_MIPS_ABIFlags_v0): New structure.
5792 (EF_MIPS_FP64): Define.
5793 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5794 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5795 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5796 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5797 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5798 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5799 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5800 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5801 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5802 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5803 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5804 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5805 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5806 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5807 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5808 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5809 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5810 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5811 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5812 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5813 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5814 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5816 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5818 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5819 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5820 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5821 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5822 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5823 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5824 * sysdeps/mips/tst-abi-interlink.c: Likewise.
5825 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5826 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5827 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5828 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5829 record the current FP ABI extension.
5830 (mips-mode-switch): Define to show if kernel headers support mode
5832 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5833 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5834 supported SYSV ABI version to 3.
5835 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5838 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5839 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5841 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5843 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5845 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5847 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5848 __fegetround and redefine to call __fegetround. Remove condition
5849 on [!__NO_MATH_INLINES].
5850 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5852 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5853 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5855 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5856 instead of <fenv_libc.h>.
5857 (__llrintl): Call fegetround instead of __fegetround.
5858 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5859 instead of <fenv_libc.h>.
5860 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5861 (__lrintl): Call fegetround instead of __fegetround.
5862 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5863 instead of <fenv_libc.h>.
5864 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5865 (__rintl): Call fegetround instead of __fegetround.
5867 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5869 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5872 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5875 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5876 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5877 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5879 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5881 * sysdeps/i386/tls-macros.h: Include <features.h>.
5882 (TLS_LE): Use non-PIC version for GCC >= 5.0.
5886 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5887 define for GCC >= 5.0.
5889 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
5891 * math/test-fenv.c (test_single_exception, set_single_exc,
5892 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5893 feexcp_mask_test, feenable_test, fe_single_test): Add
5894 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5895 case where they are not used.
5896 * math/libm-test.inc: Likewise.
5897 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5898 unused in the absence of FP rounding/exception support.
5899 * stdio-common/tst-printf-round.c: Likewise.
5900 * stdlib/tst-strtod-round.c: Likewise.
5901 * stdlib/tst-strtod-underflow.c: Likewise.
5903 2014-12-30 Joseph Myers <joseph@codesourcery.com>
5906 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5907 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5908 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5909 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5911 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5912 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5913 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5915 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5916 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5918 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5920 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5921 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5922 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5924 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5926 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5927 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5928 (__feraiseexcept): Likewise.
5929 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5930 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5932 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5933 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5935 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5936 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5937 Use libm_hidden_def.
5938 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5940 (feraiseexcept): Define as weak not strong alias. Use
5942 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5943 New inline function. Factored out of ...
5944 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
5945 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5946 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5948 * math/w_acos.c (__acos): Likewise.
5949 * math/w_asin.c (__asin): Likewise.
5950 * math/w_ilogb.c (__ilogb): Likewise.
5951 * math/w_j0.c (y0): Likewise.
5952 * math/w_j1.c (y1): Likewise.
5953 * math/w_jn.c (yn): Likewise.
5954 * math/w_log.c (__log): Likewise.
5955 * math/w_log10.c (__log10): Likewise.
5956 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5957 * sysdeps/aarch64/fpu/math_private.h
5958 (libc_feupdateenv_test_aarch64): Likewise.
5959 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5960 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5961 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5962 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5963 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5964 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5965 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5966 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5967 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5968 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5970 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5973 * io/test-utime.c (main): Replace %ld with %jd and cast to
5975 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5976 * nptl/tst-mutex5.c: Include <stdint.h>.
5977 (do_test): Replace %ld with %jd and cast to intmax_t.
5978 * posix/tst-regex.c (run_test): Likewise.
5979 (run_test_backwards): Likewise.
5980 * rt/tst-clock.c: Include <stdint.h>.
5981 (clock_test): Replace %ld with %jd and cast to intmax_t.
5982 * rt/tst-cpuclock1.c: Include <stdint.h>.
5983 (do_test): Replace %lu with %ju and cast to uintmax_t.
5984 * rt/tst-cpuclock2.c: Include <stdint.h>.
5985 (do_test): Replace %lu with %ju and cast to uintmax_t.
5986 * rt/tst-mqueue1.c: Include <stdint.h>.
5987 (check_attrs): Replace %ld with %jd and cast to intmax_t.
5988 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5990 * rt/tst-mqueue4.c (do_test): Likewise.
5991 * rt/tst-timer4.c: Include <stdint.h>.
5992 (check_ts): Replace %ld with %jd and cast to intmax_t.
5993 (do_test): Likewise.
5994 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5995 and cast to intmax_t.
5996 * sysdeps/pthread/tst-timer.c (main): Likewise.
5997 * time/clocktest.c (main): Likewise.
5998 * time/tst-posixtz.c (do_test): Likewise.
5999 * timezone/tst-timezone.c (main): Likewise.
6001 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6002 H.J. Lu <hongjiu.lu@intel.com>
6004 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6005 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6006 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6007 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6008 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6009 version if bit_Fast_Unaligned_Load is set.
6010 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6011 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6012 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6013 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6014 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6015 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6017 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6018 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6019 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6021 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6022 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6023 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6024 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6026 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
6028 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6029 instead of #if to avoid a Wundef warning.
6030 * stdlib/tst-limits.c (do_test): Likewise.
6032 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6033 parallel other exception macros.
6034 (fegetenv): Convert from macro to extern inline so that it applies
6035 retroactively to inline functions already seen by the compiler.
6036 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6038 * posix/Makefile (before-compile): Use $(objpfx) for
6039 posix-conf-vars-def.h.
6041 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6043 * posix/getconf.c (main): Use size_t for type of I.
6044 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6047 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6048 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6049 * posix/posix-envs.def: Likewise.
6050 * sysdeps/posix/sysconf.c: Likewise.
6051 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6052 (specs): Remove array.
6053 * scripts/gen-posix-conf-vars.awk: Support generation of specs
6056 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6057 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6058 (__sysconf): Use CONF_IS_* macros.
6060 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6061 ($(objpfx)posix-conf-vars-def.h): New target.
6062 * posix/posix-conf-vars.list: New file.
6063 * posix/posix-conf-vars.h: New file.
6064 * posix/confstr.c: Include posix-conf-vars.h.
6065 (confstr): Use CONF_IS_* macros.
6066 * posix/posix-envs.def: Include posix-conf-vars.h. Use
6068 * scripts/gen-posix-conf-vars.awk: New file.
6070 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
6072 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6073 fegetround): Add no-op macros to avoid linknamespace issues.
6075 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6076 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6078 * sysdeps/unix/sysv/linux/tile/sysdep.h
6079 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6080 assembly-specific section to avoid a redefinition warning.
6082 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6083 long before casting to pointer to avoid a cast warning.
6085 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
6087 * sysdeps/tile/tilegx/Implies: New file.
6089 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
6091 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6093 2014-12-23 Florian Weimer <fweimer@redhat.com>
6095 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6097 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6099 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6101 * sysdeps/unix/sysv/linux/utimes.c: Do not include
6102 <kernel-features.h>.
6103 (__utimes) [__NR_utimes]: Make code unconditional.
6104 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6105 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6106 (__ASSUME_UTIMES): Do not undefine.
6107 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6108 (__ASSUME_UTIMES): Likewise.
6109 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6110 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6111 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6112 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6114 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6116 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6118 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
6121 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6122 alias to weak alias for j0l, y0l.
6123 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6124 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6127 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6130 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6132 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6133 to zero if not already defined.
6135 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6138 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6139 (__kernel_standard_f): Remove. Moved to k_standardf.c.
6140 (__kernel_standard_l): Remove. Moved to k_standardl.c with
6141 (char *) casts added.
6142 * sysdeps/ieee754/k_standardf.c: New file.
6143 * sysdeps/ieee754/k_standardl.c: Likewise.
6144 * math/Makefile (libm-support): Remove k_standard.
6145 (libm-calls): Add k_standard.
6147 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6149 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6150 Optimize to avoid an unnecessary FPCR read.
6152 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6154 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6155 Optimize to reduce FPCR/FPSR accesses.
6157 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6159 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6160 Call libc_fetestexcept_aarch64.
6162 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6164 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6165 Call libc_fesetround_aarch64.
6167 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6170 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6171 (__bind): Do not define as weak alias.
6172 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6174 (__getsockname): Do not define as weak alias.
6176 2014-12-22 Will Newton <will.newton@linaro.org>
6178 * manual/install.texi: Document that we require bison 2.7
6180 * INSTALL: Regenerate.
6181 * configure.ac: Use AC_CHECK_PROG_VER instead of
6182 AC_PATH_PROG when checking for bison and check for
6183 version 2.7 or above.
6184 * configure: Regenerate.
6186 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
6189 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6190 * sysdeps/tile/ffsll.c (ffsll): To here.
6192 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6194 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6196 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6198 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6200 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6201 hidden ___tls_get_addr.
6202 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6203 hidden __tls_get_addr.
6204 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6205 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6208 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
6210 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6213 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6215 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6216 from "call _dl_init@PLT".
6217 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6219 2014-12-21 Anders Kaseorg <andersk@mit.edu>
6221 * manual/search.texi: (Array Sort Function): Clarify stable sorting
6224 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
6226 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6228 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6231 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6234 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6236 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6238 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6239 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6240 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6241 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6242 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6244 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6246 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6247 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6248 (PTR_SUBU): Use subu for mips32r6/mips64r6.
6249 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6250 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6252 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6254 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
6256 * string/strncat.c (STRNCAT): Simplify implementation.
6258 2014-12-19 David S. Miller <davem@davemloft.net>
6260 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6261 access the quad as both a long double and as a series of 4 words.
6263 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6264 link_map->l_info array access.
6266 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6268 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6270 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6271 * math/atest-exp2.c (TIMEOUT): Likewise.
6272 * math/atest-sincos.c (TIMEOUT): Likewise.
6274 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6276 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6277 -Wno-error with -fno-builtin-lround.
6279 2014-12-19 Torvald Riegel <triegel@redhat.com>
6281 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6282 Contains futex constants and functions moved over from ...
6283 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
6284 <lowlevellock-futex.h>.
6285 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6286 (lll_timedwait_tid): Add comments and parentheses around macro
6289 2014-12-19 Torvald Riegel <triegel@redhat.com>
6291 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6292 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
6293 (__lll_private_flag): Remove.
6294 (lll_futex_wait): Likewise.
6295 (lll_futex_timed_wait): Likewise.
6296 (lll_futex_wake): Likewise.
6297 (lll_futex_requeue): Likewise.
6298 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6299 (__lll_timedwait_tid): Spell out argument names.
6300 (lll_timedwait_tid): Add comments and parentheses around macro
6302 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6303 LLL_SHARED and LLL_PRIVATE usable from assembly code.
6305 2014-12-19 Torvald Riegel <triegel@redhat.com>
6307 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6308 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6309 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6310 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6311 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6312 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6313 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6314 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6315 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6316 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6317 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6318 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6319 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6320 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6321 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6322 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6323 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6324 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6325 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6327 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6329 * sysdeps/x86_64/x32/Makefile: New file.
6331 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6333 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6334 1L with (mp_limb_t) 1.
6336 2014-12-17 Roland McGrath <roland@hack.frob.com>
6338 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6339 * nptl/libc_pthread_init.c: ... here.
6340 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6341 * nptl/register-atfork.c: ... here.
6343 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6344 Use pthread_sigmask rather than INTERNAL_SYSCALL.
6345 Use assert_perror to check its return value.
6346 (__gai_create_helper_thread): Likewise.
6348 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6350 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6352 2014-12-17 Joseph Myers <joseph@codesourcery.com>
6355 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6357 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6359 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6361 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6363 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6364 (profil_counter): Likewise.
6365 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6366 (profil_counter): Likewise.
6367 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6369 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6371 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6372 (profil_counter): Likewise.
6373 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6375 [!__profil_counter] (profil_counter): Define as weak alias of
6377 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6378 (profil_counter): Rename to __profil_counter.
6379 [!__profil_counter] (profil_counter): Define as weak alias of
6381 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6382 (profil_counter): Rename to __profil_counter.
6383 [!__profil_counter] (profil_counter): Define as weak alias of
6385 * sysdeps/posix/profil.c: Update comment referring to
6387 (__profil): Use __profil_counter instead of profil_counter.
6388 * sysdeps/posix/sprofil.c (profil_counter): Rename to
6389 __profil_counter. Use __profil_counter_ushort and
6390 __profil_counter_uint in definitions.
6391 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6392 instead of profil_counter_uint and profil_counter_ushort.
6395 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6396 define as weak alias of __inet_makeaddr.
6397 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6398 as weak alias of __inet_addr.
6399 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6400 as weak alias of __inet_pton. Use libc_hidden_weak.
6401 * include/arpa/inet.h (__inet_pton): Declare. Use
6403 (inet_makeaddr): Don't use libc_hidden_proto.
6404 (__inet_makeaddr): Declare. Use libc_hidden_proto.
6405 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6406 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
6407 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6409 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6410 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6412 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
6414 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6416 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6418 * stdio-common/bug-vfprintf-nargs.c (do_test):
6419 Cast value to intptr_t to avoid format warning
6420 for usage with PRIdPTR printing macro.
6422 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6424 * libio/tst-widetext.c (do_test):
6425 Use format type %td instead of %Zd for ptrdiff_t
6426 in order to avoid format warning.
6428 2014-12-17 Andreas Schwab <schwab@suse.de>
6430 * nscd/mem.c (gc): Add size_t cast to match printf format.
6432 2014-12-16 Roland McGrath <roland@hack.frob.com>
6434 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6435 (init): Apply PTR_MANGLE to pointers before storing them.
6436 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6439 2014-12-16 Joseph Myers <joseph@codesourcery.com>
6442 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6443 define as weak alias of __memrchr.
6444 (__memrchr): Do not define as strong alias of memrchr.
6445 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6447 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6448 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6449 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6452 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6453 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
6454 (if_indextoname): Rename to __if_indextoname and define as weak
6455 alias of __if_indextoname. Use libc_hidden_weak.
6456 (if_freenameindex): Rename to __if_freenameindex and define as
6457 weak alias of __if_freenameindex.
6458 (if_nameindex): Rename to __if_nameindex and define as weak alias
6460 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6461 __if_nametoindex and define as weak alias of __if_nametoindex.
6462 Use libc_hidden_weak.
6463 (if_freenameindex): Rename to __if_freenameindex and define as
6464 weak alias of __if_freenameindex.
6465 (if_nameindex): Rename to __if_nameindex and define as weak alias
6467 (if_indextoname): Rename to __if_indextoname and define as weak
6468 alias of __if_indextoname. Use libc_hidden_weak.
6469 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6470 __if_nametoindex and define as weak alias of __if_nametoindex.
6471 Use libc_hidden_weak.
6472 (if_freenameindex): Rename to __if_freenameindex and define as
6473 weak alias of __if_freenameindex. Use libc_hidden_weak.
6474 (if_nameindex_netlink): Use __if_freenameindex instead of
6476 (if_nameindex): Rename to __if_nameindex and define as weak alias
6477 of __if_nameindex. Use libc_hidden_weak.
6478 (if_indextoname): Rename to __if_indextoname and define as weak
6479 alias of __if_indextoname. Use libc_hidden_weak.
6480 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6482 [!_ISOMAC] (__if_freenameindex): Likewise.
6483 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6485 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6487 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6488 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6489 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6490 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6491 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6492 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6493 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6495 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6497 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6498 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6500 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6502 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6503 subscript above bounds'
6505 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6508 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
6510 * libio/tst-fopenloc.c: Use test-skeleton.c.
6512 * stdlib/tst-bsearch.c: Use test-skeleton.c.
6513 (entry): Rename to ITEM.
6514 (do_test, comp): Adjust.
6516 * stdio-common/tst-fseek.c: Use test-skeleton.c.
6518 2014-12-16 Torvald Riegel <triegel@redhat.com>
6520 * string/tester.c: Include <libc-internal.h>.
6521 (test_memset): Ignore -Wmemset-transposed-args.
6523 2014-12-16 Torvald Riegel <triegel@redhat.com>
6525 * misc/tst-mntent2.c (do_test): Fix warning.
6527 2014-12-16 Torvald Riegel <triegel@redhat.com>
6529 * elf/tst-unique4lib.cc(a): Mark as used.
6531 2014-12-16 Florian Weimer <fweimer@redhat.com>
6534 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6537 2014-12-16 Allan McRae <allan@archlinux.org>
6539 * stdio-common/Makefile (tests): Re-add bug26.
6541 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
6544 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6547 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
6549 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6550 (__lll_lock_wait): Likewise.
6551 (__lll_timedlock_wait): Likewise.
6552 (__lll_timedwait_tid): Likewise.
6553 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6554 (__lll_robust_timedlock_wait): Likewise.
6555 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6556 (lll_cond_trylock): Likewise.
6557 (__lll_lock): Likewise.
6558 (__lll_robust_lock): Likewise.
6559 (__lll_cond_lock): Likewise.
6560 (lll_robust_cond_lock): Likewise.
6561 (__lll_timedlock): Likewise.
6562 (__lll_robust_timedlock): Likewise.
6563 (__lll_unlock): Likewise.
6564 (__lll_robust_unlock): Likewise.
6565 (lll_wait_tid): Likewise.
6566 (lll_timedwait_tid): Likewise.
6568 2014-12-15 Torvald Riegel <triegel@redhat.com>
6570 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6572 2014-12-15 Torvald Riegel <triegel@redhat.com>
6574 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6576 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6578 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6579 * stdio-common/tst-sprintf.c: Likewise.
6581 2014-12-15 Torvald Riegel <triegel@redhat.com>
6583 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6585 2014-12-15 Jeff Law <law@redhat.com>
6588 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6589 on the heap. (CVE-2012-3406)
6590 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6591 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
6592 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6594 2014-12-15 Will Newton <will.newton@linaro.org>
6596 * manual/install.texi: Bump required version of texinfo
6598 * INSTALL: Regenerated.
6599 * configure.ac: Check for makeinfo version 4.7 and above.
6600 * configure: Regenerated.
6602 2014-12-12 Roland McGrath <roland@hack.frob.com>
6604 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6605 PREFIX, string constant to insert between directory and name.
6606 * sysdeps/posix/shm_open.c: Update caller.
6607 * sysdeps/posix/shm_unlink.c: Likewise.
6608 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6609 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6610 (SEM_SHM_PREFIX): New macro.
6611 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6612 [$(have-thread-library) = no].
6613 * nptl/Makefile (libpthread-routines): Add shm-directory.
6614 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6615 * sysdeps/nptl/shm-directory.h: New file.
6616 * sysdeps/posix/shm-directory.c
6617 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6618 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6619 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6621 (__where_is_shmfs): Function removed.
6622 (mountpoint, defaultmount, defaultdir, __namedsem_once):
6624 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6626 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
6628 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6629 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6630 unconditional for use inside libpthread.
6631 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6633 2014-12-12 Roland McGrath <roland@hack.frob.com>
6635 * nptl/pthread_getaffinity.c: New file.
6636 * nptl/pthread_setaffinity.c: New file.
6637 * nptl/pthread_getname.c: New file.
6638 * nptl/pthread_setname.c: New file.
6640 * nptl/pthread_create.c (START_THREAD_DEFN)
6641 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6643 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6644 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6646 * resolv/res_send.c (send_vc): Disable warning resplen may
6647 be used uninitialized.
6649 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6652 (ATTR_NULL): New define checks ATTR against NULL.
6653 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6654 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6656 2014-12-11 James Lemke <jwlemke@codesourcery.com>
6660 (mem2mem_check): Revert my previous change.
6661 (malloc_check_get_size): Revert my previous change.
6662 (mem2chunk_check): Revert my previous change.
6664 2014-12-11 Roland McGrath <roland@hack.frob.com>
6666 * sysdeps/posix/shm-directory.c: New file.
6667 * sysdeps/posix/shm-directory.h: New file.
6668 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6669 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6670 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
6671 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6672 Transmute EPERM to EACCES.
6673 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6675 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
6676 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6678 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6680 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6681 pointer and cast to uintptr_t.
6682 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6683 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6684 Add cast to avoid warning.
6685 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6687 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6689 * nptl/semaphore.h: Move to ...
6690 * sysdeps/pthread/semaphore.h: ... here.
6691 * Makefile (installed-headers): Change nptl/semaphore.h to
6692 sysdeps/pthread/semaphore.h.
6694 2014-12-11 Roland McGrath <roland@hack.frob.com>
6696 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6697 generated error format strings.
6699 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6700 -Wformat-extra-args warnings for scanf formats.
6701 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6702 test of zero-length format (duh).
6703 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6704 corner-case scanf format test.
6705 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6706 generated fprintf format string.
6707 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6708 corner-case sprintf format tests.
6709 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6710 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6711 -Wformat-extra-args warnings throughout.
6712 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6713 (CFLAGS-scanf4.c): Likewise.
6714 (CFLAGS-scanf7.c): Likewise.
6715 (CFLAGS-tst-sprintf.c): Likewise.
6716 (CFLAGS-tst-printf.c): Likewise.
6717 (CFLAGS-tst-printfsz.c): Likewise.
6719 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6721 * include/cpio.h: New file.
6722 * include/fmtmsg.h: Likewise.
6724 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
6725 corresponding format argument to size_t.
6726 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
6728 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
6729 corresponding format argument to size_t.
6730 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
6732 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
6733 corresponding format argument to size_t.
6734 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6735 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6736 (CFLAGS-tst-mbswcs2.c): Likewise.
6737 (CFLAGS-tst-mbswcs3.c): Likewise.
6738 (CFLAGS-tst-mbswcs4.c): Likewise.
6739 (CFLAGS-tst-mbswcs5.c): Likewise.
6740 (CFLAGS-tst-trans.c): Likewise
6742 2014-12-11 Roland McGrath <roland@hack.frob.com>
6744 * posix/regexbug1.c (main): Use "%s" format with regerror results,
6745 rather than assuming they won't contain any '%'s.
6747 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
6749 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6750 inhibit_loop_to_libcall to avoid recursive calls.
6751 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6752 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6754 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6756 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6759 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6761 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6762 integer value instead of boolean.
6764 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6766 * malloc/malloc.c: Fix powerof2 check.
6768 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6770 * locale/programs/locfile.h (maybe_swap_uint32):
6771 Remove inline and add unused attribute.
6773 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6775 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6776 Truncating assembler expression to a .long expression.
6778 2014-12-11 Andreas Schwab <schwab@suse.de>
6780 * elf/rtld.c (struct map_args): Constify str member.
6781 (do_preload): Constify fname argument.
6783 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6785 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6786 constants definition.
6788 2014-12-11 Andreas Schwab <schwab@suse.de>
6791 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6792 FORCE_ELISION instead of DO_ELISION.
6793 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6795 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6798 * iconvdata/gconv-modules: Remove duplicate entry.
6800 2014-12-11 Will Newton <will.newton@linaro.org>
6802 Merge gettext 0.19.3 into intl/.
6804 This involves a number of cosmetic changes to comments
6805 and ANSI function definitions and prototypes throughout
6806 all the files. The gettext copyright header is used but
6807 with the date ranges taken from the glibc copy.
6809 * NEWS: Add gettext merge to 2.21.
6810 * intl/bindtextdom.c: Switch to gettext copyright.
6811 Use ANSI definitions and prototypes.
6812 Use gl_* locking primitives rather than __libc_* ones.
6813 Use __builtin_expect rather than __glibc_likely/unlikely.
6814 * intl/dcgettext.c: Switch to gettext copyright.
6815 Use ANSI definitions and prototypes.
6816 * intl/dcigettext.c: Switch to gettext copyright.
6817 Use ANSI definitions and prototypes.
6818 (INTDIV0_RAISES_SIGFPE): New define.
6819 Use gl_* locking primitives rather than __libc_* ones.
6820 Include eval-plural.h instead of plural-eval.c.
6821 Use __builtin_expect rather than __glibc_likely/unlikely.
6822 * intl/dcngettext.c: Switch to gettext copyright.
6823 Use ANSI definitions and prototypes.
6824 * intl/dgettext.c: Likewise.
6825 * intl/dngettext.c: Likewise.
6826 * intl/plural-eval.c: Renamed to...
6827 * intl/eval-plural.h: ...this.
6828 * intl/explodename.c: Switch to gettext copyright.
6829 Use ANSI definitions and prototypes.
6830 (_nl_explode_name): Use strchr instead of __rawmemchr.
6831 * intl/finddomain.c: Switch to gettext copyright.
6832 Use ANSI definitions and prototypes.
6833 Use gl_* locking primitives rather than __libc_* ones.
6834 (_nl_find_domain): Use malloc rather than alloca for
6835 allocation of temporary locale name.
6836 * intl/gettext.c: Switch to gettext copyright.
6837 Use ANSI definitions and prototypes.
6838 * intl/gettextP.h: Switch to gettext copyright.
6839 Use ANSI definitions and prototypes.
6840 Use gl_* locking primitives rather than __libc_* ones.
6841 * intl/gmo.h: Switch to gettext copyright.
6842 (struct sysdep_string): Move struct segment_pair outside of
6844 * intl/hash-string.c: Use ANSI definitions and prototypes.
6845 * intl/hash-string.h: Switch to gettext copyright.
6846 Use ANSI definitions and prototypes.
6847 * intl/l10nflist.c: Switch to gettext copyright.
6848 Use ANSI definitions and prototypes.
6849 (_nl_normalize_codeset): Avoid integer overflow.
6850 * intl/loadinfo.h: Switch to gettext copyright.
6851 Use ANSI definitions and prototypes.
6852 (LIBINTL_DLL_EXPORTED): New define.
6853 (PATH_SEPARATOR): New define.
6854 * intl/loadmsgcat.c: Switch to gettext copyright.
6855 * intl/localealias.c: Switch to gettext copyright.
6856 Use ANSI definitions and prototypes.
6857 (_nl_expand_alias): Use PATH_SEPARATOR.
6858 * intl/ngettext.c: Switch to gettext copyright.
6859 Use ANSI definitions and prototypes.
6860 * intl/plural-exp.c: Likewise.
6861 * intl/plural-exp.h: Switch to gettext copyright.
6862 Use ANSI definitions and prototypes.
6863 (struct expression): Move definition of enum operator outside
6864 of struct definition.
6865 * intl/plural.c: Regenerate.
6866 * intl/plural.y: Switch to gettext copyright.
6867 Use ANSI definitions and prototypes.
6869 * intl/textdomain.c: Switch to gettext copyright.
6870 Use ANSI definitions and prototypes.
6871 Use gl_* locking primitives rather than __libc_* ones.
6873 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
6875 * debug/warning-nop.c: Add used atrribute.
6877 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6879 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6881 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6882 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6883 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6885 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6886 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6889 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6890 Undefine after defining function. Define as weak alias of
6891 __wcschr. Use libc_hidden_weak.
6892 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
6893 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6894 (libc_hidden_def): Also define __GI___wcschr alias.
6895 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6896 __wcschr and define as weak alias of __wcschr.
6897 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6899 [!WCSCHR] (DEFAULT_WCSCHR): Define.
6900 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6901 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
6902 libc_hidden_weak. Do not use libc_hidden_def.
6903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6904 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6905 __GI___wcschr alias.
6906 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6907 [IS_IN (libc)] (wcschr): Define as macro expanding to
6909 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6910 [IS_IN (libc)] (__wcschr_power6): Likewise.
6911 [IS_IN (libc)] (__wcschr_power7): Likewise.
6912 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
6914 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6916 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6917 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6918 __wcschr and define as weak alias of __wcschr. Use
6919 libc_hidden_builtin_def.
6920 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6921 as weak alias of __wcschr. Use libc_hidden_weak.
6922 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6924 * time/era.c (_nl_init_era_entries): Likewise.
6925 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6927 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6928 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6930 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6932 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6933 format for long int variable.
6935 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
6938 * manual/search.texi: (Array Sort Function): Remove claim how to make
6941 2014-12-10 Andreas Schwab <schwab@suse.de>
6944 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6945 user-controlled locks.
6947 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
6949 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6952 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6954 * configure.ac (--disable-werror): New configure option.
6955 (enable_werror): New AC_SUBST.
6956 * configure: Regenerated.
6957 * config.make.in (enable-werror): New variable.
6958 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6960 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6961 * manual/install.texi (Configuring and compiling): Document
6963 * INSTALL: Regenerated.
6964 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6965 (CFLAGS-tst-chk2.c): Likewise.
6966 (CFLAGS-tst-chk3.c): Likewise.
6967 (CFLAGS-tst-chk4.cc): Likewise.
6968 (CFLAGS-tst-chk5.cc): Likewise.
6969 (CFLAGS-tst-chk6.cc): Likewise.
6970 (CFLAGS-tst-lfschk1.c): Likewise.
6971 (CFLAGS-tst-lfschk2.c): Likewise.
6972 (CFLAGS-tst-lfschk3.c): Likewise.
6973 (CFLAGS-tst-lfschk4.cc): Likewise.
6974 (CFLAGS-tst-lfschk5.cc): Likewise.
6975 (CFLAGS-tst-lfschk6.cc): Likewise.
6977 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6978 (main): Disable -Wdeprecated-declarations around calls to
6979 register_printf_function.
6981 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6982 (do_test): Disable -Wdiv-by-zero around some calls to
6983 fwrite_unlocked and fread_unlocked.
6985 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6986 (DIAG_POP_NEEDS_COMMENT): Likewise.
6987 (_DIAG_STR1): Likewise.
6988 (_DIAG_STR): Likewise.
6989 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6990 * stdio-common/bug21.c: Include <libc-internal.h>.
6991 (do_test): Disable -Wformat around call to sscanf.
6992 * stdio-common/scanf14.c: Include <libc-internal.h>.
6993 (main): Disable -Wformat around some calls to scanf functions.
6995 2014-12-09 Torvald Riegel <triegel@redhat.com>
6997 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6999 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7001 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7002 stack variable alignment.
7004 2014-12-06 Joseph Myers <joseph@codesourcery.com>
7007 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7008 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7009 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7010 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7011 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7012 __getrlimit instead of getrlimit.
7013 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7014 __gettimeofday instead of gettimeofday.
7015 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7017 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7019 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7020 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7022 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7023 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7025 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7027 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7028 for wide-character tests.
7030 2014-12-04 Roland McGrath <roland@hack.frob.com>
7032 * io/openat64.c: #include <libc-internal.h>
7033 (__openat64): Prototypify. Use ignore_value on MODE.
7034 * io/openat.c: Likewise.
7035 * misc/reboot.c: #include <libc-internal.h>
7036 (reboot): Prototypify. Use ignore_value on HOWTO.
7037 * misc/ptrace.c: #include <libc-internal.h>
7038 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
7040 2014-12-04 Joseph Myers <joseph@codesourcery.com>
7042 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7043 XPG4, UNIX98 and XOPEN2K.
7044 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7046 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7048 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7050 * libio/fileops.c: Use ISO C style for function definitions.
7051 * libio/iofopen.c: Likewise.
7052 * libio/wfileops.c: Likewise.
7055 * libio/fileops.c (_IO_new_file_underflow): Unset cached
7057 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7058 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7059 (fgets_func): Function pointer to fgets and fgetws.
7060 (do_ftell_test): Add test to verify ftell value after read
7062 (do_test): Set fgets_func.
7064 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7065 O_TRUNC flag for w and w+ modes.
7066 (do_rewind_test): Likewise.
7067 (do_ftell_test): Likewise.
7068 (do_write_test): Likewise.
7071 * libio/fileops.c (do_ftell): Seek only when there are
7073 * libio/wfileops.c (do_ftell_wide): Likewise.
7074 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7076 (do_one_test): Call it.
7078 2014-12-03 Joseph Myers <joseph@codesourcery.com>
7080 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7081 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7082 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7084 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7085 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7086 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7088 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7090 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7092 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7095 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7096 as weak alias of __getifaddrs. Use libc_hidden_weak.
7097 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7098 __freeifaddrs. Use libc_hidden_weak.
7099 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7100 define as weak alias of __getifaddrs. Use libc_hidden_weak.
7101 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7102 __freeifaddrs. Use libc_hidden_weak.
7103 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7104 __getifaddrs and define as weak alias of __getifaddrs. Use
7106 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7107 __freeifaddrs. Use libc_hidden_weak.
7108 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7110 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7111 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7113 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
7116 * sysdeps/mips/start.S (__start): Use indirect jump to call
7119 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7121 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7123 * nptl/tst-mutex1.c: Include <stdbool.h>.
7124 [!ATTR] (ATTR_NULL): New macro.
7125 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7126 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7127 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7129 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7133 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7134 Change conditional to [__USE_MISC].
7137 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7139 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7141 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7143 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7145 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7146 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7147 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7148 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7149 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7150 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7151 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7152 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7153 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7155 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7157 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7159 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7160 Remove strpbrk objects.
7161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7162 (__libc_ifunc_impl_list): Remove strpbrk implementation.
7163 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7164 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7165 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7166 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7168 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7169 Remove strcspn objects.
7170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7171 (__libc_ifunc_impl_list): Remove strcspn implementation.
7172 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7173 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7174 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7175 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7177 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7178 Remove strspn objetcs.
7179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7180 (__libc_ifunc_impl_list): Remove strspn implementation.
7181 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7182 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7183 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7184 * sysdeps/powerpc/powerpc64/strspn.S: New file.
7186 2014-12-01 James Lemke <jwlemke@codesourcery.com>
7190 (mem2mem_check): Add a terminator to the chain of checking blocks.
7191 (malloc_check_get_size): Use it here.
7192 (mem2chunk_check): Ditto.
7194 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7196 * sysdeps/powerpc/powerpc64/strtok.S: New file.
7197 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7199 2014-11-29 Carlos O'Donell <carlos@redhat.com>
7201 * bits/ioctl-types.h: Indent preprocessor directives correctly.
7203 * nptl/nptl-init.c: Include libc-internal.h.
7204 (__pthread_initialize_minimal_internal): Use ROUND_UP.
7206 * elf/ldconfig.c (search_dir): Expand comment.
7208 2014-11-29 Joseph Myers <joseph@codesourcery.com>
7210 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7212 (linknamespace-symlist-stdlibs-tests): Likewise.
7213 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7214 instead of $(objpfx)symlist-stdlibs.
7215 (linknamespace-libs-isoc): New variable.
7216 (linknamespace-libs): Use $(linknamespace-libs-isoc).
7217 (linknamespace-libs-ISO): New variable.
7218 (linknamespace-libs-ISO99): Likewise.
7219 (linknamespace-libs-ISO11): Likewise.
7220 (linknamespace-libs-XPG3): Likewise.
7221 (linknamespace-libs-XPG4): Likewise.
7222 (linknamespace-libs-POSIX): Likewise.
7223 (linknamespace-libs-UNIX98): Likewise.
7224 (linknamespace-libs-XOPEN2K): Likewise.
7225 (linknamespace-libs-POSIX2008): Likewise.
7226 (linknamespace-libs-XOPEN2K8): Likewise.
7227 ($(objpfx)symlist-stdlibs): Replace by
7228 $(linknamespace-symlist-stdlibs-tests). Use
7229 $(linknamespace-libs-$*) as set of libraries.
7230 ($(linknamespace-header-tests)): Update dependencies. Use
7231 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7232 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7233 * conform/linknamespace.pl: Remove comment about considering
7234 definitions of symbols from irrelevant libraries.
7236 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
7239 * elf/dl-tls.c: Include <atomic.h>.
7240 (oom): Remove #ifdef SHARED/#endif.
7241 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7242 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
7243 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7245 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7246 * nptl/Makefile (tests): Add tst-stack4.
7247 (modules-names): Add tst-stack4mod.
7248 ($(objpfx)tst-stack4): New.
7249 (tst-stack4mod.sos): Likewise.
7250 ($(objpfx)tst-stack4.out): Likewise.
7251 ($(tst-stack4mod.sos)): Likewise.
7253 * nptl/tst-stack4.c: New file.
7254 * nptl/tst-stack4mod.c: Likewise.
7256 2014-11-27 J. Brown <jb999@gmx.de>
7258 * sysdeps/x86/bits/string.h: Add recent CPUs.
7260 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7262 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7265 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7268 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7271 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
7273 * nscd/connections.c: Include libc-internal.h because of macro
7276 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7278 * string/bits/string3.h (__warn_memset_zero_len): Don't
7279 declare for gcc newer than 5.0.
7280 (memset): Don't test for zero-length __LEN for gcc newer than
7283 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7285 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7286 size_t for %zu format.
7288 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7289 difference, not %ju.
7291 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7293 * include/libc-internal.h (ignore_value): New macro.
7294 * nscd/connections.c (restart): Wrap calls to setuid and setgid
7297 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7300 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7301 pthread_cleanup_push to void *.
7303 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7308 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7309 instead of 1L << 52.
7311 * libio/bug-rewind.c (do_test): Check fwscanf return values.
7312 * libio/bug-rewind2.c (do_test): Likewise.
7314 * debug/test-stpcpy_chk-ifunc.c: Remove file.
7315 * debug/test-strcpy_chk-ifunc.c: Likewise.
7316 * wcsmbs/test-wcschr-ifunc.c: Likewise.
7317 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7318 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7319 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7320 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7321 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7322 * Rules [$(multi-arch) = no] (tests): Do not filter out
7324 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7325 * debug/Makefile (tests-ifunc): Remove variable.
7326 (tests): Do not add $(tests-ifunc).
7327 * wcsmbs/Makefile (tests-ifunc): Remove variable.
7328 (tests): Do not add $(tests-ifunc).
7329 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7330 [TEST_IFUNC]: Remove conditionals.
7331 * string/test-string.h (TEST_IFUNC): Remove macro.
7332 [TEST_IFUNC]: Remove conditionals.
7334 * string/test-strchr.c [!WIDE] (L): New macro.
7335 [WIDE] (L): Likewise.
7336 (check1): Use CHAR instead of char. Use L on string and character
7339 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
7341 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7343 * sysdeps/powerpc/bits/atomic.h
7344 (__arch_atomic_exchange_and_add_32_acq): Add definition.
7345 (__arch_atomic_exchange_and_add_32_rel): Likewise.
7346 (atomic_exchange_and_add_acq): Likewise.
7347 (atomic_exchange_and_add_rel): Likewise.
7348 * sysdeps/powerpc/powerpc32/bits/atomic.h
7349 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7350 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7351 * sysdeps/powerpc/powerpc64/bits/atomic.h
7352 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7353 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7355 2014-11-26 Torvald Riegel <triegel@redhat.com>
7357 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7358 Change synchronization of __sched_fifo_min_prio and
7359 __sched_fifo_max_prio.
7360 * nptl/pthread_mutexattr_getprioceiling.c
7361 (pthread_mutexattr_getprioceiling): Likewise.
7362 * nptl/pthread_mutexattr_setprioceiling.c
7363 (pthread_mutexattr_setprioceiling): Likewise.
7364 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7365 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7368 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7370 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7373 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7375 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7376 third argument const.
7378 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
7380 fnmatch: work around GCC compiler warning bug with uninit var
7381 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7382 This works around a bug with x86-64 GCC 4.9.2 and earlier
7383 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7384 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7385 used uninitialized in this function [-Wmaybe-uninitialized]".
7387 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7389 * posix/bug-regex31.c (main): Return RES not 0.
7391 2014-11-25 Anton Blanchard <anton@samba.org>
7393 * sysdeps/powerpc/bits/atomic.h
7394 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7396 2014-11-24 Sterling Augustine <saugustine@google.com>
7398 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7400 2014-11-24 Ryan Cumming <etaoins@gmail.com>
7403 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7405 2014-11-24 Joseph Myers <joseph@codesourcery.com>
7408 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7409 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7411 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7412 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7414 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7416 * string/strncpy.c (strncpy): Improve performance by using memset.
7418 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7420 * string/strcpy.c (strcpy):
7421 Improve performance by using strlen and memcpy.
7423 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
7425 * string/strcoll_l.c (get_next_seq): __always_inline.
7426 * string/strcoll_l.c (do_compare): __always_inline.
7428 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7430 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7432 * include/mqueue.h: Likewise.
7433 * include/stdlib.h: Likewise.
7435 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7436 (get_null_defines): Adjust.
7437 * sunrpc/Makefile: Adjust comment.
7438 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7439 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7440 (CFLAGS-interp.c): Likewise.
7441 (CFLAGS-ldconfig.c): Likewise.
7442 (CPPFLAGS-.os): Likewise.
7443 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7444 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7445 * extra-modules.mk (extra-modules.mk): Likewise.
7446 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7447 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7448 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7449 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7450 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7451 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7452 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7453 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7454 * iconvdata/Makefile (CPPFLAGS): Likewise.
7455 (cpp-srcs-left): Add libof for all iconvdata routines.
7456 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7457 * include/assert.h: Likewise.
7458 * include/ctype.h: Likewise.
7459 * include/errno.h: Likewise.
7460 * include/libc-symbols.h: Likewise.
7461 * include/math.h: Likewise.
7462 * include/netdb.h: Likewise.
7463 * include/resolv.h: Likewise.
7464 * include/stdio.h: Likewise.
7465 * include/stdlib.h: Likewise.
7466 * include/string.h: Likewise.
7467 * include/sys/stat.h: Likewise.
7468 * include/wctype.h: Likewise.
7469 * intl/l10nflist.c: Likewise.
7470 * libidn/idn-stub.c: Likewise.
7471 * libio/libioP.h: Likewise.
7472 * nptl/libc_multiple_threads.c: Likewise.
7473 * nptl/pthreadP.h: Likewise.
7474 * posix/regex_internal.h: Likewise.
7475 * resolv/res_hconf.c: Likewise.
7476 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7477 * sysdeps/arm/memmove.S: Likewise.
7478 * sysdeps/arm/sysdep.h: Likewise.
7479 * sysdeps/generic/_itoa.h: Likewise.
7480 * sysdeps/generic/symbol-hacks.h: Likewise.
7481 * sysdeps/gnu/errlist.awk: Likewise.
7482 * sysdeps/gnu/errlist.c: Likewise.
7483 * sysdeps/i386/i586/memcpy.S: Likewise.
7484 * sysdeps/i386/i586/memset.S: Likewise.
7485 * sysdeps/i386/i686/memcpy.S: Likewise.
7486 * sysdeps/i386/i686/memmove.S: Likewise.
7487 * sysdeps/i386/i686/mempcpy.S: Likewise.
7488 * sysdeps/i386/i686/memset.S: Likewise.
7489 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7490 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7491 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7492 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7493 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7494 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7495 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7496 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7497 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7498 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7499 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7500 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7501 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7502 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7503 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7504 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7505 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7506 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7507 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7508 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7509 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7510 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7511 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7512 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7513 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7514 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7515 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7516 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7517 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7518 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7519 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7520 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7521 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7522 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7523 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7524 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7525 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7526 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7527 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7528 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7529 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7530 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7531 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7532 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7533 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7534 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7535 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7536 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7537 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7538 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7539 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7540 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7541 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7542 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7543 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7544 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7545 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7546 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7547 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7548 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7549 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7550 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7551 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7552 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7553 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7554 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7555 * sysdeps/posix/closedir.c: Likewise.
7556 * sysdeps/posix/opendir.c: Likewise.
7557 * sysdeps/posix/readdir.c: Likewise.
7558 * sysdeps/posix/rewinddir.c: Likewise.
7559 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7560 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7561 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7562 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7563 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7564 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7565 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7566 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7567 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7568 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7569 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7570 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7571 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7572 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7573 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7574 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7575 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7576 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7577 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7578 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7579 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7580 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7581 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7582 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7583 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7584 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7585 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7586 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7587 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7588 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7589 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7590 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7592 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7594 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7595 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7596 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7597 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7598 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7599 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7600 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7601 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7602 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7603 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7604 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7605 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7606 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7607 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7608 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7609 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7610 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7611 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7612 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7613 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7614 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7615 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7616 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7617 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7618 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7619 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7620 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7621 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7622 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7623 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7624 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7625 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7626 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7627 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7628 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7629 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7630 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7631 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7632 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7633 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7634 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7635 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7636 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7637 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7638 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7639 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7640 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7641 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7642 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7643 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7644 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7645 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7646 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7647 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7648 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7649 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7650 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7651 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7652 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7653 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7654 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7655 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7657 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7658 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7659 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7660 * sysdeps/unix/alpha/sysdep.S: Likewise.
7661 * sysdeps/unix/alpha/sysdep.h: Likewise.
7662 * sysdeps/unix/make-syscalls.sh: Likewise.
7663 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7664 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7665 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7666 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7667 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7668 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7669 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7670 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7671 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7672 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7673 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7674 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7675 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7676 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7677 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7678 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7679 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7680 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7681 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7682 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7683 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7684 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7685 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7686 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7687 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7688 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7689 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7692 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7693 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7694 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7695 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7696 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7697 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7698 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7699 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7700 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7701 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7702 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7703 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7704 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7705 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7706 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7707 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7708 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7709 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7710 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7711 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7712 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7713 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7714 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7715 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7716 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7717 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7718 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7719 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7720 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7721 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7722 * sysdeps/x86_64/memcpy.S: Likewise.
7723 * sysdeps/x86_64/memmove.c: Likewise.
7724 * sysdeps/x86_64/memset.S: Likewise.
7725 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7726 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7727 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7728 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7729 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7730 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7731 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7732 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7733 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7734 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7735 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7736 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7737 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7738 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7739 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7740 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7741 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7742 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7743 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7744 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7745 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7746 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7747 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7748 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7749 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7750 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7751 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7752 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7753 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7754 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7755 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7756 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7757 * sysdeps/x86_64/strcmp.S: Likewise.
7759 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7761 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7762 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7763 * elf/rtld-Rules: Likewise.
7764 * elf/setup-vdso.h: Likewise.
7765 * include/assert.h: Likewise.
7766 * include/bits/stdlib-float.h: Likewise.
7767 * include/errno.h: Likewise.
7768 * include/sys/stat.h: Likewise.
7769 * include/unistd.h: Likewise.
7770 * sysdeps/aarch64/setjmp.S: Likewise.
7771 * sysdeps/alpha/setjmp.S: Likewise.
7772 * sysdeps/arm/__longjmp.S: Likewise.
7773 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7774 * sysdeps/arm/setjmp.S: Likewise.
7775 * sysdeps/arm/sysdep.h: Likewise.
7776 * sysdeps/generic/_itoa.h: Likewise.
7777 * sysdeps/generic/dl-sysdep.h: Likewise.
7778 * sysdeps/generic/ldsodefs.h: Likewise.
7779 * sysdeps/i386/dl-tls.h: Likewise.
7780 * sysdeps/i386/setjmp.S: Likewise.
7781 * sysdeps/m68k/setjmp.c: Likewise.
7782 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7783 * sysdeps/mach/hurd/opendir.c: Likewise.
7784 * sysdeps/posix/getcwd.c: Likewise.
7785 * sysdeps/posix/opendir.c: Likewise.
7786 * sysdeps/posix/profil.c: Likewise.
7787 * sysdeps/powerpc/dl-procinfo.h: Likewise.
7788 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7789 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7790 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7791 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7792 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7793 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7794 * sysdeps/s390/dl-tls.h: Likewise.
7795 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7796 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7797 * sysdeps/sh/sh3/setjmp.S: Likewise.
7798 * sysdeps/sh/sh4/setjmp.S: Likewise.
7799 * sysdeps/unix/alpha/sysdep.h: Likewise.
7800 * sysdeps/unix/arm/sysdep.S: Likewise.
7801 * sysdeps/unix/i386/sysdep.S: Likewise.
7802 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7803 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7804 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7805 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7806 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7807 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7808 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7809 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7810 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7811 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7812 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7813 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7814 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7817 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7819 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7820 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7821 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7822 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7825 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7826 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7827 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7829 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7830 * sysdeps/x86_64/setjmp.S: Likewise.
7832 * include/math.h: Use IS_IN instead of IS_IN_libm.
7833 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7834 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7835 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7836 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7837 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7841 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7845 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7846 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7851 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7852 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7853 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7854 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7855 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7856 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7857 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7858 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7859 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7860 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7861 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7862 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7863 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7864 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7865 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7876 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7877 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7878 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7879 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7880 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7881 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7887 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7888 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7889 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7890 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7891 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7892 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7893 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7894 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7895 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7896 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7897 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7898 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7899 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7900 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7902 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7904 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7905 * nptl/pthreadP.h: Likewise.
7906 * nptl_db/structs.def: Likewise.
7907 * sysdeps/arm/sysdep.h: Likewise.
7908 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7909 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7910 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7911 * sysdeps/unix/alpha/sysdep.h: Likewise.
7912 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7913 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7914 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7915 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7916 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7917 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7918 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7919 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7920 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7921 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7922 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7923 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7924 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7925 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7928 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7930 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7931 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7932 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7933 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7934 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7935 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7936 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7937 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7939 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7940 * nptl/pthreadP.h: Likewise.
7941 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7942 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7943 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7944 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7945 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7946 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7947 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7948 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7949 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7950 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7951 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7952 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7957 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7959 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7962 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7963 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7964 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7966 * dlfcn/dladdr.c: Use IS_IN.
7967 * dlfcn/dladdr1.c: Likewise.
7968 * dlfcn/dlclose.c: Likewise.
7969 * dlfcn/dlerror.c: Likewise.
7970 * dlfcn/dlinfo.c: Likewise.
7971 * dlfcn/dlmopen.c: Likewise.
7972 * dlfcn/dlopen.c: Likewise.
7973 * dlfcn/dlsym.c: Likewise.
7974 * dlfcn/dlvsym.c: Likewise.
7976 * include/ifaddrs.h: Use IS_IN.
7977 * inet/check_pf.c: Likewise.
7978 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7979 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7981 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7983 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7984 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7986 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7987 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7990 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7992 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7993 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7994 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7995 * include/libc-symbols.h (IS_IN_LIB): New macro.
7996 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7997 * include/netdb.h: Likewise.
7998 * include/stap-probe.h: Remove all uses of IN_LIB.
8000 * Makeconfig (module-cppflags-real): Define MODULE_NAME
8001 instead of IN_MODULE.
8002 * include/libc-symbols.h (IN_MODULE): Define using
8004 (PASTE_NAME, PASTE_NAME1): New macros.
8005 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8007 (STAP_PROBE_ASM): Likewise.
8009 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
8011 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8012 __mach_init in dlopened libc.
8014 2014-11-22 Mike Frysinger <vapier@gentoo.org>
8016 * sysdeps/arm/preconfigure.ac: Delete EABI check.
8017 * sysdeps/arm/preconfigure: Regenerate.
8019 2014-11-21 Roland McGrath <roland@hack.frob.com>
8021 * nptl/pthread_create.c (__pthread_create_2_1): Set
8022 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8023 when copying values from IATTR into PD.
8025 2014-11-21 Will Newton <will.newton@linaro.org>
8026 Andrew Pinski <andrew.pinski@caviumnetworks.com>
8028 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8029 Refactor inline-asm. Also add comment.
8031 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8032 ElfW macro instead of hardcoded Elf64 types.
8033 (la_aarch64_gnu_pltenter): Likewise.
8034 * sysdeps/aarch64/dl-machine.h
8035 (elf_machine_runtime_setup): Use ElfW(Addr).
8037 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8038 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8039 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8040 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8041 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8042 (R_AARCH64_TLS_DTPMOD64): Rename to ..
8043 (R_AARCH64_TLS_DTPMOD): This.
8044 (R_AARCH64_TLS_DTPREL64): Rename to ...
8045 (R_AARCH64_TLS_DTPREL): This.
8046 (R_AARCH64_TLS_TPREL64): Rename to ...
8047 (R_AARCH64_TLS_TPREL): This.
8048 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8049 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8050 R_AARCH64_TLS_TPREL64.
8051 (elf_machine_rela): Likewise.
8053 2014-11-21 Torvald Riegel <triegel@redhat.com>
8055 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8056 by setting it to 0. 64b atomics are not supported currently.
8058 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8061 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8062 search domain names.
8064 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8068 * resolv/res_query.c (__libc_res_nquerydomain): Retain
8070 * posix/tst-getaddrinfo5.c: New.
8071 * posix/Makefile (tests): Add it.
8073 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8077 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8078 after parsing line but before break_if_match.
8079 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8080 if there is a protocol mismatch.
8082 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8084 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8085 because the potential race is on the user-supplied stream.
8087 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8089 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8090 string literal if not passed a buffer.
8091 * manual/job.texi (ctermid): Update reasoning, note deviation
8092 from posix, suggest mtasurace when not passed a buffer, for
8093 future non-preliminary safety notes.
8095 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8097 * manual/users.texi (cuserid): Fix MT-Safety note for the case
8098 of not passing it a buffer.
8099 Reported by Peng Haitao.
8101 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8103 * manual/Makefile ($(objpfx)stamp-summary): Require
8104 check-safety.sh to pass.
8105 * manual/check-safety.sh: Wish for verification that every
8106 @deftypefn and @deftypefun is followed by a @safety remark.
8108 2014-11-20 Roland McGrath <roland@hack.frob.com>
8110 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8112 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8113 PTHREAD_CANCEL_ASYNCHRONOUS.
8114 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8117 * nptl/default-sched.h: New file.
8118 * sysdeps/unix/sysv/linux/default-sched.h: New file.
8119 * nptl/pthread_create.c: Include it.
8120 (__pthread_create_2_1): Use collect_default_sched instead of making
8121 Linux syscalls here directly.
8123 2014-11-20 Torvald Riegel <triegel@redhat.com>
8125 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8126 __pthread_once): Use C11 atomics.
8128 2014-11-20 Torvald Riegel <triegel@redhat.com>
8130 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8132 2014-11-20 Torvald Riegel <triegel@redhat.com>
8134 * include/atomic.h (__atomic_link_error, __atomic_check_size,
8135 atomic_thread_fence_acquire, atomic_thread_fence_release,
8136 atomic_thread_fence_seq_cst, atomic_load_relaxed,
8137 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8138 atomic_compare_exchange_weak_relaxed,
8139 atomic_compare_exchange_weak_acquire,
8140 atomic_compare_exchange_weak_release,
8141 atomic_exchange_acquire, atomic_exchange_release,
8142 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8143 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8144 atomic_fetch_and_acquire,
8145 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8147 2014-11-20 Torvald Riegel <triegel@redhat.com>
8149 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8150 USE_ATOMIC_COMPILER_BUILTINS): Define.
8151 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8152 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8153 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8154 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8155 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8156 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8157 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8158 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8159 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8160 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8161 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8162 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8163 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8164 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8165 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8166 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8167 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8168 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8169 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8170 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8171 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8172 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8173 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8174 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8175 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8176 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8177 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8179 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8180 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8181 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8182 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8183 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8185 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8186 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8187 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8188 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8189 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8190 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8192 2014-11-19 Roland McGrath <roland@hack.frob.com>
8194 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8195 the sched_priority value here. It was already checked when the user
8196 called pthread_attr_setschedparam.
8198 * nptl/tst-bad-schedattr.c: New file.
8199 * nptl/Makefile (tests): Add it.
8201 2014-11-19 Carlos O'Donell <carlos@redhat.com>
8202 Florian Weimer <fweimer@redhat.com>
8203 Joseph Myers <joseph@codesourcery.com>
8204 Adam Conrad <adconrad@0c3.net>
8205 Andreas Schwab <schwab@suse.de>
8206 Brooks <bmoses@google.com>
8209 * wordexp-test.c (__dso_handle): Add prototype.
8210 (__register_atfork): Likewise.
8211 (__app_register_atfork): New function.
8212 (registered_forks): New global.
8213 (register_fork): New function.
8214 (test_case): Add 3 new tests for WRDE_CMDSUB.
8215 (main): Call __app_register_atfork.
8216 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8217 fork count is non-zero fail the test.
8218 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8220 (parse_dollars): Remove check for WRDE_NOCMD.
8221 (parse_dquote): Likewise.
8223 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8225 * Makeconfig (built-modules): List non-library modules to be
8227 (module-cppflags): Include libc-modules.h for
8228 everything except shlib-versions.v.i.
8230 (before-compile): Add libc-modules.h.
8231 ($(common-objpfx)libc-modules.h,
8232 $(common-objpfx)libc-modules.stmp): New targets.
8233 (common-generated): Add libc-modules.h and libc-modules.stmp.
8234 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8235 * include/libc-symbols.h: Don't include libc-modules.h.
8236 * include/libc-modules.h: Remove file.
8237 * scripts/gen-libc-modules.awk: New script to generate
8239 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8240 Depend on libc-modules.stmp.
8242 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8244 * Makeconfig (in-module): Get value of libof set for the
8246 (CPPFLAGS): Use $(in-module).
8247 * Makerules: Don't suffix routine names for nonlib.
8248 * include/libc-modules.h: New file.
8249 * include/libc-symbols.h: Include libc-modules.h
8250 (IS_IN): New macro to replace IS_IN_* macros.
8251 * elf/Makefile: Set libof-* for each routine.
8252 * elf/rtld-Rules: Likewise.
8253 * extra-modules.mk: Likewise.
8254 * iconv/Makefile: Likewise.
8255 * iconvdata/Makefile: Likewise.
8256 * locale/Makefile: Likewise.
8257 * malloc/Makefile: Likewise.
8258 * nss/Makefile: Likewise.
8259 * sysdeps/gnu/Makefile: Likewise.
8260 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8261 * sysdeps/unix/sysv/linux/Makefile: Likewise.
8262 * sysdeps/s390/s390-64/Makefile: Likewise.
8263 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
8264 CPPFLAGS for nscd instead of nonlib.
8266 2014-11-18 Roland McGrath <roland@hack.frob.com>
8268 * nptl/createthread.c: New file.
8270 * nptl/createthread.c: Moved ...
8271 * sysdeps/unix/sysv/linux/createthread.c: ... here.
8273 * nptl/createthread.c: Add proper top-line comment.
8274 (do_clone): Folded into ...
8275 (create_thread): ... here. Take new arguments STOPPED_START and
8276 THREAD_RAN. Always set PD->stopped_start to something here. Don't
8277 increment __nptl_threads, do event-reporting logic, do
8278 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8279 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
8280 resource cleanup if sched_setaffinity or sched_setscheduler fails,
8281 just send SIGCANCEL.
8282 * nptl/pthread_create.c: Forward-declare create_thread before
8283 including createthread.c.
8284 (start_thread): Use new macro START_THREAD_DEFN to replace defining
8285 declaration, and new macro START_THREAD_SELF to replace argument.
8286 Remove return statement.
8287 (report_thread_creation): New function.
8288 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
8289 synchronization logic, and __nptl_nthreads increment here, around
8290 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
8291 PD->parent_cancelhandling here, before create_thread. When
8292 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8293 __deallocate_stack, and ENOMEM translation here.
8295 2014-11-18 Joseph Myers <joseph@codesourcery.com>
8298 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8299 (mptwo): Rename to __mptwo.
8300 (__inv): Use __mptwo instead of mptwo.
8301 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8302 (mptwo): Rename to __mptwo.
8303 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8304 of mpone and __mptwo instead of mptwo.
8305 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8308 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8309 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8310 of mpone and __mptwo instead of mptwo.
8311 (__mpranred): Use __mpone instead of mpone.
8312 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8314 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8315 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8316 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8317 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8318 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8319 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8320 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8321 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8322 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8323 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8324 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8325 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8326 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8327 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8328 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8329 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8330 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8331 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8332 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8334 2014-11-18 Tom de Vries <tom@codesoucery.com>
8336 * manual/signal.texi (Primitives Interrupted by Signals): In section,
8337 replace BSD Handler xref with BSD Signal Handling.
8339 2014-11-17 Richard Henderson <rth@redhat.com>
8341 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8342 (_FP_PACK_RAW_2): Remove.
8343 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8344 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8345 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8346 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8347 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8348 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8349 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8350 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8351 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8352 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8353 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8354 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8355 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8356 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8357 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8358 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8360 2014-11-14 Roland McGrath <roland@hack.frob.com>
8362 * signal/signal.h [__USE_MISC]
8363 (struct sigvec): Remove type.
8364 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8365 (sigvec): Remove declaration.
8366 * sysdeps/posix/sigvec.c: Moved ...
8367 * signal/sigvec.c: ... here, replacing old file.
8368 (struct sigvec): New type, copied from old signal.h definition.
8369 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8370 (__sigvec): Convert definition to prototype.
8371 (sigvec): Replace weak_alias with compat_symbol.
8372 * signal/Versions (libc: GLIBC_2.21): New version set.
8373 * include/signal.h: Remove __sigvec declaration.
8374 * sysdeps/unix/bsd/sigvec.c: Remove file.
8375 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8376 * manual/signal.texi (BSD Handler): Remove subsection.
8377 Move siginterrupt up to ...
8378 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
8379 (Blocking in BSD): Fold subsection into its parent.
8380 * NEWS: Mention sigvec removal.
8382 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8384 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8385 (DLA_FMS): Make definition conditional only on [__FMA4__].
8386 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8389 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8390 Make definition conditional only on [PROF].
8391 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8393 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8394 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8396 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8398 * include/signal.h (__sigpause): Move declaration above call to
8400 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8402 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8403 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8405 2014-11-14 David S. Miller <davem@davemloft.net>
8407 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8408 Define before including <string/memcpy.c> and <string/mempcpy.c>.
8410 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8412 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8413 * configure: Regenerated.
8414 * manual/install.texi (Tools for Compilation): Document a
8415 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8416 compiler verified to work.
8417 * INSTALL: Regenerated.
8419 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8420 redeclare with asm name.
8421 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8422 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8423 including <string.h>.
8424 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8425 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8426 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8427 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8428 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8429 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8430 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8432 2014-11-13 Joseph Myers <joseph@codesourcery.com>
8434 * stdlib/strtol.c (__strtol): Use prototype definition.
8437 * stdlib/strtol.c (SYM__): New macro.
8439 (__strtol): Likewise.
8440 (strtol): Rename to __strtol and define as weak alias of
8441 __strtol. Use libc_hidden_weak.
8443 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8445 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8446 Use numbered labels in inline assembly.
8448 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8450 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8451 Add setjmp LIBC_PROBE.
8452 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8454 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8455 Add longjmp, longjmp_target LIBC_PROBE.
8456 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8459 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8461 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8462 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8463 to get rid of unused variable warning.
8465 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8467 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8468 Check for unwind_backtrace == NULL only in SHARED case.
8469 (__backchain_backtrace): Compile only in SHARED case.
8470 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8472 (__backchain_backtrace): Declare as static.
8474 2014-11-12 Roland McGrath <roland@hack.frob.com>
8476 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8477 (__libc_multiple_threads_ptr): Variable moved ...
8478 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8480 2014-11-12 Joseph Myers <joseph@codesourcery.com>
8482 * conform/GlibcConform.pm: New file.
8483 * conform/conformtest.pl: Use GlibcConform module.
8484 * conform/linknamespace.pl: New file.
8485 * conform/list-header-symbols.pl: Likewise.
8486 * conform/Makefile (linknamespace-symlists-base): New variable.
8487 (linknamespace-symlists-tests): Likewise.
8488 (linknamespace-header-base): Likewise.
8489 (linknamespace-header-tests): Likewise.
8490 (tests-special): Add new tests.
8491 ($(linknamespace-symlists-tests)): New rule.
8492 (linknamespace-libs): New variable.
8493 ($(objpfx)symlist-stdlibs): New rule.
8494 ($(linknamespace-header-tests)): Likewise.
8495 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8496 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8497 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8498 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8499 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8500 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8501 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8502 (test-xfail-ISO/math.h/linknamespace): Likewise.
8503 (test-xfail-ISO/signal.h/linknamespace): Likewise.
8504 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8505 (test-xfail-ISO/time.h/linknamespace): Likewise.
8506 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8507 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8508 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8509 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8510 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8511 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8512 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8513 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8514 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8515 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8516 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8517 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8518 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8519 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8520 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8521 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8522 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8523 (test-xfail-XPG3/search.h/linknamespace): Likewise.
8524 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8525 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8526 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8527 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8528 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8529 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8530 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8531 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8532 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8533 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8534 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8535 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8536 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8537 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8538 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8539 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8540 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8541 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8542 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8543 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8544 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8545 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8546 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8547 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8548 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8549 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8550 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8551 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8552 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8553 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8554 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8555 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8556 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8557 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8558 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8559 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8560 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8561 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8562 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8563 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8564 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8565 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8566 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8567 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8568 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8569 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8570 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8571 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8572 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8573 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8574 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8575 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8576 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8577 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8578 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8579 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8580 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8581 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8582 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8583 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8584 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8585 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8586 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8587 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8588 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8589 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8590 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8591 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8592 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8593 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8594 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8595 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8596 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8597 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8598 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8599 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8600 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8601 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8602 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8603 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8604 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8605 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8606 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8607 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8608 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8609 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8610 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8611 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8612 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8613 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8614 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8615 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8616 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8617 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8618 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8619 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8620 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8621 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8622 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8623 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8624 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8625 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8626 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8627 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8628 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8629 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8630 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8631 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8632 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8633 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8634 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8635 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8636 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8637 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8638 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8639 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8640 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8641 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8642 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8643 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8644 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8645 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8646 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8647 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8648 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8649 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8650 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8651 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8652 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8653 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8654 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8655 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8658 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8662 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8663 (memmem): Rename to __memmem and define as weak alias of
8664 __memmem. Use libc_hidden_weak.
8665 (__memmem): Use libc_hidden_def.
8666 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
8667 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8671 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8672 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
8673 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8674 and define as weak alias of __fgets_unlocked. Use
8676 (__fgets_unlocked): Use libc_hidden_def.
8677 * include/stdio.h (__fgets_unlocked): Declare. Use
8679 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8680 __fgets_unlocked instead of fgets_unlocked.
8681 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8682 (GET_NPROCS_CONF_PARSER): Likewise.
8683 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8684 (GET_NPROCS_CONF_PARSER): Likewise.
8687 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8688 weak alias of __wmemset. Use libc_hidden_weak.
8689 (__wmemset): Use libc_hidden_def.
8690 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
8691 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8695 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8696 with asm name __mempcpy.
8697 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8700 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8701 and define as weak alias of __rawmemchr.
8702 (__rawmemchr): Do not define as strong alias of rawmemchr.
8705 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8707 (qsort): Call __qsort_r instead of qsort_r.
8708 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8709 (__qsort_r): Declare. Call libc_hidden_proto.
8710 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8712 * nscd/gai.c (__qsort_r): Define to qsort_r.
8713 * posix/tst-rfc3484.c (__qsort_r): Likewise.
8714 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8715 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8718 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8719 define as weak alias of __malloc_info.
8722 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8723 as weak alias of __rewinddir. Don't use libc_hidden_def.
8724 (__rewinddir): Use libc_hidden_def.
8725 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8726 as weak alias of __rewinddir. Don't use libc_hidden_def.
8727 (__rewinddir): Use libc_hidden_def.
8728 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8729 weak alias of __rewinddir. Don't use libc_hidden_def.
8730 (__rewinddir): Use libc_hidden_def.
8731 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8732 (__rewinddir): Use libc_hidden_proto.
8733 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8735 (__getcwd): Use __rewinddir instead of rewinddir.
8738 * libio/fileno.c (fileno): Rename to __fileno and define as weak
8739 alias of __fileno. Use libc_hidden_weak.
8740 (__fileno): Use libc_hidden_def.
8741 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8742 * libio/ftello.c (ftello): Rename to __ftello and define as weak
8744 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8746 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8747 (__fread_unlocked): Define as strong alias of _IO_fread. Use
8749 (fread_unlocked): Don't use libc_hidden_ver.
8750 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8751 and define as weak alias of __fread_unlocked. Don't use
8753 (__fread_unlocked): Use libc_hidden_def.
8754 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
8755 (ftello): Don't use libc_hidden_proto.
8756 (__ftello): Declare. Use libc_hidden_proto.
8757 (fread_unlocked): Don't use libc_hidden_proto.
8758 (__fread_unlocked): Declare. Use libc_hidden_proto.
8759 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8760 and __ftello instead of fileno, fread_unlocked and ftello.
8762 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8764 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8766 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8768 (_dl_start_user): Likewise.
8769 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8771 2014-11-12 Carlos O'Donell <carlos@redhat.com>
8772 Siddhesh Poyarekar <siddhesh@redhat.com>
8774 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8775 Move argv and envp down instead of moving argc up.
8776 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8778 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
8781 * test-skeleton.c (main): Return successful if one of
8782 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8783 * string/tst-strcoll-overflow.c: Define expected status.
8785 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
8788 * locale/iso-639.def: Define Bhili and Tulu language codes.
8790 2014-11-11 Alan Hayward <alan.hayward@arm.com>
8792 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8794 2014-11-10 Renlin Li <Renlin.Li@arm.com>
8797 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8799 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
8801 * configure.ac: Updated check of minimal required version to
8803 * manual/install.texi (Tools for Compilation): Updated version
8805 * configure: Regenerated.
8806 * INSTALL: Likewise.
8808 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
8810 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8813 2014-11-07 Joseph Myers <joseph@codesourcery.com>
8815 * include/sys/wait.h (__libc_waitpid): Remove declaration.
8816 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8817 (__waitpid): Don't define as alias. Use libc_hidden_def not
8819 (waitpid): Define as alias of __waitpid.
8820 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8822 (__waitpid): Don't define as alias. Use libc_hidden_def not
8824 (waitpid): Define as alias of __waitpid.
8825 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8826 __libc_waitpid alias.
8827 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8828 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8830 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8831 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8832 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8834 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8836 (__waitpid): Don't define as alias. Use libc_hidden_def not
8838 (waitpid): Define as alias of __waitpid.
8840 2014-11-06 Carlos O'Donell <carlos@redhat.com>
8842 * manual/llio.texi: Add comment that write safety has been
8845 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8846 (localplt-build-dso): Add elf/ld.so.
8847 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8848 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8851 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8856 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8857 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8858 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8859 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8860 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8861 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8862 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8863 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8864 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8865 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8866 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8868 2014-11-05 Joseph Myers <joseph@codesourcery.com>
8871 * include/libc-symbols.h (INTUSE): Remove macro.
8873 (INTVARDEF): Likewise.
8874 (_INTVARDEF): Likewise.
8875 (INTDEF2): Likewise.
8876 (INTVARDEF2): Likewise.
8877 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8878 rtld_hidden_def instead of INTVARDEF.
8879 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8880 (_dl_starting_up_internal): Remove declaration.
8881 (_dl_starting_up): Use rtld_hidden_proto.
8882 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8884 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8885 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8887 * elf/dl-writev.h (_dl_writev): Likewise.
8888 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8889 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8890 _dl_starting_up_internal.
8892 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8894 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8897 2014-11-05 Will Newton <will.newton@linaro.org>
8899 * benchtests/Makefile: (bench-malloc): Add malloc thread
8900 scalability benchmark.
8901 * benchtests/bench-malloc-threads.c: New file.
8903 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
8905 * sysdeps/aarch64/strchrnul.S: New file.
8907 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8909 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8911 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8913 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8915 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8917 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8919 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8922 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
8924 * catgets/test-gencat.c: Use test-skeleton.c.
8925 * catgets/tst-catgets.c: Likewise.
8926 * csu/tst-empty.c: Likewise.
8927 * elf/tst-audit2.c: Likewise.
8928 * elf/tst-global1.c: Likewise.
8929 * elf/tst-pathopt.c: Likewise.
8930 * elf/tst-piemod1.c: Likewise.
8931 * elf/tst-tls10.c: Likewise.
8932 * elf/tst-tls11.c: Likewise.
8933 * elf/tst-tls12.c: Likewise.
8934 * gnulib/tst-gcc.c: Likewise.
8935 * iconvdata/tst-e2big.c: Likewise.
8936 * iconvdata/tst-loading.c: Likewise.
8937 * iconv/tst-iconv1.c: Likewise.
8938 * iconv/tst-iconv2.c: Likewise.
8939 * inet/test-inet6_opt.c: Likewise.
8940 * inet/tst-gethnm.c: Likewise.
8941 * inet/tst-network.c: Likewise.
8942 * inet/tst-ntoa.c: Likewise.
8943 * intl/tst-codeset.c: Likewise.
8944 * intl/tst-gettext2.c: Likewise.
8945 * intl/tst-gettext3.c: Likewise.
8946 * intl/tst-ngettext.c: Likewise.
8947 * intl/tst-translit.c: Likewise.
8948 * io/test-stat.c: Likewise.
8949 * libio/test-fmemopen.c: Likewise.
8950 * libio/tst-freopen.c: Likewise.
8951 * libio/tst-sscanf.c: Likewise.
8952 * libio/tst-ungetwc1.c: Likewise.
8953 * libio/tst-ungetwc2.c: Likewise.
8954 * libio/tst-widetext.c: Likewise.
8955 * localedata/tst-ctype.c: Likewise.
8956 * localedata/tst-digits.c: Likewise.
8957 * localedata/tst-leaks.c: Likewise.
8958 * localedata/tst-mbswcs1.c: Likewise.
8959 * localedata/tst-mbswcs2.c: Likewise.
8960 * localedata/tst-mbswcs3.c: Likewise.
8961 * localedata/tst-mbswcs4.c: Likewise.
8962 * localedata/tst-mbswcs5.c: Likewise.
8963 * localedata/tst-setlocale.c: Likewise.
8964 * localedata/tst-trans.c: Likewise.
8965 * localedata/tst-wctype.c: Likewise.
8966 * localedata/tst-xlocale1.c: Likewise.
8967 * login/tst-grantpt.c: Likewise.
8968 * malloc/tst-calloc.c: Likewise.
8969 * malloc/tst-malloc.c: Likewise.
8970 * malloc/tst-mallocstate.c: Likewise.
8971 * malloc/tst-mcheck.c: Likewise.
8972 * malloc/tst-mtrace.c: Likewise.
8973 * malloc/tst-obstack.c: Likewise.
8974 * math/atest-exp2.c: Likewise.
8975 * math/atest-exp.c: Likewise.
8976 * math/atest-sincos.c: Likewise.
8977 * math/test-matherr.c: Likewise.
8978 * math/test-misc.c: Likewise.
8979 * math/test-powl.c: Likewise.
8980 * math/tst-definitions.c: Likewise.
8981 * misc/tst-dirname.c: Likewise.
8982 * misc/tst-efgcvt.c: Likewise.
8983 * misc/tst-fdset.c: Likewise.
8984 * misc/tst-hsearch.c: Likewise.
8985 * misc/tst-mntent2.c: Likewise.
8986 * nptl/tst-sem7.c: Likewise.
8987 * nptl/tst-sem8.c: Likewise.
8988 * nptl/tst-sem9.c: Likewise.
8989 * nss/test-netdb.c: Likewise.
8990 * posix/tst-fnmatch.c: Likewise.
8991 * posix/tst-getlogin.c: Likewise.
8992 * posix/tst-gnuglob.c: Likewise.
8993 * posix/tst-mmap.c: Likewise.
8994 * pwd/tst-getpw.c: Likewise.
8995 * resolv/tst-inet_ntop.c: Likewise.
8996 * rt/tst-timer.c: Likewise.
8997 * stdio-common/test-fseek.c: Likewise.
8998 * stdio-common/test-popen.c: Likewise.
8999 * stdio-common/test-vfprintf.c: Likewise.
9000 * stdio-common/tst-cookie.c: Likewise.
9001 * stdio-common/tst-fileno.c: Likewise.
9002 * stdio-common/tst-gets.c: Likewise.
9003 * stdio-common/tst-obprintf.c: Likewise.
9004 * stdio-common/tst-perror.c: Likewise.
9005 * stdio-common/tst-sprintf2.c: Likewise.
9006 * stdio-common/tst-sprintf3.c: Likewise.
9007 * stdio-common/tst-sprintf.c: Likewise.
9008 * stdio-common/tst-swprintf.c: Likewise.
9009 * stdio-common/tst-tmpnam.c: Likewise.
9010 * stdio-common/tst-unbputc.c: Likewise.
9011 * stdio-common/tst-wc-printf.c: Likewise.
9012 * stdlib/tst-environ.c: Likewise.
9013 * stdlib/tst-fmtmsg.c: Likewise.
9014 * stdlib/tst-limits.c: Likewise.
9015 * stdlib/tst-rand48-2.c: Likewise.
9016 * stdlib/tst-rand48.c: Likewise.
9017 * stdlib/tst-random2.c: Likewise.
9018 * stdlib/tst-random.c: Likewise.
9019 * stdlib/tst-strtol.c: Likewise.
9020 * stdlib/tst-strtoll.c: Likewise.
9021 * stdlib/tst-tls-atexit.c: Likewise.
9022 * stdlib/tst-xpg-basename.c: Likewise.
9023 * string/test-ffs.c: Likewise.
9024 * string/tst-bswap.c: Likewise.
9025 * string/tst-inlcall.c: Likewise.
9026 * string/tst-strtok.c: Likewise.
9027 * string/tst-strxfrm.c: Likewise.
9028 * sysdeps/x86_64/tst-audit10.c: Likewise.
9029 * sysdeps/x86_64/tst-audit3.c: Likewise.
9030 * sysdeps/x86_64/tst-audit4.c: Likewise.
9031 * sysdeps/x86_64/tst-audit5.c: Likewise.
9032 * time/tst-ftime_l.c: Likewise.
9033 * time/tst-getdate.c: Likewise.
9034 * time/tst-mktime3.c: Likewise.
9035 * time/tst-mktime.c: Likewise.
9036 * time/tst-posixtz.c: Likewise.
9037 * time/tst-strptime2.c: Likewise.
9038 * time/tst-strptime3.c: Likewise.
9039 * wcsmbs/tst-btowc.c: Likewise.
9040 * wcsmbs/tst-mbrtowc.c: Likewise.
9041 * wcsmbs/tst-mbsrtowcs.c: Likewise.
9042 * wcsmbs/tst-wchar-h.c: Likewise.
9043 * wcsmbs/tst-wcpncpy.c: Likewise.
9044 * wcsmbs/tst-wcrtomb.c: Likewise.
9045 * wcsmbs/tst-wcsnlen.c: Likewise.
9046 * wcsmbs/tst-wcstof.c: Likewise.
9048 2014-11-04 Joseph Myers <joseph@codesourcery.com>
9051 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9053 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9055 (_dl_mcount): Use rtld_hidden_proto.
9056 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9058 * elf/rtld.c (_rtld_global_ro): Likewise.
9061 * elf/dl-init.c (_dl_init): Don't use INTDEF.
9062 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9063 of _dl_init_internal.
9064 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9065 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9066 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9067 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9068 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9069 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9070 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9071 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9072 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9073 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9074 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9075 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9076 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9077 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9078 * sysdeps/tile/dl-start.S (_start): Likewise.
9079 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9080 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9083 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9084 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9085 (rtld_progname): Make macro definition unconditional.
9086 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9088 (dlmopen_doit): Do not use INTUSE with _dl_argv.
9089 (dl_main): Likewise.
9090 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9091 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9092 instead of _dl_argv_internal.
9093 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9094 __GI__dl_argv instead of INTUSE(_dl_argv).
9095 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9096 __GI__dl_argv instead of _dl_argv_internal.
9098 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9099 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9101 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9102 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9104 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9105 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9107 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9108 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9110 2014-11-04 Andreas Schwab <schwab@suse.de>
9112 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9114 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9116 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9117 mtvsrd instruction in binary form.
9119 2014-11-03 Andreas Schwab <schwab@suse.de>
9122 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9123 for less than MB_LEN_MAX use a local buffer of that size.
9124 * libio/tst-fputws.c: New file.
9125 * libio/Makefile (tests): Add tst-fputws.
9127 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
9129 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9130 the size of the fpu_fr.fpu_dregs[] array.
9132 2014-11-01 Joseph Myers <joseph@codesourcery.com>
9134 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9135 (__nanosleep): Do not define as alias.
9136 (nanosleep): Define as alias of __nanosleep.
9137 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9138 __libc_nanosleep name.
9140 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9142 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9143 install.texi in comment.
9145 2014-10-31 Torvald Riegel <triegel@redhat.com>
9147 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9148 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9149 ... add here and use lwsync or sync ...
9150 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9151 ... and add here using lwsync.
9153 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
9155 * elf/dl-machine-reject-phdr.h: New file.
9156 * elf/dl-load.c: #include that.
9157 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9158 if that returned true.
9160 2014-10-31 Roland McGrath <roland@hack.frob.com>
9163 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9164 gen-as-const-headers chunk. Add a big scare comment after the last
9165 safe place to touch before-compile.
9167 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9169 * manual/install.texi (Tools for Compilation): Update autoconf
9170 version requirements.
9171 * INSTALL: Regenerated.
9173 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9174 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9175 (__libc_pselect): Likewise.
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9183 2014-10-31 Torvald Riegel <triegel@redhat.com>
9185 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9186 correct barrier instruction.
9187 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9189 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9192 2014-10-30 Roland McGrath <roland@hack.frob.com>
9194 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9195 after defining inlines. Instead, just use parens to defeat macro
9196 expansion of __isctype in its declaration.
9198 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9200 * include/sys/uio.h (__libc_readv): Remove declaration.
9201 (__libc_writev): Likewise.
9202 * misc/readv.c (__libc_readv): Rename to __readv.
9203 (__readv): Do not define as alias.
9204 (readv): Define as alias of __readv.
9205 * misc/writev.c (__libc_writev): Rename to __writev.
9206 (__writev): Do not define as alias.
9207 (writev): Define as alias of __writev.
9208 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9209 (__readv): Do not define as alias.
9210 (readv): Define unconditionally as alias of __readv.
9211 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9212 (__writev): Do not define as alias.
9213 (writev): Define unconditionally as alias of __writev.
9214 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9216 (writev): Do not define __libc_writev name.
9218 2014-10-30 Roland McGrath <roland@hack.frob.com>
9220 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9221 (convert_charseq): New function, broken out of ...
9222 (use_from_charmap): ... here. Call it.
9223 (use_to_charmap): Use convert_charseq and free instead of duplicating
9224 its code with a variable-length stack struct.
9226 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9228 * include/fcntl.h (__libc_creat): Remove declaration.
9229 * io/creat.c (__libc_creat): Rename to creat.
9230 (creat): Do not define as alias.
9231 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9232 of creat instead of __libc_creat.
9233 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9235 (creat): Do not define as alias.
9236 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9238 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9240 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9243 2014-10-29 Carlos O'Donell <carlos@redhat.com>
9245 * manual/llio.texi: Add comments discussing why write() may be
9246 considered MT-unsafe on Linux.
9248 2014-10-28 Carlos O'Donell <carlos@redhat.com>
9250 * dl-load.c (local_strdup): Remove.
9251 (expand_dynamic_string_token): Use __strdup.
9252 (decompose_rpath): Likewise.
9253 (_dl_map_object): Likewise.
9255 2014-10-28 Joseph Myers <joseph@codesourcery.com>
9258 * sysdeps/generic/unwind-dw2-fde.c
9259 (__register_frame_info_bases_internal): Do not declare.
9260 (__register_frame_info_table_bases_internal): Likewise.
9261 (__deregister_frame_info_bases_internal): Likewise.
9262 (__register_frame_info_bases): Declare and use hidden_proto before
9263 definition. Use hidden_def instead of INTDEF.
9264 (__register_frame_info_table_bases): Likewise.
9265 (__deregister_frame_info_bases): Likewise.
9266 (__register_frame_info): Do not use INTUSE.
9267 (__register_frame): Likewise.
9268 (__register_frame_info_table): Likewise.
9269 (__register_frame_table): Likewise.
9270 (__deregister_frame_info): Likewise.
9271 (__deregister_frame): Likewise.
9273 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
9275 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9276 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9278 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9280 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9283 2014-10-27 Joseph Myers <joseph@codesourcery.com>
9286 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9287 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9288 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9289 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9290 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9291 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9292 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9293 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9294 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9295 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9296 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9297 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9298 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9300 (setfsuid): Likewise.
9301 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9302 (setfsuid): Likewise.
9303 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9304 (setfsuid): Likewise.
9305 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9307 (setfsuid): Likewise.
9308 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9309 (setfsuid): Likewise.
9310 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9312 (setfsuid): Likewise.
9314 2014-10-27 Andreas Schwab <schwab@suse.de>
9317 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9318 check for Slow_SSE4_2 feature bit.
9319 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9320 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9321 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9322 Likewise. Fix check for Fast_Unaligned_Load feature bit.
9324 2014-10-24 Roland McGrath <roland@hack.frob.com>
9326 * configure.ac: Validate compiler version with a empirical test of
9327 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9329 * configure: Regenerated.
9331 * inet/htons.c (htons): Prototypify.
9332 * inet/htonl.c (htonl): Likewise.
9334 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9336 * string/strncat.c (strncat): Improve performance by using strlen.
9338 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9340 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9342 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9344 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9345 Call libc_fetestexcept_aarch64.
9347 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9349 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9350 Call libc_feholdexcept_aarch64.
9352 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9354 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9355 Call get_rounding_mode.
9357 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9359 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9362 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9364 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9367 2014-10-24 Joseph Myers <joseph@codesourcery.com>
9370 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9371 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9372 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9373 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9374 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9375 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9376 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9377 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9378 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9379 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9380 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9381 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9382 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9383 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9384 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9385 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9386 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9387 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9388 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9389 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9390 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9391 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9392 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9393 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9394 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9395 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9396 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9397 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9398 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9399 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9400 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9401 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9402 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9403 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9404 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9405 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9406 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9407 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9408 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9409 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9410 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9412 (geteuid): Likewise.
9415 (getresgid): Likewise.
9416 (getresuid): Likewise.
9417 (getgroups): Likewise.
9418 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9419 (geteuid): Likewise.
9422 (getresgid): Likewise.
9423 (getresuid): Likewise.
9424 (getgroups): Likewise.
9425 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9426 (geteuid): Likewise.
9429 (getresgid): Likewise.
9430 (getresuid): Likewise.
9431 (getgroups): Likewise.
9432 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9434 (geteuid): Likewise.
9437 (getresgid): Likewise.
9438 (getresuid): Likewise.
9439 (getgroups): Likewise.
9440 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9441 (geteuid): Likewise.
9444 (getresgid): Likewise.
9445 (getresuid): Likewise.
9446 (getgroups): Likewise.
9447 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9449 (geteuid): Likewise.
9452 (getgroups): Likewise.
9455 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9456 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9457 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9458 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9459 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9460 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9461 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9462 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9463 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9464 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9465 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9466 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9467 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9469 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9472 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9476 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9479 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9484 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9486 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9489 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9491 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9494 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9496 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9497 Remove unused include.
9499 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9501 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9502 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9503 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9504 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9506 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
9507 Helge Deller <deller@gmx.de>
9510 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9511 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9512 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9514 2014-10-23 Joseph Myers <joseph@codesourcery.com>
9517 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9518 Remove macro definition.
9519 (__ashrdi3_v_glibc20): Likewise.
9520 (__lshrdi3_v_glibc20): Likewise.
9521 (__cmpdi2_v_glibc20): Likewise.
9522 (__ucmpdi2_v_glibc20): Likewise.
9523 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9524 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9525 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9526 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9527 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9528 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9530 2014-10-22 Roland McGrath <roland@hack.frob.com>
9532 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9533 old GNU extension [0] syntax.
9534 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9535 alloca rather than an array member with variable length.
9536 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9537 * nscd/nscd.c (invalidate_db): New function, broken out of ...
9538 (parse_opt): ... here. Likewise use alloca there.
9539 Validate the -i argument before checking for rootness.
9540 (send_shutdown): New function, broken out of ...
9541 (parse_opt): ... here.
9543 2014-10-22 Roland McGrath <roland@hack.frob.com>
9545 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9546 macro to get at the _rt_local_ro field.
9547 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9548 ([PIC] case) or _dl_hwcap ([!PIC] case).
9549 * sysdeps/arm/setjmp.S: Likewise.
9551 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9552 * sysdeps/arm/configure.ac: New check to define it.
9553 * sysdeps/arm/configure: Regenerated.
9554 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9555 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9556 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9557 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9558 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9559 Use move/movt pair instead of a load.
9560 (LDST_GLOBAL): Macro removed.
9561 (LDR_GLOBAL): New macro replaces it.
9562 (LDR_HIDDEN): New macro.
9563 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9564 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9566 * setjmp/tst-setjmp-static.c: New file.
9567 * setjmp/Makefile (tests): Add it.
9568 (tests-static): New variable.
9570 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
9573 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9575 2014-10-21 Joseph Myers <joseph@codesourcery.com>
9578 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9580 2014-10-21 Roland McGrath <roland@hack.frob.com>
9582 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9584 2014-10-20 Roland McGrath <roland@hack.frob.com>
9586 * io/fts.c (dirent_not_directory): New function.
9587 (fts_build): Call it.
9589 2014-10-20 Roland McGrath <roland@hack.frob.com>
9591 * nptl/version.c (__nptl_main): Use normal __write rather than
9593 (banner): Update copyright years.
9595 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9597 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9598 * nptl/pthread_cond_timedwait.c: Likewise.
9599 * nptl/pthread_mutex_timedlock.c: Likewise.
9600 * nptl/sem_timedwait.c: Likewise.
9602 * sysdeps/nptl/bits/libc-lock.h
9603 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9604 (__libc_lock_init_recursive): Return void, not 0.
9605 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9606 (__libc_rwlock_init): Likewise.
9607 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9609 2014-10-20 Torvald Riegel <triegel@redhat.com>
9612 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9613 (__pthread_once_slow): ... here.
9614 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9615 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9617 2014-10-20 Torvald Riegel <triegel@redhat.com>
9620 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9621 __PTHREAD_ONCE_FORK_GEN_INCR): New.
9622 * sysdeps/nptl/fork.c (__libc_fork): Use them.
9623 * nptl/pthread_once.c (__pthread_once): Likewise.
9626 2014-10-20 Joseph Myers <joseph@codesourcery.com>
9629 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9631 (writev): Use __libc_writev as strong name.
9632 * sysdeps/unix/sysv/linux/readv.c: Remove file.
9633 * sysdeps/unix/sysv/linux/writev.c: Likewise.
9635 2014-10-17 Roland McGrath <roland@hack.frob.com>
9637 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9639 * sysdeps/i386/nptl/tls.h
9640 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9641 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9643 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9644 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9645 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9646 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9647 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9648 Call CHECK_THREAD_SYSINFO instead of doing an assert.
9650 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9651 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9653 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9655 (__pthread_mutex_init): ... here. Call it.
9656 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9657 Conditionalize PI cases on [__NR_futex].
9658 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9659 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9660 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9662 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9663 conditional on [SIGSETXID].
9664 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9665 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9666 is defined. Likewise for SIGSETXID.
9667 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9668 Conditionalize definitions on [SIGSETXID].
9669 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9670 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9671 unblocking on [SIGCANCEL].
9673 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9674 [__NR_set_robust_list].
9676 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9678 * string/strcoll_l.c (get_next_seq): Fix up formatting.
9679 (do_compare): Likewise.
9681 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
9684 * string/strcoll_l.c: Don't include stdio.h.
9685 (coll_seq): Remove members idxarr and rulearr.
9686 (get_next_seq_cached): Remove function.
9687 (get_next_seq): Likewise.
9688 (get_next_seq_nocache): Rename to get_next_seq.
9689 (do_compare): Remove function.
9690 (do_compare_nocache): Rename to do_compare.
9691 (STRCOLL): Remove weight and rules cache.
9693 2014-10-16 Roland McGrath <roland@hack.frob.com>
9695 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9696 * sysdeps/arm/sfp-machine.h: ... to here.
9697 * sysdeps/arm/Implies: Remove arm/soft-fp.
9699 2014-10-14 Joseph Myers <joseph@codesourcery.com>
9701 * conform/data/sys/utsname.h-data (*_t): Allow.
9702 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9703 [POSIX] (WEXITED): Do not expect constant.
9704 [POSIX] (WSTOPPED): Likewise.
9705 [POSIX] (WNOHANG): Likewise.
9706 [POSIX] (WNOWAIT): Likewise.
9707 [POSIX] (siginfo_t): Do not expect type or elements.
9708 [POSIX] (pid_t): Do not expect type.
9709 [POSIX] (signal.h): Do not allow header.
9710 [POSIX] (sys/resource.h): Likewise.
9711 [POSIX] (si_*): Do not allow pattern.
9712 [POSIX] (W*): Likewise.
9713 [POSIX] (P_*): Likewise.
9714 [POSIX] (BUS_*): Likewise.
9715 [POSIX] (CLD_*): Likewise.
9716 [POSIX] (FPE_*): Likewise.
9717 [POSIX] (ILL_*): Likewise.
9718 [POSIX] (POLL_*): Likewise.
9719 [POSIX] (SEGV_*): Likewise.
9720 [POSIX] (SI_*): Likewise.
9721 [POSIX] (TRAP_*): Likewise.
9722 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9725 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9728 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9729 infinite loop when __recvmsg returns 0.
9731 2014-10-10 Joseph Myers <joseph@codesourcery.com>
9733 * CANCEL-FCT-WAIVE: Remove file.
9734 * CANCEL-FILE-WAIVE: Likewise.
9737 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9738 instead of INTVARDEF.
9739 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9740 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9741 rtld_hidden_data_def instead of INTVARDEF.
9742 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9743 * elf/dl-deps.c (expand_dst): Likewise.
9744 * elf/dl-load.c (_dl_dst_count): Likewise.
9745 (_dl_dst_substitute): Likewise.
9746 (decompose_rpath): Likewise.
9747 (_dl_init_paths): Likewise.
9748 (open_path): Likewise.
9749 (_dl_map_object): Likewise.
9750 * elf/rtld.c (dl_main): Likewise.
9751 (process_dl_audit): Likewise.
9752 (process_envvars): Likewise.
9753 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9755 (__libc_enable_secure): Use rtld_hidden_proto.
9757 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9760 (add_path): New function broken out of _dl_rtld_di_serinfo.
9761 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
9763 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9765 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9766 parentheses around macro arguments.
9767 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9768 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9769 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9770 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9771 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9772 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9773 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9774 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9775 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9776 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9777 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9778 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9779 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9780 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9781 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9782 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9783 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9784 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9785 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9786 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9787 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9788 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9789 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9790 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9791 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9792 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9793 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9794 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9795 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9796 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9797 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9798 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9799 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9800 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9801 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9802 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9804 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9805 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9806 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9807 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9808 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9809 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9810 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9811 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9812 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9813 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9814 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9815 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9816 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9817 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9818 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9819 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9820 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9821 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9822 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9823 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9824 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9825 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9826 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9827 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9828 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9829 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9830 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9831 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9832 (_FP_FRAC_SRS_1): Likewise.
9833 (_FP_FRAC_CLZ_1): Likewise.
9834 (_FP_MUL_MEAT_1_imm): Likewise.
9835 (_FP_MUL_MEAT_1_wide): Likewise.
9836 (_FP_MUL_MEAT_1_hard): Likewise.
9837 (_FP_SQRT_MEAT_1): Likewise.
9838 (_FP_FRAC_ASSEMBLE_1): Likewise.
9839 (_FP_FRAC_DISASSEMBLE_1): Likewise.
9840 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9841 (__FP_CLZ_2): Likewise.
9842 (_FP_MUL_MEAT_2_wide): Likewise.
9843 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9844 (_FP_MUL_MEAT_2_gmp): Likewise.
9845 (_FP_MUL_MEAT_2_120_240_double): Likewise.
9846 (_FP_SQRT_MEAT_2): Likewise.
9847 (_FP_FRAC_ASSEMBLE_2): Likewise.
9848 (_FP_FRAC_DISASSEMBLE_2): Likewise.
9849 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9850 (_FP_FRAC_CLZ_4): Likewise.
9851 (_FP_MUL_MEAT_4_wide): Likewise.
9852 (_FP_MUL_MEAT_4_gmp): Likewise.
9853 (_FP_SQRT_MEAT_4): Likewise.
9854 (_FP_FRAC_ASSEMBLE_4): Likewise.
9855 (_FP_FRAC_DISASSEMBLE_4): Likewise.
9856 * soft-fp/op-common.h (_FP_CMP): Likewise.
9857 (_FP_CMP_EQ): Likewise.
9858 (_FP_CMP_UNORD): Likewise.
9859 (_FP_TO_INT): Likewise.
9860 (_FP_FROM_INT): Likewise.
9861 [!__FP_CLZ] (__FP_CLZ): Likewise.
9862 (_FP_DIV_HELP_imm): Likewise.
9863 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9865 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9866 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9867 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9868 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9869 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9870 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9871 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9872 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9873 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9874 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9875 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9876 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9877 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9878 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9879 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9880 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9881 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9882 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9883 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9884 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9885 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9886 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9887 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9888 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9889 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9890 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9891 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9892 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9893 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9894 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9895 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9896 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9897 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9898 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9899 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9900 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9901 (FP_UNPACK_RAW_SP): Likewise.
9902 (FP_PACK_RAW_S): Likewise.
9903 (FP_PACK_RAW_SP): Likewise.
9904 (FP_UNPACK_S): Likewise.
9905 (FP_UNPACK_SP): Likewise.
9906 (FP_UNPACK_SEMIRAW_S): Likewise.
9907 (FP_UNPACK_SEMIRAW_SP): Likewise.
9908 (FP_PACK_S): Likewise.
9909 (FP_PACK_SP): Likewise.
9910 (FP_PACK_SEMIRAW_S): Likewise.
9911 (FP_PACK_SEMIRAW_SP): Likewise.
9912 (_FP_SQRT_MEAT_S): Likewise.
9913 (FP_CMP_S): Likewise.
9914 (FP_CMP_EQ_S): Likewise.
9915 (FP_CMP_UNORD_S): Likewise.
9916 (FP_TO_INT_S): Likewise.
9917 (FP_FROM_INT_S): Likewise.
9919 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9921 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9922 (FP_EX_INVALID_IMZ): Likewise.
9923 (FP_EX_INVALID_IMZ_FMA): Likewise.
9924 (FP_EX_INVALID_ISI): Likewise.
9925 (FP_EX_INVALID_ZDZ): Likewise.
9926 (FP_EX_INVALID_IDI): Likewise.
9927 (FP_EX_INVALID_SQRT): Likewise.
9928 (FP_EX_INVALID_CVI): Likewise.
9929 (FP_EX_INVALID_VC): Likewise.
9930 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9931 "invalid" exceptions.
9932 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9933 (_FP_ADD_INTERNAL): Likewise.
9934 (_FP_MUL): Likewise.
9935 (_FP_FMA): Likewise.
9936 (_FP_DIV): Likewise.
9937 (_FP_CMP_CHECK_NAN): Likewise.
9938 (_FP_SQRT): Likewise.
9939 (_FP_TO_INT): Likewise.
9940 (FP_EXTEND): Likewise.
9942 2014-10-09 Allan McRae <allan@archlinux.org>
9944 * po/fr.po: Update French translation from translation project.
9946 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9949 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9951 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9952 (__cxa_atexit): Use libc_hidden_proto.
9953 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9956 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9958 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9959 [!_ISOMAC] (__iswspace_l_internal): Likewise.
9960 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9961 [!_ISOMAC] (__iswctype_internal): Likewise.
9962 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9963 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9965 (fcntl): Remove __fcntl_internal alias.
9966 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9967 __connect_internal alias.
9968 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9971 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9972 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9974 (_FP_CHECK_FLUSH_ZERO): New macro.
9975 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9976 (_FP_CMP): Likewise.
9977 (_FP_CMP_EQ): Likewise.
9978 (_FP_TO_INT): Do not set inexact for subnormal arguments if
9980 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9981 (FP_TRUNC): Likewise.
9983 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9984 treated as invalid conversion, not as normal exponent.
9986 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9987 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
9988 (_FP_CMP_EQ): Likewise.
9989 (_FP_CMP_UNORD): Likewise.
9990 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9991 (FP_CMP_EQ_D): Likewise.
9992 (FP_CMP_UNORD_D): Likewise.
9993 * soft-fp/extended.h (FP_CMP_E): Likewise.
9994 (FP_CMP_EQ_E): Likewise.
9995 (FP_CMP_UNORD_E): Likewise.
9996 * soft-fp/quad.h (FP_CMP_Q): Likewise.
9997 (FP_CMP_EQ_Q): Likewise.
9998 (FP_CMP_UNORD_Q): Likewise.
9999 * soft-fp/single.h (FP_CMP_S): Likewise.
10000 (FP_CMP_EQ_S): Likewise.
10001 (FP_CMP_UNORD_S): Likewise.
10002 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10003 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10004 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10005 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10006 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10007 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10008 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10009 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10010 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10011 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10012 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10013 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10014 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10016 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10018 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10019 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10021 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10023 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10024 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10025 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10026 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10028 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10030 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10031 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10033 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10035 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10036 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10037 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10038 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10041 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10042 a subnormal result, set the underflow exception if trapping on
10043 underflow is enabled.
10044 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10045 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10046 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10048 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10049 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10050 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10051 * soft-fp/extendxftf2.c (__extendxftf2): Use
10052 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10054 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10055 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10056 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10057 FP_HANDLE_EXCEPTIONS.
10058 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10059 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10060 FP_HANDLE_EXCEPTIONS.
10061 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10062 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10063 FP_HANDLE_EXCEPTIONS.
10064 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10065 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10066 FP_HANDLE_EXCEPTIONS.
10068 2014-10-08 Joseph Myers <joseph@codesourcery.com>
10071 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10072 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10074 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10075 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10077 (__adjtimex): Define using libc_hidden_ver.
10078 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10079 Remove declaration.
10080 (ntp_gettime): Call __adjtimex directly.
10081 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10082 Remove declaration.
10083 (ntp_gettimex): Call __adjtimex directly.
10084 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10085 __adjtimex_internal alias.
10087 2014-10-08 Roland McGrath <roland@hack.frob.com>
10090 * nscd/nscd.c (more_help): Rewrite list of tables collection
10091 using xstrdup and asprintf.
10093 * nscd/nscd_conf.c: Remove local xstrdup declaration.
10095 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10096 Roland McGrath <roland@hack.frob.com>
10098 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10099 (do_lookup_unique): ... local function 'enter' here; update callers.
10101 2014-10-06 Joseph Myers <joseph@codesourcery.com>
10103 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10104 compat_symbol calls on [SHARED].
10105 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10106 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10108 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10109 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10110 (oldsetrlimit): Remove.
10111 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10113 (lchown): New syscall entry.
10114 (oldsetrlimit): Remove.
10115 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10116 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10117 (oldsetrlimit): Remove.
10118 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10121 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10122 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10123 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10124 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10125 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10126 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10127 (fchown): Likewise.
10128 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10129 (fchown): Likewise.
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10133 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10135 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10136 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10137 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10138 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10139 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10141 (__old_sem_post): Likewise.
10143 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
10145 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10146 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10147 HAVE_CLOCK_GETTIME_VSYSCALL macros.
10148 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10149 Use INLINE_VSYSCALL macro.
10150 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10151 __vdso_clock_gettime.
10152 * sysdeps/unix/sysv/linux/tile/init-first.c
10153 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10154 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10155 __vdso_clock_gettime.
10157 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10158 to set up frame more cleanly.
10160 * sysdeps/tile/memcmp.c: New file.
10162 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10164 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10165 * sysdeps/tile/tilegx/strcasestr.c: New file.
10166 * sysdeps/tile/tilegx/strnlen.c: New file.
10167 * sysdeps/tile/tilegx/strstr.c: New file.
10169 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10171 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
10173 * nptl/tst-setuid3.c: Write errors to stdout.
10175 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10178 (preload): New functions broken out of _dl_map_object_deps.
10179 (_dl_map_object_deps): Remove a nested function. Update call sites.
10181 2014-10-01 Joseph Myers <joseph@codesourcery.com>
10184 * sysdeps/unix/sysv/linux/execve.c: Remove file.
10185 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10187 2014-10-01 Steve Ellcey <sellcey@mips.com>
10189 * sysdeps/mips/strcmp.S: New.
10191 2014-09-30 Joseph Myers <joseph@codesourcery.com>
10194 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10195 (linkat): Likewise.
10196 (mkdirat): Likewise.
10197 (readlinkat): Likewise.
10198 (renameat): Likewise.
10199 (symlinkat): Likewise.
10200 (unlinkat): Likewise.
10201 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10202 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10203 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10204 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10205 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10206 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10207 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10209 2014-09-30 Will Newton <will.newton@linaro.org>
10211 * math/math.h: Define long double math functions if
10212 _LIBC_TEST is defined.
10213 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10215 * localedata/Makefile: Move assignment to tests-special
10216 into an ifdef testing run-built-tests.
10217 * timezone/Makefile: Likewise.
10219 2014-09-29 Joseph Myers <joseph@codesourcery.com>
10221 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10222 with $(BASH) not $(SHELL).
10224 2014-09-29 Carlos O'Donell <carlos@redhat.com>
10225 Matthew LeGendre <legendre1@llnl.gov>
10228 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10231 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10233 * stdio-common/printf_fp.c
10234 (hack_digit): New function, broken out of ...
10235 (__printf_fp): ... local function here. Update call sites.
10236 hack_digit now takes an additional parameter that is a pointer
10237 to a struct of the referenced locals. Those locals moved inside
10238 the struct and references updated.
10240 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
10242 * aclocal.m4: Require autoconf 2.69.
10243 * configure: Regenerated.
10244 * sysdeps/aarch64/configure: Likewise.
10245 * sysdeps/alpha/configure: Likewise.
10246 * sysdeps/arm/armv7/configure: Likewise.
10247 * sysdeps/arm/configure: Likewise.
10248 * sysdeps/ia64/configure: Likewise.
10249 * sysdeps/mach/configure: Likewise.
10250 * sysdeps/mips/configure: Likewise.
10251 * sysdeps/s390/configure: Likewise.
10252 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10255 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10257 * sysdeps/ia64/configure.ac: Likewise.
10259 2014-09-26 Joseph Myers <joseph@codesourcery.com>
10261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10262 specify symbol version for ld.so. Do not include entry for
10264 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10265 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10266 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10269 * Makeconfig [$(build-shared) = yes]
10270 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10272 [$(build-shared) = yes && $(soversions.mk-done) = t]
10273 ($(common-objpfx)gnu/lib-names.h): Remove rule.
10274 [$(build-shared) = yes && $(soversions.mk-done) = t]
10275 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
10277 [$(build-shared) = yes && $(soversions.mk-done) = t]
10278 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10280 [$(build-shared) = yes && $(soversions.mk-done) = t]
10281 (common-generated): Don't append gnu/lib-names.h and
10282 gnu/lib-names.stmp here.
10283 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10284 (lib-names-h-abi): New variable.
10285 [$(build-shared) = yes && $(soversions.mk-done) = t]
10286 (lib-names-stmp-abi): Likewise.
10287 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10288 abi-variants] (before-compile): Append
10289 $(common-objpfx)$(lib-names-h-abi).
10290 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10291 abi-variants] (common-generated): Append gnu/lib-names.h.
10292 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10293 abi-variants] (install-others-nosubdir): Depend on
10294 $(inst_includedir)/$(lib-names-h-abi).
10295 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10296 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10297 [$(build-shared) = yes && $(soversions.mk-done) = t]
10298 ($(common-objpfx)$(lib-names-h-abi)): New rule.
10299 [$(build-shared) = yes && $(soversions.mk-done) = t]
10300 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10301 [$(build-shared) = yes && $(soversions.mk-done) = t]
10302 (common-generated): Append $(lib-names-h-abi) and
10303 $(lib-names-stmp-abi).
10304 * scripts/lib-names.awk: Do not handle multi being set.
10305 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10307 (abi-lp64_be-ld-soname): Likewise.
10308 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10310 (abi-hard-ld-soname): Likewise.
10311 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10312 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10314 (abi-o32_hard-ld-soname): Likewise.
10315 (abi-o32_soft_2008-ld-soname): Likewise.
10316 (abi-o32_hard_2008-ld-soname): Likewise.
10317 (abi-n32_soft-ld-soname): Likewise.
10318 (abi-n32_hard-ld-soname): Likewise.
10319 (abi-n32_soft_2008-ld-soname): Likewise.
10320 (abi-n32_hard_2008-ld-soname): Likewise.
10321 (abi-n64_soft-ld-soname): Likewise.
10322 (abi-n64_hard-ld-soname): Likewise.
10323 (abi-n64_soft_2008-ld-soname): Likewise.
10324 (abi-n64_hard_2008-ld-soname): Likewise.
10325 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10327 (abi-64-v2-ld-soname): Likewise.
10328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10330 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10332 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10334 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10336 (abi-64-ld-soname): Likewise.
10337 (abi-x32-ld-soname): Likewise.
10338 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10340 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10342 2014-09-23 Joseph Myers <joseph@codesourcery.com>
10345 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10346 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10347 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10348 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10349 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10350 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10351 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10352 syscall entry for GLIBC_2.2 symbol version.
10353 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10356 (setrlimit): Likewise.
10357 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10360 2014-09-23 Will Newton <will.newton@linaro.org>
10362 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10363 _LINUX_ARM_SYSDEP_H include guard too.
10364 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10367 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10369 * sysdeps/unix/sysv/linux/eventfd.c:
10370 Make first argument unsigned.
10371 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10372 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10374 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
10376 * socket/recvmmsg.c (recvmmsg): Drop const argument.
10377 * socket/sys/socket.h: Likewise
10378 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10380 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10382 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10384 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
10386 * time/tst-ftime.c: New test.
10387 * time/Makefile (tests): Add tst-ftime.
10389 2014-09-17 Joseph Myers <joseph@codesourcery.com>
10391 * soft-fp/extended.h: Fix comment formatting.
10392 * soft-fp/op-1.h: Likewise.
10393 * soft-fp/op-2.h: Likewise.
10394 * soft-fp/op-4.h: Likewise.
10395 * soft-fp/op-8.h: Likewise.
10396 * soft-fp/op-common.h: Likewise.
10397 * soft-fp/soft-fp.h: Likewise.
10399 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10401 2014-09-16 Joseph Myers <joseph@codesourcery.com>
10404 * Makeconfig (soversions-default-setname): Remove variable.
10405 ($(common-objpfx)soversions.i): Don't pass default_setname to
10407 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10408 oldest_abi to abi-versions.awk.
10409 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10410 * config.make.in (oldest-abi): Remove variable.
10411 * configure.ac (--enable-oldest-abi): Remove configure option.
10412 * configure: Regenerated.
10413 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10415 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10416 * scripts/soversions.awk: Do not handle default_setname variable.
10417 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10419 * sysdeps/mach/hurd/configure: Regenerated.
10420 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10422 * sysdeps/unix/sysv/linux/configure: Regenerated.
10424 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10426 * elf/Makefile (CFLAGS-interp.c): Remove.
10427 ($(elf-objpfx)runtime-linker.h): Generate header with linker
10429 * elf/interp.c: Include generated runtime-linker.h
10431 * Makerules (lib%.so): Don't include $(+interp) in
10433 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10434 * dlfcn/eval.c: Remove file.
10436 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10440 * misc/sys/cdefs.h: Define __extern_always_inline for clang
10444 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10446 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10447 Jakub Jelinek <jakub@redhat.com>
10450 * libio/stdio.h: Check definition of __fortify_function
10451 instead of __extern_always_inline to include bits/stdio2.h.
10452 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10453 check if __extern_always_inline is defined.
10454 [__USE_MISC || __USE_XOPEN]: Likewise.
10455 [__USE_ISOC99] Likewise.
10456 * misc/sys/cdefs.h (__fortify_function): Define only if
10457 __extern_always_inline is defined.
10458 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10459 __extern_always_inline and __extern_inline only for g++-4.3
10460 and newer or a compatible gcc.
10462 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
10465 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10466 last change to handle zero prefix length.
10468 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10470 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10473 * posix/getconf.c (vars): Add _POSIX_IPV6 and
10474 _POSIX_RAW_SOCKETS.
10476 2014-09-13 Allan McRae <allan@archlinux.org>
10478 * po/ru.po: Update Russian translation from translation project.
10480 2014-09-12 Roland McGrath <roland@hack.frob.com>
10482 * locale/programs/locale.c (show_locale_vars): Inline local function
10483 into its sole call site. Clean up some style nits.
10484 (print_item): New function, broken out of ...
10485 (show_info): ... local function here. Clean up style nits.
10487 * locale/programs/ld-ctype.c (set_one_default): New function, broken
10489 (set_class_defaults): ... local function set_default here.
10490 Define set_default as a macro locally to pass constant parameters.
10491 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10492 rather than a shared local.
10494 * stdlib/rpmatch.c (try): New function, broken out of ...
10495 (rpmatch): ... local function here. Also, prototypify definition.
10497 2014-09-12 Joseph Myers <joseph@codesourcery.com>
10499 * scripts/soversions.awk: Do not handle configuration names.
10500 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10501 vendor and os variables to soversions.awk.
10502 * configure.ac: Do not modify gnu-* host_os.
10503 * configure: Regenerated
10504 * shlib-versions: Remove first column with configuration names.
10505 * nptl/shlib-versions: Likewise.
10506 * nptl_db/shlib-versions: Likewise.
10507 * sysdeps/hppa/shlib-versions: Likewise.
10508 * sysdeps/m68k/shlib-versions: Likewise.
10509 * sysdeps/mach/hurd/shlib-versions: Likewise.
10510 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10511 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10512 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10513 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10514 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10515 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10516 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10517 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10520 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10521 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10522 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10523 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10524 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10525 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10526 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10527 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10530 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10533 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10535 Condition symbol version definitions on [HAVE_ELFV2_ABI].
10537 * shlib-versions: Remove OS-specific entries. Moved to files in
10539 * sysdeps/mach/hurd/shlib-versions: New file.
10540 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10542 * nptl/shlib-versions: Remove architecture-specific entries.
10543 Moved to files in sysdeps.
10544 * shlib-versions: Likewise.
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10547 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10548 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10549 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10550 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10552 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10553 (UDP_NO_CHECK6_RX): Likewise.
10555 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10557 * sysdeps/posix/sysconf.c (__sysconf): Spell
10558 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10560 2014-08-12 Florian Weimer <fweimer@redhat.com>
10562 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10564 * iconv/Versions (__gconv_transliterate): Export for use from
10566 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10567 (struct __gconv_trans_data, __gconv_trans_fct,
10568 __gconv_trans_context_fct, __gconv_trans_query_fct,
10569 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10571 (struct __gconv_step_data): Remove __trans member.
10572 (__gconv_transliterate): Declaration moved from gconv_int.h. No
10573 longer hidden. Remove unused trans_data argument.
10574 * iconv/gconv_int.h (struct trans_struct): Remove definition.
10575 (__gconv_translit_find): Remove declaration.
10576 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
10578 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10579 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10580 trans_data argument. Add hidden definition.
10581 (__gconv_translit_find): Remove.
10582 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10583 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10584 * iconv/skeleton.c: Remove transliteration initialization.
10585 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10586 __gconv_step_data initialization.
10587 * libio/iofwide.c (__libio_translit_): Remove.
10588 (_IO_fwide): Adjust struct __gconv_step_data initialization.
10589 * wcsmbs/btowc.c (__btowc): Likewise.
10590 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10591 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10592 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10593 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10594 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10595 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10596 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10597 * wcsmbs/wctob.c (wctob): Likewise.
10599 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10602 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10603 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
10605 * sysdeps/x86/Makefile: Adjust.
10607 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10608 Roland McGrath <roland@hack.frob.com>
10610 * locale/weight.h: Add include guard.
10611 (findidx): Make static rather than auto; take new parameters
10612 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10613 * locale/weightwc.h: Likewise.
10614 * posix/fnmatch_loop.c
10615 (FCT): Change type of EXTRA from int32_t to wint_t.
10616 Don't include either header inside the function.
10617 Call FINDIDX rather than findidx, and pass new arguments.
10618 #undef FINDIDX at the end of the file.
10619 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10620 FINDIDX before including fnmatch_loop.c for the non-wide version.
10621 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10622 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10623 for the wide version.
10624 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10625 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10626 Pass new arguments to findidx.
10627 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10628 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10629 Don't #include it inside the function. Pass new arguments to findidx.
10630 * posix/regex_internal.h
10631 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10632 (re_string_elem_size_at): Don't #include it inside the function.
10633 Pass new arguments to findidx.
10634 * string/strcoll_l.c: #include WEIGHT_H at top level.
10635 (get_next_seq): Don't #include it inside the function.
10636 Pass new arguments to findidx.
10637 (get_next_seq_nocache): Likewise.
10638 * string/strxfrm_l.c: #include WEIGHT_H at top level.
10639 (STRXFRM): Don't #include it inside the function.
10640 Pass new arguments to findidx.
10642 2014-09-11 Florian Weimer <fweimer@redhat.com>
10645 * malloc/malloc.c (unlink): Turn asserts into a call to
10648 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
10651 * libio/wfileops (do_ftell_wide): Free OUT.
10653 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
10655 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10657 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10660 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10661 group if the current group is empty.
10663 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10665 * benchtests/bench-memset.c (test_main): Add more test from size
10666 from 32 to 512 bytes.
10667 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10668 Add POWER8 memset object.
10669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10670 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10671 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10673 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10675 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10676 multiarch POWER8 memset optimization.
10677 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10678 POWER8 memset optimization.
10680 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10681 Remove bzero multiarch objects.
10682 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10683 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10684 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10685 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10687 [__bzero]: Redefine to specific name.
10688 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10689 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10690 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10692 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10693 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10695 2014-09-10 Florian Weimer <fweimer@redhat.com>
10697 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10698 warnings into errors.
10700 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10701 __cxa_thread_atexit_impl prototype.
10703 2014-09-09 Steve Ellcey <sellcey@mips.com>
10705 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10706 Fix capitalization of error message.
10708 2014-09-09 Steve Ellcey <sellcey@mips.com>
10710 * sysdeps/mips/preconfigure: Modify ABI tests.
10712 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
10714 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10716 2014-09-07 Roland McGrath <roland@hack.frob.com>
10717 Carlos O'Donell <carlos@systemhalted.org>
10719 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10720 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10721 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10722 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10723 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10724 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10725 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10726 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10727 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10728 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10729 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10730 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10731 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10732 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10733 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10734 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10735 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10736 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10737 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10738 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10739 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10740 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10741 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10742 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10743 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10744 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10745 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10746 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10747 Deconditionalize the code that was previously under [RESET_PID].
10748 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10749 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10750 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10751 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10754 2014-09-08 Allan McRae <allan@archlinux.org>
10756 * version.h (RELEASE): Set to "development".
10757 (VERSION): Set to "2.20.90"
10759 2014-09-07 Allan McRae <allan@archlinux.org
10761 * version.h (RELEASE): Set to "stable".
10762 (VERSION): Set to "2.20"
10763 * include/features.h (__GLIBC_MINOR__): Set to 20.
10765 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10768 * po/ko.po: Update Korean translation from translation project.
10770 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
10773 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10774 macro for handling signed relocations.
10776 2014-09-03 Florian Weimer <fweimer@redhat.com>
10779 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10780 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10782 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10783 * iconvdata/ibm935.c (BODY): Likewise.
10784 * iconvdata/ibm937.c (BODY): Likewise.
10785 * iconvdata/ibm939.c (BODY): Likewise.
10786 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10788 * iconvdata/Makefile (iconv-test.out): Pass module list to test
10790 * iconvdata/run-iconv-test.sh: New test loop for checking for
10793 2014-09-02 Khem Raj <raj.khem@gmail.com>
10795 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10798 2014-09-01 Allan McRae <allan@archlinux.org>
10800 * po/eo.po: Update Esperanto translation from translation project.
10802 * po/ca.po: Update Catalan translation from translation project.
10804 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10806 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10807 __proc_dostop call.
10809 2014-08-27 Mark Wielaard <mjw@redhat.com>
10812 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10813 to call set_thread_area instead of hand written asm.
10814 (__NR_set_thread_area): Removed define.
10815 (TLS_FLAG_WRITABLE): Likewise.
10816 (__ASSUME_SET_THREAD_AREA): Remove check.
10817 (TLS_EBX_ARG): Remove define.
10818 (TLS_LOAD_EBX): Likewise.
10820 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10822 Simplify atomicity of socket creation in bind.
10824 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10825 looking up the name after linking the file.
10827 2014-08-27 Allan McRae <allan@archlinux.org>
10829 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10831 2014-08-26 Florian Weimer <fweimer@redhat.com>
10834 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10835 trans_compare, open_translit, __gconv_translit_find):
10836 Remove module loading code.
10838 2014-08-26 Allan McRae <allan@archlinux.org>
10840 * po/vi.po: Update Vietnamese translation from translation project.
10842 * po/uk.po: Update Ukrainian translation from translation project.
10844 * po/fr.po: Update French translation from translation project.
10846 * po/ru.po: Update Russian translation from translation project.
10848 * po/pl.po: Update Polish translation from translation project.
10850 * po/cs.po: Update Czech translation from translation project.
10852 * po/de.po: Update German translation from translation project.
10854 * po/bg.po: Update Bulgarian translation from translation project.
10856 * po/sv.po: Update Sweedish translation from translation project.
10858 * po/nl.po: Update Dutch translation from translation project.
10860 * po/es.po: Update Spanish translation from translation project.
10862 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10864 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10866 * catgets/Makefile (CPPFLAGS-gencat): Remove.
10867 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10868 (CPPFLAGS-iconvconfig): Likewise.
10869 * timezone/Makefile (CPPFLAGS-zic): Likewise.
10871 * include/libc-symbols.h: Remove unnecessary check for
10873 * nptl/pthreadP.h: Likewise.
10874 * sysdeps/aarch64/setjmp.S: Likewise.
10875 * sysdeps/alpha/setjmp.S: Likewise.
10876 * sysdeps/arm/sysdep.h: Likewise.
10877 * sysdeps/i386/setjmp.S: Likewise.
10878 * sysdeps/m68k/setjmp.c: Likewise.
10879 * sysdeps/posix/getcwd.c: Likewise.
10880 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10881 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10882 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10883 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10884 * sysdeps/sh/sh3/setjmp.S: Likewise.
10885 * sysdeps/sh/sh4/setjmp.S: Likewise.
10886 * sysdeps/unix/alpha/sysdep.h: Likewise.
10887 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10888 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10889 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10890 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10893 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10894 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10895 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10897 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10898 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10900 * sysdeps/x86_64/setjmp.S: Likewise.
10902 2014-08-13 Joseph Myers <joseph@codesourcery.com>
10905 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10907 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10908 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10910 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10912 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10915 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10916 and __x86_64__ when disabling x87 inline functions.
10918 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
10921 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10922 asm statement with __cpuid_count.
10924 2014-08-12 Mike Frysinger <vapier@gentoo.org>
10926 * configure.ac: Change __ehdr_start code to dereference the struct.
10927 Run readelf on the output to look for relocations.
10928 * configure: Regenerated.
10930 2014-08-12 Joseph Myers <joseph@codesourcery.com>
10933 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10935 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10937 2014-08-12 Roland McGrath <roland@hack.frob.com>
10939 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10941 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
10944 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10945 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10947 2014-08-12 Sean Anderson <seanga2@gmail.com>
10949 * malloc/malloc.c: Fix typo in comment.
10951 2014-08-09 Allan McRae <allan@archlinux.org>
10953 * Regenerate libc.po.
10955 2014-08-08 Mike Frysinger <vapier@gentoo.org>
10957 * intl/tst-gettext2.sh: Check every lang file for creation.
10959 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10961 * sysdeps/aarch64/fpu/math_private.h
10962 (libc_feholdsetround_noex_aarch64_ctx): New function.
10964 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10966 * sysdeps/arm/armv6/strcpy.S (strcpy):
10967 Fix performance issue in misaligned cases.
10969 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10971 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10972 Move definition from termios.h.
10973 (struct termio): Likewise.
10974 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10975 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10976 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10977 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10979 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10980 Move definition to ioctl-types.h
10981 (struct termio): Likewise.
10982 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10983 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10984 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10985 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10988 2014-08-05 Richard Henderson <rth@redhat.com>
10990 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10992 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10994 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10995 Use __feraiseexcept.
10996 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10997 Protect libm symbols with IS_IN_libm.
10999 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11001 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
11003 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11005 2014-08-04 Will Newton <will.newton@linaro.org>
11007 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11010 2014-08-04 Mike Frysinger <vapier@gentoo.org>
11012 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11013 variants for each function.
11015 2014-08-04 Roland McGrath <roland@hack.frob.com>
11017 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11019 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11020 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11022 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11023 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11024 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11025 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11026 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11027 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11028 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11029 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11030 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11031 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11032 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11033 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11034 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11035 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11036 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11037 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11038 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11039 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11040 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11042 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11043 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11044 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11045 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11046 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11047 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11048 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11049 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11050 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11051 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11052 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11053 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11054 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11055 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11056 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11057 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11058 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11059 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11060 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11061 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11062 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11063 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11064 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11065 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11066 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11067 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11068 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11069 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11070 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11071 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11072 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11073 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11074 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11076 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11077 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11079 2014-08-04 Roland McGrath <roland@hack.frob.com>
11081 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11082 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11083 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11084 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11085 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11086 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11088 2014-08-04 Roland McGrath <roland@hack.frob.com>
11090 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11091 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11092 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11093 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11095 2014-08-04 Roland McGrath <roland@hack.frob.com>
11097 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11098 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11099 (__libc_vfork): Define function under this name.
11100 (__vfork): Define as an alias.
11101 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11102 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11104 2014-08-04 Roland McGrath <roland@hack.frob.com>
11106 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11107 that was previously under [RESET_PID].
11108 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11110 2014-08-04 Andreas Schwab <schwab@suse.de>
11112 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11114 2014-08-03 Mike Frysinger <vapier@gentoo.org>
11116 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11119 2014-08-01 Roland McGrath <roland@hack.frob.com>
11121 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11123 2014-08-01 Richard Henderon <rth@redhat.com>
11125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11126 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11127 typo in exact zero test.
11128 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11129 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11130 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11132 2014-08-01 Roland McGrath <roland@hack.frob.com>
11134 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11135 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11136 * sysdeps/arm/sysdep.h: ... here.
11137 [!__ASSEMBLER__]: Include <stdint.h>.
11139 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11141 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11142 (HAVE_WCTYPE_H): Likewise.
11143 (HAVE_ISWCTYPE): Likewise.
11144 (ENABLE_NLS): Likewise.
11145 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11146 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11148 * posix/regex_internal.c: Check if DEBUG is defined and is
11151 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11152 (HAVE_MBSRTOWCS): Likewise.
11153 * posix/fnmatch.c: Include string.h unconditionally.
11155 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11157 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11160 2014-07-31 Roland McGrath <roland@hack.frob.com>
11162 * sysdeps/generic/safe-fatal.h: New file.
11163 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11164 * nptl/forward.c: Include it.
11165 (__pthread_unwind): Use __safe_fatal as default action, rather
11166 than a bogus use of INTERNAL_SYSCALL that could never work.
11168 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11169 * configure.ac (libc_cv_builtin_trap): New test.
11170 * configure: Regenerated.
11171 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11172 (ABORT_INSTRUCTION): Define using __builtin_trap.
11174 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11175 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11176 * sysdeps/nptl/nptl-signals.h: New file.
11177 * nptl/pthreadP.h: Include <nptl-signals.h>.
11179 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11181 * sysdeps/s390/s390-64/utf16-utf32-z9.c
11182 (ONE_DIRECTION): Define.
11183 * sysdeps/s390/s390-64/utf8-utf16-z9.c
11184 (ONE_DIRECTION): Define.
11185 * sysdeps/s390/s390-64/utf8-utf32-z9.c
11186 (ONE_DIRECTION): Define.
11188 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11190 * sysdeps/s390/Makefile: Delete file.
11191 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11192 * sysdeps/s390/__longjmp.c: Delete file.
11193 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11194 Remove fields __flags and __reserved.
11195 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11196 and add versioning.
11197 * sysdeps/s390/rtld-__longjmp.c: Delete file.
11198 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11199 * sysdeps/s390/rtld-setjmp.S: Likewise.
11200 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11201 * sysdeps/s390/s390-32/__longjmp.c: ... here.
11202 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11203 * sysdeps/s390/s390-32/setjmp.S: ... here.
11205 (__sigsetjmp): Remove setting __flags field.
11206 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11207 * sysdeps/s390/s390-64/__longjmp.c: ... here.
11208 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11209 * sysdeps/s390/s390-64/setjmp.S: ... here.
11211 (__sigsetjmp): Remove setting __flags field.
11212 * sysdeps/s390/setjmp.S: Delete file.
11213 * sysdeps/s390/sigjmp.c: Likewise.
11214 * sysdeps/s390/v1-longjmp.c: Likewise.
11215 * sysdeps/s390/v1-setjmp.h: Likewise.
11216 * sysdeps/s390/v1-sigjmp.c: Likewise.
11217 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11218 Remove v1-longjmp_chk.
11219 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11220 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11221 Include debug/longjmp_chk.c and add versioning.
11222 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11223 Include nptl/pt-longjmp.c and add versioning.
11224 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11225 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11226 Include __longjmp.c.
11227 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11229 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11230 (__getcontext): Remove setting __flags field.
11232 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11233 Don't restore upper high grps.
11234 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11236 (__swapcontext): Remove setting uc_flags field.
11237 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11239 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11240 Include __longjmp.c.
11241 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11243 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11244 (__getcontext): Remove setting __flags field.
11246 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11247 (__swapcontext): Remove setting uc_flags field.
11248 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11249 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11250 Remove fields uc_high_gprs and __reserved.
11251 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11252 New file with reverted content.
11253 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11254 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11256 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11259 2014-07-31 Andreas Schwab <schwab@suse.de>
11261 * config.h.in (HAVE_IFUNC): Define to 0.
11262 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11265 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
11267 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11268 memmove-avx-unaligned, memcpy-avx-unaligned and
11269 mempcpy-avx-unaligned.
11270 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11271 Add tests for AVX memcpy functions.
11272 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11273 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11275 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11276 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11278 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11279 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11281 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11282 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11283 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11285 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11288 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11291 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
11294 * manual/llio.texi: Add section about open file description locks.
11295 * manual/examples/ofdlocks.c: Example of open file description
11297 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11298 F_OFD_SETLK, and F_OFD_SETLKW.
11300 2014-07-23 Allan McRae <allan@archlinux.org>
11302 * po/es.po: Update Spanish translation from translation project.
11304 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
11306 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11308 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
11311 * sysdeps/arm/dl-machine.h (elf_machine_rela)
11312 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11313 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11315 2014-07-17 Joseph Myers <joseph@codesourcery.com>
11318 * math/fesetenv.c (__fesetenv)
11319 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11320 * math/feupdateenv.c (__feupdateenv)
11321 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11323 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11324 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11325 (__ASSUME_SOCKETCALL): Do not define.
11327 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11328 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11329 (__ASSUME_SOCKETCALL): Do not define.
11330 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11331 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11332 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11333 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11334 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11335 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11336 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11337 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11339 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11340 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11341 (__ASSUME_SOCKETCALL): Do not define.
11342 (__ASSUME_IPC64): Define unconditionally.
11343 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11344 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11345 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11346 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11347 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11348 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11349 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11352 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11353 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11354 (__ASSUME_SOCKETCALL): Do not define.
11355 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11356 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11357 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11358 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11359 (__ASSUME_REQUEUE_PI): Define unconditionally.
11360 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11361 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11362 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11363 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11364 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11365 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11367 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11368 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11369 (__ASSUME_SOCKETCALL): Do not define.
11370 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11371 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11372 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11373 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11374 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11375 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11377 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11378 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11379 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11380 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11381 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11382 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11383 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11384 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11385 (__ASSUME_GETCPU_SYSCALL): Likewise.
11387 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11388 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
11389 cases for individual architectures.
11390 * sysdeps/gnu/configure: Regenerated.
11391 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11392 LIBC_SLIBDIR_RTLDDIR.
11393 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11394 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11395 LIBC_SLIBDIR_RTLDDIR.
11396 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11398 LIBC_SLIBDIR_RTLDDIR.
11399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11401 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11402 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11404 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11405 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11407 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11408 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11409 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11410 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11412 * sysdeps/aarch64/shlib-versions: Move to ...
11413 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11414 * sysdeps/alpha/shlib-versions: Move to ...
11415 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11416 * sysdeps/arm/shlib-versions: Move to ...
11417 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11418 * sysdeps/hppa/shlib-versions: Move all contents except for
11419 libgcc_s entry to ...
11420 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
11422 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
11423 * sysdeps/ia64/shlib-versions: Move to ...
11424 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
11426 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
11427 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11428 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11429 * sysdeps/microblaze/shlib-versions: Move to ...
11430 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11431 * sysdeps/mips/shlib-versions: Move to ...
11432 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
11434 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
11435 * sysdeps/tile/shlib-versions: Move to ...
11436 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11437 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11439 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
11440 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11442 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
11444 2014-07-17 Will Newton <will.newton@linaro.org>
11446 * sysdeps/arm/bits/atomic.h
11447 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11448 (__arch_compare_and_exchange_bool_16_int): Likewise.
11449 (__arch_compare_and_exchange_bool_64_int): Likewise.
11451 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11452 into an #else block.
11454 2014-07-16 Roland McGrath <roland@hack.frob.com>
11456 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11457 just Linux configurations. Test empirically that the compiler sets
11458 __ARM_EABI__, rather than using the tuple to decide.
11459 * sysdeps/arm/preconfigure: Regenerated.
11460 * sysdeps/unix/sysv/linux/arm/configure: File removed.
11461 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11462 contents appended ...
11463 * sysdeps/arm/configure.ac: ... here.
11464 * sysdeps/arm/configure: Regenerated.
11466 2014-07-15 Roland McGrath <roland@hack.frob.com>
11468 * nptl/pthread_kill.c: New file.
11469 * nptl/pthread_sigmask.c: New file.
11470 * nptl/pthread_sigqueue.c: New file.
11472 * sysdeps/nptl/lowlevellock.h: New file.
11473 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11474 * sysdeps/nptl/lowlevellock-futex.h: New file.
11476 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11477 Remove dead declarations.
11479 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
11481 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11482 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11483 config-cflags-avx2.
11484 * sysdeps/x86_64/configure.ac: Likewise.
11485 * sysdeps/i386/configure: Regenerated.
11486 * sysdeps/x86_64/configure: Likewise.
11487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11488 memset-avx2 only if config-cflags-avx2 is yes.
11489 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11490 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11492 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11493 only if HAVE_AVX2_SUPPORT is defined.
11494 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11496 2014-07-14 Alan Modra <amodra@gmail.com>
11499 * elf/elf.h (DT_PPC64_NUM): Correct value.
11500 * NEWS: Add to fixed bug list.
11502 2014-07-13 Jim Meyering <meyering@fb.com>
11505 regex: don't deref NULL upon heap allocation failure
11506 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11507 failure in one more place.
11508 To trigger the segfault, configure grep -with-included-regex,
11509 build it, and run these commands:
11510 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11512 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
11514 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11516 2014-07-11 Richard Henderson <rth@redhat.com>
11518 * sysdeps/aarch64/libm-test-ulps: Update.
11520 2014-07-10 Florian Weimer <fweimer@redhat.com>
11523 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11524 * nptl/allocatestack.c (__nptl_setxid_error): New function.
11525 (__nptl_setxid): Initialize error member. Call
11526 __nptl_setxid_error.
11527 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11528 * nptl/descr.h (struct xid_command): Add error member.
11529 * nptl/tst-setuid3.c: New file.
11530 * nptl/Makefile (tests): Add it.
11532 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11534 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11536 (__lll_trylock): Use __lll_base_trylock.
11537 (__lll_cond_trylock): Likewise.
11539 2014-07-10 Roland McGrath <roland@hack.frob.com>
11541 * nptl/pthread_create.c (start_thread): Use atomic_or and
11542 lll_futex_wake directly rather than lll_robust_dead.
11543 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11544 (lll_robust_dead): Macro removed.
11545 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11546 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11547 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11548 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11549 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11550 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11551 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11552 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11553 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11554 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11555 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11556 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11557 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11558 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11559 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11561 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11562 Use atomic_compare_and_exchange_val_acq directly rather than
11563 lll_robust_trylock.
11564 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11565 (__lll_robust_trylock, lll_robust_trylock): Removed.
11566 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11567 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11568 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11569 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11570 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11571 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11572 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11573 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11574 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11575 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11576 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11577 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11578 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11579 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11581 2014-07-02 Florian Weimer <fweimer@redhat.com>
11583 * manual/locale.texi (Locale Names): New section documenting
11584 locale name syntax. Adjust menu and node chaining accordingly.
11585 (Choosing Locale): Reference Locale Names, Locale Categories.
11586 Mention setting LC_ALL=C. Reflect that name syntax is now
11588 (Locale Categories): New section title. Reference Locale Names.
11589 LC_ALL is an environment variable, but not a category.
11590 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11591 description, now in Locale Name. Reference that section. Locale
11592 name syntax is now documented.
11594 2014-07-02 Florian Weimer <fweimer@redhat.com>
11597 * locale/findlocale.c (name_present, valid_locale_name): New
11599 (_nl_find_locale): Use the loc_name variable to store name
11600 candidates. Call name_present and valid_locale_name to check and
11601 validate locale names. Return an error if the locale is invalid.
11603 2014-07-02 Florian Weimer <fweimer@redhat.com>
11605 * locale/setlocale.c (setlocale): Use strdup for allocating
11606 composite name copy.
11608 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11610 Sync up with gnulib.
11611 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11612 [!_LIBC && ENABLE_NLS]: Include gettext.h.
11613 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11614 and _GL_ARG_NONNULL.
11615 [USE_UNLOCKED_IO]: Include unlocked-io.h.
11616 [!_LIBC]: Include code for Windows and Cygwin.
11617 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11618 Include prototype for int strerror_r.
11619 [!_LIBC] (is_open): New function.
11620 (flush_stdout): New function.
11621 (print_errno_message): Use it.
11623 (error_at_line): Likewise.
11624 (error_tail) Add function attribute macros. Use
11627 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11629 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11631 * io/ftw.c: Include sys/param.h unconditionally.
11633 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11636 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11638 (freecache): New function to free CACHE on exit.
11640 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11643 2014-07-09 David S. Miller <davem@davemloft.net>
11645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11647 * sysdeps/sparc/nptl/internaltypes.h: Delete.
11648 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11649 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11650 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11651 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11652 * sysdeps/sparc/nptl/sem_init.c: Likewise.
11653 * sysdeps/sparc/nptl/sem_post.c: Likewise.
11654 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11655 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11656 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11657 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11658 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11659 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11661 2014-07-09 Andreas Schwab <schwab@suse.de>
11663 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11665 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11666 (do_test): Likewise.
11668 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11670 2014-07-09 Will Newton <will.newton@linaro.org>
11672 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11673 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11674 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11675 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11676 * sysdeps/hppa/start.S (_start): Likewise.
11678 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11680 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11682 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11685 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11687 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11688 after checking that it is non-NULL.
11690 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11692 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11694 * sysdeps/powerpc/memmove.c: Remove file.
11695 * sysdeps/powerpc/powerpc32/power4/memcopy.h
11696 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11697 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11698 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11699 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11700 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11701 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11702 string memmove instead of removed powerpc one.
11704 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11705 [weak_alias]: Fix compiler warning due trailing data.
11706 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11707 [weak_alias]: Likewise.
11708 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11709 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11711 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11712 (__libc_ifunc_impl_list): Add memmove functions.
11714 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11716 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11718 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11720 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11722 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11724 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11726 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11728 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11730 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11732 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11734 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11736 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11738 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11740 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11742 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11744 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11746 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11748 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11751 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11753 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11754 to avoid alignment traps in non-cacheable memory.
11755 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11759 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11760 file: multiarch power7 memmove.
11761 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11762 multiarch default memmove.
11763 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11764 multiarch memove for powerpc32/power4.
11766 * string/bcopy.c: Use full path to include memmove.c.
11767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11769 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11770 bcopy for powerpc64.
11771 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11772 bcopy for powerpc64.
11773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11774 and memmove implementations.
11775 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11776 optimized multiarch memmove for POWER7/powerpc64.
11777 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11778 default multiarch memmove for powerpc64.
11779 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11780 multiarch for powerpc64.
11781 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11782 for POWER7/powerpc64.
11783 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11784 memmove for POWER7/powerpc64.
11786 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11789 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11790 __ELF_NATIVE_CLASS equal to 64.
11792 2014-07-07 Roland McGrath <roland@hack.frob.com>
11794 * sysdeps/nptl/lowlevellock.h: File removed.
11796 * NEWS: NPTL is no longer an add-on!
11797 * nptl/internaltypes.h: Moved ...
11798 * sysdeps/nptl/internaltypes.h: ... here.
11799 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11800 * sysdeps/nptl/fork.c: Likewise.
11801 * sysdeps/nptl/gai_misc.h: Likewise.
11802 * sysdeps/nptl/librt-cancellation.c: Likewise.
11803 * sysdeps/nptl/jmp-unwind.c: Likewise.
11804 * sysdeps/nptl/setxid.h: Likewise.
11805 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11806 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11807 * sysdeps/unix/sysv/linux/arm/Implies: New file.
11808 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11809 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11810 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11811 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11812 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11813 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11814 * sysdeps/unix/sysv/linux/mips/Implies: New file.
11815 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11816 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11817 * sysdeps/unix/sysv/linux/sh/Implies: New file.
11818 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11819 * sysdeps/unix/sysv/linux/tile/Implies: New file.
11820 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11821 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11822 * nptl/Makeconfig: Moved ...
11823 * sysdeps/nptl/Makeconfig: ... here.
11824 * nptl/configure: File removed.
11825 * nptl/ANNOUNCE: File removed.
11826 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11827 * sysdeps/unix/sysv/linux/configure: Regenerated.
11829 * nptl/Makefile (routines): Add libc_pthread_init,
11830 libc_multiple_threads, register-atfork and unregister-atfork.
11831 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11832 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11833 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11834 pthread-pi-defines.sym, structsem.sym.
11835 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11836 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11837 [$(subdir) = nptl] (tests): Add tst-setgetname.
11838 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11839 * sysdeps/unix/sysv/linux/sigaction.c: Just include
11840 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11841 [!LIBC_SIGACTION]: Remove aliases.
11842 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11843 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11844 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11845 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11846 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11847 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11848 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11849 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11850 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11851 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11852 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11853 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11854 __libc_allocate_rtsig_private.
11855 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11856 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11857 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11858 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11859 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11860 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11861 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11862 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11863 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11864 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11865 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11866 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11867 * nptl/internaltypes.h: ... here.
11868 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11869 * sysdeps/nptl/jmp-unwind.c: ... here.
11870 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11871 * nptl/libc-lowlevellock.c: ... here.
11872 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11873 * nptl/libc_multiple_threads.c: ... here.
11874 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11875 * nptl/libc_pthread_init.c: ... here.
11876 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11877 * nptl/lowlevelbarrier.sym: ... here.
11878 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11879 * nptl/lowlevelcond.sym: ... here.
11880 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11881 * nptl/lowlevellock.c: ... here.
11882 * nptl/lowlevellock.h: Moved ...
11883 * sysdeps/nptl/lowlevellock.h: ... here.
11884 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11885 * nptl/lowlevelrobustlock.c: ... here.
11886 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11887 * nptl/lowlevelrobustlock.sym: ... here.
11888 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11889 * nptl/lowlevelrwlock.sym: ... here.
11890 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11891 * nptl/pt-fork.c: ... here.
11892 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11893 * nptl/pthread-pi-defines.sym: ... here.
11894 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11895 * nptl/pthread_attr_getaffinity.c: ... here.
11896 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11897 * nptl/pthread_attr_setaffinity.c: ... here.
11898 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11899 * nptl/pthread_mutex_cond_lock.c: ... here.
11900 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11902 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11903 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11904 * nptl/pthread_once.c: ... here, replacing old file.
11905 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11906 * nptl/pthread_yield.c: ... here.
11907 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11908 * nptl/register-atfork.c: ... here.
11909 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11910 * nptl/sem_post.c: ... here.
11911 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11912 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11913 * nptl/sem_timedwait.c: ... here.
11914 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11915 * nptl/sem_trywait.c: ... here.
11916 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11917 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11918 * nptl/sem_wait.c: ... here.
11919 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11920 * nptl/structsem.sym: ... here.
11921 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11922 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11923 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11924 * nptl/unregister-atfork.c: ... here.
11925 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11926 * nptl/unwindbuf.sym: ... here.
11927 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11928 * sysdeps/nptl/fork.c: ... here.
11929 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11930 * sysdeps/nptl/fork.h: ... here.
11931 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11932 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11933 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11934 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11935 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11936 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11937 * sysdeps/unix/sysv/linux/getpid.c: ... here.
11938 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11939 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11940 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11941 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11942 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11943 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11944 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11945 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11946 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11947 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11948 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11949 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11950 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11951 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11952 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11953 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11954 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11955 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11956 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11957 * sysdeps/unix/sysv/linux/raise.c: ... here.
11958 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11959 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11960 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11961 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11962 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11963 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11964 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11965 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11966 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11967 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11968 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11969 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11970 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11971 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11972 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11974 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11976 * sysdeps/generic/memcopy.h: Add comment for
11977 MEMCPY_OK_FOR_FWD_MEMMOVE.
11979 2014-07-04 Will Newton <will.newton@linaro.org>
11981 * string/memchr.c: Merge from gnulib.
11982 [_LIBC]: Remove conditionals.
11983 (__ptr_t): Remove define.
11984 (LONG_MAX_32_BITS): Likewise.
11985 (LONG_MAX): Likewise.
11986 (MEMCHR): Use ANSI prototype and optimize algorithm.
11988 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11990 2014-07-03 Roland McGrath <roland@hack.frob.com>
11992 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11993 (lll_futex_timed_wait_bitset): Fix syscall argument count.
11995 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11996 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11997 in a bare environment with no <stdlib.h> installed.
11998 * sysdeps/nptl/configure: Regenerated.
12000 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12002 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12003 AC_EGREP_CPP for kernel header checks, so they only succeed if
12004 including <linux/version.h> actually works right.
12005 * sysdeps/unix/sysv/linux/configure: Regenerated.
12007 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12008 value so it's not diagnosed as unused.
12010 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12011 thing) with "ifeq ($(subdir),rt)".
12013 2014-07-03 Richard Henderson <rth@redhat.com>
12015 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12016 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12017 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12019 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12020 (math_force_eval): New.
12022 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12023 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12025 * sysdeps/alpha/fpu/s_round.c: Remove file.
12026 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12028 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12029 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12030 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12031 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12032 (_dl_start, print_statistics): Likewise.
12033 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12034 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12036 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12037 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12038 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12039 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12040 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12041 (HP_SMALL_TIMING_AVAIL): Define.
12042 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12043 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12044 (HP_SMALL_TIMING_AVAIL): Define.
12045 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12046 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12048 * sysdeps/aarch64/hp-timing.h: New file.
12050 * sysdeps/generic/hp-timing.h: Remove dead comment.
12051 * sysdeps/generic/hp-timing-common.h: New file.
12052 * sysdeps/alpha/hp-timing.h: Include it.
12053 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12054 * sysdeps/i386/i686/hp-timing.h: Likewise.
12055 * sysdeps/ia64/hp-timing.h: Likewise.
12056 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12057 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12058 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12059 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12060 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12061 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12062 (hp_timing_t): New.
12064 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12065 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12066 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12067 * elf/rtld.c (_dl_start_final): Likewise.
12068 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12069 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12070 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12071 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12072 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12073 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12074 (HP_TIMING_DIFF_INIT): Remove.
12075 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12076 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12077 (HP_TIMING_DIFF_INIT): Remove.
12078 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12079 * sysdeps/i386/i686/hp-timing.c: Remove file.
12080 * sysdeps/x86_64/hp-timing.c: Remove file.
12081 * sysdeps/ia64/hp-timing.c: Remove file.
12082 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12083 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12084 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12085 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12087 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12088 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12089 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12090 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12091 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12092 (HP_TIMING_ACCUM): Remove.
12093 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12094 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12095 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12097 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12098 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12099 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12100 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12101 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12102 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12103 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12104 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12106 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12108 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
12110 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12112 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12114 Sync up with gettext.
12115 * intl/loadmsgcat.c: Define O_BINARY if not defined.
12116 [_MSC_VER]: Include malloc.h
12117 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12118 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12119 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
12120 TEMP_FAILURE_RETRY. Cast return of alloca.
12121 [!_LIBC] Call gl_rwlock_init.
12122 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12124 2014-07-02 Roland McGrath <roland@hack.frob.com>
12126 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12127 before checking its value.
12129 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12131 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12133 * debug/memcpy_chk.c: Don't include pagecopy.h.
12134 * debug/mempcpy_chk.c: Likewise.
12135 * string/memcpy.c: Likewise.
12136 * string/memmove.c: Likewise.
12137 * sysdeps/powerpc/memmove.c: Likewise.
12138 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
12139 definition of PAGE_COPY_FWD_MAYBE here...
12140 * sysdeps/generic/pagecopy.h: ... from here.
12141 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12143 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12144 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12146 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12150 (__libc_ifunc_impl_list): Likewise.
12151 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12152 multiarch strcat for PPC64.
12153 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12154 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12156 2014-07-02 Roland McGrath <roland@hack.frob.com>
12158 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12160 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12162 * intl/loadmsgcat.c: Remove declaration of
12163 get_sysdep_segment_value.
12164 (get_sysdep_segment_value): Use ISO C style.
12165 (_nl_load_domain): Use ISO C style. Get rid of redundant
12166 semicolon. Fix typo and formatting in comment.
12167 (_nl_unload_domain): Use ISO C style.
12169 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12171 2014-07-02 Will Newton <will.newton@linaro.org>
12173 * malloc/obstack.c: Merge from gnulib master.
12174 [HAVE_CONFIG_H]: Remove conditional code.
12175 [!_LIBC]: Include config.h.
12176 [!ELIDE_CODE]: Don't include inttypes.h, include
12177 stdint.h unconditionally.
12178 (print_and_abort): Mark as _Noreturn.
12179 (_obstack_allocated_p): Mark as __attribute_pure__.
12180 (obstack_free): Rename to __obstack_free.
12181 [!__attribute__]: Remove conditional code.
12182 * malloc/obstack.h: Merge from gnulib master.
12183 [__cplusplus]: Move conditional down.
12184 [!__attribute_pure__]: Define __attribute_pure__ here
12185 if it is not already defined.
12186 (_obstack_memory_used): Mark as __attribute_pure__.
12187 [!__obstack_free]: Define as obstack_free.
12188 [__GNUC__]: Remove check for ancient NeXT gcc.
12190 2014-07-02 Will Newton <will.newton@linaro.org>
12191 Paul Eggert <eggert@cs.ucla.edu>
12193 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12195 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12197 * resolv/gethnamaddr.c: Add comment warning that the file is
12200 2014-07-01 Carlos O'Donell <carlos@redhat.com>
12202 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12205 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12206 entry for aio_cancel and aio_cancel64.
12207 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12208 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12209 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12210 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12211 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12212 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12213 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12214 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12215 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12216 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12217 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12218 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12219 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12221 2014-07-01 Roland McGrath <roland@hack.frob.com>
12223 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12224 * nptl/pthread_mutex_lock.c: Likewise.
12225 * nptl/pthread_mutex_timedlock.c: Likewise.
12226 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12228 2014-07-01 Richard henderson <rth@redhat.com>
12230 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12231 (__isnan, __isnanl): Remove.
12232 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12234 * sysdeps/alpha/fpu/libm-test-ulps: Update.
12236 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12238 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12240 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12242 * resolv/nss_dns/dns-host.c (getanswer_r)
12243 [MULTI_PTRS_ARE_ALIASES]: Remove code.
12245 2014-07-01 Joseph Myers <joseph@codesourcery.com>
12247 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12248 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12250 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12251 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12253 2014-07-01 Roland McGrath <roland@hack.frob.com>
12255 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12256 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12258 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12259 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12261 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12262 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12264 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12265 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12267 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12268 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12269 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12270 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12272 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12273 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12274 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12275 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12276 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12278 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12280 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12281 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12282 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12283 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12284 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12285 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12286 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12287 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12288 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12289 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12290 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12291 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12292 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12293 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12294 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12295 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12296 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12297 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12298 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12299 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12301 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12302 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12303 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12304 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12305 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12306 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12307 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12308 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12310 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
12312 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12313 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12314 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12317 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12321 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12323 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12324 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12326 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12328 * sysdeps/arm/libm-test-ulps: Regenerated.
12330 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12331 Roland McGrath <roland@hack.frob.com>
12333 * test-skeleton.c (signal_handler): Kill the whole process group
12334 before killing the child individually.
12335 (main): Report any failure on `setpgid'.
12337 2014-06-30 Roland McGrath <roland@hack.frob.com>
12339 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12340 from _TLS_H to _ARM_NPTL_TLS_H.
12341 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12342 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12344 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12347 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12348 (__expm1l): Return argument unchanged when small but not
12351 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12352 include macro name.
12353 (_FP_UNPACK_RAW_1_P): Likewise.
12354 (_FP_PACK_RAW_1): Likewise.
12355 (_FP_PACK_RAW_1_P): Likewise.
12356 (_FP_MUL_MEAT_1_wide): Likewise.
12357 (_FP_MUL_MEAT_DW_1_hard): Likewise.
12358 (_FP_MUL_MEAT_1_hard): Likewise.
12359 (_FP_DIV_MEAT_1_imm): Likewise.
12360 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12361 (_FP_DIV_MEAT_1_udiv): Likewise.
12362 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12363 (_FP_UNPACK_RAW_2): Likewise.
12364 (_FP_UNPACK_RAW_2_P): Likewise.
12365 (_FP_PACK_RAW_2): Likewise.
12366 (_FP_PACK_RAW_2_P): Likewise.
12367 (_FP_MUL_MEAT_DW_2_wide): Likewise.
12368 (_FP_MUL_MEAT_2_wide): Likewise.
12369 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12370 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12371 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12372 (_FP_MUL_MEAT_2_gmp): Likewise.
12373 (_FP_DIV_MEAT_2_udiv): Likewise.
12374 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12375 (_FP_FRAC_SRL_4): Likewise.
12376 (_FP_FRAC_SRST_4): Likewise.
12377 (_FP_FRAC_SRS_4): Likewise.
12378 (_FP_UNPACK_RAW_4): Likewise.
12379 (_FP_UNPACK_RAW_4_P): Likewise.
12380 (_FP_PACK_RAW_4): Likewise.
12381 (_FP_PACK_RAW_4_P): Likewise.
12382 (_FP_MUL_MEAT_DW_4_wide): Likewise.
12383 (_FP_MUL_MEAT_4_wide): Likewise.
12384 (_FP_MUL_MEAT_4_gmp): Likewise.
12385 (umul_ppppmnnn): Likewise.
12386 (_FP_DIV_MEAT_4_udiv): Likewise.
12387 (__FP_FRAC_ADD_4): Likewise.
12388 (__FP_FRAC_SUB_3): Likewise.
12389 (__FP_FRAC_SUB_4): Likewise.
12390 (__FP_FRAC_DEC_3): Likewise.
12391 (__FP_FRAC_DEC_4): Likewise.
12392 (__FP_FRAC_ADDI_4): Likewise.
12393 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12394 (_FP_FRAC_SRL_8): Likewise.
12395 (_FP_FRAC_SRS_8): Likewise.
12397 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12398 include macro name.
12399 (FP_UNPACK_RAW_EP): Likewise.
12400 (FP_PACK_RAW_E): Likewise.
12401 (FP_PACK_RAW_EP): Likewise.
12402 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12403 (_FP_ISSIGNAN): Likewise.
12404 (_FP_ADD_INTERNAL): Likewise.
12405 (_FP_FMA): Likewise.
12406 (_FP_CMP): Likewise.
12407 (_FP_SQRT): Likewise.
12408 (_FP_TO_INT): Likewise.
12409 (_FP_FROM_INT): Likewise.
12410 (FP_EXTEND): Likewise.
12411 (_FP_DIV_MEAT_N_loop): Likewise.
12413 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12415 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12418 2014-06-29 Joseph Myers <joseph@codesourcery.com>
12421 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12422 result with correct sign in case of exponents that produce
12423 overflow except for X very close to 1.
12425 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
12427 mktime: merge #if/#ifdef usage from glibc
12428 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12429 as that works with both Glibc's and Gnulib's style.
12430 See thread starting at Siddhesh Poyarekar's bug report at:
12431 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12433 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12435 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12436 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12437 * sysdeps/tile/tilegx/memmove.c: Remove file.
12439 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12441 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12442 abi-name definition.
12443 * scripts/soversions.awk: Do not handle or generate ABI lines.
12444 * shlib-versions: Remove ABI entries.
12445 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12446 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12448 2014-06-27 Roland McGrath <roland@hack.frob.com>
12450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12451 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12452 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12453 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12454 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12455 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12456 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12458 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12460 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12461 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12462 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12463 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12464 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12465 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12466 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12467 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12469 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12471 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12472 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12474 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12476 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12477 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12478 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12479 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12481 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12484 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12485 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12486 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12487 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12489 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12491 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12493 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12494 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12495 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12498 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12499 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12500 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12501 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12503 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12504 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12506 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12507 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12508 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12509 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12511 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12514 Identical file removed.
12515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12517 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12518 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12519 Identical file removed.
12520 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12521 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12522 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12524 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12525 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12526 Identical file removed.
12527 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12528 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12529 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12530 Identical file removed.
12531 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12532 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12533 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12534 Identical file removed.
12535 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12536 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12537 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12538 Identical file removed.
12539 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12541 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12542 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12543 Identical file removed.
12544 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12546 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12547 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12548 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12549 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12550 Identical file removed.
12551 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12553 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12556 Identical file removed.
12557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12559 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12560 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12561 Identical file removed.
12562 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12564 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12566 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12567 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12568 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12569 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12571 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12572 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12573 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12575 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12576 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12577 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12578 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12579 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12581 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
12584 * nscd/nscd.c (monitor_child): Return exit status of child
12585 instead of return value from wait syscall.
12587 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12589 * configure.ac (libc_commonpagesize): Remove variable.
12590 (libc_relro_required): Likewise.
12591 (libc_cv_z_relro): Remove configure test.
12592 * configure: Regenerated.
12593 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12595 (libc_relro_required): Likewise.
12596 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12597 (libc_relro_required): Likewise.
12598 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12599 (libc_relro_required): Likewise.
12600 * sysdeps/arm/preconfigure: Regenerated.
12601 * sysdeps/ia64/preconfigure: Remove file.
12602 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12604 (libc_relro_required): Likewise.
12608 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12609 (__ieee754_yn): Set FE_TONEAREST mode internally and then
12610 recompute overflowing results in original rounding mode.
12611 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12612 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12613 recompute overflowing results in original rounding mode.
12614 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12615 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12616 recompute overflowing results in original rounding mode.
12617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12618 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12619 recompute overflowing results in original rounding mode.
12620 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12621 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12622 recompute overflowing results in original rounding mode.
12623 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12624 (libc_feholdsetround_ctx): New macro.
12625 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12626 * sysdeps/i386/fpu/libm-test-ulps: Update.
12627 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12629 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12631 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12632 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12633 corresponding .cpsetup call.
12635 2014-06-26 Roland McGrath <roland@hack.frob.com>
12637 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12638 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12639 * sysdeps/arm/Makefile [$(subdir) = csu]
12640 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12641 (static-only-routines): Add aeabi_read_tp here.
12642 (shared-only-routines): Add libc-aeabi_read_tp here.
12643 (CFLAGS-libc-start.c): Add -fexceptions here.
12644 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12645 (sysdep_routines, static-only-routines, shared-only-routines):
12646 Don't add to these here.
12647 (CFLAGS-libc-start.c): Likewise.
12649 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12650 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12651 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12652 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12653 * sysdeps/arm/Makefile [$(subdir) = rt]
12654 (librt-sysdep_routines, librt-shared-only-routines):
12655 Append rt-aeabi_unwind_cpp_pr1 here.
12656 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12657 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12658 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12659 (libpthread-sysdep_routines, libpthread-shared-only-routines):
12660 Append nptl-aeabi_unwind_cpp_pr1 here.
12661 (tests): Filter out tst-cleanupx4 here.
12662 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12663 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12664 Don't do those here.
12666 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12668 * scripts/list-sources.sh: Do not handle ports specially.
12670 2014-06-26 Roland McGrath <roland@hack.frob.com>
12672 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12673 * sysdeps/arm/feupdateenv.c: Likewise.
12675 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12677 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12679 * manual/texinfo.tex: Update to version 2014-05-05.10 with
12680 trailing whitespace removed.
12681 * scripts/config.guess: Update to version 2014-03-23.
12682 * scripts/config.sub: Update to version 2014-05-01
12683 * scripts/install-sh: Update to version 2013-12-25.23.
12684 * scripts/move-if-change: Update from gnulib.
12686 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12688 * debug/memmove_chk.c: Remove pagecopy.h include.
12690 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
12692 * time/mktime.c (leapyear): Remove inline keyword. The code is now
12693 identical to gnulib mktime.
12695 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12697 * configure.ac: Do not test for machine being rs6000. Do not test
12698 for powerpc*-*soft.
12699 * configure: Regenerated.
12702 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12704 * configure: Regenerated.
12705 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12706 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12707 Remove configure test.
12708 * sysdeps/arm/configure: Regenerated.
12709 * sysdeps/nptl/configure.ac: Do not check
12710 libc_cv_asm_cfi_directives.
12711 * sysdeps/nptl/configure: Regenerated.
12712 * sysdeps/x86_64/nptl/configure.ac: Remove file.
12713 * sysdeps/x86_64/nptl/configure: Remove generated file.
12714 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12716 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12718 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12720 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12721 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12722 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12725 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12726 instead of whether it is defined.
12727 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12728 * sysdeps/hppa/dl-machine.h: Likewise.
12729 * sysdeps/ia64/dl-machine.h: Likewise.
12730 * sysdeps/m68k/dl-machine.h: Likewise.
12731 * sysdeps/microblaze/dl-machine.h: Likewise.
12732 * sysdeps/mips/dl-machine.: Likewise.
12733 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12734 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12735 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12736 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12737 * sysdeps/sh/dl-machine.h: Likewise.
12738 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12739 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12740 * sysdeps/tile/dl-machine.h: Likewise.
12741 * sysdeps/x86_64/dl-machine.h: Likewise.
12743 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12745 (verify_persistent_db): Likewise.
12747 2014-06-26 Roland McGrath <roland@hack.frob.com>
12749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12750 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12752 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12755 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12758 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12760 Identical file removed.
12761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12762 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12764 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12766 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12768 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12770 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12773 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12775 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12777 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12780 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12782 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12784 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12786 Identical file removed.
12787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12788 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12790 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12793 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12796 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12798 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12800 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12802 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12804 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12807 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12810 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12812 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12815 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12817 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12819 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12821 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12822 * sysdeps/unix/sysv/linux/s390/Versions
12823 (libpthread: GLIBC_2.19): New version set.
12824 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12825 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12826 (librt: GLIBC_2.3.3): New version set.
12827 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12828 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12829 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12830 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12831 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12832 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12833 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12834 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12835 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12836 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12837 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12838 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12839 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12840 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12841 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12842 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12843 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12844 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12845 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12846 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12847 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12848 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12849 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12850 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12851 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12852 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12853 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12854 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12855 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12856 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12857 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12858 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12859 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12860 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12862 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12863 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12864 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12865 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12866 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12867 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12868 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12869 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12870 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12871 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12873 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12874 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12875 (__libc_vfork): Define the function under this name.
12876 [!NOT_IN_libc] (__vfork): Make this an alias.
12877 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12878 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12879 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12880 (__libc_vfork): Define the function under this name.
12881 [!NOT_IN_libc] (__vfork): Make this an alias.
12882 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12883 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12884 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12886 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12887 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12889 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12890 code that was previously under [RESET_PID].
12891 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12892 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12893 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12895 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12896 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12897 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12898 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12899 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12900 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12901 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12902 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12903 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12904 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12905 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12907 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12908 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12909 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12910 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12911 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12912 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12913 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12914 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12915 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12916 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12917 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12918 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12919 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12920 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12921 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12922 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12923 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12924 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12925 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12926 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12927 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12928 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12929 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12930 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12931 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12932 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12933 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12934 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12935 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12937 2014-06-25 Roland McGrath <roland@hack.frob.com>
12939 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12940 that was previously under [RESET_PID].
12941 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12943 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12945 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12946 not undefine and redefine.
12947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12948 [O_CLOEXEC]: Make code unconditional.
12949 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12950 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12951 <kernel-features.h>.
12952 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12953 conditional variable definition.
12954 (shm_open) [O_CLOEXEC]: Make code unconditional.
12955 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12958 * configure.ac (USE_REGPARMS): Don't define here.
12959 * configure: Regenerated.
12960 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12961 * sysdeps/i386/configure: Regenerated.
12963 * nptl/createthread.c: Don't include kernel-features.h.
12964 * nptl/pthread_cancel.c: Likewise.
12965 * nptl/pthread_condattr_setclock.c: Likewise.
12966 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12967 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12968 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12969 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12970 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12971 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12972 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12973 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12974 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12975 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12976 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12977 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12978 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12979 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12980 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12981 * nscd/gai.c: Likewise.
12982 * nss/nss_db/db-open.c: Likewise.
12983 * sysdeps/generic/ldsodefs.h: Likewise.
12984 * sysdeps/sh/nptl/tls.h: Likewise.
12985 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12986 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12987 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12988 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12989 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12990 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12991 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12992 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12993 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12994 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12995 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12996 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12997 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12998 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12999 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13000 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13001 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13002 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13003 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13004 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13005 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13006 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13007 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13008 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13009 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13010 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13011 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13012 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13013 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13014 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13015 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13016 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13017 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13018 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13019 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13020 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13021 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13022 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13023 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13024 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13025 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13026 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13027 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13028 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13029 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13030 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13031 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13032 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13033 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13034 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13035 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13036 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13037 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13038 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13039 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13040 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13041 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13042 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13065 * sysdeps/unix/sysv/linux/pread.c: Likewise.
13066 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13067 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13068 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13069 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13070 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13071 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13072 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13073 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13074 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13075 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13076 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13077 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13078 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13079 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13080 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13081 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13082 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13083 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13084 * sysdeps/unix/sysv/linux/system.c: Likewise.
13085 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13086 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13087 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13088 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13089 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13090 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13091 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13093 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13094 * configure: Regenerated.
13095 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13097 * configure.ac (base_machine): Do not set specially for particular
13099 * configure: Regenerated.
13100 * sysdeps/powerpc/preconfigure: Move machine and base_machine
13101 settings from configure.ac.
13102 * sysdeps/i386/preconfigure: New file.
13103 * sysdeps/s390/preconfigure: Likewise.
13104 * sysdeps/sh/preconfigure: Likewise.
13105 * sysdeps/sparc/preconfigure: Likewise.
13107 2014-06-25 Roland McGrath <roland@hack.frob.com>
13109 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13110 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13111 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13112 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13113 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13114 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13115 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13116 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13117 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13118 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13119 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13120 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13121 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13122 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13123 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13124 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13125 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13126 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13127 * sysdeps/sparc/sparc64/Makefile: ... appended here.
13129 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13130 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13131 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13132 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13133 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13134 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13135 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13136 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13137 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13138 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13139 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13140 * sysdeps/sparc/sparc32/sem_post.c: ... here.
13141 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13142 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13143 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13144 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13145 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13146 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13147 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13148 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13149 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13150 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13151 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13152 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13153 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13154 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13155 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13156 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13157 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13158 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13159 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13160 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13161 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13162 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13163 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13164 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13165 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13166 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13169 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13171 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13174 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13177 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13179 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13182 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13184 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13186 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13188 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13191 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13194 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13196 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13199 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13201 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13203 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13205 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13207 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13210 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13213 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13215 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13218 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13220 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13222 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13224 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13227 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13230 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13232 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13235 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13237 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13239 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13241 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13243 * timezone/checktab.awk: Update from tzcode 2014e.
13244 * timezone/private.h: Likewise.
13245 * timezone/tzfile.h: Likewise.
13246 * timezone/zdump.c: Likewise.
13247 * timezone/zic.c: Likewise.
13249 * sysdeps/unix/sysv/linux/kernel-features.h
13250 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13251 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13252 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13253 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13254 Remove conditional code.
13256 2014-06-25 Will Newton <will.newton@linaro.org>
13258 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13259 (_dl_arm_cap_flags): Add HWCAP2 values.
13260 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13261 (_DL_HWCAP_COUNT): Increase to 37.
13262 (_DL_HWCAP_LAST): New define.
13263 (_DL_HWCAP2_LAST): New define.
13264 (_dl_procinfo): Add support for printing
13266 (_dl_string_hwcap): Use _dl_hwcap_string.
13268 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13272 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13274 * README: Do not mention ports directory.
13276 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13278 * sysdeps/unix/sysv/linux/futimes.c: Do not include
13279 <kernel-features.h>.
13280 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13281 conditional variable definition.
13282 (__futimes): Update comment.
13283 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13284 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13287 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13288 arguments close to 0.
13289 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13291 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13293 * math/auto-libm-test-in: Add more tests of exp10.
13294 * math/auto-libm-test-out: Regenerated.
13295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13297 * sysdeps/unix/sysv/linux/kernel-features.h
13298 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13299 * sysdeps/unix/sysv/linux/readv.c: Do not include
13300 <kernel-features.h>.
13301 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13302 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13303 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13305 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13307 * sysdeps/unix/sysv/linux/writev.c: Do not include
13308 <kernel-features.h>.
13309 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13310 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13311 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13313 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13316 2014-06-25 Will Newton <will.newton@linaro.org>
13318 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13319 comment changes throughout the file. Remove checks
13320 for HAVE_*_H definitions that are not required.
13321 (__gen_tempname): Call abort if an unknown kind value is
13324 2014-06-25 Andreas Schwab <schwab@suse.de>
13327 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13328 scalbln, scalblnf, scalblnl in libc.
13330 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13333 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13334 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13335 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13337 2014-06-24 Roland McGrath <roland@hack.frob.com>
13339 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13340 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13341 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13342 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13344 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13345 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13347 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13348 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13349 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13350 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13351 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13352 * sysdeps/x86/bits/pthreadtypes.h: ... here.
13353 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13354 * sysdeps/x86/bits/semaphore.h: ... here.
13355 * sysdeps/x86/nptl/elide.h: Moved ...
13356 * sysdeps/x86/elide.h: ... here.
13357 * sysdeps/x86_64/nptl/Implies: File removed.
13358 * sysdeps/i386/nptl/Implies: File removed.
13360 2014-06-24 Joseph Myers <joseph@codesourcery.com>
13363 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13364 return the argument for normal arguments with exponent below -64.
13365 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13367 * math/auto-libm-test-in: Add another test of expm1.
13368 * math/auto-libm-test-out: Regenerated.
13371 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13372 calling __erfcl for arguments at least 16.
13373 * math/auto-libm-test-in: Add more tests of erf.
13374 * math/auto-libm-test-out: Regenerated.
13376 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13377 individual architectures.
13378 * sysdeps/unix/sysv/linux/configure: Regenerated.
13379 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13380 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13381 * sysdeps/unix/sysv/linux/powerpc/configure.ac
13382 (ldd_rewrite_script): Define variable.
13383 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13388 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13389 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13390 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13391 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13392 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13393 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13394 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13395 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13397 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13400 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13401 Rename member __data.d to __data.__elision_data.
13403 2014-06-24 Wilco <wdijkstr@arm.com>
13405 * NEWS: Add 16918 to fixed bug list.
13407 2014-06-24 Wilco <wdijkstr@arm.com>
13409 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13411 2014-06-24 Wilco <wdijkstr@arm.com>
13413 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13414 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13415 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13416 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13417 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13418 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13419 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13422 2014-06-24 Wilco <wdijkstr@arm.com>
13424 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13426 2014-06-24 Wilco <wdijkstr@arm.com>
13428 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13429 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13430 * sysdeps/arm/fesetround.c (fesetround): Remove space.
13431 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13433 2014-06-24 Wilco <wdijkstr@arm.com>
13436 * sysdeps/arm/feupdateenv.c (feupdateenv):
13437 Rewrite to reduce FPSCR accesses and fix return value.
13439 2014-06-24 Wilco <wdijkstr@arm.com>
13441 * sysdeps/arm/fclrexcpt.c (feclearexcept):
13442 Optimize to avoid unnecessary FPSCR writes.
13443 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13444 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13445 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13446 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13448 2014-06-24 Wilco <wdijkstr@arm.com>
13450 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13451 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13452 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13453 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13454 Call libc_fetestexcept_vfp.
13455 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13456 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13457 __SOFTFP__ ifdef so that they can be built for softfp.
13459 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13461 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13462 argument type signed char.
13464 * Makerules (check-abi): Dump diff of symlist if the test
13467 2014-06-23 Roland McGrath <roland@hack.frob.com>
13469 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13472 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13473 Remove unused variable ST.
13475 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13479 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13480 small arguments before calling __expm1.
13481 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13482 small arguments before calling __expm1f.
13483 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13484 small arguments before calling __expm1l.
13485 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13487 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13488 * math/auto-libm-test-in: Add more cosh tests. Do not allow
13489 spurious underflow for some cosh tests.
13490 * math/auto-libm-test-out: Regenerated.
13491 * sysdeps/i386/fpu/libm-test-ulps: Update.
13494 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13495 (__ieee754_y1): Set errno if return value overflows.
13496 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13497 (__ieee754_y1f): Set errno if return value overflows.
13498 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13499 (__ieee754_y1l): Set errno if return value overflows.
13500 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13501 (__ieee754_y1l): Set errno if return value overflows.
13502 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13503 * math/auto-libm-test-out: Regenerated.
13505 * math/gen-auto-libm-tests.c: Document use of
13506 ignore-zero-inf-sign.
13507 (input_flag_type): Add value flag_ignore_zero_inf_sign.
13508 (input_flags): Add ignore-zero-inf-sign.
13509 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13510 * math/gen-libm-test.pl (generate_testfile): Handle
13511 ignore-zero-inf-sign.
13512 * math/auto-libm-test-in: Mark some cpow tests with
13513 ignore-zero-inf-sign and some with xfail-rounding.
13514 * math/auto-libm-test-out: Regenerated.
13515 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13516 * sysdeps/i386/fpu/libm-test-ulps: Update.
13517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13520 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13521 overflowing or underflowing operations take place with sign of
13523 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13524 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13525 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13526 (__ieee754_pow): Recompute overflowing and underflowing results in
13527 original rounding mode.
13528 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13529 (__powl_helper): Allow negative argument X and scale negated value
13530 as needed. Avoid passing value outside [-1, 1] to f2xm1.
13531 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13532 overflowing or underflowing operations take place with sign of
13534 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13536 * math/auto-libm-test-in: Add more tests of pow.
13537 * math/auto-libm-test-out: Regenerated.
13538 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13539 (pow_tonearest_test_data): Remove.
13540 (pow_test_tonearest): Likewise.
13541 (pow_towardzero_test_data): Likewise.
13542 (pow_test_towardzero): Likewise.
13543 (pow_downward_test_data): Likewise.
13544 (pow_test_downward): Likewise.
13545 (pow_upward_test_data): Likewise.
13546 (pow_test_upward): Likewise.
13547 (main): Don't call removed functions.
13548 * sysdeps/i386/fpu/libm-test-ulps: Update.
13549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13551 2014-06-23 Roland McGrath <roland@hack.frob.com>
13553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13727 2014-06-23 Will Newton <will.newton@linaro.org>
13728 Wilco <wdijkstr@arm.com>
13730 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13731 implementation. Include get-rounding-mode.h.
13732 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13733 [!libc_feholdsetround_noex_ctx]: Define
13734 libc_feholdsetround_noex_ctx.
13735 [!libc_feholdsetround_noexf_ctx]: Define
13736 libc_feholdsetround_noexf_ctx.
13737 [!libc_feholdsetround_noexl_ctx]: Define
13738 libc_feholdsetround_noexl_ctx.
13739 (libc_feholdsetround_ctx): New function.
13740 (libc_feresetround_ctx): New function.
13741 (libc_feholdsetround_noex_ctx): New function.
13742 (libc_feresetround_noex_ctx): New function.
13744 2014-06-23 Roland McGrath <roland@hack.frob.com>
13746 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13747 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13748 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13749 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13750 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13751 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13753 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13754 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13755 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13756 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13757 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13758 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13759 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13760 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13761 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13762 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13765 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13767 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13768 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13769 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13770 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13773 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13774 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13775 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13776 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13777 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13778 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13779 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13780 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13782 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13783 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13785 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13786 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13787 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13790 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13791 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13792 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13793 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13794 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13795 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13796 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13797 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13798 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13799 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13801 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13803 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13804 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13805 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13806 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13808 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13809 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13810 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13811 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13812 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13813 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13814 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13815 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13817 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13818 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13819 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13820 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13821 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13822 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13824 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13825 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13826 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13827 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13828 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13830 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13831 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13832 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13833 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13834 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13835 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13836 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13837 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13839 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13840 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13841 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13842 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13843 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13844 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13845 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13846 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13847 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13848 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13849 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13850 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13851 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13852 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13853 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13854 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13855 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13856 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13857 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13859 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13861 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13862 (FALLOC_FL_COLLAPSE_RANGE): New macro.
13863 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13864 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13865 (IPV6_PMTUDISC_INTERFACE): Likewise.
13866 (IPV6_PMTUDISC_OMIT): Likewise.
13868 2014-06-23 Andreas Schwab <schwab@suse.de>
13870 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13871 Remove unused errout label.
13873 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13875 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13876 macro: hardware supports Vector Crypto instructions.
13878 2014-06-23 Will Newton <will.newton@linaro.org>
13880 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13881 rather than __builtin_expect.
13883 * elf/dl-lookup.c (undefined_msg): Remove variable.
13884 (_dl_lookup_symbol_x): Replace undefined_msg with string
13887 * elf/dl-lookup.c (do_lookup_unique): New function.
13888 (do_lookup_x): Move STB_GNU_UNIQUE handling code
13889 to a separate function.
13891 2014-06-23 Andreas Schwab <schwab@suse.de>
13894 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13895 before reading the next line.
13897 2014-06-23 Will Newton <will.newton@linaro.org>
13899 * test-skeleton.c (signal_handler): Use printf and %m
13900 rather than perror. Use printf rather than fprintf to
13901 stderr. Use puts rather than fputs to stderr.
13904 2014-06-22 Ludovic Courtès <ludo@gnu.org>
13906 * nscd/nscd.c (thread_info_t): Remove typedef.
13907 (thread_info): Remove variable.
13909 2014-06-21 Allan McRae <allan@archlinux.org>
13911 * NEWS: Mention CVE-2014-4043.
13913 2014-06-20 Roland McGrath <roland@hack.frob.com>
13915 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13916 * nptl/smp.h: ... here.
13918 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13920 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13921 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13922 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13923 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13925 * nptl/allocatestack.c: Include <stack-aliasing.h>.
13926 * nptl/stack-aliasing.h: New file.
13927 * sysdeps/i386/i686/stack-aliasing.h: New file.
13928 * sysdeps/i386/i686/nptl/Makefile: File removed.
13929 * sysdeps/x86_64/stack-aliasing.h: New file.
13930 * sysdeps/x86_64/nptl/Makefile
13931 (CFLAGS-pthread_create.c): Variable removed.
13933 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13934 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13936 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13937 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13940 2014-06-21 Joseph Myers <joseph@codesourcery.com>
13942 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13943 (__ASSUME_SIGFRAME_V2): Remove macro.
13944 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13945 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13946 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13947 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13948 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13949 Declare as function. Remove conditional macro definitions.
13950 (__default_rt_sa_restorer): Likewise.
13951 (__default_sa_restorer_v1): Remove declaration.
13952 (__default_sa_restorer_v2): Likewise.
13953 (__default_rt_sa_restorer_v1): Likewise.
13954 (__default_rt_sa_restorer_v2): Likewise.
13955 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13956 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13957 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13959 2014-06-20 Roland McGrath <roland@hack.frob.com>
13961 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13962 (libpthread-routines): Add sysdep.
13963 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13964 * sysdeps/unix/sysv/linux/sparc/Versions
13965 (libpthread: GLIBC_2.3.3): New version set.
13966 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13967 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13968 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13969 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13970 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13971 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13973 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13974 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13975 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13976 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13977 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13978 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13979 * sysdeps/sparc/nptl/sem_init.c: ... here.
13980 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13981 * sysdeps/sparc/nptl/sem_post.c: ... here.
13982 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13983 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13984 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13985 * sysdeps/sparc/nptl/sem_wait.c: ... here.
13986 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13987 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13988 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13989 (libpthread-routines): Add cpu_relax.
13990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13992 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13993 (librt: GLIBC_2.3.3): New version set.
13994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13995 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13996 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13997 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14000 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14003 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14004 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14005 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14007 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14009 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14010 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14011 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14014 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14018 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14022 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14026 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14030 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14034 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14037 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14039 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14041 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14043 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14045 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14048 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14050 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14052 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14054 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14056 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14057 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14058 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14059 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14060 * nscd/nscd.c: Likewise.
14061 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14062 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14063 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14064 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14066 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14067 <kernel-features.h>.
14068 (init_mq_netlink): Remove conditional have_sock_cloexec
14069 definitions. Remove code conditional on have_sock_cloexec < 0.
14070 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14071 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14072 * sysdeps/unix/sysv/linux/opensock.c: Do not include
14073 <kernel-features.h>.
14074 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14075 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14077 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14079 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14080 Add tests for memset_chk and memset.
14082 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14085 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14088 * elf/tst-dl-iter-static.c: New file.
14089 * elf/Makefile (tests-static): Add tst-dl-iter-static.
14091 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14094 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14096 * sysdeps/unix/sysv/linux/kernel-features.h
14097 (__ASSUME_F_GETOWN_EX): Remove macro.
14098 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14099 <kernel-features.h>.
14100 (miss_F_GETOWN_EX): Remove variable or macro.
14101 (do_fcntl): Do not check miss_F_GETOWN_EX.
14102 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14104 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14106 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14107 [!__ASSUME_AT_RANDOM]: Remove conditional code.
14108 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14110 * sysdeps/unix/sysv/linux/kernel-features.h
14111 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14112 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14113 [ADJ_OFFSET_SS_READ]: Make code unconditional.
14114 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14116 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14119 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14120 Fix calculation of the symbol's value.
14121 * sysdeps/arm/tst-armtlsdescloc.c: New file.
14122 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14123 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14124 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14125 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14126 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14127 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14128 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14129 (modules-names): Add `tst-armtlsdescmod',
14130 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14131 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14132 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14133 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14134 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14135 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14136 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14137 ($(objpfx)tst-armtlsdescloc): New dependency.
14138 ($(objpfx)tst-armtlsdescextnow): Likewise.
14139 ($(objpfx)tst-armtlsdescextlazy): Likewise.
14140 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14141 TLS scheme support.
14142 * sysdeps/arm/configure: Regenerate.
14144 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14146 * include/fcntl.h (__atfct_seterrno): Remove prototype.
14147 (__atfct_seterrno_2): Likewise.
14148 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14149 <kernel-features.h>.
14150 (__ASSUME_ATFCTS): Do not undefine and redefine.
14151 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14152 (__have_atfcts): Remove conditional definition.
14153 (__fxstatat([__NR_fstatat64]: Make code unconditional.
14154 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14155 unreachable if [__ASSUME_ATFCTS].
14156 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14157 not undefine and redefine.
14158 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14159 <kernel-features.h>.
14160 (faccessat) [__NR_faccessat]: Make code unconditional.
14161 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14162 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14163 <kernel-features.h>.
14164 (fchmodat) [__NR_fchmodat]: Make code unconditional.
14165 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14166 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14167 <kernel-features.h>.
14168 (fchownat) [__NR_fchownat]: Make code unconditional.
14169 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14170 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14171 <kernel-features.h>.
14172 (futimesat) [__NR_futimesat]: Make code unconditional.
14173 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14174 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14175 <kernel-features.h>.
14176 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14177 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14178 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14179 <kernel-features.h>.
14180 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14181 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14182 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14183 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14184 <kernel-features.h>.
14185 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14186 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14187 * sysdeps/unix/sysv/linux/linkat.c: Do not include
14188 <kernel-features.h>.
14189 (linkat) [__NR_linkat]: Make code unconditional.
14190 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14191 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14192 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14193 <kernel-features.h>.
14194 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14195 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14196 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14197 <kernel-features.h>.
14198 (mkdirat) [__NR_mkdirat]: Make code unconditional.
14199 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14200 * sysdeps/unix/sysv/linux/openat.c: Do not include
14201 <kernel-features.h>.
14202 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14203 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14204 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14205 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14206 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14207 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14208 <kernel-features.h>.
14209 (readlinkat) [__NR_readlinkat]: Make code unconditional.
14210 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
14211 result of INLINE_SYSCALL directly, not via int variable.
14212 * sysdeps/unix/sysv/linux/renameat.c: Do not include
14213 <kernel-features.h>.
14214 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14215 (renameat) [__NR_renameat]: Make code unconditional.
14216 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14217 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14218 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14219 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14220 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14221 (__ASSUME_ATFCTS): Do not undefine and redefine.
14222 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14223 <kernel-features.h>.
14224 (symlinkat) [__NR_symlinkat]: Make code unconditional.
14225 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14226 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14227 <kernel-features.h>.
14228 (unlinkat) [__NR_unlinkat]: Make code unconditional.
14229 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14230 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14231 (__ASSUME_ATFCTS): Do not undefine and redefine.
14232 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14233 <kernel-features.h>.
14234 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14235 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14236 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14237 <kernel-features.h>.
14238 (__xmknodat) [__NR_mknodat]: Make code unconditional.
14239 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14241 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14243 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14245 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
14248 * posix/regcomp.c (parse_reg_exp): Deallocate partially
14249 constructed tree before returning error.
14250 * posix/bug-regexp36.c: Expand test case.
14252 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
14255 * math/libm-test.inc (scalbln_test_date):
14256 Add errno expectations.
14257 * math/w_scalblnf.c: New File.
14258 Add wrapper which checks for setting errno to ERANGE.
14259 Add weak_alias for corresponding scalbln function.
14260 * math/w_scalbln.c: Likewise.
14261 * math/w_scalblnl.c: Likewise.
14262 * math/Makefile (libm-calls): Add w_scalbln.
14263 * sysdeps/ieee754/flt-32/s_scalblnf.c:
14264 Remove weak_alias for corresponding scalbln function.
14265 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14266 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14267 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14268 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14269 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14270 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14271 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14272 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14273 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14274 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14275 Remove long_double_symbol for scalblnl function in libm, libc.
14276 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14277 Add wrapper which checks for setting errno to ERANGE.
14278 Add long_double_symbol for scalblnl function in libm, libc.
14279 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14280 Remove long_double_symbol for scalblnl in libm.
14281 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14282 Add wrapper which checks for setting errno to ERANGE.
14283 Add long_double_symbol for scalblnl function in libm.
14284 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14285 Do not use wrapper because of own implementation.
14287 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
14289 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14290 3 bytes for __pad1 for x32.
14291 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14293 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
14294 H.J. Lu <hongjiu.lu@intel.com>
14296 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14297 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14298 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14299 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14300 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14302 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
14305 * posix/regcomp.c (parse_expression): Deallocate partially
14306 constructed tree before returning error.
14307 * posix/Makefile.c (tests): Add bug-regex36.
14308 (generated): Add bug-regex36.mtrace.
14309 (tests-special): Add $(objpfx)bug-regex36-mem.out
14310 (bug-regex36-ENV): New variable.
14311 ($(objpfx)bug-regex36-mem.out): New rule.
14312 * posix/bug-regex36.c: New file.
14314 2014-06-19 Will Newton <will.newton@linaro.org>
14316 * malloc/malloc.c (systrim): If extra is zero then return
14319 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14321 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14323 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
14325 * sysdeps/aarch64/strchr.S: New file.
14327 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14330 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14331 from arguments -2 or below.
14332 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14333 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14335 2014-06-18 Andreas Schwab <schwab@suse.de>
14338 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14339 of a bracket expr not to run off the end of the string.
14340 * posix/Makefile (tests): Add tst-fnmatch3.
14341 * posix/tst-fnmatch3.c: New file.
14343 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14345 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14346 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14347 [$(cross-compiling) = no]: Likewise.
14348 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14349 [$(cross-compiling) = no]: Likewise.
14351 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14354 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14355 double, adjusted for any remainder from the high double.
14356 * math/libm-test.inc (nearbyint): Add tests.
14359 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14361 * nptl/sysdeps/powerpc/Makefile: Moved ...
14362 * sysdeps/powerpc/nptl/Makefile: ... here.
14363 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14364 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14365 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14366 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14367 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14368 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14369 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14370 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14371 * nptl/sysdeps/powerpc/tls.h: Moved ...
14372 * sysdeps/powerpc/nptl/tls.h: ... here.
14374 2014-06-16 Joseph Myers <joseph@codesourcery.com>
14377 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14378 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14379 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14380 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14381 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14382 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14383 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14384 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14385 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14387 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
14389 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14391 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
14393 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14396 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14399 2014-06-16 Florian Weimer <fweimer@redhat.com>
14402 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14403 non-executed part of the test.
14405 2014-06-16 Andreas Schwab <schwab@suse.de>
14407 * string/bits/string2.h (strdup, strndup): Update feature guard.
14409 2014-06-14 David S. Miller <davem@davemloft.net>
14411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14413 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
14415 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14416 that was previously under [RESET_PID].
14417 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14419 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14420 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14421 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14422 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14423 (__libc_vfork): New strong alias.
14424 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14426 2014-06-14 Andi Kleen <ak@linux.intel.com>
14428 * sysdeps/generic/elide.h: New file.
14430 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14432 * Makefile (installed-headers): Adjust path of pthread.h header.
14434 2014-06-13 Roland McGrath <roland@hack.frob.com>
14436 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14437 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14438 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14439 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14441 * nptl/sysdeps/s390/Makefile: Moved ...
14442 * sysdeps/s390/nptl/Makefile: ... here.
14443 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14444 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14445 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14446 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14447 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14448 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14449 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14450 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14451 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14452 * sysdeps/s390/nptl/pthreaddef.h: ... here.
14453 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14454 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14455 * nptl/sysdeps/s390/tls.h: Moved ...
14456 * sysdeps/s390/nptl/tls.h: ... here.
14458 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14459 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14461 2014-06-13 David S. Miller <davem@davemloft.net>
14463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14466 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14470 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14471 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14472 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14473 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14474 Remove RESET_PID cpp guards.
14475 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14476 Remove RESET_PID cpp guards.
14477 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14479 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
14481 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14484 2014-06-13 Andi Kleen <ak@linux.intel.com>
14486 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14487 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14488 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14489 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14490 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14491 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14492 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14493 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14494 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14495 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14496 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14497 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14498 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14499 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14500 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14501 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14502 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14503 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14504 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14505 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14507 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14508 (pthread_rwlock_rdlock): Add elision.
14509 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14510 (pthread_rwlock_wrlock): Add elision.
14511 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14512 (pthread_rwlock_trywrlock): Add elision.
14513 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14514 (pthread_rwlock_tryrdlock): Add elision.
14515 * nptl/pthread_rwlock_unlock.c: Include elide.h.
14516 (pthread_rwlock_tryrdlock): Add elision unlock.
14517 * nptl/sysdeps/pthread/pthread.h:
14518 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14519 (PTHREAD_RWLOCK_INITIALIZER,
14520 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14521 Handle new elision field.
14522 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14523 * sysdeps/arm/nptl/bits/pthreadtypes.h
14524 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14525 * sysdeps/sh/nptl/bits/pthreadtypes.h
14526 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14527 * sysdeps/tile/nptl/bits/pthreadtypes.h
14528 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14529 * sysdeps/a/nptl/bits/pthreadtypes.h
14530 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14531 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14532 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14533 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14534 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14535 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14537 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14539 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14541 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14542 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14543 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14544 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14545 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14546 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14547 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14548 (elision_init): Set try_xbegin to zero when no RTM.
14549 * sysdeps/x86/nptl/bits/pthreadtypes.h
14550 (pthread_rwlock_t): Change __pad1 to __rwelision.
14551 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14553 2014-06-13 Andi Kleen <ak@linux.intel.com>
14555 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14556 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14557 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14558 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14560 2014-06-13 Meador Inge <meadori@codesourcery.com>
14563 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14564 that the cached result has been set before returning it.
14566 2014-06-12 Roland McGrath <roland@hack.frob.com>
14568 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14569 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14570 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14571 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14572 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14573 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14575 * nptl/sysdeps/sparc/Makefile: Moved ...
14576 * sysdeps/sparc/nptl/Makefile: ... here.
14577 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14578 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14579 * nptl/sysdeps/sparc/tls.h: Moved ...
14580 * sysdeps/sparc/nptl/tls.h: ... here.
14581 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14582 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14583 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14584 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14585 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14586 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14587 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14588 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14589 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14590 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14591 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14592 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14593 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14594 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14595 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14596 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14597 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14598 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14600 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14601 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14603 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14604 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14606 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14607 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14610 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14612 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14613 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14615 * sysdeps/pthread/posix-timer.h: Include <list.h>.
14616 (struct list_links): Type removed.
14617 (struct thread_node, struct timer_node): Replace struct list_links
14618 with struct list_head.
14619 (list_unlink_ip): Likewise.
14620 * sysdeps/pthread/timer_routines.c
14621 (timer_free_list, thread_free_list, thread_active_list): Likewise.
14622 (list_append, list_insbefore): Likewise.
14623 (list_init): Function removed.
14624 (thread_init, init_module): Use INIT_LIST_HEAD instead.
14625 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14626 * sysdeps/pthread/Makefile: ... here, new file.
14628 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14629 * sysdeps/nptl/Implies: ... here.
14630 * sysdeps/unix/sysv/linux/Implies: Add nptl.
14631 * nptl/sysdeps/pthread/list.h: Moved ...
14632 * include/list.h: ... here.
14633 * nptl/sysdeps/pthread/createthread.c: Moved ...
14634 * nptl/createthread.c: ... here.
14635 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14636 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14637 * nptl/pt-longjmp.c: ... here.
14638 * nptl/sysdeps/pthread/Makefile: Moved ...
14639 * sysdeps/nptl/Makefile: ... here.
14640 * nptl/sysdeps/pthread/Subdirs: Moved ...
14641 * sysdeps/nptl/Subdirs: ... here.
14642 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14643 * sysdeps/nptl/aio_misc.h: ... here.
14644 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14645 * sysdeps/nptl/bits/libc-lock.h: ... here.
14646 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14647 * sysdeps/nptl/bits/libc-lockP.h: ... here.
14648 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14649 * sysdeps/nptl/bits/stdio-lock.h: ... here.
14650 * nptl/sysdeps/pthread/configure: Moved ...
14651 * sysdeps/nptl/configure: ... here.
14652 * nptl/sysdeps/pthread/configure.ac: Moved ...
14653 * sysdeps/nptl/configure.ac: ... here.
14654 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14655 * sysdeps/nptl/gai_misc.h: ... here.
14656 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14657 * sysdeps/nptl/librt-cancellation.c: ... here.
14658 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14659 * sysdeps/nptl/malloc-machine.h: ... here.
14660 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14661 * sysdeps/nptl/pthread-functions.h: ... here.
14662 * nptl/sysdeps/pthread/pthread.h: Moved ...
14663 * sysdeps/nptl/pthread.h: ... here.
14664 * nptl/sysdeps/pthread/setxid.h: Moved ...
14665 * sysdeps/nptl/setxid.h: ... here.
14666 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14667 * sysdeps/nptl/sigfillset.c: ... here.
14668 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14669 * sysdeps/nptl/tcb-offsets.h: ... here.
14670 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14671 * sysdeps/nptl/tst-mqueue8x.c: ... here.
14672 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14673 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14674 * nptl/sysdeps/pthread/allocalim.h: Moved ...
14675 * sysdeps/pthread/allocalim.h: ... here.
14676 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14677 * sysdeps/pthread/bits/sigthread.h: ... here.
14678 * nptl/sysdeps/pthread/flockfile.c: Moved ...
14679 * sysdeps/pthread/flockfile.c: ... here.
14680 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14681 * sysdeps/pthread/ftrylockfile.c: ... here.
14682 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14683 * sysdeps/pthread/funlockfile.c: ... here.
14684 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14685 * sysdeps/pthread/posix-timer.h: ... here.
14686 * nptl/sysdeps/pthread/timer_create.c: Moved ...
14687 * sysdeps/pthread/timer_create.c: ... here.
14688 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14689 * sysdeps/pthread/timer_delete.c: ... here.
14690 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14691 * sysdeps/pthread/timer_getoverr.c: ... here.
14692 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14693 * sysdeps/pthread/timer_gettime.c: ... here.
14694 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14695 * sysdeps/pthread/timer_routines.c: ... here.
14696 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14697 * sysdeps/pthread/timer_settime.c: ... here.
14698 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14699 * sysdeps/pthread/tst-timer.c: ... here.
14700 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14701 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14703 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14704 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14706 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14707 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14708 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14709 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14710 Update #include target.
14711 * nptl/sysdeps/i386/i686/Makefile: Moved ...
14712 * sysdeps/i386/i686/nptl/Makefile: ... here.
14713 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14714 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14715 Update #include target.
14716 * nptl/sysdeps/i386/i686/tls.h: Moved ...
14717 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
14718 * nptl/sysdeps/i386/Makefile: Moved ...
14719 * sysdeps/i386/nptl/Makefile: ... here.
14720 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14721 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14722 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14723 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14724 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14725 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14726 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14727 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14728 * sysdeps/i386/nptl/pthreaddef.h: ... here.
14729 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14730 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14731 * nptl/sysdeps/i386/tls.h: Moved ...
14732 * sysdeps/i386/nptl/tls.h: ... here.
14734 * sysdeps/sh/Makefile [$(subdir) = csu]
14735 (gen-as-const-headers): Add tcb-offsets.sym.
14736 * nptl/sysdeps/sh/Makefile: File removed.
14737 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14738 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14739 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14740 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14741 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14742 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14743 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14744 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14745 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14746 * sysdeps/sh/nptl/pthreaddef.h: ... here.
14747 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14748 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14749 * nptl/sysdeps/sh/tls.h: Moved ...
14750 * sysdeps/sh/nptl/tls.h: ... here.
14751 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14752 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14753 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14754 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14755 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14756 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14757 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14758 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14759 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14760 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14761 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14762 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14763 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14764 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14765 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14766 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14767 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14768 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14769 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14770 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14771 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14772 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14773 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14774 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14775 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14777 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14778 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14780 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14781 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14782 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14783 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14784 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14785 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14786 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14787 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14788 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14789 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14790 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14791 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14792 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14793 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14794 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14795 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14796 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14797 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14798 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14800 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14802 * posix/spawn_faction_addopen.c: Include string.h.
14804 2014-06-11 Roland McGrath <roland@hack.frob.com>
14806 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14807 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14808 * nptl/sysdeps/x86_64/Makefile: Moved ...
14809 * sysdeps/x86_64/nptl/Makefile: ... here.
14810 * nptl/sysdeps/x86_64/configure: Moved ...
14811 * sysdeps/x86_64/nptl/configure: ... here.
14812 * nptl/sysdeps/x86_64/configure.ac: Moved ...
14813 * sysdeps/x86_64/nptl/configure.ac: ... here.
14814 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14815 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14816 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14817 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14818 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14819 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14820 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14821 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14822 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14823 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14824 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14825 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14826 * nptl/sysdeps/x86_64/tls.h: Moved ...
14827 * sysdeps/x86_64/nptl/tls.h: ... here.
14828 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14829 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14830 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14831 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14833 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14835 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14839 2014-06-11 Joseph Myers <joseph@codesourcery.com>
14841 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14843 [POSIX] (off_t): Likewise.
14844 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14845 [POSIX] (S_ISBLK): Require macro.
14846 [POSIX] (S_ISCHR): Likewise.
14847 [POSIX] (S_ISDIR): Likewise.
14848 [POSIX] (S_ISFIFO): Likewise.
14849 [POSIX] (S_ISREG): Likewise.
14850 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14852 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14854 [POSIX] (time_t): Likewise.
14855 [POSIX] (timer_t): Likewise.
14857 2014-06-11 Florian Weimer <fweimer@redhat.com>
14860 * posix/spawn_int.h (struct __spawn_action): Make the path string
14861 non-const to support deallocation.
14862 * posix/spawn_faction_addopen.c
14863 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14864 * posix/spawn_faction_destroy.c
14865 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
14866 path in all spawn_do_open actions.
14867 * posix/tst-spawn.c (do_test): Exercise the copy operation in
14868 posix_spawn_file_actions_addopen.
14870 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
14872 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14873 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14874 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14875 conditional code always true.
14876 (__libc_vfork): New alias.
14878 2014-06-11 Roland McGrath <roland@hack.frob.com>
14880 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14881 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14883 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14885 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14886 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14888 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14889 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14891 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14892 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14894 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14896 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14897 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14898 multiarch strcmp for PPC64.
14899 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14900 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14902 multiarch optimizations.
14903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14904 (__libc_ifunc_impl_list): Likewise.
14906 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14908 * benchtests/scripts/validate_benchout.py: New script.
14909 * benchtests/Makefile (bench-func): Call it.
14910 * benchtests/scripts/benchout.schema.json: New file.
14912 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
14914 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14915 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14916 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14917 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14918 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14919 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14920 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14921 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14922 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14923 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14924 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14925 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14926 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14927 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14928 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14929 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15033 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15034 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15035 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15036 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15037 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15039 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15041 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15042 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15043 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15044 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15045 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15046 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15047 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15048 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15049 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15050 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15051 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15052 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15053 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15055 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15056 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15058 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15059 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15060 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15061 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15063 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15064 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15065 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15066 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15067 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15068 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15069 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15071 2014-06-10 Wilco <wdijkstr@arm.com>
15073 * math/test-fenv-return.c: New file.
15074 * math/Makefile: Add new test test-fenv-return.
15076 2014-06-10 Joseph Myers <joseph@codesourcery.com>
15079 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15080 when x - 1 is zero.
15081 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15082 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15083 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15084 0.0L for an argument of 1.0L.
15085 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15087 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15088 value when x - 1 is zero.
15089 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15090 * sysdeps/i386/fpu/libm-test-ulps: Update.
15091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15093 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
15096 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15098 2014-06-09 Roland McGrath <roland@hack.frob.com>
15100 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15101 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15103 2014-06-09 Roland McGrath <roland@hack.frob.com>
15105 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15106 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15108 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15109 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15111 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15112 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15114 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15115 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15117 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15118 if not already defined.
15119 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15120 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15121 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15122 (TLS_INIT_TP): Use it.
15123 (TLS_DEFINE_INIT_TP): New macro.
15124 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15126 2014-06-09 Joseph Myers <joseph@codesourcery.com>
15128 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15130 [POSIX] (IXANY): Likewise.
15131 [POSIX] (OLCUC): Likewise.
15132 [POSIX || POSIX2008] (CBAUD): Do not allow.
15133 [POSIX || POSIX2008] (DEFECHO): Likewise.
15134 [POSIX || POSIX2008] (ECHOCTL): Likewise.
15135 [POSIX || POSIX2008] (ECHOKE): Likewise.
15136 [POSIX || POSIX2008] (ECHOPRT): Likewise.
15137 [POSIX || POSIX2008] (EXTA): Likewise.
15138 [POSIX || POSIX2008] (EXTB): Likewise.
15139 [POSIX || POSIX2008] (FLUSHO): Likewise.
15140 [POSIX || POSIX2008] (LOBLK): Likewise.
15141 [POSIX || POSIX2008] (PENDIN): Likewise.
15142 [POSIX || POSIX2008] (SWTCH): Likewise.
15143 [POSIX || POSIX2008] (VDISCARD): Likewise.
15144 [POSIX || POSIX2008] (VDSUSP): Likewise.
15145 [POSIX || POSIX2008] (VLNEXT): Likewise.
15146 [POSIX || POSIX2008] (VREPRINT): Likewise.
15147 [POSIX || POSIX2008] (VSTATUS): Likewise.
15148 [POSIX || POSIX2008] (VWERASE): Likewise.
15149 (B*): Change to B[0123456789]*.
15150 * conform/data/time.h-data [POSIX || UNIX98]
15151 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15152 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15153 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15154 [POSIX] (tm_*): Do not allow.
15156 2014-06-07 Joseph Myers <joseph@codesourcery.com>
15158 * Makefile (install): Don't set LANGUAGE.
15159 * Makefile.in (install): Likewise.
15160 * assert/Makefile (test-assert-ENV): Remove variable.
15161 (test-assert-perr-ENV): Likewise.
15162 * elf/Makefile (neededtest4-ENV): Likewise.
15163 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15164 [$(cross-compiling) = no]: Don't set LANGUAGE.
15165 * io/ftwtest-sh (LANG): Remove variable.
15166 * libio/Makefile (tst-widetext-ENV): Likewise.
15167 * manual/install.texi (Running make install): Don't refer to
15168 environment settings for make install.
15169 * INSTALL: Regenerated.
15170 * nptl/tst-tls6.sh: Don't set LANG.
15171 * posix/globtest.sh (LANG): Remove variable.
15172 * string/Makefile (tester-ENV): Likewise.
15173 (inl-tester-ENV): Likewise.
15174 (noinl-tester-ENV): Likewise.
15175 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15176 [$(cross-compiling) = no]: Don't set LANGUAGE.
15177 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15178 without explicit environment settings.
15180 2014-06-06 Roland McGrath <roland@hack.frob.com>
15182 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15183 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15184 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15185 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15187 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
15189 * crypt/crypt-private.h [DOS]: Add some includes taken from the
15190 other files in the crypt directory.
15191 * crypt/crypt.c: Remove duplicate includes.
15192 * crypt/crypt-entry.c: Likewise.
15193 * crypt/crypt_util.c: Likewise.
15195 2014-06-06 Joseph Myers <joseph@codesourcery.com>
15197 * Makeconfig (run-program-env): New variable.
15198 (run-program-prefix-before-env): Likewise.
15199 (run-program-prefix-after-env): Likewise.
15200 (run-program-prefix): Define in terms of new variables.
15201 (built-program-cmd-before-env): New variable.
15202 (built-program-cmd-after-env): Likewise.
15203 (built-program-cmd): Define in terms of new variables.
15204 (test-program-prefix-before-env): New variable.
15205 (test-program-prefix-after-env): Likewise.
15206 (test-program-prefix): Define in terms of new variables.
15207 (test-program-cmd-before-env): New variable.
15208 (test-program-cmd-after-env): Likewise.
15209 (test-program-cmd): Define in terms of new variables.
15210 * Rules (make-test-out): Use $(run-program-env).
15211 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15212 (help): Do not mention environment variables. Mention
15213 --timeoutfactor option.
15214 (timeoutfactor): New variable.
15215 (blacklist_exports): Remove function.
15216 (exports): Remove variable.
15217 (command): Do not include ${exports}.
15218 * manual/install.texi (Configuring and compiling): Do not mention
15219 test wrappers preserving environment variables. Mention that last
15220 assignment to a variable must take precedence.
15221 * INSTALL: Regenerated.
15222 * benchtests/Makefile (run-bench): Use $(run-program-env).
15223 * catgets/Makefile ($(objpfx)test1.cat): Use
15224 $(built-program-cmd-before-env), $(run-program-env) and
15225 $(built-program-cmd-after-env).
15226 ($(objpfx)test2.cat): Do not specify environment variables
15228 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15229 $(run-program-env) and $(built-program-cmd-after-env).
15230 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15231 $(run-program-env) and $(test-program-cmd-after-env).
15232 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15234 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15235 run_program_env and test_program_cmd_after_env arguments.
15236 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15237 * elf/tst-pathopt.sh: Use run_program_env argument.
15238 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15239 $(test-wrapper-env) and $(run-program-env).
15240 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15241 run_program_env arguments.
15242 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15243 * intl/Makefile ($(objpfx)tst-gettext.out): Use
15244 $(test-program-prefix-before-env), $(run-program-env) and
15245 $(test-program-prefix-after-env).
15246 ($(objpfx)tst-gettext2.out): Likewise.
15247 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15248 run_program_env and test_program_prefix_after_env arguments.
15249 * intl/tst-gettext2.sh: Likewise.
15250 * intl/tst-gettext4.sh: Do not set environment variables
15252 * intl/tst-gettext6.sh: Likewise.
15253 * intl/tst-translit.sh: Likewise.
15254 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15255 $(test-program-prefix-before-env), $(run-program-env) and
15256 $(test-program-prefix-after-env).
15257 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15258 run_program_env and test_program_prefix_after_env arguments.
15259 * math/Makefile (run-regen-ulps): Use $(run-program-env).
15260 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15261 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
15262 explicitly with each use of ${test_wrapper_env}.
15263 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15264 $(test-program-prefix-before-env), $(run-program-env) and
15265 $(test-program-prefix-after-env).
15266 * posix/tst-getconf.sh: Do not set environment variables
15268 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15269 run_program_env and test_program_prefix_after_env arguments.
15270 * stdio-common/tst-printf.sh: Do not set environment variables
15272 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15273 $(test-program-prefix-before-env), $(run-program-env) and
15274 $(test-program-prefix-after-env).
15275 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15276 run_program_env and test_program_prefix_after_env arguments.
15277 Split $test calls into $test_pre and $test.
15278 * timezone/Makefile (build-testdata): Use
15279 $(built-program-cmd-before-env), $(run-program-env) and
15280 $(built-program-cmd-after-env).
15282 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15284 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15285 strlen for non SHARED builds.
15287 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15289 * nptl/allocatestack.c (check_list): Inlined function...
15290 (__reclaim_stacks): ... here.
15292 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15295 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15298 2014-06-05 Joseph Myers <joseph@codesourcery.com>
15300 * Rules (make-test-out): Include
15301 LOCPATH=$(common-objpfx)localedata in default environment.
15302 * debug/Makefile (tst-chk1-ENV): Remove variable.
15303 (tst-chk2-ENV): Likewise.
15304 (tst-chk3-ENV): Likewise.
15305 (tst-chk4-ENV): Likewise.
15306 (tst-chk5-ENV): Likewise.
15307 (tst-chk6-ENV): Likewise.
15308 (tst-lfschk1-ENV): Likewise.
15309 (tst-lfschk2-ENV): Likewise.
15310 (tst-lfschk3-ENV): Likewise.
15311 (tst-lfschk4-ENV): Likewise.
15312 (tst-lfschk5-ENV): Likewise.
15313 (tst-lfschk6-ENV): Likewise.
15314 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15315 (tst-iconv7-ENV): Likewise.
15316 * intl/Makefile (LOCPATH-ENV): Likewise.
15317 (tst-codeset-ENV): Likewise.
15318 (tst-gettext3-ENV): Likewise.
15319 (tst-gettext5-ENV): Likewise.
15320 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15321 (tst-fopenloc-ENV): Likewise.
15322 (tst-fgetws-ENV): Remove variable.
15323 (tst-ungetwc1-ENV): Likewise.
15324 (tst-ungetwc2-ENV): Likewise.
15325 (bug-ungetwc2-ENV): Likewise.
15326 (tst-swscanf-ENV): Likewise.
15327 (bug-ftell-ENV): Likewise.
15328 (tst-fgetwc-ENV): Likewise.
15329 (tst-fseek-ENV): Likewise.
15330 (tst-ftell-partial-wide-ENV): Likewise.
15331 (tst-ftell-active-handler-ENV): Likewise.
15332 (tst-ftell-append-ENV): Likewise.
15333 * posix/Makefile (tst-fnmatch-ENV): Likewise.
15334 (tst-regexloc-ENV): Likewise.
15335 (bug-regex1-ENV): Likewise.
15336 (tst-regex-ENV): Likewise.
15337 (tst-regex2-ENV): Likewise.
15338 (bug-regex5-ENV): Likewise.
15339 (bug-regex6-ENV): Likewise.
15340 (bug-regex17-ENV): Likewise.
15341 (bug-regex18-ENV): Likewise.
15342 (bug-regex19-ENV): Likewise.
15343 (bug-regex20-ENV): Likewise.
15344 (bug-regex22-ENV): Likewise.
15345 (bug-regex23-ENV): Likewise.
15346 (bug-regex25-ENV): Likewise.
15347 (bug-regex26-ENV): Likewise.
15348 (bug-regex30-ENV): Likewise.
15349 (bug-regex32-ENV): Likewise.
15350 (bug-regex33-ENV): Likewise.
15351 (bug-regex34-ENV): Likewise.
15352 (bug-regex35-ENV): Likewise.
15353 (tst-rxspencer-ENV): Likewise.
15354 (tst-rxspencer-no-utf8-ENV): Likewise.
15355 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15356 (tst-sscanf-ENV): Likewise.
15357 (tst-swprintf-ENV): Likewise.
15358 (tst-swscanf-ENV): Likewise.
15359 (test-vfprintf-ENV): Likewise.
15360 (scanf13-ENV): Likewise.
15361 (bug14-ENV): Likewise.
15362 (tst-grouping-ENV): Likewise.
15363 * stdlib/Makefile (tst-strtod-ENV): Likewise.
15364 (tst-strtod3-ENV): Likewise.
15365 (tst-strtod4-ENV): Likewise.
15366 (tst-strtod5-ENV): Likewise.
15367 (testmb2-ENV): Likewise./
15368 * string/Makefile (tst-strxfrm-ENV): Likewise.
15369 (tst-strxfrm2-ENV): Likewise.
15370 (bug-strcoll1-ENV): Likewise.
15371 (test-strcasecmp-ENV): Likewise.
15372 (test-strncasecmp-ENV): Likewise.
15373 * time/Makefile (tst-strptime-ENV): Likewise.
15374 (tst-ftime_l-ENV): Likewise.
15375 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15376 (tst-mbrtowc-ENV): Likewise.
15377 (tst-wcrtomb-ENV): Likewise.
15378 (tst-mbrtowc2-ENV): Likewise.
15379 (tst-c16c32-1-ENV): Likewise.
15380 (tst-mbsnrtowcs-ENV): Likewise.
15382 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15384 * manual/resource.texi (How to get information about the memory
15385 subsystem?): Fix typo.
15386 Reported by Peon de la Parra Ivan <peon@keba.com>
15388 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
15391 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15392 (pthread_spin_lock): Branch out of spin loop to proper location.
15393 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15394 (pthread_spin_lock): Likewise.
15396 * nptl/tst-spin4.c: New test.
15397 * nptl/Makefile (tests): Add tst-spin4.
15399 2014-06-03 Andreas Schwab <schwab@suse.de>
15402 * resolv/res_send.c (send_dg): Reload file descriptor after
15405 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
15407 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15409 2014-06-03 Richard Henderson <rth@redhat.com>
15411 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15412 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15413 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15414 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
15415 in the SAVE_PID block.
15416 (__libc_vfork): New alias.
15417 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15419 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15420 child in registers, not on the stack. Remove RESET_PID conditionals.
15421 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15423 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
15425 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15427 2014-06-03 Wilco <wdijkstr@arm.com>
15429 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15430 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15431 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15432 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15433 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15436 2014-06-03 Wilco <wdijkstr@arm.com>
15438 * sysdeps/aarch64/fpu/math_private.h
15439 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15440 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15441 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15442 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15445 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15447 * crypt/crypt-private.h: Include ufc-crypt.h.
15448 (__b64_from_24bit): Declare extern.
15449 * crypt/crypt_util.c(__b64_from_24bit): New function.
15450 (b64t): New static const variable.
15451 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15452 (b64t): Remove variable.
15453 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15454 * crypt/sha256-crypt.c: Include crypt-private.h.
15455 (b64t): Remove variable.
15456 (__sha256_crypt_r): Remove b64_from_24bit and replace
15457 with __b64_from_24bit.
15458 * crypt/sha512-crypt.c: Likewise.
15460 2014-06-02 Roland McGrath <roland@hack.frob.com>
15462 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15463 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15464 Label the code __libc_vfork rather than __vfork.
15465 [!NOT_IN_libc] (vfork): Define as weak alias.
15466 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15467 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15468 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15470 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15472 * malloc/malloc.c (malloc_info): Fix format specifier for
15475 2014-06-02 Wilco <wdijkstr@arm.com>
15477 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15480 2014-06-02 Wilco <wdijkstr@arm.com>
15483 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15484 Rewrite to reduce FPCR/FPSR accesses.
15486 2014-06-01 David S. Miller <davem@davemloft.net>
15488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15490 2014-05-31 David S. Miller <davem@davemloft.net>
15492 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15493 to occur in round to nearest mode when |x| >= 2.0
15495 2014-05-30 Richard Henderson <rth@twiddle.net>
15497 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15498 (PSEUDO_RET_NOERRNO): Remove.
15499 (ret): Don't redefine.
15500 (ret_NOERRNO): Define in terms of ret.
15501 (ret_ERRVAL): Likewise.
15503 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15504 use of PSEUDO_RET; perform the error check directly.
15506 2014-05-30 Marko Myllynen <myllynen@redhat.com>
15508 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15511 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15513 * malloc/malloc (malloc_info): Fix formatting.
15515 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15516 Roland McGrath <roland@hack.frob.com>
15518 * malloc/malloc (malloc_info): Also print mmapped statistics.
15520 2014-05-30 Roland McGrath <roland@hack.frob.com>
15522 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15523 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15525 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
15527 * malloc/malloc.c (malloc_info): Inline mi_arena.
15529 2014-05-29 Richard Henderson <rth@twiddle.net>
15531 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15532 Remove comma before expanding ASM_ARGS_##nr.
15533 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15534 Make _x0 a strict output; make _x8 a strict input; adjust expansion
15536 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15537 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15538 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15539 (ASM_ARGS_1): Add leading comma.
15541 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15542 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15543 to __errno_location.
15544 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15545 Remove the expected plt for __errno_location.
15547 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15548 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15551 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15552 Always allocate 64 bytes of stack frame. Use ldp/stp to create
15553 it and break it down.
15554 (DOCARGS_0, DOCARGS_1): Do nothing.
15555 (DOCARGS_2): Update to store into the new stack frame.
15556 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15557 (UNDOCARGS_1): Update to restore from the new stack frame.
15558 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15559 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15561 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15562 (SINGLE_THREAD_P): New parameter for result regno.
15563 (PSEUDO): Update to match; use cbz instead of beq.
15565 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15566 Use ENTRY to define the _nocancel entry point. Share the syscall
15567 and syscall error check paths with the cancel path.
15570 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15571 whitespace; tabs before and after asm mnemonics.
15573 2014-05-29 Eric Wong <normalperson@yhbt.net>
15576 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15577 Call fstat64 or stat64 internally, depending on arguments passed.
15578 Replace stat buffer argument with file descriptor argument.
15579 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15580 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15581 Pass fd to __internal_statvfs instead of calling fstat64.
15582 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15583 Pass fd to __internal_statvfs64 instead of calling fstat64.
15584 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15585 Pass -1 to __internal_statvfs instead of calling stat64.
15586 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15587 Pass -1 to __internal_statvfs64 instead of calling stat64.
15589 2014-05-28 Roland McGrath <roland@hack.frob.com>
15591 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15592 that was previously under [RESET_PID].
15593 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15595 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15596 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15598 2014-05-27 Roland McGrath <roland@hack.frob.com>
15600 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15602 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15603 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15605 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
15607 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15609 2014-05-27 Andreas Schwab <schwab@suse.de>
15611 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15613 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15614 * elf/rtld.c (init_tls, dl_main): Likewise.
15615 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15616 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15617 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15618 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15619 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15620 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15621 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15622 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15623 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15624 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15625 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15626 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15627 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15628 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15629 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15630 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15631 * sysdeps/generic/tls.h: Update description.
15633 2014-05-27 Will Newton <will.newton@linaro.org>
15636 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15637 and restore r2 rather than just restoring.
15639 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15642 * libio/tst-ftell-append.c: New test case.
15643 * libio/Makefile (tests): Add test case.
15644 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15646 * libio/wfileops.c (do_ftell_wide): Likewise.
15648 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15652 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15656 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15657 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15658 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15659 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15660 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15661 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15662 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15665 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15668 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15669 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15670 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15671 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15672 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15674 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15675 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15677 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15679 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15681 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15682 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15683 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15685 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15686 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15687 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15688 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15690 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15693 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15696 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15699 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15711 conditional [RESET_PID].
15712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15720 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15721 (__libc_vfork): New strong alias.
15722 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15729 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15730 (__libc_vfork): New strong alias.
15731 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15733 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15736 2014-05-26 Carlos O'Donell <carlos@redhat.com>
15738 * malloc/malloc.c (mi_arena): New function.
15739 (malloc_info): Remove nested function mi_arena. Call non-nosted
15742 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15744 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15746 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15747 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15748 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15749 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15750 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15751 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15752 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15754 2014-05-26 Andreas Schwab <schwab@suse.de>
15757 * locale/programs/repertoire.c (repertoire_read): Add slash
15758 between I18NPATH element and file name.
15759 * locale/programs/locfile.c (locfile_read): Likewise.
15761 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15763 * nptl/pthread_mutexattr_settype.c
15764 (__pthread_mutexattr_settype):
15765 Disable lock elision for PTHREAD_MUTEX_NORMAL.
15767 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15769 * nptl/tst-mutex5 (do_test):
15770 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15772 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15774 * benchtests/README: Document 'init' directive.
15775 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15777 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15778 (parse_file): Recognize 'init' directive.
15780 2014-05-26 Kyle McMartin <kyle@redhat.com>
15783 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15784 alignment of struct pthread.
15786 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15789 * nscd/netgroupcache.c (addgetnetgrentX): Look for
15790 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15791 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15792 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15794 2014-05-25 Richard Henderson <rth@twiddle.net>
15796 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15797 (SINGLE_THREAD_P_PIC): Remove.
15798 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15799 (SINGLE_THREAD_P_PIC): Remove.
15801 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15802 branch to syscall error ...
15803 (PSEUDO): ... here.
15804 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15805 from __local_syscall_error to .Lsyscall_error.
15806 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15807 (SYSCALL_ERROR): Update label name.
15809 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15810 Do not use DOARGS/UNDOARGS.
15811 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15812 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15813 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15814 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15815 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15817 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15820 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15821 define if !NOT_IN_libc.
15822 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15823 define with non-default symbol versions.
15825 2014-05-23 Richard Henderson <rth@twiddle.net>
15827 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15828 (vfork, __vfork): Define via compat_symbol.
15830 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15831 [!HAVE_IFUNC] (vfork_compat): Remove.
15832 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15834 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15837 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15838 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15841 2014-05-23 Richard Henderson <rth@twiddle.net>
15843 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15844 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15845 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15846 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15848 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15849 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15850 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15851 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15852 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15853 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15854 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15855 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15856 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15857 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15858 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15859 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15860 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15861 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15862 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15863 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15864 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15865 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15866 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15867 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15868 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15869 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15870 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15871 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15872 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15873 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15874 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15875 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15876 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15877 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15878 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15879 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15880 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15881 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15882 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15883 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15884 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15885 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15886 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15887 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15888 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15889 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15890 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15891 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15892 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15893 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15894 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15895 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15896 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15897 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15898 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15899 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15900 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15901 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15902 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15903 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15905 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15906 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15907 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
15908 before exiting on error.
15909 (__libc_vfork): New strong alias.
15910 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15911 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15913 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15914 that was previously under [RESET_PID].
15915 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15917 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15919 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15922 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15923 value when x - 1 is zero.
15924 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15925 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15926 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15927 0.0L for an argument of 1.0L.
15928 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15930 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15931 value when x - 1 is zero.
15932 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15933 * sysdeps/i386/fpu/libm-test-ulps: Update.
15934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15936 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15938 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15939 alphasort and versionsort.
15941 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15943 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15945 [copysignf]: Likewise.
15947 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15949 * crypt/md5-crypt.c: Fix formatting.
15951 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15953 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15954 (b64_from_24bit): New function.
15956 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15958 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15959 libc_hidden_builtin_def to ifunc.
15960 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15961 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15963 2014-05-21 Roland McGrath <roland@hack.frob.com>
15965 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15966 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15968 2014-05-21 Joseph Myers <joseph@codesourcery.com>
15970 * nscd/Depend (linuxthreads): Remove.
15972 * resolv/Depend (linuxthreads): Remove.
15973 * rt/Depend (linuxthreads): Remove.
15975 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15976 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15977 $(common-objpfx)elf/.
15978 (link-libc-before-gnulib): Likewise.
15979 (elfobjdir): Remove variable.
15980 * Makefile (install): Use $(elf-objpfx) instead of
15981 $(common-objpfx)elf/.
15982 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15984 (link-libc-deps): Likewise.
15985 ($(common-objpfx)libc.so): Likewise.
15986 ($(common-objpfx)linkobj/libc.so): Likewise.
15987 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15988 instead of $(common-objpfx)elf/.
15989 (symbolic-link-list): Likewise.
15990 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15991 [$(cross-compiling) = no]: Likewise.
15992 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15994 (static-gnulib-arch): Likewise.
15995 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15996 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15997 $(common-objpfx)elf/.
15999 2014-05-21 Richard Henderson <rth@redhat.com>
16001 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16002 (SINGLE_THREAD_P): Use the correct width load. Fold
16003 into the ldr offset.
16005 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16006 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16008 2014-05-20 Joseph Myers <joseph@codesourcery.com>
16010 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16011 (libgcc_s_resume): Use __attribute_used__.
16012 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16015 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16017 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16018 optimization when used with float constants.
16020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16022 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
16025 * locale/nl_langinfo_l.c: Make direct reference to every
16026 _nl_current_CATEGORY symbol.
16027 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16028 (tests-static): Add tst-langinfo-static.
16029 (tests-special): Add tst-langinfo-static.out.
16030 ($(objpfx)tst-langinfo.out): Redirect output.
16031 ($(objpfx)tst-langinfo-static.out): New.
16032 * localedata/tst-langinfo.sh: Send output to stdout.
16033 * localedata/tst-langinfo-static.c: New file.
16036 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16037 when the shift amount is modulo the limb size.
16039 2014-05-20 Richard Henderson <rth@redhat.com>
16042 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16043 Change type of sa_flags from unsigned int to int.
16046 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16048 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16050 2014-05-20 Will Newton <will.newton@linaro.org>
16052 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16053 Test the return value of the system call in the nocancel case.
16055 2014-05-20 Will Newton <will.newton@linaro.org>
16056 Yvan Roux <yvan.roux@linaro.org>
16058 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16059 #include of asm/ptrace.h.
16060 (PTRACE_GET_THREAD_AREA): Remove #undef.
16061 (PTRACE_GETHBPREGS): Likewise.
16062 (PTRACE_SETHBPREGS): Likewise.
16063 (struct user_regs_struct): New structure.
16064 (struct user_fpsimd_struct): New structure.
16065 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16066 #include of asm/ptrace.h and second #include of sys/user.h.
16067 (PTRACE_GET_THREAD_AREA): Remove #undef.
16068 (PTRACE_GETHBPREGS): Likewise.
16069 (PTRACE_SETHBPREGS): Likewise.
16070 (ELF_NGREG): Use new struct user_regs_struct.
16071 (elf_fpregset_t): Use new struct user_fpsimd_struct.
16073 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16075 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16076 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16078 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16081 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16082 membar to avoid block loads/stores to overlap previous stores.
16084 2014-05-17 Richard Henderson <rth@redhat.com>
16086 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16087 Create the __##syscall_name##_nocancel entry point.
16088 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16089 Remove; let the sysdep-cancel.h code create it.
16091 2014-05-17 David S. Miller <davem@davemloft.net>
16093 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16094 Protect with __USE_GNU.
16095 (TIOCSET_TEMPT): Likewise.
16096 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16097 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16098 these are already provided in bits/ioctl-types.h
16100 2014-05-16 Roland McGrath <roland@hack.frob.com>
16102 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16103 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16105 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16106 Use wait4 regardless of [__NR_waitpid].
16108 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16111 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16112 (_FP_NANSIGN_Q): Set the quiet bit.
16114 2014-05-16 Joseph Myers <joseph@codesourcery.com>
16116 * benchtests/Makefile
16117 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16118 not $(common-objpfx)math/libm.so.
16119 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16120 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16121 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16122 $(common-objpfx)dlfcn/libdl.so.
16123 ($(objpfx)tst-audit8): Depend on $(libm), not
16124 $(common-objpfx)math/libm.so.
16125 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16126 not $(common-objpfx)dlfcn/libdl.so.
16128 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16129 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
16130 [$(build-shared) = yes].
16131 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16132 $(common-objpfx)nptl/libpthread.so.
16133 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16134 $(common-objpfx)math/libm.so$(libm.so-version) or
16135 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16136 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16137 $(common-objpfx)dlfcn/libdl.so.
16138 * setjmp/Makefile (link-libm): Remove variable.
16139 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16140 * stdio-common/Makefile (link-libm): Remove variable.
16141 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16142 * stdlib/Makefile (link-libm): Remove variable.
16143 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16144 ($(objpfx)tst-strtod-round): Likewise.
16145 ($(objpfx)tst-tininess): Likewise.
16146 ($(objpfx)tst-strtod-underflow): Likewise.
16147 ($(objpfx)tst-strtod6): Likewise.
16148 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16149 $(libdl), not $(common-objpfx)nptl/libpthread.so and
16150 $(common-objpfx)dlfcn/libdl.so.
16152 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16154 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16155 BSD terminal modes definitions.
16157 2014-05-16 Roland McGrath <roland@hack.frob.com>
16159 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16160 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16162 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16163 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16164 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16165 Don't do #include_next.
16166 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16167 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16168 Don't do #include_next.
16169 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16170 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16171 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16172 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16174 2014-05-16 Allan McRae <allan@archlinux.org>
16176 * po/sv.po: Update Swedish translation from translation project.
16178 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16181 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
16184 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16185 errno if the TIOCGPTN ioctl fails with an error different than
16187 * login/tst-ptsname.c: New file.
16188 * login/Makefile (tests): Add tst-ptsname.
16191 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16194 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16198 herrno to return EAI_AGAIN.
16200 2014-05-14 Roland McGrath <roland@hack.frob.com>
16202 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16203 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16204 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16205 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16206 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16207 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16208 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16209 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16210 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16211 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16212 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16213 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16214 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16215 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16216 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16217 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16218 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16219 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16220 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16221 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16222 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16223 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16224 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16225 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16226 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16227 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16228 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16229 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16230 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16231 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16233 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16235 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16238 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16240 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16242 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16244 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16246 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16248 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16250 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16252 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16254 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16256 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16258 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16260 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16262 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16264 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16267 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16269 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16271 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16273 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16275 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16277 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16279 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16281 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16283 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16285 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16288 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16290 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16292 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16293 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16294 (libpthread-sysdep_routines): Add elision-related stuff here instead.
16295 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16296 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16297 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16298 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16299 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16300 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16301 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16302 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16303 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16304 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16305 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16306 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16307 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16308 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16309 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16310 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16311 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16312 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16313 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16314 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16315 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16316 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16317 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16318 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16319 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16320 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16321 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16322 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16324 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16325 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16327 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16328 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16329 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16330 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16331 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16332 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16334 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16335 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16337 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16338 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16340 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16341 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16343 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16344 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16345 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16346 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16348 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16349 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16350 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16351 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16352 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16353 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16354 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16355 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16357 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16358 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16360 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16362 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16363 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16364 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16365 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16366 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16368 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16370 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16372 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16373 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16374 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16375 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16376 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16377 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16379 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16380 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16382 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16383 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16385 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16386 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16388 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16389 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16390 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16391 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16393 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16394 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16395 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16396 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16397 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16398 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16399 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16400 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16402 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16403 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16405 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16407 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16408 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16409 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16410 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16411 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16413 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16415 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16417 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16418 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16419 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16420 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16421 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16422 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16423 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16424 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16425 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16426 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16428 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16429 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16431 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16432 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16434 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16435 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16437 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16438 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16439 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16440 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16441 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16442 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16444 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16445 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16446 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16447 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16448 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16449 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16450 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16451 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16453 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16454 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16456 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16458 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16459 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16460 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16461 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16462 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16464 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16466 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16468 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16469 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16470 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16471 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16472 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16473 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16474 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16475 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16476 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16477 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16478 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16480 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16481 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16483 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16484 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16486 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16487 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16488 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16489 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16490 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16491 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16492 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16493 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16494 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16495 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16496 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16497 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16498 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16499 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16500 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16501 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16502 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16503 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16505 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16506 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16507 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16510 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16511 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16512 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16513 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16514 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16516 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16517 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16519 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16520 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16522 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16523 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16524 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16525 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16527 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16528 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16529 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16530 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16531 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16532 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16533 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16534 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16535 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16536 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16537 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16538 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16540 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16541 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16542 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16543 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16544 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16546 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16547 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16548 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16549 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16550 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16551 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16552 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16553 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16554 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16555 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16557 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16558 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16560 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16561 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16562 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16563 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16564 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16565 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16566 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16567 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16568 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16569 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16570 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16571 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16572 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16573 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16574 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16580 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16594 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16595 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16596 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16597 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16598 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16599 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16600 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16601 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16602 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16603 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16604 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16605 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16606 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16607 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
16608 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
16610 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16611 that was previously under [RESET_PID].
16612 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16613 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16614 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16616 * sysdeps/i386/nptl/Implies: New file.
16617 * sysdeps/x86_64/nptl/Implies: New file.
16618 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16619 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16620 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16621 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16623 * sysdeps/unix/sysv/linux/i386/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 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16627 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16629 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16630 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16631 (__libc_vfork): New strong alias.
16632 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16633 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16635 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16636 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16637 (__libc_vfork): New strong alias.
16638 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16639 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16640 * nptl/pt-vfork.c: New file.
16641 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16642 (libpthread: GLIBC_2.20): New version set (empty).
16644 2014-05-14 Will Newton <will.newton@linaro.org>
16646 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16649 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16652 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16653 arguments with exponent 65 or above.
16654 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16655 arguments 0x1p113L or above.
16656 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16657 to arguments 0x1p107L or above.
16658 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16659 positive arguments with exponent 65 or above.
16660 * math/auto-libm-test-in: Add more tests of log1p.
16661 * math/auto-libm-test-out: Regenerated.
16664 * math/s_cacos.c (__cacos): Ensure zero real part of result from
16665 non-finite arguments is +0.
16666 * math/s_cacosf.c (__cacosf): Likewise.
16667 * math/s_cacosl.c (__cacosl): Likewise.
16668 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16669 * sysdeps/i386/fpu/libm-test-ulps: Update.
16670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16673 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16675 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16676 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16677 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16678 for explicit high bit of mantissa when testing for argument equal
16680 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16681 * sysdeps/i386/fpu/libm-test-ulps: Update.
16682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16685 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16686 (__erf): Scale by 16 instead of 8 in potentially underflowing
16687 case. Ensure exception if result actually underflows.
16688 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16689 (__erff): Scale by 16 instead of 8 in potentially underflowing
16690 case. Ensure exception if result actually underflows.
16691 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16692 (efx8): Remove variable.
16693 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16694 case. Ensure exception if result actually underflows.
16695 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16696 (efx8): Remove variable.
16697 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16698 case. Ensure exception if result actually underflows.
16699 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16700 (efx8): Remove variable.
16701 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16702 case. Ensure exception if result actually underflows.
16703 * math/auto-libm-test-in: Add more tests of erf.
16704 * math/auto-libm-test-out: Regenerated.
16706 2014-05-14 Andreas Schwab <schwab@suse.de>
16708 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16709 Remove code conditionalized on USE___THREAD.
16711 * config.h.in (HAVE_PT_CHOWN): Define as 0.
16712 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16715 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16717 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16718 Define unconditionally.
16719 (__ASSUME_O_CLOEXEC): Likewise.
16720 (__ASSUME_SOCK_CLOEXEC): Likewise.
16721 (__ASSUME_IN_NONBLOCK): Likewise.
16722 (__ASSUME_PIPE2): Likewise.
16723 (__ASSUME_EVENTFD2): Likewise.
16724 (__ASSUME_SIGNALFD4): Likewise.
16725 (__ASSUME_DUP3): Likewise.
16726 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16727 (__ASSUME_DUP3): Do not define.
16728 (__ASSUME_EVENTFD2): Likewise.
16729 (__ASSUME_IN_NONBLOCK): Likewise.
16730 (__ASSUME_O_CLOEXEC): Likewise.
16731 (__ASSUME_PIPE2): Likewise.
16732 (__ASSUME_SIGNALFD4): Likewise.
16733 (__ASSUME_SOCK_CLOEXEC): Likewise.
16734 (__ASSUME_UTIMES): Undefine.
16735 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16736 (__ASSUME_UTIMES): Do not define.
16737 (__ASSUME_O_CLOEXEC): Likewise.
16738 (__ASSUME_SOCK_CLOEXEC): Likewise.
16739 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16740 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16742 (__ASSUME_PIPE2): Likewise.
16743 (__ASSUME_EVENTFD2): Likewise.
16744 (__ASSUME_SIGNALFD4): Likewise.
16745 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16746 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16748 (__ASSUME_EVENTFD2): Likewise.
16749 (__ASSUME_SIGNALFD4): Likewise.
16750 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16751 (__ASSUME_32BITUIDS): Likewise.
16752 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16753 (__ASSUME_IPC64): Likewise.
16754 (__ASSUME_ST_INO_64_BIT): Likewise.
16755 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16756 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16757 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16758 (__ASSUME_UTIMES): Do not define.
16759 (__ASSUME_PSELECT): Likewise.
16760 (__ASSUME_PPOLL): Likewise.
16761 (__ASSUME_O_CLOEXEC): Likewise.
16762 (__ASSUME_SOCK_CLOEXEC): Likewise.
16763 (__ASSUME_IN_NONBLOCK): Likewise.
16764 (__ASSUME_PIPE2): Likewise.
16765 (__ASSUME_EVENTFD2): Likewise.
16766 (__ASSUME_SIGNALFD4): Likewise.
16767 (__ASSUME_DUP3): Likewise.
16768 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16769 (__ASSUME_UTIMES): Likewise.
16770 (__ASSUME_O_CLOEXEC): Likewise.
16771 (__ASSUME_SOCK_CLOEXEC): Likewise.
16772 (__ASSUME_IN_NONBLOCK): Likewise.
16773 (__ASSUME_PIPE2): Likewise.
16774 (__ASSUME_EVENTFD2): Likewise.
16775 (__ASSUME_SIGNALFD4): Likewise.
16776 (__ASSUME_DUP3): Likewise.
16777 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16778 (__ASSUME_UTIMES): Likewise.
16779 (__ASSUME_O_CLOEXEC): Likewise.
16780 (__ASSUME_SOCK_CLOEXEC): Likewise.
16781 (__ASSUME_IN_NONBLOCK): Likewise.
16782 (__ASSUME_PIPE2): Likewise.
16783 (__ASSUME_EVENTFD2): Likewise.
16784 (__ASSUME_SIGNALFD4): Likewise.
16785 (__ASSUME_DUP3): Likewise.
16786 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16788 (__ASSUME_UTIMES): Likewise.
16789 (__ASSUME_EVENTFD2): Likewise.
16790 (__ASSUME_SIGNALFD4): Likewise.
16791 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16792 (__ASSUME_O_CLOEXEC): Likewise.
16793 (__ASSUME_SOCK_CLOEXEC): Likewise.
16794 (__ASSUME_IN_NONBLOCK): Likewise.
16795 (__ASSUME_PIPE2): Likewise.
16796 (__ASSUME_EVENTFD2): Likewise.
16797 (__ASSUME_SIGNALFD4): Likewise.
16798 (__ASSUME_DUP3): Likewise.
16799 (__ASSUME_UTIMES): Undefine.
16801 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16802 feclearexcept. Remove symbol versioning code.
16803 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
16804 symbol versioning code.
16805 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
16806 symbol versioning code.
16807 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16808 feupdateenv. Remove symbol versioning code.
16809 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16810 fegetexceptflag. Remove symbol versioning code.
16811 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16812 fesetexceptflag. Remove symbol versioning code.
16813 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16814 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
16815 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16816 (__posix_fadvise64_l32): Remove prototype.
16817 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16820 2014-05-13 Roland McGrath <roland@hack.frob.com>
16822 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16823 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16824 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16825 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16827 2014-05-13 Sami Kerola <kerolasa@iki.fi>
16829 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16830 current working directory
16832 2014-05-13 Roland McGrath <roland@hack.frob.com>
16834 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16835 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16836 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16837 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16838 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16839 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16840 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16841 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16842 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16843 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16844 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16845 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16846 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16847 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16848 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16849 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16850 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16851 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16852 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16853 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16854 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16855 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16856 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16857 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16858 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16859 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16860 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16861 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16862 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16863 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16864 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16865 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16866 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16867 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16868 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16869 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16870 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16871 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16872 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16873 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16874 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16875 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16877 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16878 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16880 * sysdeps/unix/sysv/linux/arm/Makefile
16881 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16882 Add rt-aeabi_unwind_cpp_pr1.
16883 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16884 Add nptl-aeabi_unwind_cpp_pr1.
16885 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16886 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16887 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16888 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16889 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16890 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16892 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16893 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16894 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16895 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16897 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16898 Deconditionalize the code that was previously under [RESET_PID].
16899 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16901 * sysdeps/generic/exit-thread.h: New file.
16902 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16903 * include/unistd.h (__exit_thread): Remove declaration.
16904 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16905 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16906 * csu/libc-start.c: Include <exit-thread.h>.
16907 (LIBC_START_MAIN): Pass no argument to __exit_thread.
16908 * nptl/pthread_create.c: Include <exit-thread.h>.
16909 (start_thread): Call __exit_thread in place of __exit_thread_inline.
16910 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16911 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16912 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16913 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16914 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16915 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16916 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16917 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16918 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16919 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16920 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16921 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16922 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16923 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16924 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16925 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16927 2014-05-13 Andreas Schwab <schwab@suse.de>
16929 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16931 2014-05-12 Joseph Myers <joseph@codesourcery.com>
16933 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16934 (__ASSUME_UTIMES): Do not condition on kernel version.
16935 (__ASSUME_PSELECT): Define unconditionally.
16936 (__ASSUME_PPOLL): Likewise.
16937 (__ASSUME_ATFCTS): Likewise.
16938 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16939 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16940 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16941 (__ASSUME_UTIMENSAT): Define unconditionally.
16942 (__ASSUME_PRIVATE_FUTEX): Likewise.
16943 (__ASSUME_FALLOCATE): Likewise.
16944 (__ASSUME_O_CLOEXEC): Likewise.
16945 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16946 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16947 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16948 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16949 (__ASSUME_IN_NONBLOCK): Likewise.
16950 (__ASSUME_PIPE2): Likewise.
16951 (__ASSUME_EVENTFD2): Likewise.
16952 (__ASSUME_SIGNALFD4): Likewise.
16953 (__ASSUME_DUP3): Likewise.
16954 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16955 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16956 (__ASSUME_AT_RANDOM): Likewise.
16957 (__ASSUME_PREADV): Likewise.
16958 (__ASSUME_PWRITEV): Likewise.
16959 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16960 (__ASSUME_F_GETOWN_EX): Define unconditionally.
16961 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16962 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16963 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16964 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16965 (__ASSUME_O_CLOEXEC): Define unconditionally.
16966 (__ASSUME_PSELECT): Do not undefine conditionally.
16967 (__ASSUME_PPOLL): Likewise.
16968 (__ASSUME_ATFCTS): Likewise.
16969 (__ASSUME_SET_ROBUST_LIST): Likewise.
16970 (__ASSUME_UTIMENSAT): Likewise.
16971 (__ASSUME_FDATASYNC): Define unconditionally.
16972 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16973 (__ASSUME_SIGFRAME_V2): Likewise.
16974 )__ASSUME_EVENTFD2): Likewise.
16975 (__ASSUME_SIGNALFD4): Likewise.
16976 (__ASSUME_PSELECT): Do not undefine conditionally.
16977 (__ASSUME_PPOLL): Likewise.
16978 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16979 (__ASSUME_PSELECT): Define unconditionally.
16980 (__ASSUME_PPOLL): Likewise.
16981 (__ASSUME_O_CLOEXEC): Likewise.
16982 (__ASSUME_SOCK_CLOEXEC): Likewise.
16983 (__ASSUME_IN_NONBLOCK): Likewise.
16984 (__ASSUME_PIPE2): Likewise.
16985 (__ASSUME_EVENTFD2): Likewise.
16986 (__ASSUME_SIGNALFD4): Likewise.
16987 (__ASSUME_DUP3): Likewise.
16988 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16989 (__ASSUME_O_CLOEXEC): Likewise.
16990 (__ASSUME_SOCK_CLOEXEC): Likewise.
16991 (__ASSUME_IN_NONBLOCK): Likewise.
16992 (__ASSUME_PIPE2): Likewise.
16993 (__ASSUME_EVENTFD2): Likewise.
16994 (__ASSUME_SIGNALFD4): Likewise.
16995 (__ASSUME_DUP3): Likewise.
16996 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16997 (__ASSUME_EVENTFD2): Likewise.
16998 (__ASSUME_SIGNALFD4): Likewise.
16999 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17001 2014-05-12 Andreas Schwab <schwab@suse.de>
17004 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17005 (_nss_nis_gethostbyname4_r): Return error if item length is larger
17006 than maximum RPC packet size.
17007 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17008 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17009 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17010 (_nss_nis_getservbyport_r): Likewise.
17012 2014-05-12 Will Newton <will.newton@linaro.org>
17014 * malloc/Makefile (tests): Add tst-mallopt.
17015 * malloc/tst-mallopt.c: New file.
17017 2014-05-09 Roland McGrath <roland@hack.frob.com>
17019 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17020 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17022 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17024 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17025 (tst-tlsmod6.so): Likewise.
17027 2014-05-09 Roland McGrath <roland@hack.frob.com>
17029 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17031 2014-05-09 Joseph Myers <joseph@codesourcery.com>
17034 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17035 and <dl-procinfo.h>.
17036 (__fegetenv): Save SSE state in envp->__eip if supported.
17037 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17038 envp->__eip if supported.
17039 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17040 and <dl-procinfo.h>.
17041 (__fesetenv): Always set __eip, __cs_selector, __opcode,
17042 __data_offset and __data_selector in environment to 0. Set SSE
17043 state if supported.
17044 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17046 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17048 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17050 2014-05-09 Will Newton <will.newton@linaro.org>
17052 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17053 and libc_relro_required for ARM.
17054 * sysdeps/arm/preconfigure: Regenerate.
17056 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
17057 Stefan Liebler <stli@linux.vnet.ibm.com>
17059 * config.make.in (enable-lock-elision): New Makefile variable.
17060 * configure.ac: Likewise.
17061 * configure: Regenerate.
17062 * sysdeps/s390/configure.ac:
17063 Add check for gcc transactions support.
17064 * sysdeps/s390/configure: Regenerate.
17065 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17066 Build elision files if enabled.
17067 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17068 Add lock elision support for s390.
17069 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17070 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17071 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17072 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17073 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17074 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17075 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17077 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17079 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17081 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17083 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17084 (__lll_timedlock_elision, __lll_lock_elision)
17085 (__lll_unlock_elision, __lll_trylock_elision)
17086 (lll_timedlock_elision, lll_lock_elision)
17087 (lll_unlock_elision, lll_trylock_elision): Add.
17088 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17089 (pthread_mutex_t): Add lock elision support for s390.
17091 2014-05-14 Wilco <wdijkstr@arm.com>
17093 * sysdeps/arm/fclrexcpt.c: Cleanup.
17094 * sysdeps/arm/fedisblxcpt.c: Cleanup.
17095 * sysdeps/arm/feenablxcpt.c: Cleanup.
17096 * sysdeps/arm/fegetenv.c: Cleanup.
17097 * sysdeps/arm/fegetexcept.c: Cleanup.
17098 * sysdeps/arm/fegetround.c: Cleanup.
17099 * sysdeps/arm/feholdexcpt.c: Cleanup.
17100 * sysdeps/arm/fesetenv.c: Cleanup.
17101 * sysdeps/arm/fesetround.c: Cleanup.
17102 * sysdeps/arm/feupdateenv.c: Cleanup.
17103 * sysdeps/arm/fgetexcptflg.c: Cleanup.
17104 * sysdeps/arm/fraiseexcpt.c: Cleanup.
17105 * sysdeps/arm/fsetexcptflg.c: Cleanup.
17106 * sysdeps/arm/ftestexcept.c: Cleanup.
17107 * sysdeps/arm/get-rounding-mode.h: Cleanup.
17108 * sysdeps/arm/setfpucw.c: Cleanup.
17110 2014-05-09 Will Newton <will.newton@linaro.org>
17112 * sysdeps/arm/armv7/strcmp.S: New file.
17113 * NEWS: Mention addition of ARMv7 optimized strcmp.
17115 2014-05-08 Roland McGrath <roland@hack.frob.com>
17117 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17118 look for %.ac rather than %.in.
17120 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17121 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17122 * sysdeps/mach/hurd/configure: Regenerated.
17123 * sysdeps/unix/sysv/linux/configure: Regenerated.
17125 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17127 2014-05-07 Steve Ellcey <sellcey@mips.com>
17130 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17134 2014-05-07 Andreas Schwab <schwab@suse.de>
17136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17137 when skipping over non-matching result from nscd.
17139 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
17142 * nptl/sockperf.c (client): Check socket return value.
17145 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17146 nscd security class.
17148 2014-05-06 Roland McGrath <roland@hack.frob.com>
17150 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17151 * sysdeps/arm/unwind.h: ... here.
17153 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
17156 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17159 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17161 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17162 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17163 multiarch strncpy for PPC64.
17164 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17165 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17167 multiarch optimizations.
17168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17169 (__libc_ifunc_impl_list): Likewise.
17170 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17171 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17172 multiarch stpncpy for PPC64.
17173 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17174 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17176 2014-05-06 Andreas Schwab <schwab@suse.de>
17179 * gmon/mcount.c (_MCOUNT_DECL): Use
17180 atomic_compare_and_exchange_bool_acq instead of
17181 catomic_compare_and_exchange_bool_acq.
17183 2014-05-05 Roland McGrath <roland@hack.frob.com>
17185 * elf/Makefile (others, install-bin): Remove pldd.
17186 (pldd-modules): Variable removed.
17187 ($(objpfx)pldd): Target removed.
17188 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17189 (others, install-bin): Append pldd here.
17190 ($(objpfx)pldd): New target.
17192 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17193 to 0, so the first #if test emitted later doesn't see it undefined.
17194 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17195 * sysdeps/gnu/errlist.c: Regenerated.
17197 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17199 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17200 [libc_hidden_builtin_def]: Define to empty value.
17201 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17202 [libc_hidden_builtin_def]: Likewise.
17203 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17204 [libc_hidden_builtin_def]: Likewise.
17205 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17206 [libc_hidden_builtin_def]: Likewise.
17207 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17208 __redirect_memcpy and define ifunc as default hidden symbol.
17209 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17210 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17212 2014-05-04 Adam Conrad <adconrad@0c3.net>
17214 * locale/iso-4217.def: Reintroduce XDR currency.
17216 2014-05-04 Allan McRae <allan@archlinux.org>
17218 * po/eo.po: Update Esperanto translation from translation project.
17220 2014-05-02 Carlos O'Donell <carlos@redhat.com>
17222 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17223 and FEATURE_INDEX_MAX to 1.
17224 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17226 2014-05-01 Steve Ellcey <sellcey@mips.com>
17228 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17229 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17230 * iconvdata/big5.c (ONE_DIRECTION): Define.
17231 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17232 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17233 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17234 * iconvdata/cp932.c (ONE_DIRECTION): Define.
17235 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17236 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17237 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17238 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17239 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17240 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17241 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17242 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17243 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17244 * iconvdata/gbk.c (ONE_DIRECTION): Define.
17245 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17246 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17247 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17248 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17249 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17250 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17251 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17252 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17253 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17254 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17255 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17256 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17257 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17258 * iconvdata/iso646.c (ONE_DIRECTION): Define.
17259 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17260 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17261 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17262 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17263 * iconvdata/johab.c (ONE_DIRECTION): Define.
17264 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17265 * iconvdata/sjis.c (ONE_DIRECTION): Define.
17266 * iconvdata/t.61.c (ONE_DIRECTION): Define.
17267 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17268 * iconvdata/tscii.c (ONE_DIRECTION): Define.
17269 * iconvdata/uhc.c (ONE_DIRECTION): Define.
17270 * iconvdata/unicode.c (ONE_DIRECTION): Define.
17271 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17272 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17273 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17275 2014-05-01 Roland McGrath <roland@hack.frob.com>
17277 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17278 (_IO_JUMPS_OFFSET): Define to 0.
17280 * nptl/sysdeps/pthread/bits/libc-lock.h
17281 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17282 (__libc_lock_define_initialized_recursive): Always define using
17283 initializer. Modern compilers treat uninitialized (implicit zero) and
17284 explicit zero initializers the same (i.e. put the datum in bss).
17286 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17288 * nscd/nscd-client.h: Include <string.h>.
17290 2014-05-01 David S. Miller <davem@davemloft.net>
17293 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17294 multiple zero bytes exist at the end of a string.
17295 Reported by Aurelien Jarno <aurelien@aurel32.net>
17297 * string/test-strcmp.c (check): Add explicit test for situations where
17298 there are multiple zero bytes after the first.
17300 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17303 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17304 when compiling wprintf.
17305 * stdio-common/tstdiomisc.c (t3): New function.
17308 2014-05-01 Steve Ellcey <sellcey@mips.com>
17310 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17311 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17312 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17313 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17315 2014-05-01 Steve Ellcey <sellcey@mips.com>
17317 * stdlib/longlong.h: Updated from GCC.
17319 2014-05-01 Will Newton <will.newton@linaro.org>
17320 Bernard Ogden <bernie.ogden@linaro.org>
17322 * NEWS: Update fixed bug list.
17325 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17327 2014-04-30 David S. Miller <davem@davemloft.net>
17329 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17330 (libc_feholdexcept_setround_sparc_ctx): New function.
17331 (libc_fesetenv_sparc_ctx): Likewise.
17332 (libc_feupdateenv_sparc_ctx): Likewise.
17333 (libc_feholdsetround_sparc_ctx): Likewise.
17334 (libc_feholdexcept_setround_ctx): Define.
17335 (libc_feholdexcept_setroundf_ctx): Likewise.
17336 (libc_feholdexcept_setroundl_ctx): Likewise.
17337 (libc_fesetenv_ctx): Likewise.
17338 (libc_fesetenvf_ctx): Likewise.
17339 (libc_fesetenvl_ctx): Likewise.
17340 (libc_feupdateenv_ctx): Likewise.
17341 (libc_feupdateenvf_ctx): Likewise.
17342 (libc_feupdateenvl_ctx): Likewise.
17343 (libc_feresetround_ctx): Likewise.
17344 (libc_feresetroundf_ctx): Likewise.
17345 (libc_feresetroundl_ctx): Likewise.
17346 (libc_feholdsetround_ctx): Likewise.
17347 (libc_feholdsetroundf_ctx): Likewise.
17348 (libc_feholdsetroundl_ctx): Likewise.
17350 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17351 with __USE_GNU instead of XOPEN cpp guards.
17353 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17356 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17357 with XOPEN cpp guards.
17359 2014-04-30 Julian Brown <julian@codesourcery.com>
17362 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17365 2014-04-30 Joseph Myers <joseph@codesourcery.com>
17368 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17370 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17371 * sysdeps/unix/sysv/linux/configure: Regenerated.
17372 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17373 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17374 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17375 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17376 * README: Update reference to required Linux kernel version.
17377 * manual/install.texi (Linux): Update reference to required Linux
17378 kernel headers version.
17379 * INSTALL: Regenerated.
17381 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17383 [POSIX] (limits.h): Likewise.
17384 [POSIX] (math.h): Likewise.
17385 [POSIX] (sys/wait.h): Likewise.
17386 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17388 [POSIX] (stddef.h): Do not allow header inclusion.
17390 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17392 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17394 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
17396 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17397 Return immediately after lll_futex_wake.
17399 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17402 * nscd/nscd-client.h (datahead_init_common): Initialize entire
17404 (datahead_init_pos): Call datahead_init_common early.
17405 (datahead_init_neg): Likewise.
17407 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17408 datahead_init_neg): New functions.
17409 * nscd/aicache.c (addhstaiX): Use them.
17410 * nscd/grpcache.c (cache_addgr): Likewise.
17411 * nscd/hstcache.c (cache_addhst): Likewise.
17412 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17413 * nscd/netgroupcache.c (do_notfound): Likewise.
17414 (addgetnetgrentX): Likewise.
17415 (addinnetgrX): Likewise.
17416 * nscd/pwdcache.c (cache_addpw): Likewise.
17417 * nscd/servicescache.c (cache_addserv): Likewise.
17419 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17420 Atsushi Onoe <atsushi@onoe.org>
17425 * resolv/res_query.c (__libc_res_nsearch): Return if at least
17426 one response is valid.
17427 * resolv/res_send.c (send_dg): Check for validity of other
17428 response if the current response is a referral.
17430 2014-04-29 Steve Ellcey <sellcey@mips.com>
17432 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17434 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
17437 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17438 Always divide by positive zero when computing -Inf result.
17439 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17440 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17442 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17444 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17445 FPSCR if value do not change.
17446 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17447 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17448 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17449 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17450 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17451 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17454 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
17456 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17457 * sysdeps/unix/sysv/linux/hppa: Move directory from
17458 ports/systeps/unix/sysv/linux/hppa.
17459 * README: Update listing for hppa-*-linux-gnu.
17461 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
17464 * manual/stdio.texi (Hook functions): Fix types of stream hook
17467 * socket/sys/socket.h: Fix typo in comment.
17469 2014-04-28 Wilco <wdijkstr@arm.com>
17471 * sysdeps/arm/fenv_private.h: New file.
17472 * sysdeps/arm/math_private.h: New file.
17473 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17475 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
17477 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17479 (La_x86_64_retval): Likewise.
17481 2014-04-24 Ian Bolton <ian.bolton@arm.com>
17483 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17484 fpsr if value didn't change.
17485 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17486 to fpcr if value didn't change.
17487 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17488 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17489 fpsr or fpcr if value didn't change.
17490 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17491 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17492 fpcr if value didn't change.
17493 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17494 to fpsr if value didn't change.
17496 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17498 * nptl/tst-sem3.c: Use test-skeleton.c
17499 (main): Rename to do_test. Use return instead of
17501 * nptl/tst-sem4.c: Use test-skeleton.c
17502 (main): Rename to do_test.
17504 2014-04-22 David S. Miller <davem@davemloft.net>
17506 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17507 (struct sigaction): New struct member __glibc_reserved0, change
17508 type of sa_flags to int.
17510 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
17512 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17513 (COUNT_LEADING_ZEROS_0): Define for AArch64.
17515 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17517 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17518 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17520 2014-04-22 Will Newton <will.newton@linaro.org>
17521 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
17523 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17524 (__longjmp): Add longjmp and longjmp_target SystemTap
17526 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17527 (__sigsetjmp): Add setjmp SystemTap probe.
17529 2014-04-17 Carlos O'Donell <carlos@redhat.com>
17531 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17532 match manual order.
17534 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17536 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17538 * sysdeps/powerpc/fpu/fenv_private.h
17539 (libc_feholdexcept_setroundl_ctx): Define to
17540 libc_feholdexcept_setround_ppc_ctx.
17541 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17542 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17543 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17544 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17546 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17548 * sysdeps/aarch64/math-tests.h: New file.
17550 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
17552 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17555 Check and set bit_AVX2_Usable.
17556 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17558 (bit_AVX2): Likewise.
17559 (index_AVX2_Usable): Likewise.
17560 (CPUID_AVX2): Likewise.
17561 (HAS_AVX2): Likewise.
17563 2014-04-17 Will Newton <will.newton@linaro.org>
17565 * manual/setjmp.texi (System V contexts): Add note that
17566 calling setcontext on a context created by a call to a
17567 signal handler is undefined. Update text to note that
17568 setcontext from a signal handler is possible but not
17572 * stdlib/tst-setcontext.c: Include signal.h.
17573 (main): Check that the signal stack before and
17574 after swapcontext is the same.
17576 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17577 Re-implement to restore registers in user code and avoid
17578 rt_sigreturn system call.
17580 2014-04-17 Wilco <wdijkstr@arm.com>
17582 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17583 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17584 * math/test-fenv.c: Skip exception trap tests on targets which only
17585 support non-stop mode.
17587 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17588 Wilco Dijkstra <wilco.dijkstra@arm.com>
17590 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17591 (libc_feholdsetround_aarch64_ctx)
17592 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17593 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17594 (libc_feresetround_ctx, libc_feresetroundf_ctx)
17595 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17596 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17597 (libc_feresetround_noexl_ctx): Define.
17599 2014-04-16 Richard Henderson <rth@redhat.com>
17601 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17603 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17606 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17607 const from the non-libc, non-ldso copy.
17609 * sysdeps/alpha/libm-test-ulps: Regenerate.
17611 2014-04-16 Ian Bolton <ian.bolton@arm.com>
17612 Wilco Dijkstra <wilco.dijkstra@arm.com>
17614 * sysdeps/aarch64/fpu/math_private.h: New file.
17616 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
17618 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17620 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
17623 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17624 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17625 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17626 Intel MPX bound registers before _dl_profile_fixup.
17627 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17628 registers after _dl_profile_fixup. Save and restore bound
17629 registers bnd0/bnd1 when calling _dl_call_pltexit.
17630 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17631 (LR_BND_OFFSET): Likewise.
17632 (LRV_BND0_OFFSET): Likewise.
17633 (LRV_BND1_OFFSET): Likewise.
17635 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17637 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17639 * sysdeps/mach/hurd/i386/tls.h: ... here.
17640 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17641 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17644 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17646 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17648 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17650 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17652 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17655 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17656 * sysdeps/s390/configure: Regenerate.
17659 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17660 Set round-to-nearest internally to reduce error accumulation.
17662 2014-04-16 Alan Modra <amodra@gmail.com>
17666 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17667 * math/libm-test.inc (frexp_test_data): Add tests.
17668 * NEWS: Update fixed bug list.
17670 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17672 * benchtests/Makefile: Depend on libraries in build directory.
17673 (bench-math): Separate out math tests.
17674 (bench-pthread): Separate out pthread tests.
17675 (bench): Include math and pthread tests.
17677 2014-04-14 Carlos O'Donell <carlos@redhat.com>
17680 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17681 _dl_debug_initialize.
17683 * configure.ac: Remove SELinux header check.
17684 * configure: Regenerate.
17685 * nscd/selinux.c (perms): Array of const char* to permission names.
17686 (nscd_request_avc_has_perm): Call security_deny_unknown to find
17687 default policy. Call string_to_security_class and string_to_av_perm to
17688 translate strings. Enforce default policy and call avs_has_perm with
17689 results of translated strings.
17691 2014-04-13 David S. Miller <davem@davemloft.net>
17693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17695 2014-04-12 Allan McRae <allan@archlinux.org>
17698 * manual/string.texi (Collation Functions): Fix qsort argument
17700 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17702 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
17704 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17705 Make the test a no-op if there are no exceptions defined.
17707 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17709 * elf/Makefile (tests): make tst-dlopen-aout conditional on
17710 enable-hardcoded-path-in-tests
17712 2014-04-11 Will Newton <will.newton@linaro.org>
17714 * benchtests/Makefile (extra-objs): Add json-lib.o.
17715 (bench-func): Tidy up JSON output.
17716 * benchtests/bench-skeleton.c: Include json-lib.h.
17717 (main): Use JSON library functions to do output of
17719 * benchtests/bench-timing-type.c (main): Output the
17720 timing type simply, leaving formatting to the user.
17721 * benchtests/json-lib.c: New file.
17722 * benchtests/json-lib.h: Likewise.
17724 2014-04-11 Torvald Riegel <triegel@redhat.com>
17727 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17728 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
17729 memory barriers. Add comments.
17730 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17731 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17732 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17733 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17734 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17735 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17737 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17739 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17740 * sysdeps/s390/s390-64/configure.ac: ... this ...
17741 * sysdeps/s390/configure.ac: ... to here.
17742 * sysdeps/s390/s390-32/configure: Delete file.
17743 * sysdeps/s390/s390-64/configure: Delete file.
17744 * sysdeps/s390/configure: Regenerate.
17746 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
17748 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17750 2014-04-11 Will Newton <will.newton@linaro.org>
17752 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17753 to zero if it is not defined elsewhere. (mtrim): Test
17754 the value of MALLOC_DEBUG with #if rather than #ifdef.
17756 2014-04-10 Torvald Riegel <triegel@redhat.com>
17758 * benchtests/pthread_once-inputs: New file.
17759 * benchtests/pthread_once-source.c: New file.
17760 * benchtests/README: Update documentation.
17762 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
17763 H.J. Lu <hongjiu.lu@intel.com>
17766 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17767 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17768 * sysdeps/x86_64/configure: Regenerated.
17769 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17771 (REGISTER_SAVE_RAX): Likewise.
17772 (REGISTER_SAVE_RCX): Likewise.
17773 (REGISTER_SAVE_RDX): Likewise.
17774 (REGISTER_SAVE_RSI): Likewise.
17775 (REGISTER_SAVE_RDI): Likewise.
17776 (REGISTER_SAVE_R8): Likewise.
17777 (REGISTER_SAVE_R9): Likewise.
17778 (REGISTER_SAVE_BND0): Likewise.
17779 (REGISTER_SAVE_BND1): Likewise.
17780 (REGISTER_SAVE_BND2): Likewise.
17781 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
17782 bound registers when calling _dl_fixup.
17784 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17786 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17787 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17789 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17790 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17791 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17792 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17793 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17794 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17795 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17797 2014-04-09 Peter Brett <peter@peter-b.co.uk>
17800 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17801 pathconf(_PC_NAME_MAX).
17803 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17805 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17806 Remove macro usage.
17807 (__PTHREAD_SPINS): Move definition to ...
17808 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17809 (__PTHREAD_SPINS): ... here.
17810 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17811 (__PTHREAD_SPIN): Likewise.
17812 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17813 (__PTHREAD_SPIN): Likewise.
17814 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17815 (__PTHREAD_SPIN): Likewise.
17816 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17817 (__PTHREAD_SPIN): Likewise.
17818 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17819 (__PTHREAD_SPIN): Likewise.
17820 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17821 (__PTHREAD_SPIN): Likewise.
17822 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17823 (__PTHREAD_SPIN): Likewise.
17824 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17825 (__PTHREAD_SPIN): Likewise.
17826 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17827 (__PTHREAD_SPIN): Likewise.
17828 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17829 (__PTHREAD_SPIN): Likewise.
17830 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17831 (__PTHREAD_SPIN): Likewise.
17832 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17833 (__PTHREAD_SPIN): Likewise.
17835 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17836 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17837 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17838 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17840 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17841 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17842 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17843 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17844 correct imply path.
17845 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17846 strlen symbol for non multi-arch builds.
17847 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17848 missing hidden_def and weak_alias.
17850 2014-04-08 Carlos O'Donell <carlos@redhat.com>
17852 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17854 2014-04-07 Will Newton <will.newton@linaro.org>
17856 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17857 and contents. [!_LIBC] Remove #ifndef and contents.
17858 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
17859 * string/memccpy.c (__memccpy): Use ANSI prototype.
17860 * string/memfrob.c (memfrob): Likewise.
17861 * string/strcoll.c (STRCOLL): Likewise.
17862 * string/strlen.c (strlen): Likewise.
17863 * string/strtok.c (STRTOK): Likewise.
17864 * string/strcat.c: Remove unused #include of memcopy.h.
17865 (strcat): Use ANSI prototype.
17866 * string/strchr.c: Remove unused #include of memcopy.h.
17867 (strchr): Use ANSI prototype.
17868 * string/strcmp.c: Remove unused #include of memcopy.h.
17869 (strcmp): Use ANSI prototype.
17870 * string/strcpy.c: Remove unused #include of memcopy.h.
17871 (strcpy): Use ANSI prototype.
17873 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17875 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17876 * config.make.in (config-extra-cppflags): Set it from
17877 libc_extra_cppflags.
17878 * configure.ac (libc_extra_cflags): Make it accumulate over
17879 configure fragments.
17880 (libc_extra_cppflags): New flag.
17881 * configure. Regenerate.
17882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17883 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17884 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17888 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17889 result for FE_DOWNWARD rounding mode.
17890 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17894 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
17896 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17897 in function argument name.
17899 2014-04-03 David Svoboda <svoboda@cert.org>
17902 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17905 2014-04-03 Roland McGrath <roland@hack.frob.com>
17907 * elf/dl-unmap-segments.h: New file.
17908 * sysdeps/generic/ldsodefs.h
17909 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17910 * elf/dl-close.c: Include <dl-unmap-segments.h>.
17911 * elf/dl-fptr.c: Likewise.
17912 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17913 * sysdeps/aarch64/tlsdesc.c: Likewise.
17914 * sysdeps/arm/tlsdesc.c: Likewise.
17915 * sysdeps/i386/tlsdesc.c: Likewise.
17916 * sysdeps/tile/dl-runtime.c: Likewise.
17917 * sysdeps/x86_64/tlsdesc.c: Likewise.
17918 * elf/dl-load.h: New file.
17919 * elf/dl-load.c: Include it.
17920 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17921 Macros moved to dl-load.h.
17922 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17923 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17924 Use _dl_unmap_segments in place of __munmap.
17925 Break out segment-mapping loop into ...
17926 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17928 2014-04-03 Will Newton <will.newton@linaro.org>
17930 * elf/dl-lookup.c (do_lookup_x): Remove comment
17931 referring to nested function and move variable
17932 declarations down to before first use.
17934 2014-04-02 Joseph Myers <joseph@codesourcery.com>
17938 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17940 * math/s_catanf.c (__catanf): Likewise.
17941 * math/s_catanh.c (__catanh): Likewise.
17942 * math/s_catanhf.c (__catanhf): Likewise.
17943 * math/s_catanhl.c (__catanhl): Likewise.
17944 * math/s_catanl.c (__catanl): Likewise.
17945 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17946 by positive zero when computing -Inf result.
17947 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17948 (catanh_test): Likewise.
17949 * sysdeps/i386/fpu/libm-test-ulps: Update.
17950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17953 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17954 instead of using underflowing value in computing result.
17955 * math/s_clog10.c (__clog10): Likewise.
17956 * math/s_clog10f.c (__clog10f): Likewise.
17957 * math/s_clog10l.c (__clog10l): Likewise.
17958 * math/s_clogf.c (__clogf): Likewise.
17959 * math/s_clogl.c (__clogl): Likewise.
17960 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17961 (clog10_test): Likewise.
17962 * sysdeps/i386/fpu/libm-test-ulps: Update.
17963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17965 2014-04-02 Alan Modra <amodra@gmail.com>
17968 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17969 output when value is near a power of two. Use int64_t for lx and
17970 remove casts. Use decimal rather than hex exponent constants.
17971 Don't use long double multiplication when double will suffice.
17972 * math/libm-test.inc (nextafter_test_data): Add tests.
17973 * NEWS: Add 16739 and 16786 to bug list.
17975 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17977 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17979 2014-04-01 Will Newton <will.newton@linaro.org>
17981 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17982 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
17984 2014-04-01 Florian Weimer <fweimer@redhat.com>
17987 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17988 * nptl/tst-setuid2.c: New file.
17989 * nptl/Makefile (xtests): Add tst-setuid2.
17991 2014-04-01 Alan Modra <amodra@gmail.com>
17994 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17996 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18000 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18001 set errno as appropriate.
18002 * math/w_scalbf.c (__scalbf): Likewise.
18003 * math/w_scalbl.c (__scalbl): Likewise.
18004 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18005 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18006 * math/libm-test.inc (scalb_test_data): Add errno expectations.
18007 Add more NaN tests.
18010 * math/w_atan2.c: Include <errno.h>.
18011 (__atan2): Set errno for result underflowing to zero.
18012 * math/w_atan2f.c: Include <errno.h>.
18013 (__atan2f): Set errno for result underflowing to zero.
18014 * math/w_atan2l.c: Include <errno.h>.
18015 (__atan2l): Set errno for result underflowing to zero.
18016 * math/auto-libm-test-in: Don't allow missing errno for some atan2
18018 * math/auto-libm-test-out: Regenerated.
18020 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18022 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18023 Encode instruction correctly in little endian.
18024 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18026 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18028 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18030 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18033 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18036 * sysdeps/unix/sysv/linux/kernel-features.h
18037 [__sparc__ && !__arch64__ && !__sparc_v9__]
18038 (__ASSUME_SET_ROBUST_LIST): Do not define.
18039 [__sparc__ && !__arch64__ && !__sparc_v9__]
18040 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18041 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18043 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18044 (__ASSUME_FUTEX_LOCK_PI): Undefine.
18045 (__ASSUME_REQUEUE_PI): Likewise.
18046 (__ASSUME_SET_ROBUST_LIST): Likewise.
18047 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18048 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18050 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18051 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18053 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18055 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18057 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18058 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18060 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18061 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18065 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18066 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18067 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18069 2014-03-31 Will Newton <will.newton@linaro.org>
18071 * benchtests/Makefile (bench): Add ffs and ffsll to list
18073 * benchtests/ffs-inputs: New file.
18074 * benchtests/ffsll-inputs: Likewise.
18076 2014-03-29 Joseph Myers <joseph@codesourcery.com>
18079 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18080 too large before casting to int.
18081 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18082 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18083 * math/libm-test.inc (scalb_test_data): Add more tests.
18085 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18087 * benchtests/Makefile (DETAILED_OPT): New make option.
18088 (bench-func): Run benchmark program with -d if DETAILED_OPT is
18090 * benchtests/bench-skeleton.c: Include stdbool.h.
18091 (main): Store and print timings per input.
18092 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18093 member to each argument value.
18094 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18095 (_print_arg_data): Initialize per-input timing to 0.
18097 * benchtests/Makefile (timing-type): New binary.
18098 (bench-clean): Also remove bench-timing-type.
18099 (bench): New target for timing-type.
18100 (bench-func): Print output in JSON format.
18101 * benchtests/bench-skeleton.c (main): Print output in JSON
18103 * benchtests/bench-timing-type.c: New file.
18104 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18105 (TIMING_PRINT_STATS): Remove.
18106 * benchtests/scripts/bench.py (_print_arg_data): Store variant
18109 * benchtests/bench-modf.c: Remove.
18110 * benchtests/modf-inputs: New inputs file.
18112 2014-03-28 Joseph Myers <joseph@codesourcery.com>
18115 * math/s_clog10.c (M_PI_LOG10E): New macro.
18116 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18117 imaginary parts are 0.
18118 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18119 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18120 imaginary parts are 0.
18121 * math/s_clog10l.c (M_PI_LOG10El): New macro.
18122 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18123 imaginary parts are 0.
18124 * math/libm-test.inc (clog10_test_data): Update expected results
18125 for when real and imaginary parts are 0.
18127 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
18129 * elf/dl-load.c: Finish conversion of __builtin_expect into
18130 __glibc_{un}likely.
18132 2014-03-27 Joseph Myers <joseph@codesourcery.com>
18135 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18136 1+x for argument with exponent below -67.
18137 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18139 * math/auto-libm-test-in: Add more tests of exp.
18140 * math/auto-libm-test-out: Regenerated.
18142 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18145 * inet/getnetgrent_r.c (get_nonempty_val): New function.
18146 (nscd_getnetgrent): Use it.
18149 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18152 2014-03-27 Andi Kleen <ak@linux.intel.com>
18154 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18155 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18156 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18157 (lll_robust_unlock): Remove out of line section. Use cfi
18159 (LLL_STUB_UNWIND_INFO*): Remove.
18160 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18161 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18162 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18163 (lll_robust_unlock): Remove out of line section. Use cfi
18165 (LLL_STUB_UNWIND_INFO*): Remove.
18167 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18170 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18173 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
18175 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18177 2014-03-26 Joseph Myers <joseph@codesourcery.com>
18180 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18182 * math/test-fenv-preserve.c: New file.
18183 * math/Makefile (tests): Add test-fenv-preserve.
18185 2014-03-26 Will Newton <will.newton@linaro.org>
18187 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18189 2014-03-25 Roland McGrath <roland@hack.frob.com>
18191 * scripts/versionlist.awk: Partition the version sets and emit all
18192 GLIBC_* (sorted) before all others (sorted).
18194 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18196 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18197 GLIBC_2.2.5 version.
18199 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18201 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18204 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18209 2014-03-25 Andreas Schwab <schwab@suse.de>
18211 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18212 label to be used after in6ailist is initialized.
18214 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18216 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18217 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18219 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18223 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18225 (fp_formats): Update initializers.
18226 (init_fp_formats): Initialize new field.
18227 (output_for_one_input_case): Allow underflow for results up to
18229 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18230 * math/auto-libm-test-in: Don't mark some underflows from asin and
18232 * math/auto-libm-test-out: Regenerated.
18233 * sysdeps/i386/fpu/libm-test-ulps: Update.
18234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18236 2014-03-25 Andreas Schwab <schwab@suse.de>
18238 * libio/Makefile (tst-ftell-partial-wide-ENV)
18239 (tst-ftell-active-handler-ENV): Define.
18241 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18243 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18245 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18247 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18249 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18251 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18252 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18253 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18255 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18258 * elf/dl-load.c (open_verify): Add mode parameter.
18259 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18260 (open_path): Change from boolean 'secure' to complete flag 'mode'
18261 (_dl_map_object): Adjust.
18262 * elf/Makefile (tests): Add tst-dlopen-aout.
18263 * elf/tst-dlopen-aout.c: New test.
18265 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18268 * sysdeps/unix/sysv/linux/s390/bits/stat.h
18269 (struct stat): Rename member pad0 to __glibc_reserved0.
18272 * sysdeps/s390/s390-32/bits/wordsize.h
18273 (__WORDSIZE32_SIZE_ULONG): New define.
18274 * sysdeps/s390/s390-64/bits/wordsize.h
18275 (__WORDSIZE32_SIZE_ULONG): Likewise.
18276 * sysdeps/generic/stdint.h (SIZE_MAX):
18277 Define as UL if __WORDSIZE32_SIZE_ULONG.
18280 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18281 (__glibc_reserved0): New variable.
18282 (sa_flags): Change type to int.
18284 * posix/Makefile (before-compile): Use += before-compile instead
18287 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18288 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18290 2014-03-20 Andreas Schwab <schwab@suse.de>
18293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18294 non-matching result from nscd.
18296 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18298 * scripts/bench.py: Moved to ...
18299 * benchtests/scripts/bench.py: ... here.
18300 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18302 2014-03-24 Andreas Schwab <schwab@suse.de>
18305 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18306 alloca_account and account alloca use for struct in6ailist.
18308 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18311 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18312 rounding mode to recompute results that overflow to infinity or
18314 * math/auto-libm-test-in: Don't mark tests as expected to fail for
18316 * math/auto-libm-test-out: Regenerated.
18317 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18318 (ccosh_test): Likewise.
18319 (csin_test_data): Use plus_oflow.
18320 (csin_test): Use ALL_RM_TEST.
18321 (csinh_test_data): Use plus_oflow.
18322 (csinh_test): Use ALL_RM_TEST.
18323 * sysdeps/i386/fpu/libm-test-ulps: Update.
18324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18326 2014-03-21 Joseph Myers <joseph@codesourcery.com>
18328 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18329 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18330 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18333 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18334 when x - 1 is zero.
18335 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18336 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18337 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18338 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18340 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18341 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18343 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18344 * sysdeps/i386/fpu/libm-test-ulps: Update.
18345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18347 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18349 * scripts/bench.pl: Remove file.
18350 * scripts/bench.py: New benchmark script.
18351 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18352 * benchtests/README: Mention python dependency.
18353 * scripts/pylintrc: New file.
18354 * scripts/pylint: New file.
18356 * bits/mathdef.h: Use #ifdef instead of #if.
18357 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18358 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18359 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18360 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18361 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18362 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18364 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18365 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18367 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18369 and strpbrk-ppc64 objects.
18370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18371 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18372 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18373 multiarch strpbrk for POWER7.
18374 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18375 multiarch strpbrk for PPC64.
18376 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18378 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18379 strpbrk for POWER7.
18381 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18383 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18384 (atan_test): Likewise.
18385 (atanh_test_data): Use NO_TEST_INLINE for two tests.
18386 (atanh_test): Use ALL_RM_TEST.
18387 (atan2_test_data): Likewise.
18388 (cabs_test): Likewise.
18389 (cacosh_test): Likewise.
18390 (carg_test): Likewise.
18391 (casin_test): Likewise.
18392 (casinh_test): Likewise.
18393 (cbrt_test): Likewise.
18394 (csqrt_test): Likewise.
18395 (erf_test): Likewise.
18396 (erfc_test): Likewise.
18397 (pow10_test): Likewise.
18398 (exp2_test): Likewise.
18399 (hypot_test): Likewise.
18400 (j0_test): Likewise.
18401 (j1_test): Likewise.
18402 (lgamma_test): Likewise.
18403 (gamma_test): Likewise.
18404 (sincos_test): Likewise.
18405 (tanh_test): Likewise.
18406 (y0_test): Likewise.
18407 (y1_test): Likewise.
18408 * sysdeps/i386/fpu/libm-test-ulps: Update.
18409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18411 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18413 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18415 and strcspn-ppc64 objects.
18416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18417 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18418 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18419 multiarch strcspn for POWER7.
18420 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18421 multiarch strcspn for PPC64.
18422 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18424 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18425 strcspn for POWER7.
18427 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18429 * math/gen-libm-test.pl (generate_testfile): Expect only function
18430 name as argument to AUTO_TESTS_* and pass results for all rounding
18431 modes to parse_args.
18432 (parse_auto_input): Separate inputs of automatic tests from
18433 outputs before storing in %auto_tests.
18434 * math/libm-test.inc (acos_test_data): Update call to
18436 (acos_test): Use ALL_RM_TEST.
18437 (acos_tonearest_test_data): Remove.
18438 (acos_test_tonearest): Likewise.
18439 (acos_towardzero_test_data): Likewise.
18440 (acos_test_towardzero): Likewise.
18441 (acos_downward_test_data): Likewise.
18442 (acos_test_downward): Likewise.
18443 (acos_upward_test_data): Likewise.
18444 (acos_test_upward): Likewise.
18445 (acosh_test_data): Update call to AUTO_TESTS_f_f.
18446 (asin_test_data): Likewise.
18447 (asin_test): Use ALL_RM_TEST.
18448 (asin_tonearest_test_data): Remove.
18449 (asin_test_tonearest): Likewise.
18450 (asin_towardzero_test_data): Likewise.
18451 (asin_test_towardzero): Likewise.
18452 (asin_downward_test_data): Likewise.
18453 (asin_test_downward): Likewise.
18454 (asin_upward_test_data): Likewise.
18455 (asin_test_upward): Likewise.
18456 (asinh_test_data): Update call to AUTO_TESTS_f_f.
18457 (atan_test_data): Likewise.
18458 (atanh_test_data): Likewise.
18459 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18460 (cabs_test_data): Update call to AUTO_TESTS_c_f.
18461 (carg_test_data): Likewise.
18462 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18463 (ccos_test_data): Update call to AUTO_TESTS_c_c.
18464 (ccosh_test_data): Likewise.
18465 (cexp_test_data): Likewise.
18466 (clog_test_data): Likewise.
18467 (clog10_test_data): Likewise.
18468 (cos_test_data): Update call to AUTO_TESTS_f_f.
18469 (cos_test): Use ALL_RM_TEST.
18470 (cos_tonearest_test_data): Remove.
18471 (cos_test_tonearest): Likewise.
18472 (cos_towardzero_test_data): Likewise.
18473 (cos_test_towardzero): Likewise.
18474 (cos_downward_test_data): Likewise.
18475 (cos_test_downward): Likewise.
18476 (cos_upward_test_data): Likewise.
18477 (cos_test_upward): Likewise.
18478 (cosh_test_data): Update call to AUTO_TESTS_f_f.
18479 (cosh_test): Use ALL_RM_TEST.
18480 (cosh_tonearest_test_data): Remove.
18481 (cosh_test_tonearest): Likewise.
18482 (cosh_towardzero_test_data): Likewise.
18483 (cosh_test_towardzero): Likewise.
18484 (cosh_downward_test_data): Likewise.
18485 (cosh_test_downward): Likewise.
18486 (cosh_upward_test_data): Likewise.
18487 (cosh_test_upward): Likewise.
18488 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18489 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18490 (ctan_test_data): Likewise.
18491 (ctan_test): Use ALL_RM_TEST.
18492 (ctan_tonearest_test_data): Remove.
18493 (ctan_test_tonearest): Likewise.
18494 (ctan_towardzero_test_data): Likewise.
18495 (ctan_test_towardzero): Likewise.
18496 (ctan_downward_test_data): Likewise.
18497 (ctan_test_downward): Likewise.
18498 (ctan_upward_test_data): Likewise.
18499 (ctan_test_upward): Likewise.
18500 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18501 (ctanh_test): Use ALL_RM_TEST.
18502 (ctanh_tonearest_test_data): Remove.
18503 (ctanh_test_tonearest): Likewise.
18504 (ctanh_towardzero_test_data): Likewise.
18505 (ctanh_test_towardzero): Likewise.
18506 (ctanh_downward_test_data): Likewise.
18507 (ctanh_test_downward): Likewise.
18508 (ctanh_upward_test_data): Likewise.
18509 (ctanh_test_upward): Likewise.
18510 (erf_test_data): Update call to AUTO_TESTS_f_f.
18511 (erfc_test_data): Likewise.
18512 (exp_test_data): Likewise.
18513 (exp_test): Use ALL_RM_TEST.
18514 (exp_tonearest_test_data): Remove.
18515 (exp_test_tonearest): Likewise.
18516 (exp_towardzero_test_data): Likewise.
18517 (exp_test_towardzero): Likewise.
18518 (exp_downward_test_data): Likewise.
18519 (exp_test_downward): Likewise.
18520 (exp_upward_test_data): Likewise.
18521 (exp_test_upward): Likewise.
18522 (exp10_test_data): Update call to AUTO_TESTS_f_f.
18523 (exp10_test): Use ALL_RM_TEST.
18524 (exp10_tonearest_test_data): Remove.
18525 (exp10_test_tonearest): Likewise.
18526 (exp10_towardzero_test_data): Likewise.
18527 (exp10_test_towardzero): Likewise.
18528 (exp10_downward_test_data): Likewise.
18529 (exp10_test_downward): Likewise.
18530 (exp10_upward_test_data): Likewise.
18531 (exp10_test_upward): Likewise.
18532 (exp2_test_data): Update call to AUTO_TESTS_f_f.
18533 (expm1_test_data): Likewise.
18534 (expm1_test): Use ALL_RM_TEST.
18535 (expm1_tonearest_test_data): Remove.
18536 (expm1_test_tonearest): Likewise.
18537 (expm1_towardzero_test_data): Likewise.
18538 (expm1_test_towardzero): Likewise.
18539 (expm1_downward_test_data): Likewise.
18540 (expm1_test_downward): Likewise.
18541 (expm1_upward_test_data): Likewise.
18542 (expm1_test_upward): Likewise.
18543 (fma_test_data): Update call to AUTO_TESTS_fff_f.
18544 (fma_test): Use ALL_RM_TEST.
18545 (fma_towardzero_test_data): Remove.
18546 (fma_test_towardzero): Likewise.
18547 (fma_downward_test_data): Likewise.
18548 (fma_test_downward): Likewise.
18549 (fma_upward_test_data): Likewise.
18550 (fma_test_upward): Likewise.
18551 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18552 (j0_test_data): Update call to AUTO_TESTS_f_f.
18553 (j1_test_data): Likewise.
18554 (jn_test_data): Update call to AUTO_TESTS_if_f.
18555 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18556 (log_test_data): Update call to AUTO_TESTS_f_f.
18557 (log10_test_data): Likewise.
18558 (log1p_test_data): Likewise.
18559 (log2_test_data): Likewise.
18560 (pow_test_data): Update call to AUTO_TESTS_ff_f.
18561 (pow_tonearest_test_data): Likewise.
18562 (sin_test_data): Update call to AUTO_TESTS_f_f.
18563 (sin_test): Use ALL_RM_TEST.
18564 (sin_tonearest_test_data): Remove.
18565 (sin_test_tonearest): Likewise.
18566 (sin_towardzero_test_data): Likewise.
18567 (sin_test_towardzero): Likewise.
18568 (sin_downward_test_data): Likewise.
18569 (sin_test_downward): Likewise.
18570 (sin_upward_test_data): Likewise.
18571 (sin_test_upward): Likewise.
18572 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18573 (sinh_test_data): Update call to AUTO_TESTS_f_f.
18574 (sinh_test): Use ALL_RM_TEST.
18575 (sinh_tonearest_test_data): Remove.
18576 (sinh_test_tonearest): Likewise.
18577 (sinh_towardzero_test_data): Likewise.
18578 (sinh_test_towardzero): Likewise.
18579 (sinh_downward_test_data): Likewise.
18580 (sinh_test_downward): Likewise.
18581 (sinh_upward_test_data): Likewise.
18582 (sinh_test_upward): Likewise.
18583 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18584 (sqrt_test): Use ALL_RM_TEST.
18585 (sqrt_tonearest_test_data): Remove.
18586 (sqrt_test_tonearest): Likewise.
18587 (sqrt_towardzero_test_data): Likewise.
18588 (sqrt_test_towardzero): Likewise.
18589 (sqrt_downward_test_data): Likewise.
18590 (sqrt_test_downward): Likewise.
18591 (sqrt_upward_test_data): Likewise.
18592 (sqrt_test_upward): Likewise.
18593 (tan_test_data): Update call to AUTO_TESTS_f_f.
18594 (tan_test): Use ALL_RM_TEST.
18595 (tan_tonearest_test_data): Remove.
18596 (tan_test_tonearest): Likewise.
18597 (tan_towardzero_test_data): Likewise.
18598 (tan_test_towardzero): Likewise.
18599 (tan_downward_test_data): Likewise.
18600 (tan_test_downward): Likewise.
18601 (tan_upward_test_data): Likewise.
18602 (tan_test_upward): Likewise.
18603 (tanh_test_data): Update call to AUTO_TESTS_f_f.
18604 (tgamma_test_data): Likewise.
18605 (y0_test_data): Likewise.
18606 (y1_test_data): Likewise.
18607 (yn_test_data): Update call to AUTO_TESTS_if_f.
18608 (main): Do not call removed functions.
18610 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18612 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18613 (ldexp_test_data): Remove.
18614 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
18616 (scalb_test): Use ALL_RM_TEST.
18618 2014-03-19 Andreas Schwab <schwab@suse.de>
18620 * nscd/nscd.service: Also invalidate netgroup cache on reload.
18622 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18625 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18626 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18627 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18628 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18629 (__ASSUME_PREADV): Undefine.
18630 (__ASSUME_PWRITEV): Likewise.
18632 2014-03-18 Roland McGrath <roland@hack.frob.com>
18634 * bits/mman-linux.h: Add comment about non-Linux use.
18635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18636 bits/mman-linux.h resting place.
18638 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18639 * bits/mman-linux.h: ... here.
18641 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18643 * conform/conformtest.pl: Add standard definition when calling C
18644 preprocessor on data files.
18645 (checknamespace): Remove unused variable.
18647 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18649 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18650 minus_oflow, plus_uflow and minus_uflow in expected results.
18651 * math/libm-test.inc (scalbn_test_data): Add more tests of
18652 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
18654 (scalbn_test): Use ALL_RM_TEST.
18655 (scalbln_test_data): Add more tests of negative arguments. Use
18656 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18657 (scalbln_test): Use ALL_RM_TEST.
18659 2014-03-18 Roland McGrath <roland@hack.frob.com>
18661 * scripts/abilist.awk: Ignore symbols marked with .hidden.
18663 2014-03-18 Will Newton <will.newton@linaro.org>
18665 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18666 inaccurate comment.
18668 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18670 * Makerules [!subdir] (check-abi): Exit with error status if a
18673 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18675 * math/libm-test.inc (nearbyint_test_data): Include all tests used
18676 for rint. Include results for all rounding modes.
18677 (nearbyint_test): Use ALL_RM_TEST.
18678 (rint_test_data): Include all tests used for nearbyint.
18680 2014-03-17 Will Newton <will.newton@linaro.org>
18682 * nptl/sysdeps/pthread/pthread.h: Revert previous
18685 * sysdeps/generic/ldsodefs.h: Revert previous
18688 * libio/genops.c: Revert previous change.
18689 * libio/libioP.h: Likewise.
18690 * stdio-common/vfprintf.c: Likewise.
18692 * sysdeps/generic/math_private.h: Revert previous
18695 * sysdeps/generic/math_private.h: Check whether
18696 HAVE_RM_CTX is defined with #ifdef rather
18699 * argp/argp-fmtstream.h: Check whether
18700 __STRICT_ANSI__ is defined with #ifdef rather
18702 * argp/argp.h: Likewise.
18704 * libio/genops.c: Check whether
18705 _IO_JUMPS_OFFSET is defined with #ifdef rather
18707 * libio/libioP.h: Likewise.
18708 * stdio-common/vfprintf.c: Likewise.
18710 * sysdeps/generic/ldsodefs.h: Check whether
18711 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18714 * nptl/sysdeps/pthread/pthread.h: Check
18715 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18718 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18720 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18722 * libio/tst-ftell-active-handler.c (do_append_test): Add a
18726 * libio/fileops.c (_IO_file_open): Seek to end of file but
18727 don't cache the offset.
18728 (get_file_offset): Remove function.
18729 (do_ftell): Use cached offset when available.
18730 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18731 don't cache the offset.
18732 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18734 (do_one_test): Call it.
18735 (do_ftell_test): Fix up expected old offset for a+ mode.
18736 * libio/wfileops.c (do_ftell_wide): Used cached offset when
18739 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18740 up test status with function return status.
18741 (do_write_test): Likewise.
18742 (do_append_test): Likewise.
18744 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18745 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18748 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18750 * math/gen-libm-test.pl (parse_args): Handle results specified for
18751 each rounding mode separately.
18752 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18753 tests and results from lrint_tonearest_test_data,
18754 lrint_towardzero_test_data, lrint_downward_test_data and
18755 lrint_upward_test_data.
18756 (lrint_test): Use ALL_RM_TEST.
18757 (lrint_tonearest_test_data): Remove.
18758 (lrint_test_tonearest): Likewise.
18759 (lrint_towardzero_test_data): Likewise.
18760 (lrint_test_towardzero): Likewise.
18761 (lrint_downward_test_data): Likewise.
18762 (lrint_test_downward): Likewise.
18763 (lrint_upward_test_data): Likewise.
18764 (lrint_test_upward): Likewise.
18765 (llrint_test_data): Merge in per-rounding-mode tests and results
18766 from llrint_tonearest_test_data, llrint_towardzero_test_data,
18767 llrint_downward_test_data and llrint_upward_test_data.
18768 (llrint_test): Use ALL_RM_TEST.
18769 (llrint_tonearest_test_data): Remove.
18770 (llrint_test_tonearest): Likewise.
18771 (llrint_towardzero_test_data): Likewise.
18772 (llrint_test_towardzero): Likewise.
18773 (llrint_downward_test_data): Likewise.
18774 (llrint_test_downward): Likewise.
18775 (llrint_upward_test_data): Likewise.
18776 (llrint_test_upward): Likewise.
18777 (rint_test_data): Merge in per-rounding-mode tests and results
18778 from rint_tonearest_test_data, rint_towardzero_test_data,
18779 rint_downward_test_data and rint_upward_test_data. Add
18780 per-rounding-mode results for tests not in those arrays.
18781 (rint_test): Use ALL_RM_TEST.
18782 (rint_tonearest_test_data): Remove.
18783 (rint_test_tonearest): Likewise.
18784 (rint_towardzero_test_data): Likewise.
18785 (rint_test_towardzero): Likewise.
18786 (rint_downward_test_data): Likewise.
18787 (rint_test_downward): Likewise.
18788 (rint_upward_test_data): Likewise.
18789 (rint_test_upward): Likewise.
18790 (main): Don't call removed functions.
18792 2014-03-14 Roland McGrath <roland@hack.frob.com>
18794 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18795 "Compiled on ..." crapola. It is anti-useful.
18797 2014-03-14 Joseph Myers <joseph@codesourcery.com>
18799 * scripts/evaluate-test.sh: Handle fourth argument to determine
18800 whether test run should stop on failure.
18801 * Makeconfig (stop-on-test-failure): New variable.
18802 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18803 $(stop-on-test-failure).
18804 * Makefile (tests): Give a summary of results from testing and
18805 exit with failure status if they include an ERROR or FAIL.
18806 (xtests): Likewise.
18807 * manual/install.texi (Configuring and compiling): Mention
18808 stop-on-test-failure=y.
18809 * INSTALL: Regenerated.
18811 2014-03-14 Roland McGrath <roland@hack.frob.com>
18813 * scripts/versionlist.awk: New file.
18814 * Makerules [$(build-shared) = yes]
18815 (postclean-generated): Add Versions.def, not Versions.def.v and
18817 ($(common-objpfx)Versions.def.v.i): Target removed.
18818 ($(common-objpfx)Versions.def): New target.
18819 ($(common-objpfx)Versions.all): Depend on that rather that
18820 $(common-objpfx)Versions.def.v.
18821 * Versions.def: File removed.
18823 * Makeconfig (+gccwarn): Add -Wundef.
18824 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18825 a dl-sysdep.h breaking its contract.
18826 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18827 * include/stackinfo.h: New file.
18828 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18829 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18830 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18831 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18832 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18833 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18834 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18835 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18836 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18837 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18838 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18839 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18840 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18841 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18842 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18844 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18847 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18849 * math/libm-test.inc (round_test_data): Add more tests.
18852 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18854 * math/libm-test.inc (nearbyint_test_data): Add more tests.
18857 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18859 * math/libm-test.inc (ceil_test_data): Add more tests.
18861 * math/libm-test.inc (trunc_test_data): Add more tests related to
18864 2014-03-14 Roland McGrath <roland@hack.frob.com>
18866 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18867 with #if rather than #ifdef.
18868 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18870 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
18872 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18873 first. Disable AVX-512 GCC support if assembler doesn't support
18875 * sysdeps/x86_64/configure: Regenerated.
18877 2014-03-13 Carlos O'Donell <carlos@redhat.com>
18879 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18880 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18881 (__old_pthread_attr_setstack): Likewise.
18882 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18883 [!_STACK_GROWS_DOWN]: Likewise.
18885 2014-03-13 Mike Frysinger <vapier@gentoo.org>
18887 * config.make.in (have-bash2): Delete.
18888 * configure.ac (libc_cv_have_bash2): Delete.
18889 * configure: Regenerate.
18890 * elf/Makefile (common-ldd-rewrite): Rename to ...
18891 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
18892 (sh-ldd-rewrite): Delete.
18893 (bash-ldd-rewrite): Delete.
18894 (have-bash2): Delete checks.
18895 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18898 * config.make.in (have-ksh): Delete.
18900 * configure.ac (libc_cv_have_ksh): Delete.
18901 * configure: Regenerate.
18903 * elf/Makefile: Delete $(have-ksh) check.
18904 ($(objpfx)sotruss): Change KSH to BASH.
18905 * elf/sotruss.ksh: Rename to ...
18906 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
18907 function style to match POSIX. Drop ksh vim mode setting.
18909 * manual/time.texi (Specifying the Time Zone with TZ): Change
18910 Tuesday to Thursday.
18912 * debug/tst-longjmp_chk2.c: Update header comment.
18913 (stackoverflow_handler): Add comment. Call assert on pass value.
18915 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
18918 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18919 (HAVE_AVX512_ASM_SUPPORT): Likewise.
18920 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18921 (La_x86_64_vector): Add zmm.
18922 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18923 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18924 ($(objpfx)tst-audit10): New target.
18925 ($(objpfx)tst-audit10.out): Likewise.
18926 (tst-audit10-ENV): New.
18927 (AVX512-CFLAGS): Likewise.
18928 (CFLAGS-tst-audit10.c): Likewise.
18929 (CFLAGS-tst-auditmod10a.c): Likewise.
18930 (CFLAGS-tst-auditmod10b.c): Likewise.
18931 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18932 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18933 * sysdeps/x86_64/configure: Regenerated.
18934 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18935 AVX-512 zmm register support.
18936 (_dl_x86_64_save_sse): Likewise.
18937 (_dl_x86_64_restore_sse): Likewise.
18938 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18939 size vector registers.
18940 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18941 (ZMM_SIZE): Likewise.
18942 * sysdeps/x86_64/tst-audit10.c: New file.
18943 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18944 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18946 2014-03-13 Roland McGrath <roland@hack.frob.com>
18948 * configure.ac (HAVE_EHDR_START): New check.
18949 * configure: Regenerated.
18950 * config.h.in (HAVE_EHDR_START): New #undef.
18951 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18952 assuming the lowest-addressed segment maps the start of the file.
18954 2014-03-13 Joseph Myers <joseph@codesourcery.com>
18956 * INSTALL: Regenerated.
18958 2014-03-13 Will Newton <will.newton@linaro.org>
18960 * manual/setjmp.texi (System V contexts): Improve
18961 clarity and grammar of documentation.
18963 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18966 * elf/Makefile (tests): Add tst-pie2.
18967 (tests-pie): Add tst-pie2.
18968 * elf/tst-pie2.c: New file.
18969 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18971 * elf/rtld.c (map_doit): Load executable as lt_executable.
18972 (dl_main): Likewise.
18974 2014-03-12 Joseph Myers <joseph@codesourcery.com>
18977 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18978 (__ASSUME_PSELECT): Undefine.
18980 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18983 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18984 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18986 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18987 selector for static builds.
18989 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18992 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18995 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18997 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18998 IFUNC selector for static builds.
19000 2014-03-11 Joseph Myers <joseph@codesourcery.com>
19002 * sysdeps/mips/math_private.h [__mips_hard_float]
19003 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19004 libc_feresetround_mips_ctx.
19005 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19006 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19007 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19010 * math/s_nextafter.c (__nextafter): Do not return value from
19011 overflowing computation.
19012 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19013 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19014 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19016 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19018 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19019 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19021 2014-03-11 Roland McGrath <roland@hack.frob.com>
19023 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19024 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19025 Move sfi_sp use from the load-multiple (that no longer sets sp) to
19026 the new mov targetting sp.
19028 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19031 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19032 Define it for static builds as well.
19033 (NO_BZERO_IMPL): Likewise.
19035 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19037 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19038 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19039 multiarch strspn for PPC64.
19040 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19041 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19043 (__libc_ifunc_impl_list): Likewise.
19044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19045 multiarch optimizations
19046 * string/strspn.c (strspn): Using macro to redefine symbol name.
19048 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19049 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19051 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19052 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19053 multiarch strncat for PPC64.
19054 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19055 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19057 (__libc_ifunc_impl_list): Likewise.
19058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19059 multiarch optimizations
19061 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19064 * nscd/nscd.service: Make service type forking.
19066 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19068 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19069 sign in non default rounding modes.
19070 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19072 2014-03-08 Joseph Myers <joseph@codesourcery.com>
19074 * math/libm-test.inc (ALL_RM_TEST): New macro.
19075 (ceil_test): Use ALL_RM_TEST.
19076 (cimag_test): Likewise.
19077 (conj_test): Likewise.
19078 (copysign_test): Likewise.
19079 (cproj_test): Likewise.
19080 (creal_test): Likewise.
19081 (fabs_test): Likewise.
19082 (floor_test): Likewise.
19083 (fmax_test): Likewise.
19084 (fmin_test): Likewise.
19085 (fmod_test): Likewise.
19086 (fpclassify_test): Likewise.
19087 (frexp_test): Likewise.
19088 (ilogb_test): Likewise.
19089 (isfinite_test): Likewise.
19090 (finite_test): Likewise.
19091 (isgreater_test): Likewise.
19092 (isgreaterequal_test): Likewise.
19093 (isinf_test): Likewise.
19094 (isless_test): Likewise.
19095 (islessequal_test): Likewise.
19096 (islessgreater_test): Likewise.
19097 (isnan_test): Likewise.
19098 (isnormal_test): Likewise.
19099 (issignaling_test): Likewise.
19100 (isunordered_test): Likewise.
19101 (logb_test): Likewise.
19102 (logb_downward_test_data): Remove.
19103 (logb_test_downward): Likewise.
19104 (lround_test): Use ALL_RM_TEST.
19105 (llround_test): Likewise.
19106 (modf_test): Likewise.
19107 (nexttoward_test): Likewise.
19108 (remainder_test): Likewise.
19109 (drem_test): Likewise.
19110 (remainder_tonearest_test_data): Likewise.
19111 (remainder_test_tonearest): Likewise.
19112 (drem_test_tonearest): Likewise.
19113 (remainder_towardzero_test_data): Likewise.
19114 (remainder_test_towardzero): Likewise.
19115 (drem_test_towardzero): Likewise.
19116 (remainder_downward_test_data): Likewise.
19117 (remainder_test_downward): Likewise.
19118 (drem_test_downward): Likewise.
19119 (remainder_upward_test_data): Likewise.
19120 (remainder_test_upward): Likewise.
19121 (drem_test_upward): Likewise.
19122 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
19123 (round_test): Use ALL_RM_TEST.
19124 (signbit_test): Likewise.
19125 (trunc_test): Likewise.
19126 (significand_test): Likewise.
19127 (main): Don't call removed functions.
19129 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19132 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19133 || __USE_XOPEN2K8].
19134 (ILL_ILLOPN): Likewise.
19135 (ILL_ILLADR): Likewise.
19136 (ILL_ILLTRP): Likewise.
19137 (ILL_PRVOPC): Likewise.
19138 (ILL_PRVREG): Likewise.
19139 (ILL_COPROC): Likewise.
19140 (ILL_BADSTK): Likewise.
19141 (FPE_INTDIV): Likewise.
19142 (FPE_INTOVF): Likewise.
19143 (FPE_FLTDIV): Likewise.
19144 (FPE_FLTOVF): Likewise.
19145 (FPE_FLTUND): Likewise.
19146 (FPE_FLTRES): Likewise.
19147 (FPE_FLTINV): Likewise.
19148 (FPE_FLTSUB): Likewise.
19149 (SEGV_MAPERR): Likewise.
19150 (SEGV_ACCERR): Likewise.
19151 (BUS_ADRALN): Likewise.
19152 (BUS_ADRERR): Likewise.
19153 (BUS_OBJERR): Likewise.
19154 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19155 (TRAP_TRACE): Likewise.
19156 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19158 (CLD_KILLED): Likewise.
19159 (CLD_DUMPED): Likewise.
19160 (CLD_TRAPPED): Likewise.
19161 (CLD_STOPPED): Likewise.
19162 (CLD_CONTINUED): Likewise.
19163 (POLL_IN): Likewise.
19164 (POLL_OUT): Likewise.
19165 (POLL_MSG): Likewise.
19166 (POLL_ERR): Likewise.
19167 (POLL_PRI): Likewise.
19168 (POLL_HUP): Likewise.
19169 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19171 (ILL_ILLOPN): Likewise.
19172 (ILL_ILLADR): Likewise.
19173 (ILL_ILLTRP): Likewise.
19174 (ILL_PRVOPC): Likewise.
19175 (ILL_PRVREG): Likewise.
19176 (ILL_COPROC): Likewise.
19177 (ILL_BADSTK): Likewise.
19178 (FPE_INTDIV): Likewise.
19179 (FPE_INTOVF): Likewise.
19180 (FPE_FLTDIV): Likewise.
19181 (FPE_FLTOVF): Likewise.
19182 (FPE_FLTUND): Likewise.
19183 (FPE_FLTRES): Likewise.
19184 (FPE_FLTINV): Likewise.
19185 (FPE_FLTSUB): Likewise.
19186 (SEGV_MAPERR): Likewise.
19187 (SEGV_ACCERR): Likewise.
19188 (BUS_ADRALN): Likewise.
19189 (BUS_ADRERR): Likewise.
19190 (BUS_OBJERR): Likewise.
19191 (BUS_MCEERR_AR): Likewise.
19192 (BUS_MCEERR_AO): Likewise.
19193 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19194 (TRAP_TRACE): Likewise.
19195 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19197 (CLD_KILLED): Likewise.
19198 (CLD_DUMPED): Likewise.
19199 (CLD_TRAPPED): Likewise.
19200 (CLD_STOPPED): Likewise.
19201 (CLD_CONTINUED): Likewise.
19202 (POLL_IN): Likewise.
19203 (POLL_OUT): Likewise.
19204 (POLL_MSG): Likewise.
19205 (POLL_ERR): Likewise.
19206 (POLL_PRI): Likewise.
19207 (POLL_HUP): Likewise.
19208 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19209 (ILL_ILLOPN): Likewise.
19210 (ILL_ILLADR): Likewise.
19211 (ILL_ILLTRP): Likewise.
19212 (ILL_PRVOPC): Likewise.
19213 (ILL_PRVREG): Likewise.
19214 (ILL_COPROC): Likewise.
19215 (ILL_BADSTK): Likewise.
19216 (FPE_INTDIV): Likewise.
19217 (FPE_INTOVF): Likewise.
19218 (FPE_FLTDIV): Likewise.
19219 (FPE_FLTOVF): Likewise.
19220 (FPE_FLTUND): Likewise.
19221 (FPE_FLTRES): Likewise.
19222 (FPE_FLTINV): Likewise.
19223 (FPE_FLTSUB): Likewise.
19224 (SEGV_MAPERR): Likewise.
19225 (SEGV_ACCERR): Likewise.
19226 (BUS_ADRALN): Likewise.
19227 (BUS_ADRERR): Likewise.
19228 (BUS_OBJERR): Likewise.
19229 (BUS_MCEERR_AR): Likewise.
19230 (BUS_MCEERR_AO): Likewise.
19231 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19232 (TRAP_TRACE): Likewise.
19233 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19235 (CLD_KILLED): Likewise.
19236 (CLD_DUMPED): Likewise.
19237 (CLD_TRAPPED): Likewise.
19238 (CLD_STOPPED): Likewise.
19239 (CLD_CONTINUED): Likewise.
19240 (POLL_IN): Likewise.
19241 (POLL_OUT): Likewise.
19242 (POLL_MSG): Likewise.
19243 (POLL_ERR): Likewise.
19244 (POLL_PRI): Likewise.
19245 (POLL_HUP): Likewise.
19246 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19248 (ILL_ILLOPN): Likewise.
19249 (ILL_ILLADR): Likewise.
19250 (ILL_ILLTRP): Likewise.
19251 (ILL_PRVOPC): Likewise.
19252 (ILL_PRVREG): Likewise.
19253 (ILL_COPROC): Likewise.
19254 (ILL_BADSTK): Likewise.
19255 (ILL_BADIADDR): Likewise.
19256 (ILL_BREAK): Likewise.
19257 (FPE_INTDIV): Likewise.
19258 (FPE_INTOVF): Likewise.
19259 (FPE_FLTDIV): Likewise.
19260 (FPE_FLTOVF): Likewise.
19261 (FPE_FLTUND): Likewise.
19262 (FPE_FLTRES): Likewise.
19263 (FPE_FLTINV): Likewise.
19264 (FPE_FLTSUB): Likewise.
19265 (FPE_DECOVF): Likewise.
19266 (FPE_DECDIV): Likewise.
19267 (FPE_DECERR): Likewise.
19268 (FPE_INVASC): Likewise.
19269 (FPE_INVDEC): Likewise.
19270 (SEGV_MAPERR): Likewise.
19271 (SEGV_ACCERR): Likewise.
19272 (SEGV_PSTKOVF): Likewise.
19273 (BUS_ADRALN): Likewise.
19274 (BUS_ADRERR): Likewise.
19275 (BUS_OBJERR): Likewise.
19276 (BUS_MCEERR_AR): Likewise.
19277 (BUS_MCEERR_AO): Likewise.
19278 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19279 (TRAP_TRACE): Likewise.
19280 (TRAP_BRANCH): Likewise.
19281 (TRAP_HWBKPT): Likewise.
19282 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19284 (CLD_KILLED): Likewise.
19285 (CLD_DUMPED): Likewise.
19286 (CLD_TRAPPED): Likewise.
19287 (CLD_STOPPED): Likewise.
19288 (CLD_CONTINUED): Likewise.
19289 (POLL_IN): Likewise.
19290 (POLL_OUT): Likewise.
19291 (POLL_MSG): Likewise.
19292 (POLL_ERR): Likewise.
19293 (POLL_PRI): Likewise.
19294 (POLL_HUP): Likewise.
19295 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19296 (ILL_ILLOPN): Likewise.
19297 (ILL_ILLADR): Likewise.
19298 (ILL_ILLTRP): Likewise.
19299 (ILL_PRVOPC): Likewise.
19300 (ILL_PRVREG): Likewise.
19301 (ILL_COPROC): Likewise.
19302 (ILL_BADSTK): Likewise.
19303 (FPE_INTDIV): Likewise.
19304 (FPE_INTOVF): Likewise.
19305 (FPE_FLTDIV): Likewise.
19306 (FPE_FLTOVF): Likewise.
19307 (FPE_FLTUND): Likewise.
19308 (FPE_FLTRES): Likewise.
19309 (FPE_FLTINV): Likewise.
19310 (FPE_FLTSUB): Likewise.
19311 (SEGV_MAPERR): Likewise.
19312 (SEGV_ACCERR): Likewise.
19313 (BUS_ADRALN): Likewise.
19314 (BUS_ADRERR): Likewise.
19315 (BUS_OBJERR): Likewise.
19316 (BUS_MCEERR_AR): Likewise.
19317 (BUS_MCEERR_AO): Likewise.
19318 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19319 (TRAP_TRACE): Likewise.
19320 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19322 (CLD_KILLED): Likewise.
19323 (CLD_DUMPED): Likewise.
19324 (CLD_TRAPPED): Likewise.
19325 (CLD_STOPPED): Likewise.
19326 (CLD_CONTINUED): Likewise.
19327 (POLL_IN): Likewise.
19328 (POLL_OUT): Likewise.
19329 (POLL_MSG): Likewise.
19330 (POLL_ERR): Likewise.
19331 (POLL_PRI): Likewise.
19332 (POLL_HUP): Likewise.
19333 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19334 (ILL_ILLOPN): Likewise.
19335 (ILL_ILLADR): Likewise.
19336 (ILL_ILLTRP): Likewise.
19337 (ILL_PRVOPC): Likewise.
19338 (ILL_PRVREG): Likewise.
19339 (ILL_COPROC): Likewise.
19340 (ILL_BADSTK): Likewise.
19341 (FPE_INTDIV): Likewise.
19342 (FPE_INTOVF): Likewise.
19343 (FPE_FLTDIV): Likewise.
19344 (FPE_FLTOVF): Likewise.
19345 (FPE_FLTUND): Likewise.
19346 (FPE_FLTRES): Likewise.
19347 (FPE_FLTINV): Likewise.
19348 (FPE_FLTSUB): Likewise.
19349 (SEGV_MAPERR): Likewise.
19350 (SEGV_ACCERR): Likewise.
19351 (BUS_ADRALN): Likewise.
19352 (BUS_ADRERR): Likewise.
19353 (BUS_OBJERR): Likewise.
19354 (BUS_MCEERR_AR): Likewise.
19355 (BUS_MCEERR_AO): Likewise.
19356 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19357 (TRAP_TRACE): Likewise.
19358 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19360 (CLD_KILLED): Likewise.
19361 (CLD_DUMPED): Likewise.
19362 (CLD_TRAPPED): Likewise.
19363 (CLD_STOPPED): Likewise.
19364 (CLD_CONTINUED): Likewise.
19365 (POLL_IN): Likewise.
19366 (POLL_OUT): Likewise.
19367 (POLL_MSG): Likewise.
19368 (POLL_ERR): Likewise.
19369 (POLL_PRI): Likewise.
19370 (POLL_HUP): Likewise.
19371 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19372 (ILL_ILLOPN): Likewise.
19373 (ILL_ILLADR): Likewise.
19374 (ILL_ILLTRP): Likewise.
19375 (ILL_PRVOPC): Likewise.
19376 (ILL_PRVREG): Likewise.
19377 (ILL_COPROC): Likewise.
19378 (ILL_BADSTK): Likewise.
19379 (FPE_INTDIV): Likewise.
19380 (FPE_INTOVF): Likewise.
19381 (FPE_FLTDIV): Likewise.
19382 (FPE_FLTOVF): Likewise.
19383 (FPE_FLTUND): Likewise.
19384 (FPE_FLTRES): Likewise.
19385 (FPE_FLTINV): Likewise.
19386 (FPE_FLTSUB): Likewise.
19387 (SEGV_MAPERR): Likewise.
19388 (SEGV_ACCERR): Likewise.
19389 (BUS_ADRALN): Likewise.
19390 (BUS_ADRERR): Likewise.
19391 (BUS_OBJERR): Likewise.
19392 (BUS_MCEERR_AR): Likewise.
19393 (BUS_MCEERR_AO): Likewise.
19394 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19395 (TRAP_TRACE): Likewise.
19396 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19398 (CLD_KILLED): Likewise.
19399 (CLD_DUMPED): Likewise.
19400 (CLD_TRAPPED): Likewise.
19401 (CLD_STOPPED): Likewise.
19402 (CLD_CONTINUED): Likewise.
19403 (POLL_IN): Likewise.
19404 (POLL_OUT): Likewise.
19405 (POLL_MSG): Likewise.
19406 (POLL_ERR): Likewise.
19407 (POLL_PRI): Likewise.
19408 (POLL_HUP): Likewise.
19409 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19410 (ILL_ILLOPN): Likewise.
19411 (ILL_ILLADR): Likewise.
19412 (ILL_ILLTRP): Likewise.
19413 (ILL_PRVOPC): Likewise.
19414 (ILL_PRVREG): Likewise.
19415 (ILL_COPROC): Likewise.
19416 (ILL_BADSTK): Likewise.
19417 (ILL_DBLFLT): Likewise.
19418 (ILL_HARDWALL): Likewise.
19419 (FPE_INTDIV): Likewise.
19420 (FPE_INTOVF): Likewise.
19421 (FPE_FLTDIV): Likewise.
19422 (FPE_FLTOVF): Likewise.
19423 (FPE_FLTUND): Likewise.
19424 (FPE_FLTRES): Likewise.
19425 (FPE_FLTINV): Likewise.
19426 (FPE_FLTSUB): Likewise.
19427 (SEGV_MAPERR): Likewise.
19428 (SEGV_ACCERR): Likewise.
19429 (BUS_ADRALN): Likewise.
19430 (BUS_ADRERR): Likewise.
19431 (BUS_OBJERR): Likewise.
19432 (BUS_MCEERR_AR): Likewise.
19433 (BUS_MCEERR_AO): Likewise.
19434 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19435 (TRAP_TRACE): Likewise.
19436 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19438 (CLD_KILLED): Likewise.
19439 (CLD_DUMPED): Likewise.
19440 (CLD_TRAPPED): Likewise.
19441 (CLD_STOPPED): Likewise.
19442 (CLD_CONTINUED): Likewise.
19443 (POLL_IN): Likewise.
19444 (POLL_OUT): Likewise.
19445 (POLL_MSG): Likewise.
19446 (POLL_ERR): Likewise.
19447 (POLL_PRI): Likewise.
19448 (POLL_HUP): Likewise.
19449 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19450 (ILL_ILLOPN): Likewise.
19451 (ILL_ILLADR): Likewise.
19452 (ILL_ILLTRP): Likewise.
19453 (ILL_PRVOPC): Likewise.
19454 (ILL_PRVREG): Likewise.
19455 (ILL_COPROC): Likewise.
19456 (ILL_BADSTK): Likewise.
19457 (FPE_INTDIV): Likewise.
19458 (FPE_INTOVF): Likewise.
19459 (FPE_FLTDIV): Likewise.
19460 (FPE_FLTOVF): Likewise.
19461 (FPE_FLTUND): Likewise.
19462 (FPE_FLTRES): Likewise.
19463 (FPE_FLTINV): Likewise.
19464 (FPE_FLTSUB): Likewise.
19465 (SEGV_MAPERR): Likewise.
19466 (SEGV_ACCERR): Likewise.
19467 (BUS_ADRALN): Likewise.
19468 (BUS_ADRERR): Likewise.
19469 (BUS_OBJERR): Likewise.
19470 (BUS_MCEERR_AR): Likewise.
19471 (BUS_MCEERR_AO): Likewise.
19472 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19473 (TRAP_TRACE): Likewise.
19474 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19476 (CLD_KILLED): Likewise.
19477 (CLD_DUMPED): Likewise.
19478 (CLD_TRAPPED): Likewise.
19479 (CLD_STOPPED): Likewise.
19480 (CLD_CONTINUED): Likewise.
19481 (POLL_IN): Likewise.
19482 (POLL_OUT): Likewise.
19483 (POLL_MSG): Likewise.
19484 (POLL_ERR): Likewise.
19485 (POLL_PRI): Likewise.
19486 (POLL_HUP): Likewise.
19487 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19488 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19491 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19492 before #include of <time.h>.
19493 [!__USE_XOPEN2K] (__need_timespec): Likewise.
19494 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19495 (test-xfail-UNIX98/sched.h/conform): Likewise.
19497 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
19499 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19500 error absence of trapping exception support.
19501 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19503 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19505 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19506 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19507 * timezone/Makefile (testdata): Move definition above include of
19509 (test-zones): New variable.
19510 (tests-special): Add zone files.
19511 (build-testdata): Use $(evaluate-test).
19513 * elf/Makefile (tests-special): Rename tests to end with .out.
19514 ($(objpfx)noload-mem): Likewise.
19515 ($(objpfx)tst-leaks1-mem): Likewise.
19516 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19517 * iconv/Makefile (xtests-special): Change test-iconvconfig to
19518 $(objpfx)test-iconvconfig.out.
19519 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
19520 set -e inside subshell and redirect output to file.
19521 * iconvdata/Makefile (generated): Rename tests to end with .out.
19523 (tests-special): Rename tests to end with .out.
19524 ($(objpfx)mtrace-tst-loading): Likewise.
19525 * intl/Makefile (generated): Likewise.
19526 (tests-special): Likewise.
19527 ($(objpfx)mtrace-tst-gettext): Likewise.
19528 * misc/Makefile (generated): Likewise.
19529 (tests-special): Likewise.
19530 ($(objpfx)tst-error1-mem): Likewise.
19531 * nptl/Makefile (tests-special): Likewise.
19532 ($(objpfx)tst-stack3-mem): Likewise.
19533 (generated): Likewise.
19534 * posix/Makefile (generated): Likewise.
19535 (tests-special): Likewise.
19536 (xtests-special): Likewise.
19537 ($(objpfx)tst-fnmatch-mem): Likewise.
19538 ($(objpfx)bug-regex2-mem): Likewise.
19539 ($(objpfx)bug-regex14-mem): Likewise.
19540 ($(objpfx)bug-regex21-mem): Likewise.
19541 ($(objpfx)bug-regex31-mem): Likewise.
19542 ($(objpfx)tst-vfork3-mem): Likewise.
19543 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19544 ($(objpfx)tst-pcre-mem): Likewise.
19545 ($(objpfx)tst-boost-mem): Likewise.
19546 ($(objpfx)bug-ga2-mem): Likewise.
19547 ($(objpfx)bug-glob2-mem): Likewise.
19548 * resolv/Makefile (generate): Likewise.
19549 (tests-special): Likewise.
19550 (xtests-special): Likewise.
19551 (generated): Likewise.
19552 ($(objpfx)mtrace-tst-leaks): Likewise.
19553 ($(objpfx)mtrace-tst-leaks2): Likewise.
19555 * scripts/merge-test-results.sh: New file.
19556 * Makefile (tests-special-notdir): New variable.
19557 (tests): Run merge-test-results.sh.
19558 (xtests): Likewise.
19559 * Rules (tests-special-notdir): New variable.
19560 (xtests-special-notdir): Likewise.
19561 (tests): Run merge-test-results.sh
19562 (xtests): Likewise.
19564 * Makeconfig (test-xfail-name): New variable.
19565 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19566 compute variable name for expected failures.
19567 * conform/Makefile (conformtest-headers-data): New variable.
19568 (conformtest-standards): Likewise.
19569 (conformtest-headers-ISO): Likewise.
19570 (conformtest-headers-ISO99): Likewise.
19571 (conformtest-headers-ISO11): Likewise.
19572 (conformtest-headers-POSIX): Likewise.
19573 (conformtest-headers-XPG3): Likewise.
19574 (conformtest-headers-XPG4): Likewise.
19575 (conformtest-headers-UNIX98): Likewise.
19576 (conformtest-headers-XOPEN2K): Likewise.
19577 (conformtest-headers-POSIX2008): Likewise.
19578 (conformtest-headers-XOPEN2K8): Likewise.
19579 (conformtest-header-list-base): Likewise.
19580 (conformtest-header-list-tests): Likewise.
19581 (conformtest-header-base): Likewise.
19582 (conformtest-header-tests): Likewise.
19583 (tests-special): Add $(conformtest-header-list-tests). If
19584 [$(fast-check) && !$(cross-compiling)], add
19585 $(conformtest-header-tests) instead of
19586 $(objpfx)run-conformtest.out.
19587 (generated): Add $(conformtest-header-list-base). If
19588 [$(fast-check) && !$(cross-compiling)], add
19589 $(conformtest-header-base). Remove previous setting.
19590 ($(conformtest-header-list-tests)): New target.
19591 (test-xfail-run-conformtest): Remove variable.
19592 ($(objpfx)run-conformtest.out): Remove target.
19593 (test-xfail-ISO11/complex.h/conform): New variable.
19594 (test-xfail-ISO11/stdalign.h/conform): Likewise.
19595 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19596 (test-xfail-XPG3/varargs.h/conform): Likewise.
19597 (test-xfail-XPG4/varargs.h/conform): Likewise.
19598 (test-xfail-UNIX98/varargs.h/conform): Likewise.
19599 (test-xfail-XPG4/ndbm.h/conform): Likewise.
19600 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19601 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19602 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19603 (test-xfail-XPG3/fcntl.h/conform): Likewise.
19604 (test-xfail-XPG3/ftw.h/conform): Likewise.
19605 (test-xfail-XPG3/grp.h/conform): Likewise.
19606 (test-xfail-XPG3/langinfo.h/conform): Likewise.
19607 (test-xfail-XPG3/limits.h/conform): Likewise.
19608 (test-xfail-XPG3/pwd.h/conform): Likewise.
19609 (test-xfail-XPG3/search.h/conform): Likewise.
19610 (test-xfail-XPG3/signal.h/conform): Likewise.
19611 (test-xfail-XPG3/stdio.h/conform): Likewise.
19612 (test-xfail-XPG3/stdlib.h/conform): Likewise.
19613 (test-xfail-XPG3/string.h/conform): Likewise.
19614 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19615 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19616 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19617 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19618 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19619 (test-xfail-XPG3/sys/types.h/conform): Likewise.
19620 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19621 (test-xfail-XPG3/termios.h/conform): Likewise.
19622 (test-xfail-XPG3/time.h/conform): Likewise.
19623 (test-xfail-XPG3/unistd.h/conform): Likewise.
19624 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19625 (test-xfail-XPG4/fcntl.h/conform): Likewise.
19626 (test-xfail-XPG4/langinfo.h/conform): Likewise.
19627 (test-xfail-XPG4/netdb.h/conform): Likewise.
19628 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19629 (test-xfail-XPG4/signal.h/conform): Likewise.
19630 (test-xfail-XPG4/stdio.h/conform): Likewise.
19631 (test-xfail-XPG4/stdlib.h/conform): Likewise.
19632 (test-xfail-XPG4/stropts.h/conform): Likewise.
19633 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19634 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19635 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19636 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19637 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19638 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19639 (test-xfail-XPG4/sys/time.h/conform): Likewise.
19640 (test-xfail-XPG4/sys/types.h/conform): Likewise.
19641 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19642 (test-xfail-XPG4/termios.h/conform): Likewise.
19643 (test-xfail-XPG4/ucontext.h/conform): Likewise.
19644 (test-xfail-XPG4/unistd.h/conform): Likewise.
19645 (test-xfail-XPG4/utmpx.h/conform): Likewise.
19646 (test-xfail-POSIX/sched.h/conform): Likewise.
19647 (test-xfail-POSIX/signal.h/conform): Likewise.
19648 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19649 (test-xfail-POSIX/tar.h/conform): Likewise.
19650 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19651 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19652 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19653 (test-xfail-UNIX98/netdb.h/conform): Likewise.
19654 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19655 (test-xfail-UNIX98/sched.h/conform): Likewise.
19656 (test-xfail-UNIX98/signal.h/conform): Likewise.
19657 (test-xfail-UNIX98/stdio.h/conform): Likewise.
19658 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19659 (test-xfail-UNIX98/stropts.h/conform): Likewise.
19660 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19661 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19662 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19663 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19664 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19665 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19666 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19667 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19668 (test-xfail-UNIX98/unistd.h/conform): Likewise.
19669 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19670 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19671 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19672 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19673 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19674 (test-xfail-XOPEN2K/math.h/conform): Likewise.
19675 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19676 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19677 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19678 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19679 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19680 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19681 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19682 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19683 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19684 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19685 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19686 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19687 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19688 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19689 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19690 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19691 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19692 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19693 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19694 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19695 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19696 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19697 (test-xfail-POSIX2008/signal.h/conform): Likewise.
19698 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19699 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19700 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19701 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19702 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19703 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19704 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19705 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19706 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19707 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19708 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19709 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19710 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19711 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19712 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19713 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19714 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19715 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19716 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19717 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19718 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19719 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19720 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19721 (conformtest-cc-flags): Likewise.
19722 ($(conformtest-header-tests): New target.
19723 * conform/check-header-lists.sh: New file.
19724 * conform/run-conformtest.sh: Remove.
19726 * conform/conformtest.pl: Allow ' and \ in values given for
19728 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19730 [POSIX] (sys/types.h): Likewise.
19731 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19733 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19735 * conform/data/signal.h-data (SIGIO): Remove expectation.
19736 [XPG3] (SIGBUS): Do not expect.
19737 [POSIX || XPG3] (SIGPOLL): Likewise.
19738 [POSIX || XPG3] (SIGPROF): Likewise.
19739 [POSIX || XPG3] (SIGSYS): Likewise.
19740 [XPG3] (SIGTRAP): Likewise.
19741 [POSIX || XPG3] (SIGURG): Likewise.
19742 [POSIX || XPG3] (SIGVTALRM): Likewise.
19743 [POSIX || XPG3] (SIGXCPU): Likewise.
19744 [POSIX || XPG3] (SIGXFSZ): Likewise.
19745 [POSIX] (SA_SIGINFO): Expect.
19746 [XPG3] (siginfo_t): Do not expect type or contents.
19747 [POSIX] (si_pid): Do not expect element.
19748 [POSIX] (si_uid): Likewise.
19749 [POSIX] (si_addr): Likewise.
19750 [POSIX] (si_status): Likewise.
19751 [POSIX] (si_band): Likewise.
19752 [XPG4] (si_value): Likewise.
19753 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19754 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19755 [POSIX || XPG3] (ILL_ILLADR): Likewise.
19756 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19757 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19758 [POSIX || XPG3] (ILL_PRVREG): Likewise.
19759 [POSIX || XPG3] (ILL_COPROC): Likewise.
19760 [POSIX || XPG3] (ILL_BADSTK): Likewise.
19761 [POSIX || XPG3] (FPE_INTDIV): Likewise.
19762 [POSIX || XPG3] (FPE_INTOVF): Likewise.
19763 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19764 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19765 [POSIX || XPG3] (FPE_FLTUND): Likewise.
19766 [POSIX || XPG3] (FPE_FLTRES): Likewise.
19767 [POSIX || XPG3] (FPE_FLTINV): Likewise.
19768 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19769 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19770 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19771 [POSIX || XPG3] (BUS_ADRALN): Likewise.
19772 [POSIX || XPG3] (BUS_ADRERR): Likewise.
19773 [POSIX || XPG3] (BUS_OBJERR): Likewise.
19774 [POSIX || XPG3] (CLD_EXITED): Likewise.
19775 [POSIX || XPG3] (CLD_KILLED): Likewise.
19776 [POSIX || XPG3] (CLD_DUMPED): Likewise.
19777 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19778 [POSIX || XPG3] (CLD_STOPPED): Likewise.
19779 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19780 [POSIX || XPG3] (POLL_IN): Likewise.
19781 [POSIX || XPG3] (POLL_OUT): Likewise.
19782 [POSIX || XPG3] (POLL_MSG): Likewise.
19783 [POSIX || XPG3] (POLL_ERR): Likewise.
19784 [POSIX || XPG3] (POLL_PRI): Likewise.
19785 [POSIX || XPG3] (POLL_HUP): Likewise.
19786 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19787 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19788 (SIG*): Do not allow.
19789 [XPG3] (si_*): Likewise.
19790 [XPG3] (SI_*): Likewise.
19791 [XPG3 || XPG4] (sigev_*): Likewise.
19792 [XPG3 || XPG4] (SIGEV_*): Likewise.
19793 [XPG3 || XPG4] (sival_*): Likewise.
19794 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19795 [POSIX || XPG3] (BUS_*): Likewise.
19796 [POSIX || XPG3] (CLD_*): Likewise.
19797 [POSIX || XPG3] (FPE_*): Likewise.
19798 [POSIX || XPG3] (ILL_*): Likewise.
19799 [POSIX || XPG3] (POLL_*): Likewise.
19800 [POSIX || XPG3] (SEGV_*): Likewise.
19801 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19802 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19803 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19804 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19805 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19806 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19807 Specify type and value.
19808 (TVERSLEN): Likewise.
19809 (REGTYPE): Likewise.
19810 (AREGTYPE): Likewise.
19811 (LNKTYPE): Likewise.
19812 (SYMTYPE): Likewise.
19813 (CHRTYPE): Likewise.
19814 (BLKTYPE): Likewise.
19815 (DIRTYPE): Likewise.
19816 (FIFOTYPE): Likewise.
19817 (CONTTYPE): Likewise.
19821 (TUREAD): Likewise.
19822 (TUWRITE): Likewise.
19823 (TUEXEC): Likewise.
19824 (TGREAD): Likewise.
19825 (TGWRITE): Likewise.
19826 (TGEXEC): Likewise.
19827 (TOREAD): Likewise.
19828 (TOWRITE): Likewise.
19829 (TOEXEC): Likewise.
19830 [POSIX] (TSVTX): Expect constant.
19832 2014-03-06 Joseph Myers <joseph@codesourcery.com>
19834 * Makefile (tests): Change dependencies to ....
19835 (tests-special): ... additions to this variable.
19836 (tests): Depend on $(tests-special).
19837 * Makerules (check-abi-list): New variable.
19838 (check-abi): Depend on $(check-abi-list).
19839 [$(subdir) = elf] (tests-special): Add
19840 $(objpfx)check-abi-libc.out.
19841 [$(build-shared) = yes && subdir] (tests-special): Add
19843 [$(build-shared) = yes && subdir] (tests): Do not depend on
19845 * Rules (tests): Depend on $(tests-special).
19846 (xtests): Depend on $(xtests-special).
19847 * catgets/Makefile (tests): Change dependencies to ....
19848 (tests-special): ... additions to this variable.
19849 * conform/Makefile (tests): Change dependencies to ....
19850 (tests-special): ... additions to this variable.
19851 * elf/Makefile (tests): Change dependencies to ....
19852 (tests-special): ... additions to this variable.
19853 * grp/Makefile (tests): Change dependencies to ....
19854 (tests-special): ... additions to this variable.
19855 * iconv/Makefile (xtests): Change dependencies to ....
19856 (xtests-special): ... additions to this variable.
19857 * iconvdata/Makefile (tests): Change dependencies to ....
19858 (tests-special): ... additions to this variable.
19859 * intl/Makefile (tests): Change dependencies to ....
19860 (tests-special): ... additions to this variable. Also add
19861 $(objpfx)tst-gettext.out.
19862 * io/Makefile (tests): Change dependencies to ....
19863 (tests-special): ... additions to this variable.
19864 * libio/Makefile (tests): Change dependencies to ....
19865 (tests-special): ... additions to this variable.
19866 * malloc/Makefile (tests): Change dependencies to ....
19867 (tests-special): ... additions to this variable.
19868 * misc/Makefile (tests): Change dependencies to ....
19869 (tests-special): ... additions to this variable.
19870 * nptl/Makefile (tests): Change dependencies to ....
19871 (tests-special): ... additions to this variable.
19872 * nptl_db/Makefile (tests): Change dependencies to ....
19873 (tests-special): ... additions to this variable.
19874 * posix/Makefile (tests): Change dependencies to ....
19875 (tests-special): ... additions to this variable.
19876 (xtests): Change dependencies to ....
19877 (xtests-special): ... additions to this variable.
19878 * resolv/Makefile (tests): Change dependencies to ....
19879 (tests-special): ... additions to this variable.
19880 (xtests): Change dependencies to ....
19881 (xtests-special): ... additions to this variable.
19882 * stdio-common/Makefile (tests): Change dependencies to ....
19883 (tests-special): ... additions to this variable.
19884 (do-tst-unbputc): Remove target.
19885 (do-tst-printf): Likewise.
19886 * stdlib/Makefile (tests): Change dependencies to ....
19887 (tests-special): ... additions to this variable.
19888 * string/Makefile (tests): Change dependencies to ....
19889 (tests-special): ... additions to this variable.
19890 * sysdeps/x86/Makefile (tests): Change dependencies to ....
19891 (tests-special): ... additions to this variable.
19893 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19895 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19897 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19898 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19900 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19901 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19902 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19903 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19904 * conform/data/libgen.h-data [XPG3]: Likewise.
19905 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19906 * conform/data/ndbm.h-data [XPG3]: Likewise.
19907 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19908 * conform/data/netdb.h-data [XPG3]: Likewise.
19909 * conform/data/netinet/in.h-data [XPG3]: Likewise.
19910 * conform/data/poll.h-data [XPG3]: Likewise.
19911 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19912 * conform/data/strings.h-data [XPG3]: Likewise.
19913 * conform/data/stropts.h-data [XPG3]: Likewise.
19914 * conform/data/sys/mman.h-data [XPG3]: Likewise.
19915 * conform/data/sys/resource.h-data [XPG3]: Likewise.
19916 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19918 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19919 * conform/data/sys/time.h-data [XPG3]: Likewise.
19920 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19921 * conform/data/sys/uio.h-data [XPG3]: Likewise.
19922 * conform/data/sys/un.h-data [XPG3]: Likewise.
19923 * conform/data/syslog.h-data [XPG3]: Likewise.
19924 * conform/data/ucontext.h-data [XPG3]: Likewise.
19925 * conform/data/utmpx.h-data [XPG3]: Likewise.
19926 * conform/data/varargs.h-data [UNIX98]: Enable file.
19928 * manual/Makefile (INSTALL_INFO): Remove variable setting.
19930 * math/libm-test.inc (struct test_f_f_data): Move expected results
19931 into structure for each rounding mode.
19932 (struct test_ff_f_data): Likewise.
19933 (struct test_ff_f_data_nexttoward): Likewise.
19934 (struct test_fi_f_data): Likewise.
19935 (struct test_fl_f_data): Likewise.
19936 (struct test_if_f_data): Likewise.
19937 (struct test_fff_f_data): Likewise.
19938 (struct test_c_f_data): Likewise.
19939 (struct test_f_f1_data): Likewise.
19940 (struct test_fF_f1_data): Likewise.
19941 (struct test_ffI_f1_data): Likewise.
19942 (struct test_c_c_data): Likewise.
19943 (struct test_cc_c_data): Likewise.
19944 (struct test_f_i_data): Likewise.
19945 (struct test_ff_i_data): Likewise.
19946 (struct test_f_l_data): Likewise.
19947 (struct test_f_L_data): Likewise.
19948 (struct test_fFF_11_data): Likewise.
19950 (RM_FE_DOWNWARD): Likewise.
19951 (RM_FE_TONEAREST): Likewise.
19952 (RM_FE_TOWARDZERO): Likewise.
19953 (RM_FE_UPWARD): Likewise.
19954 (RUN_TEST_LOOP_f_f): Update references to expected results.
19955 (RUN_TEST_LOOP_2_f): Likewise.
19956 (RUN_TEST_LOOP_fff_f): Likewise.
19957 (RUN_TEST_LOOP_c_f): Likewise.
19958 (RUN_TEST_LOOP_f_f1): Likewise.
19959 (RUN_TEST_LOOP_fF_f1): Likewise.
19960 (RUN_TEST_LOOP_fI_f1): Likewise.
19961 (RUN_TEST_LOOP_ffI_f1): Likewise.
19962 (RUN_TEST_LOOP_c_c): Likewise.
19963 (RUN_TEST_LOOP_cc_c): Likewise.
19964 (RUN_TEST_LOOP_f_i): Likewise.
19965 (RUN_TEST_LOOP_f_i_tg): Likewise.
19966 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19967 (RUN_TEST_LOOP_f_b): Likewise.
19968 (RUN_TEST_LOOP_f_b_tg): Likewise.
19969 (RUN_TEST_LOOP_f_l): Likewise.
19970 (RUN_TEST_LOOP_f_L): Likewise.
19971 (RUN_TEST_LOOP_fFF_11): Likewise.
19972 * math/gen-libm-test.pl (parse_args): Output four copies of
19973 expected results for each test.
19975 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19976 (__ASSUME_UTIMES): Remove.
19977 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19978 (__ASSUME_UTIMES): Likewise.
19980 * math/gen-auto-libm-tests.c: Update comment on output format.
19981 (output_for_one_input_case): Generate before-rounding and
19982 after-rounding information as conditions on output flags not
19983 floating-point format.
19984 * math/auto-libm-test-out: Regenerated.
19985 * math/gen-libm-test.pl (cond_value): New function.
19986 (or_cond_value): Use cond_value.
19987 (generate_testfile): Handle conditional exceptions.
19989 2014-03-05 Joseph Myers <joseph@codesourcery.com>
19991 * math/libm-test.inc (max_valid_error): New variable.
19992 (init_max_error): Take new argument specifying whether function
19993 results are exactly determined. Set max_valid_error and bound
19994 other variables for errors based on this argument.
19995 (set_max_error): Do not record results above max_valid_error.
19996 (check_float_internal): Only accept errors of up to 0.5ulps if
19997 also at most max_valid_error.
19998 (START): Take new argument EXACT and pass it to init_max_error.
19999 (acos_test): Update call to START.
20000 (acos_test_tonearest): Likewise.
20001 (acos_test_towardzero): Likewise.
20002 (acos_test_downward): Likewise.
20003 (acos_test_upward): Likewise.
20004 (acosh_test): Likewise.
20005 (asin_test): Likewise.
20006 (asin_test_tonearest): Likewise.
20007 (asin_test_towardzero): Likewise.
20008 (asin_test_downward): Likewise.
20009 (asin_test_upward): Likewise.
20010 (asinh_test): Likewise.
20011 (atan_test): Likewise.
20012 (atanh_test): Likewise.
20013 (atan2_test): Likewise.
20014 (cabs_test): Likewise.
20015 (cacos_test): Likewise.
20016 (cacosh_test): Likewise.
20017 (carg_test): Likewise.
20018 (casin_test): Likewise.
20019 (casinh_test): Likewise.
20020 (catan_test): Likewise.
20021 (catanh_test): Likewise.
20022 (cbrt_test): Likewise.
20023 (ccos_test): Likewise.
20024 (ccosh_test): Likewise.
20025 (ceil_test): Likewise.
20026 (cexp_test): Likewise.
20027 (cimag_test): Likewise.
20028 (clog_test): Likewise.
20029 (clog10_test): Likewise.
20030 (conj_test): Likewise.
20031 (copysign_test): Likewise.
20032 (cos_test): Likewise.
20033 (cos_test_tonearest): Likewise.
20034 (cos_test_towardzero): Likewise.
20035 (cos_test_downward): Likewise.
20036 (cos_test_upward): Likewise.
20037 (cosh_test): Likewise.
20038 (cosh_test_tonearest): Likewise.
20039 (cosh_test_towardzero): Likewise.
20040 (cosh_test_downward): Likewise.
20041 (cosh_test_upward): Likewise.
20042 (cpow_test): Likewise.
20043 (cproj_test): Likewise.
20044 (creal_test): Likewise.
20045 (csin_test): Likewise.
20046 (csinh_test): Likewise.
20047 (csqrt_test): Likewise.
20048 (ctan_test): Likewise.
20049 (ctan_test_tonearest): Likewise.
20050 (ctan_test_towardzero): Likewise.
20051 (ctan_test_downward): Likewise.
20052 (ctan_test_upward): Likewise.
20053 (ctanh_test): Likewise.
20054 (ctanh_test_tonearest): Likewise.
20055 (ctanh_test_towardzero): Likewise.
20056 (ctanh_test_downward): Likewise.
20057 (ctanh_test_upward): Likewise.
20058 (erf_test): Likewise.
20059 (erfc_test): Likewise.
20060 (exp_test): Likewise.
20061 (exp_test_tonearest): Likewise.
20062 (exp_test_towardzero): Likewise.
20063 (exp_test_downward): Likewise.
20064 (exp_test_upward): Likewise.
20065 (exp10_test): Likewise.
20066 (exp10_test_tonearest): Likewise.
20067 (exp10_test_towardzero): Likewise.
20068 (exp10_test_downward): Likewise.
20069 (exp10_test_upward): Likewise.
20070 (pow10_test): Likewise.
20071 (exp2_test): Likewise.
20072 (expm1_test): Likewise.
20073 (expm1_test_tonearest): Likewise.
20074 (expm1_test_towardzero): Likewise.
20075 (expm1_test_downward): Likewise.
20076 (expm1_test_upward): Likewise.
20077 (fabs_test): Likewise.
20078 (fdim_test): Likewise.
20079 (floor_test): Likewise.
20080 (fma_test): Likewise.
20081 (fma_test_towardzero): Likewise.
20082 (fma_test_downward): Likewise.
20083 (fma_test_upward): Likewise.
20084 (fmax_test): Likewise.
20085 (fmin_test): Likewise.
20086 (fmod_test): Likewise.
20087 (fpclassify_test): Likewise.
20088 (frexp_test): Likewise.
20089 (hypot_test): Likewise.
20090 (ilogb_test): Likewise.
20091 (isfinite_test): Likewise.
20092 (finite_test): Likewise.
20093 (isgreater_test): Likewise.
20094 (isgreaterequal_test): Likewise.
20095 (isinf_test): Likewise.
20096 (isless_test): Likewise.
20097 (islessequal_test): Likewise.
20098 (islessgreater_test): Likewise.
20099 (isnan_test): Likewise.
20100 (isnormal_test): Likewise.
20101 (issignaling_test): Likewise.
20102 (isunordered_test): Likewise.
20103 (j0_test): Likewise.
20104 (j1_test): Likewise.
20105 (jn_test): Likewise.
20106 (ldexp_test): Likewise.
20107 (lgamma_test): Likewise.
20108 (gamma_test): Likewise.
20109 (lrint_test): Likewise.
20110 (lrint_test_tonearest): Likewise.
20111 (lrint_test_towardzero): Likewise.
20112 (lrint_test_downward): Likewise.
20113 (lrint_test_upward): Likewise.
20114 (llrint_test): Likewise.
20115 (llrint_test_tonearest): Likewise.
20116 (llrint_test_towardzero): Likewise.
20117 (llrint_test_downward): Likewise.
20118 (llrint_test_upward): Likewise.
20119 (log_test): Likewise.
20120 (log10_test): Likewise.
20121 (log1p_test): Likewise.
20122 (log2_test): Likewise.
20123 (logb_test): Likewise.
20124 (logb_test_downward): Likewise.
20125 (lround_test): Likewise.
20126 (llround_test): Likewise.
20127 (modf_test): Likewise.
20128 (nearbyint_test): Likewise.
20129 (nextafter_test): Likewise.
20130 (nexttoward_test): Likewise.
20131 (pow_test): Likewise.
20132 (pow_test_tonearest): Likewise.
20133 (pow_test_towardzero): Likewise.
20134 (pow_test_downward): Likewise.
20135 (pow_test_upward): Likewise.
20136 (remainder_test): Likewise.
20137 (drem_test): Likewise.
20138 (remainder_test_tonearest): Likewise.
20139 (drem_test_tonearest): Likewise.
20140 (remainder_test_towardzero): Likewise.
20141 (drem_test_towardzero): Likewise.
20142 (remainder_test_downward): Likewise.
20143 (drem_test_downward): Likewise.
20144 (remainder_test_upward): Likewise.
20145 (drem_test_upward): Likewise.
20146 (remquo_test): Likewise.
20147 (rint_test): Likewise.
20148 (rint_test_tonearest): Likewise.
20149 (rint_test_towardzero): Likewise.
20150 (rint_test_downward): Likewise.
20151 (rint_test_upward): Likewise.
20152 (round_test): Likewise.
20153 (scalb_test): Likewise.
20154 (scalbn_test): Likewise.
20155 (scalbln_test): Likewise.
20156 (signbit_test): Likewise.
20157 (sin_test): Likewise.
20158 (sin_test_tonearest): Likewise.
20159 (sin_test_towardzero): Likewise.
20160 (sin_test_downward): Likewise.
20161 (sin_test_upward): Likewise.
20162 (sincos_test): Likewise.
20163 (sinh_test): Likewise.
20164 (sinh_test_tonearest): Likewise.
20165 (sinh_test_towardzero): Likewise.
20166 (sinh_test_downward): Likewise.
20167 (sinh_test_upward): Likewise.
20168 (sqrt_test): Likewise.
20169 (sqrt_test_tonearest): Likewise.
20170 (sqrt_test_towardzero): Likewise.
20171 (sqrt_test_downward): Likewise.
20172 (sqrt_test_upward): Likewise.
20173 (tan_test): Likewise.
20174 (tan_test_tonearest): Likewise.
20175 (tan_test_towardzero): Likewise.
20176 (tan_test_downward): Likewise.
20177 (tan_test_upward): Likewise.
20178 (tanh_test): Likewise.
20179 (tgamma_test): Likewise.
20180 (trunc_test): Likewise.
20181 (y0_test): Likewise.
20182 (y1_test): Likewise.
20183 (yn_test): Likewise.
20184 (significand_test): Likewise.
20186 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20187 individual tests in comment.
20188 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20189 (prev_max_error): New variable.
20190 (prev_real_max_error): Likewise.
20191 (prev_imag_max_error): Likewise.
20192 (compare_ulp_data): Don't refer to test names in comment.
20193 (find_test_ulps): Remove function.
20194 (find_function_ulps): Likewise.
20195 (find_complex_function_ulps): Likewise.
20196 (init_max_error): Take function name as argument. Look up ulps
20198 (print_ulps): Remove function.
20199 (print_max_error): Use prev_max_error instead of calling
20200 find_function_ulps.
20201 (print_complex_max_error): Use prev_real_max_error and
20202 prev_imag_max_error instead of calling find_complex_function_ulps.
20203 (check_float_internal): Take max_ulp parameter instead of calling
20204 find_test_ulps. Don't call print_ulps.
20205 (check_float): Update call to check_float_internal.
20206 (check_complex): Update calls to check_float_internal.
20207 (START): Pass argument to init_max_error.
20208 * math/gen-libm-test.pl (%results): Don't include "kind"
20210 (parse_ulps): Don't handle ulps of individual tests.
20211 (print_ulps_file): Likewise.
20212 (output_ulps): Likewise.
20213 * math/README.libm-test: Update.
20214 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20216 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20217 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20218 * sysdeps/arm/libm-test-ulps: Likewise.
20219 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20220 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20221 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20222 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20223 * sysdeps/microblaze/libm-test-ulps: Likewise.
20224 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20225 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20226 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20227 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20228 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20229 * sysdeps/sh/libm-test-ulps: Likewise.
20230 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20231 * sysdeps/tile/libm-test-ulps: Likewise.
20232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20234 2014-03-04 Joseph Myers <joseph@codesourcery.com>
20236 * math/libm-test.inc (print_complex_max_error): Check separately
20237 whether real and imaginary errors are within allowed range and
20238 pass 0 to print_complex_function_ulps instead of value within
20241 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20243 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20245 (get_handles_fopen): Likewise.
20246 (do_write_test): Likewise.
20248 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20250 * libio/fileops.c (do_ftell): Use cached offset when
20252 * libio/iofwide.c (do_ftell_wide): Likewise.
20253 * libio/iofdopen.c (_IO_new_fdopen): Don't use
20255 * libio/wfileops.c (_IO_fwide): Don't cache offset.
20258 * libio/libioP.h (get_file_offset): New function.
20259 * libio/fileops.c (get_file_offset): Likewise.
20260 (do_ftell): Likewise.
20261 (_IO_new_file_seekoff): Split out ftell logic.
20262 * libio/wfileops.c (do_ftell_wide): Likewise.
20263 (_IO_wfile_seekoff): Split out ftell logic.
20264 * libio/tst-ftell-active-handler.c: New test case.
20265 * libio/Makefile (tests): Add it.
20267 2014-03-03 Roland McGrath <roland@hack.frob.com>
20269 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20270 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20272 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20275 * nscd/connections.c (nscd_init): Call do_exit.
20276 (start_threads): Call do_exit and notify_parent.
20277 (begin_drop_privileges): Call do_exit.
20278 (finish_drop_privileges): Likewise.
20279 * nscd/selinux.c (preserve_capabilities): Likewise.
20280 (install_real_capabilities): Likewise.
20281 (nscd_selinux_enabled): Likewise.
20282 (avc_create_thread): Likewise.
20283 (avc_alloc_lock): Likewise.
20284 (nscd_avc_init): Likewise.
20285 * nscd/nscd.c (parent_fd): New static variable.
20286 (main): Create a pipe between parent and child processes.
20287 Skip closing parent_fd.
20288 (monitor_child): New function.
20289 (do_exit): Likewise.
20290 (notify_parent): Likewise.
20291 * nscd/nscd.h (notify_parent): Likewise.
20292 (do_exit): Likewise.
20294 2014-03-03 Carlos O'Donell <carlos@redhat.com>
20296 * malloc/malloc.c (__libc_calloc): Revert last change.
20298 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20302 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20304 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20308 (__libc_ifunc_impl_list): Likewise.
20309 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20310 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20311 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20312 * string/strrchr.c: Define STRRCHR.
20314 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
20316 * benchtest/bench-strtok.c (simple_strtok): Delete.
20317 (strtok_string): Use as benchmark.
20318 * string/strtok (STRTOK): New macro.
20320 2014-02-28 Carlos O'Donell <carlos@redhat.com>
20322 * manual/threads.texi: Add header and standard comments to all
20325 * elf/dl-lookup.c (check_match): New function.
20326 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20327 (do_lookup_x): Remove nested function check_match. Use non-nested
20328 function check_match.
20330 2014-02-28 Roland McGrath <roland@hack.frob.com>
20332 * csu/Makefile (generated, before-compile): Use += rather than =.
20333 * catgets/Makefile (generated, generated-dirs): Likewise.
20334 * debug/Makefile (generated): Likewise.
20335 * dlfcn/Makefile (generated): Likewise.
20336 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20337 * iconvdata/Makefile (before-compile, generated): Likewise.
20338 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20339 * libio/Makefile (generated): Likewise.
20340 * malloc/Makefile (generated): Likewise.
20341 * manual/Makefile (generated, generated-dirs): Likewise.
20342 * misc/Makefile (generated): Likewise.
20343 * posix/Makefile (generated): Likewise.
20344 * resolv/Makefile (generated): Likewise.
20345 * sunrpc/Makefile (generated, generated-dirs): Likewise.
20346 * timezone/Makefile (generated, generated-dirs): Likewise.
20348 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20350 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20353 power8 implementation.
20354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20355 file: POWER8 llround ifunc implementation.
20356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20357 (__lllround): Add POWER8 implementation.
20358 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20359 POWER8 llround implementation.
20361 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20362 power8 implementation.
20363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20364 file: POWER8 llrint ifunc implementation.
20365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20366 Add POWER8 implementation.
20367 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20368 POWER8 llrint implementation.
20370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20371 power8 implementation.
20372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20373 file: POWER8 finite ifunc implementation.
20374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20375 Add POWER8 implementation.
20376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20378 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20379 POWER8 finite implementation.
20380 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20382 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20383 power8 implementation.
20384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20385 file: POWER8 isinf ifunc implementation.
20386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20387 POWER8 implementation.
20388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20390 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20391 isinf implementation.
20392 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20394 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20395 (INIT_ARCH): Add hwcap2 initialization.
20396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20397 power8 implementation.
20398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20399 file: POWER8 isnan ifunc implementation.
20400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20401 POWER8 implementation.
20402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20404 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20405 isnan implementation.
20406 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20408 2014-02-27 Joey Ye <joey.ye@arm.com>
20410 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20411 (_FP_NANFRAC_Q): Set to zero.
20413 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20416 * math/auto-libm-test-in: New test inputs.
20417 * math/auto-libm-test-out: Regenerate.
20418 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20421 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20423 2014-02-27 Joseph Myers <joseph@codesourcery.com>
20425 * scripts/evaluate-test.sh: Take new argument indicating whether
20426 failure is expected.
20427 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20428 indicating whether failure is expected.
20429 * conform/Makefile (test-xfail-run-conformtest): New variable.
20430 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20432 * posix/Makefile (test-xfail-annexc): New variable.
20433 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20435 2014-02-26 Joseph Myers <joseph@codesourcery.com>
20437 * argp/Makefile: Include Makeconfig immediately after defining
20439 * assert/Makefile: Likewise.
20440 * benchtests/Makefile: Likewise.
20441 * catgets/Makefile: Likewise.
20442 * conform/Makefile: Likewise.
20443 * crypt/Makefile: Likewise.
20444 * csu/Makefile: Likewise.
20445 (all): Remove target.
20446 * ctype/Makefile: Include Makeconfig immediately after defining
20448 * debug/Makefile: Likewise.
20449 * dirent/Makefile: Likewise.
20450 * dlfcn/Makefile: Likewise.
20451 * gmon/Makefile: Likewise.
20452 * gnulib/Makefile: Likewise.
20453 * grp/Makefile: Likewise.
20454 * gshadow/Makefile: Likewise.
20455 * hesiod/Makefile: Likewise.
20456 * hurd/Makefile: Likewise.
20457 (all): Remove target.
20458 * iconvdata/Makefile: Include Makeconfig immediately after
20460 * inet/Makefile: Likewise.
20461 * intl/Makefile: Likewise.
20462 * io/Makefile: Likewise.
20463 * libio/Makefile: Likewise.
20464 (all): Remove target.
20465 * locale/Makefile: Include Makeconfig immediately after defining
20467 * login/Makefile: Likewise.
20468 * mach/Makefile: Likewise.
20469 (all): Remove target.
20470 * malloc/Makefile: Include Makeconfig immediately after defining
20472 (all): Remove target.
20473 * manual/Makefile: Include Makeconfig immediately after defining
20475 * math/Makefile: Likewise.
20476 * misc/Makefile: Likewise.
20477 * nis/Makefile: Likewise.
20478 * nss/Makefile: Likewise.
20479 * po/Makefile: Likewise.
20480 (all): Remove target.
20481 * posix/Makefile: Include Makeconfig immediately after defining
20483 * pwd/Makefile: Likewise.
20484 * resolv/Makefile: Likewise.
20485 * resource/Makefile: Likewise.
20486 * rt/Makefile: Likewise.
20487 * setjmp/Makefile: Likewise.
20488 * shadow/Makefile: Likewise.
20489 * signal/Makefile: Likewise.
20490 * socket/Makefile: Likewise.
20491 * soft-fp/Makefile: Likewise.
20492 * stdio-common/Makefile: Likewise.
20493 * stdlib/Makefile: Likewise.
20494 * streams/Makefile: Likewise.
20495 * string/Makefile: Likewise.
20496 * sunrpc/Makefile: Likewise.
20497 (all): Remove target.
20498 * sysvipc/Makefile: Include Makeconfig immediately after defining
20500 * termios/Makefile: Likewise.
20501 * time/Makefile: Likewise.
20502 * timezone/Makefile: Likewise.
20503 (all): Remove target.
20504 * wcsmbs/Makefile: Include Makeconfig immediately after defining
20506 * wctype/Makefile: Likewise.
20508 2014-02-26 Steve Ellcey <sellcey@mips.com>
20510 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20511 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20512 (libc_feholdexcept_setround_mips): Ditto.
20513 (libc_feholdsetround): New.
20514 (libc_feholdsetroundf): New.
20515 (libc_feholdsetroundl): New.
20516 (libc_feupdateenv_test_mips): New.
20517 (libc_feupdateenv_test): New.
20518 (libc_feupdateenv_testf): New.
20519 (libc_feupdateenv_testl): New.
20520 (libc_feresetround): New.
20521 (libc_feresetroundf): New.
20522 (libc_feresetroundl): New.
20523 (libc_fetestexcept_mips): New.
20524 (libc_fetestexcept): New.
20525 (libc_fetestexceptf): New.
20526 (libc_fetestexceptl): New.
20527 (HAVE_RM_CTX): New.
20528 (libc_feholdexcept_setround_mips_ctx): New.
20529 (libc_feholdexcept_setround_ctx): New.
20530 (libc_feholdexcept_setroundf_ctx): New.
20531 (libc_feholdexcept_setroundl_ctx): New.
20532 (libc_fesetenv_mips_ctx): New.
20533 (libc_fesetenv_ctx): New.
20534 (libc_fesetenv_ctxf): New.
20535 (libc_fesetenv_ctxl): New.
20536 (libc_feupdateenv_mips_ctx): New.
20537 (libc_feupdateenv_ctx): New.
20538 (libc_feupdateenvf_ctx): New.
20539 (libc_feupdateenvl_ctx): New.
20540 (libc_feholdsetround_mips_ctx): New.
20541 (libc_feholdsetround_ctx): New.
20542 (libc_feholdsetroundf_ctx): New.
20543 (libc_feholdsetroundl_ctx): New.
20544 (libc_feresetround_mips_ctx): New.
20545 (libc_feresetround_ctx): New.
20546 (libc_feresetroundf_ctx): New.
20547 (libc_feresetroundl_ctx): New.
20549 2014-02-26 Carlos O'Donell <carlos@redhat.com>
20551 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20553 * manual/ipc.texi: New file.
20554 * manual/Makefile (chapters): Add ipc.
20555 * manual/job.texi: Add "Inter-Process Communication" to next.
20556 * manual/process.texi: Add "Inter-Process Communication" to prev.
20558 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20562 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
20564 * malloc/malloc.c (__libc_calloc): Simplify implementation.
20566 * manual/arith.texi: Fix spaces after sentences.
20567 * manual/charset.texi: Likewise.
20568 * manual/errno.texi: Likewise.
20569 * manual/install.texi: Likewise.
20570 * manual/llio.texi: Likewise.
20571 * manual/locale.texi: Likewise.
20572 * manual/maint.texi: Likewise.
20573 * manual/math.texi: Likewise.
20574 * manual/memory.texi: Likewise.
20575 * manual/message.texi: Likewise.
20576 * manual/probes.texi: Likewise.
20577 * manual/resource.texi: Likewise.
20578 * manual/signal.texi: Likewise.
20579 * manual/socket.texi: Likewise.
20580 * manual/stdio.texi: Likewise.
20581 * manual/string.texi: Likewise.
20582 * manual/time.texi: Likewise.
20583 * manual/users.texi: Likewise.
20585 2014-02-25 Carlos O'Donell <carlos@redhat.com>
20588 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20589 _DEFAULT_SOURCE is defined.
20591 2014-02-25 Ulrich Drepper <drepper@gmail.com>
20592 Carlos O'Donell <carlos@redhat.com>
20595 * elf/dl-tls.c (_dl_count_modids): New function.
20596 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20597 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20598 audit library and increment generation counter.
20599 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20600 * elf/tst-audit9.c: New file.
20601 * elf/tst-auditmod9a.c: New file.
20602 * elf/tst-auditmod9b.c: New file.
20603 * elf/Makefile: Add rules to build and run tst-audit9.
20605 2014-02-25 Florian Weimer <fweimer@redhat.com>
20608 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20610 2014-02-25 Will Newton <will.newton@linaro.org>
20612 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20613 (__longjmp): Restore sp and lr before restoring callee
20614 saved registers. Add longjmp and longjmp_target
20615 SystemTap probe point.
20616 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20617 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20618 Define to zero to match jmpbuf layout.
20619 * sysdeps/arm/setjmp.S: Include stap-probe.h.
20620 (__sigsetjmp): Save sp and lr before saving callee
20621 saved registers. Add setjmp SystemTap probe point.
20623 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20625 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20627 2014-02-24 Andreas Schwab <schwab@suse.de>
20630 * elf/pldd.c (wait_for_ptrace_stop): New function.
20631 (main): Call it after attaching.
20633 2014-02-22 Roland McGrath <roland@hack.frob.com>
20635 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20636 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20637 Versions files is now verboten.
20638 * hurd/Versions (libc: GLIBC_2.0):
20639 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20640 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20641 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20642 * mach/Versions: Likewise.
20644 * csu/Versions: Remove unused %include.
20645 * resolv/Versions: Likewise.
20647 2014-02-21 Joseph Myers <joseph@codesourcery.com>
20649 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20650 ($(objpfx)check-local-headers.out): Likewise.
20651 ($(objpfx)begin-end-check.out): Likewise.
20652 * Makerules (check-abi-%.out): Likewise.
20653 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20654 ($(objpfx)test2.cat): Likewise.
20655 ($(objpfx)de/libc.cat): Likewise.
20656 ($(objpfx)test-gencat.out): Likewise.
20657 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20658 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20659 ($(objpfx)noload-mem): Likewise.
20660 ($(objpfx)tst-pathopt.out): Likewise.
20661 ($(objpfx)tst-rtld-load-self.out): Likewise.
20662 ($(objpfx)tst-array1-cmp.out): Likewise.
20663 ($(objpfx)tst-array1-static-cmp.out): Likewise.
20664 ($(objpfx)tst-array2-cmp.out): Likewise.
20665 ($(objpfx)tst-array3-cmp.out): Likewise.
20666 ($(objpfx)tst-array4-cmp.out): Likewise.
20667 ($(objpfx)tst-array5-cmp.out): Likewise.
20668 ($(objpfx)tst-array5-static-cmp.out): Likewise.
20669 ($(objpfx)check-textrel.out): Likewise.
20670 ($(objpfx)check-execstack.out): Likewise.
20671 ($(objpfx)check-localplt.out): Likewise.
20672 ($(objpfx)order2-cmp.out): Likewise.
20673 ($(objpfx)tst-leaks1-mem): Likewise.
20674 ($(objpfx)tst-leaks1-static-mem): Likewise.
20675 ($(objpfx)tst-initorder-cmp.out): Likewise.
20676 ($(objpfx)tst-initorder2-cmp.out): Likewise.
20677 ($(objpfx)tst-unused-dep.out): Likewise.
20678 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20679 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20680 * iconv/Makefile (test-iconvconfig): Likewise.
20681 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20682 ($(objpfx)iconv-test.out): Likewise.
20683 ($(objpfx)tst-tables.out): Likewise.
20684 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20685 ($(objpfx)tst-gettext.out): Likewise.
20686 ($(objpfx)tst-translit.out): Likewise.
20687 ($(objpfx)tst-gettext2.out): Likewise.
20688 ($(objpfx)tst-gettext4.out): Likewise.
20689 ($(objpfx)tst-gettext6.out): Likewise.
20690 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20691 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20692 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20693 ($(objpfx)tst-fopenloc-mem.out): Likewise.
20694 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20695 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20696 * posix/Makefile ($(objpfx)globtest.out): Likewise.
20697 ($(objpfx)wordexp-tst.out): Likewise.
20698 ($(objpfx)annexc.out): Likewise.
20699 ($(objpfx)tst-fnmatch-mem): Likewise.
20700 ($(objpfx)bug-regex2-mem): Likewise.
20701 ($(objpfx)bug-regex14-mem): Likewise.
20702 ($(objpfx)bug-regex21-mem): Likewise.
20703 ($(objpfx)bug-regex31-mem): Likewise.
20704 ($(objpfx)tst-vfork3-mem): Likewise.
20705 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20706 ($(objpfx)tst-pcre-mem): Likewise.
20707 ($(objpfx)tst-boost-mem): Likewise.
20708 ($(objpfx)tst-getconf.out): Likewise.
20709 ($(objpfx)bug-ga2-mem): Likewise.
20710 ($(objpfx)bug-glob2-mem): Likewise.
20711 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20712 ($(objpfx)mtrace-tst-leaks2): Likewise.
20713 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20714 ($(objpfx)tst-printf.out): Likewise.
20715 ($(objpfx)tst-setvbuf1.out): Likewise.
20716 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20717 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20718 ($(objpfx)tst-fmtmsg.out): Likewise.
20719 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20720 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20722 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20723 * bits/sigaction.h [__USE_MISC]: Likewise.
20724 * bits/waitstatus.h: Update #endif comments.
20725 * ctype/ctype.h: Likewise.
20726 * dirent/dirent.h: Likewise.
20727 [__USE_MISC]: Remove redundant conditionals.
20728 * grp/grp.h: Update #endif comments.
20729 [__USE_GNU]: Remove redundant conditionals.
20730 [__USE_MISC]: Likewise.
20731 * inet/netinet/in.h [__USE_GNU]: Likewise.
20732 * io/sys/stat.h [__USE_MISC]: Likewise.
20733 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20734 * libio/bits/stdio.h: Update #endif comments.
20735 [__USE_MISC]: Remove redundant conditionals.
20736 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20737 * libio/stdio.h: Update #endif comments.
20738 [__USE_MISC]: Remove redundant conditionals.
20739 * math/bits/math-finite.h [__USE_MISC]: Likewise.
20740 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20741 * math/math.h: Update #else and #endif comments.
20742 [__USE_MISC]: Remove redundant conditionals.
20743 * misc/sys/uio.h: Update #endif comments.
20744 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20745 * posix/glob.h [__USE_MISC]: Likewise.
20746 * posix/sys/types.h: Update #endif comments.
20747 [__USE_MISC]: Remove redundant conditionals.
20748 * posix/sys/wait.h: Update #endif comments.
20749 [__USE_MISC]: Remove redundant conditionals.
20750 * posix/unistd.h: Update #endif comments.
20751 [__USE_MISC]: Remove redundant conditionals.
20752 * pwd/pwd.h [__USE_GNU]: Likewise.
20753 [__USE_MISC]: Likewise.
20754 * resolv/netdb.h [__USE_GNU]: Likewise.
20755 * signal/signal.h: Update #endif comments.
20756 [__USE_MISC]: Remove redundant conditionals.
20757 * stdlib/stdlib.h: Update #else and #endif comments.
20758 [__USE_MISC]: Remove redundant conditionals.
20759 [__USE_GNU]: Likewise.
20760 * string/bits/string2.h [__USE_MISC]: Likewise.
20761 * string/string.h: Update #endif comments.
20762 [__USE_MISC]: Remove redundant conditionals.
20763 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20765 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20766 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20767 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20769 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20771 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20773 [__USE_MISC]: Remove redundant conditionals.
20774 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20775 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20776 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20777 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20778 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20780 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20781 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20783 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20784 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20786 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20788 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20789 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20791 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20793 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20794 * sysdeps/x86/bits/string.h: Update #endif comments.
20795 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20797 * time/sys/time.h: Update #endif comments.
20798 * time/time.h: Likewise.
20799 [__USE_MISC]: Remove redundant conditionals.
20801 2014-02-21 Yury Gribov <y.gribov@samsung.com>
20804 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20806 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
20808 * Versions.def (librt): Add GLIBC_2.17.
20810 2014-02-21 Adam Conrad <adconrad@0c3.net>
20812 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20813 synonym for _SYS_AUXV_H to allow direct inclusion.
20814 * sysdeps/sparc/bits/hwcap.h: Likewise.
20815 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20816 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20817 * sysdeps/sparc/sysdep.h: Likewise.
20819 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20821 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20823 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20825 * benchtests/bench-strrchr.c: Print length instead of position.
20827 2014-02-20 Joseph Myers <joseph@codesourcery.com>
20830 * sysdeps/unix/sysv/linux/kernel-features.h
20831 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20832 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20833 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20834 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20836 [__i386__ || __powerpc__ || __sh__ || __sparc__]
20837 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20838 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20839 (__ASSUME_SENDMMSG): Define instead of using previous
20840 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20841 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20842 (__ASSUME_SENDMMSG_SYSCALL): Define.
20843 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20844 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20846 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20847 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20849 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20850 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20852 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20853 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20854 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20855 [__ASSUME_SENDMMSG]: Change conditionals to
20856 [__ASSUME_SENDMMSG_SOCKETCALL].
20857 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20858 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20860 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20861 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20863 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20864 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20865 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20866 [!__ASSUME_SENDMMSG]: Change conditional to
20867 [!__ASSUME_SENDMMSG_SOCKETCALL].
20868 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20869 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20873 * sysdeps/unix/sysv/linux/kernel-features.h
20874 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20875 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20876 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20877 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20878 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20879 [__i386__ || __sparc__]
20880 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20881 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20882 (__ASSUME_RECVMMSG): Define instead of using previous
20883 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20884 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20885 (__ASSUME_RECVMMSG_SYSCALL): Define.
20886 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20887 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20889 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20890 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20892 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20893 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20895 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__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/microblaze/kernel-features.h
20901 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20903 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20904 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20905 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20907 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20908 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20909 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20910 [!__ASSUME_RECVMMSG]: Change condition to
20911 [!__ASSUME_RECVMMSG_SOCKETCALL].
20912 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20913 (__ASSUME_RECVMMSG_SYSCALL): Define.
20916 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20917 __powerpc__ || __s390__ || __sh__ || __sparc__]
20918 (__ASSUME_SOCKETCALL): Define.
20919 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20920 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20921 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20922 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20923 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20924 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20925 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20926 (__ASSUME_ACCEPT4): Define instead of using previous
20927 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20928 __powerpc__ || __sparc__ || __s390__)] condition.
20929 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20930 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20931 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20932 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20933 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20934 [!__ASSUME_ACCEPT4]: Change condition to
20935 [!__ASSUME_ACCEPT4_SOCKETCALL].
20936 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20937 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
20938 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20939 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20940 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20941 __ASSUME_ACCEPT4_SYSCALL.
20942 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20943 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20944 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20945 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20946 __ASSUME_ACCEPT4_SYSCALL.
20947 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20948 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20949 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20950 [__ASSUME_ACCEPT4]: Change condition to
20951 [__ASSUME_ACCEPT4_SOCKETCALL].
20952 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20953 (__ASSUME_SOCKETCALL): Define.
20954 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20955 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20956 (__ASSUME_SOCKETCALL): Define.
20957 (__ASSUME_ACCEPT4): Remove.
20958 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20960 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20961 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20963 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20964 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20966 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20968 (HWCAP_ARM_LPAE): Likewise.
20969 (HWCAP_ARM_EVTSTRM): Likewise.
20970 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20971 Add vpfd32, lpae and evtstrm.
20972 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20975 2014-02-19 Joseph Myers <joseph@codesourcery.com>
20977 * math/auto-libm-test-in: Add tests of clog10.
20978 * math/auto-libm-test-out: Regenerated.
20979 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20980 * sysdeps/i386/fpu/libm-test-ulps: Update.
20981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20983 2014-02-18 Andreas Schwab <schwab@suse.de>
20986 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20987 Store non-zero if the second buffer was newly allocated.
20988 (send_dg): Likewise.
20989 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20990 to send_vc and send_dg.
20991 (res_nsend): Pass NULL for ansp2_malloced.
20992 * resolv/res_query.c (__libc_res_nquery): Add parameter
20993 answerp2_malloced and pass it down to __libc_res_nsend.
20994 (res_nquery): Pass additional NULL to __libc_res_nquery.
20995 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20996 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
20997 second answer buffer if answerp2_malloced was set.
20998 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20999 (__libc_res_nquerydomain): Add parameter
21000 answerp2_malloced and pass it down to __libc_res_nquery.
21001 (res_nquerydomain): Pass additional NULL to
21002 __libc_res_nquerydomain.
21003 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21004 additional NULL to __libc_res_nsend and __libc_res_nquery.
21005 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21006 additional NULL to __libc_res_nsearch.
21007 (_nss_dns_gethostbyname4_r): Revert last change. Use new
21008 parameter of __libc_res_nsearch to check for separately allocated
21010 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21012 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21013 additional NULL to __libc_res_nquery.
21014 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21015 __libc_res_nsearch.
21016 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21017 * include/resolv.h: Update prototypes of __libc_res_nquery,
21018 __libc_res_nsearch, __libc_res_nsend.
21020 2014-02-18 Joseph Myers <joseph@codesourcery.com>
21022 * math/auto-libm-test-in: Add tests of fma.
21023 * math/auto-libm-test-out: Regenerated.
21024 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21025 (fma_towardzero_test_data): Likewise.
21026 (fma_downward_test_data): Likewise.
21027 (fma_upward_test_data): Likewise.
21028 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21030 (rounding_modes): Add values for new field.
21031 (func_calc_method): Add value mpfr_fff_f.
21032 (func_calc_desc): Add mpfr_fff_f union field.
21033 (test_function): Add field exact_args.
21034 (FUNC): Add macro argument EXACT_ARGS.
21035 (FUNC_mpfr_f_f): Update call to FUNC.
21036 (FUNC_mpfr_f_f): Likewise.
21037 (FUNC_mpfr_ff_f): Likewise.
21038 (FUNC_mpfr_if_f): Likewise.
21039 (FUNC_mpc_c_f): Likewise.
21040 (FUNC_mpc_c_c): Likewise.
21041 (test_functions): Add fma. Update calls to FUNC.
21042 (handle_input_arg): Add argument exact_args.
21043 (add_test): Update call to handle_input_arg.
21044 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
21045 (output_for_one_input_case): Update call to calc_generic_results.
21046 Recalculate exact zero results in each rounding mode.
21048 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21049 non-negative before setting low bit.
21050 * math/auto-libm-test-in: Mark one asin test possibly having
21051 spurious underflow.
21052 * math/auto-libm-test-out: Regenerated.
21053 * sysdeps/i386/fpu/libm-test-ulps: Update.
21054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21056 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
21058 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21059 * sysdeps/unix/sysv/linux/microblaze: Move directory from
21060 ports/sysdeps/unix/sysv/linux/microblaze.
21061 * README: Add missing listing for microblaze*-*-linux-gnu.
21063 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
21065 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21068 2014-02-16 Mike Frysinger <vapier@gentoo.org>
21070 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21071 * sysdeps/unix/sysv/linux/ia64: Move directory from
21072 ports/sysdeps/unix/sysv/linux/ia64.
21073 * README: Update listing for ia64-*-linux-gnu.
21075 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
21076 Joseph Myers <joseph@codesourcery.com>
21078 * Makeconfig (test-name): New variable.
21079 (evaluate-test): Likewise.
21080 * Makerules (do-test-clean): Remove .test-result files.
21081 (common-mostlyclean): Likewise.
21082 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21083 * scripts/evaluate-test.sh: New file.
21085 2014-02-14 Joseph Myers <joseph@codesourcery.com>
21087 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21088 separate $(objpfx)tst-fopenloc-cmp.out and
21089 $(objpfx)tst-fopenloc-mem.out targets.
21090 (tests): Update dependencies.
21091 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21092 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21093 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21094 (tst-rxspencer-no-utf8-ARGS): New variable.
21095 (tst-rxspencer-no-utf8-ENV): Likewise.
21096 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21097 instead of $(objpfx)tst-rxspencer-mem.
21098 ($(objpfx)tst-rxspencer-mem): Change target to
21099 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
21100 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21101 * posix/tst-rxspencer-no-utf8.c: New file.
21103 * elf/Makefile ($(objpfx)order.out): Remove rule.
21104 [$(run-built-tests) = yes] (tests): Depend on
21105 $(objpfx)order-cmp.out.
21106 ($(objpfx)order-cmp.out): New rule.
21107 [$(run-built-tests) = yes] (tests): Depend on
21108 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21109 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21110 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21111 $(objpfx)tst-array5-static-cmp.out.
21112 ($(objpfx)tst-array1.out): Remove rule.
21113 ($(objpfx)tst-array1-cmp.out): New rule.
21114 ($(objpfx)tst-array1-static.out): Remove rule.
21115 ($(objpfx)tst-array1-static-cmp.out): New rule.
21116 ($(objpfx)tst-array2.out): Remove rule.
21117 ($(objpfx)tst-array2-cmp.out): New rule.
21118 ($(objpfx)tst-array3.out): Remove rule.
21119 ($(objpfx)tst-array3-cmp.out): New rule.
21120 ($(objpfx)tst-array4.out): Remove rule.
21121 ($(objpfx)tst-array4-cmp.out): New rule.
21122 ($(objpfx)tst-array5.out): Remove rule.
21123 ($(objpfx)tst-array5-cmp.out): New rule.
21124 ($(objpfx)tst-array5-static.out): Remove rule.
21125 ($(objpfx)tst-array5-static-cmp.out): New rule.
21126 [$(run-built-tests) = yes] (tests): Depend on
21127 $(objpfx)order2-cmp.out.
21128 ($(objpfx)order2.out): Remove rule.
21129 ($(objpfx)order2-cmp.out): New rule.
21130 ($(objpfx)tst-initorder.out): Remove rule.
21131 [$(run-built-tests) = yes] (tests): Depend on
21132 $(objpfx)tst-initorder-cmp.out.
21133 ($(objpfx)tst-initorder-cmp.out): New rule.
21134 ($(objpfx)tst-initorder2.out): Remove rule.
21135 [$(run-built-tests) = yes] (tests): Depend on
21136 $(objpfx)tst-initorder2-cmp.out.
21137 ($(objpfx)tst-initorder2-cmp.out): New rule.
21138 [$(run-built-tests) = yes] (tests): Depend on
21139 $(objpfx)tst-unused-dep-cmp.out.
21140 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21141 ($(objpfx)tst-unused-dep-cmp.out): New rule.
21142 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21143 on $(objpfx)tst-setvbuf1-cmp.out.
21144 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21145 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21146 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21147 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21148 ($(objpfx)tst-svc.out): Remove rule.
21149 ($(objpfx)tst-svc-cmp.out): New rule.
21151 2014-02-13 Joseph Myers <joseph@codesourcery.com>
21153 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21154 * ctype/ctype.h [__USE_MISC]: Likewise.
21155 * dirent/dirent.h [__USE_MISC]: Likewise.
21156 * grp/grp.h [__USE_MISC]: Likewise.
21157 * io/fcntl.h [__USE_MISC]: Likewise.
21158 * io/sys/stat.h [__USE_MISC]: Likewise.
21159 * libio/stdio.h [__USE_MISC]: Likewise.
21160 * posix/unistd.h [__USE_MISC]: Likewise.
21161 * pwd/pwd.h [__USE_MISC]: Likewise.
21162 * stdlib.h [__USE_MISC]: Likewise.
21163 * string/bits/string2.h [__USE_MISC]: Likewise.
21164 * string/string.h [__USE_MISC]: Likewise.
21165 * time/time.h [__USE_MISC]: Likewise.
21167 2014-02-13 Andreas Schwab <schwab@suse.de>
21170 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21171 second answer buffer if it was separately allocated.
21173 2014-02-12 Joseph Myers <joseph@codesourcery.com>
21175 * sysdeps/mips/math-tests.h: Include <features.h>.
21176 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21177 (ROUNDING_TESTS_long_double): Do not define.
21178 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21179 (EXCEPTION_TESTS_long_double): Likewise.
21180 * sysdeps/mips/mips64/libm-test-ulps: Update.
21182 * include/features.h (__USE_BSD): Remove macro definitions.
21183 (__USE_SVID): Likewise.
21184 (_BSD_SOURCE): Likewise.
21185 (_SVID_SOURCE): Likewise.
21186 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21187 from definition of _DEFAULT_SOURCE.
21188 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21190 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21191 * bits/mman.h [__USE_BSD]: Likewise.
21192 * bits/termios.h [__USE_BSD]: Likewise.
21193 * bits/waitstatus.h [__USE_BSD]: Likewise.
21194 * ctype/ctype.h [__USE_SVID]: Likewise.
21195 * dirent/dirent.h [__USE_BSD]: Likewise.
21196 * grp/grp.h [__USE_SVID]: Likewise.
21197 [__USE_BSD]: Likewise.
21198 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21199 * io/fcntl.h [__USE_BSD]: Likewise.
21200 * io/ftw.h [__USE_BSD]: Likewise.
21201 * io/sys/stat.h [__USE_BSD]: Likewise.
21202 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21203 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21204 * libio/stdio.h [__USE_SVID]: Likewise.
21205 [__USE_BSD]: Likewise.
21206 * math/math.h [__USE_SVID]: Likewise.
21207 [__USE_BSD]: Likewise.
21208 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21209 * misc/bits/syslog.h [__USE_BSD]: Likewise.
21210 * misc/search.h [__USE_SVID]: Likewise.
21211 * misc/sys/mman.h [__USE_BSD]: Likewise.
21212 * misc/sys/syslog.h [__USE_BSD]: Likewise.
21213 * misc/sys/uio.h [__USE_BSD]: Likewise.
21214 * posix/bits/unistd.h [__USE_BSD]: Likewise.
21215 * posix/glob.h [__USE_BSD]: Likewise.
21216 * posix/regex.h [__USE_BSD]: Likewise.
21217 * posix/sys/types.h [__USE_BSD]: Likewise.
21218 [__USE_SVID]: Likewise.
21219 * posix/sys/utsname.h [__USE_SVID]: Likewise.
21220 * posix/sys/wait.h [__USE_BSD]: Likewise.
21221 [__USE_SVID]: Likewise.
21222 * posix/unistd.h [__USE_BSD]: Likewise.
21223 [__USE_SVID]: Likewise.
21224 * pwd/pwd.h [__USE_SVID]: Likewise.
21225 * resolv/netdb.h [__USE_BSD]: Likewise.
21226 * setjmp/setjmp.h [__USE_BSD]: Likewise.
21227 * signal/signal.h [__USE_BSD]: Likewise.
21228 [__USE_SVID]: Likewise.
21229 * socket/sys/socket.h [__USE_BSD]: Likewise.
21230 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21231 * stdlib/stdlib.h [__USE_BSD]: Likewise.
21232 [__USE_SVID]: Likewise.
21233 * string/bits/string2.h [__USE_BSD]: Likewise.
21234 [__USE_SVID]: Likewise.
21235 * string/bits/string3.h [__USE_BSD]: Likewise.
21236 * string/endian.h [__USE_BSD]: Likewise.
21237 * string/string.h [__USE_SVID]: Likewise.
21238 [__USE_BSD]: Likewise.
21239 * string/strings.h [__USE_BSD]: Likewise.
21240 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21241 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21242 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21243 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21244 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21245 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21247 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21249 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21250 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21252 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21253 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21255 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21257 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21258 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21259 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21261 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21263 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21264 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21265 * termios/termios.h [__USE_BSD]: Likewise.
21266 * time/sys/time.h [__USE_BSD]: Likewise.
21267 * time/time.h [__USE_BSD]: Likewise.
21268 [__USE_SVID]: Likewise.
21270 * Makefile (subdir_targets): Remove subdir_lint.out.
21272 * stdio-common/Makefile (do-tst-unbputc): Remove target.
21273 (do-tst-printf): Likewise.
21274 (tests): Depend directly on $(objpfx)tst-unbputc.out and
21275 $(objpfx)tst-printf.out.
21277 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21279 * Makerules (check-abi-%): Change target to
21280 $(objpfx)check-abi-%.out.
21281 (check-abi target): Update dependencies.
21282 (check-abi-pattern variable): Redirect output of diff to $@.
21283 (check-abi variable): Likewise.
21284 * elf/Makefile (check-abi): Update dependencies.
21286 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21288 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21289 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21291 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21292 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21293 value has largest subnormal exponent.
21294 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21295 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21296 * sysdeps/aarch64/soft-fp/sfp-machine.h
21297 (_FP_TININESS_AFTER_ROUNDING): New macro.
21298 * sysdeps/alpha/soft-fp/sfp-machine.h
21299 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21300 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21302 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21303 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21304 * sysdeps/mips/soft-fp/sfp-machine.h
21305 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21306 * sysdeps/powerpc/soft-fp/sfp-machine.h
21307 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21308 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21310 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21311 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21312 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21313 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21314 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21317 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
21320 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21323 2014-02-12 Richard Henderson <rth@redhat.com>
21325 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21326 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21327 * sysdeps/unix/sysv/linux/alpha: Move directory from
21328 ports/sysdeps/unix/sysv/linux/alpha.
21329 * README: Update listing for alpha-*-linux-gnu.
21331 2014-02-11 Joseph Myers <joseph@codesourcery.com>
21333 * include/features.h: Update comment documenting feature test
21335 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
21337 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21338 (_SVID_SOURCE): Likewise.
21339 (_DEFAULT_SOURCE): Update description of default features.
21340 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21342 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21343 (S_ISVTX): Likewise.
21344 * manual/math.texi (Mathematical Constants): Likewise.
21345 * manual/signal.texi (Interrupted Primitives): Likewise.
21346 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21347 * math/test-matherr.c (_SVID_SOURCE): Do not define.
21348 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21349 Don't refer to _SVID_SOURCE in warning text.
21351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21353 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21355 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21356 * sysdeps/mips/dl-lookup.c: Remove.
21357 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21359 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21362 * math/auto-libm-test-in: Add testcase for expl.
21363 * math/auto-libm-test-out: Regenerate.
21364 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21365 calculation of unsafe.
21366 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21368 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
21370 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21371 * sysdeps/unix/sysv/linux/aarch64: Move directory from
21372 ports/sysdeps/unix/sysv/linux/aarch64.
21373 * README: Update listing for aarch64*-*-linux-gnu.
21375 2014-02-11 Will Newton <will.newton@linaro.org>
21377 * manual/probes.texi (Mathematical Function Probes): Use
21378 "triggered" instead of "hit".
21380 * manual/probes.texi (Internal Probes): Add documentation
21381 of setjmp, longjmp and longjmp_target probes.
21383 * include/stap-probe.h: Add comment about probe argument
21386 * malloc/mtrace.c (attribute_hidden): Remove unused macro
21387 definition. (tr_where, tr_freehook, tr_mallochook,
21388 tr_reallochook, tr_memalignhook): Use ANSI protoype.
21390 2014-02-11 David S. Miller <davem@davemloft.net>
21392 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21393 processing int_tests.
21395 2014-02-10 Joseph Myers <joseph@codesourcery.com>
21397 * sysdeps/mips: Move directory from ports/sysdeps/mips.
21398 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21399 * sysdeps/unix/sysv/linux/mips: Move directory from
21400 ports/sysdeps/unix/sysv/linux/mips.
21401 * README: Update listing for mips-*-linux-gnu and
21402 mips64-*-linux-gnu.
21404 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
21406 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21407 * sysdeps/unix/sysv/linux/m68k: Move directory from
21408 ports/sysdeps/unix/sysv/linux/m68k.
21409 * README: Update listing for m68k-*-linux-gnu.
21411 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
21413 * sysdeps/tile: Move directory from ports/sysdeps/tile.
21414 * sysdeps/unix/sysv/linux/generic: Move directory from
21415 ports/sysdeps/unix/sysv/linux/generic.
21416 * sysdeps/unix/sysv/linux/tile: Move directory from
21417 ports/sysdeps/unix/sysv/linux/tile.
21418 * README: Update listing for tile*-*-linux-gnu.
21420 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
21422 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21424 * benchtests/bench-memmem.c (simple_memmem): Likewise.
21425 * catgets/open_catalog.c (__open_catalog): Likewise.
21426 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21427 * debug/confstr_chk.c: Likewise.
21428 * debug/fread_chk.c (__fread_chk): Likewise.
21429 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21430 * debug/getgroups_chk.c: Likewise.
21431 * debug/mbsnrtowcs_chk.c: Likewise.
21432 * debug/mbsrtowcs_chk.c: Likewise.
21433 * debug/mbstowcs_chk.c: Likewise.
21434 * debug/memcpy_chk.c: Likewise.
21435 * debug/memmove_chk.c: Likewise.
21436 * debug/mempcpy_chk.c: Likewise.
21437 * debug/memset_chk.c: Likewise.
21438 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21439 * debug/strcat_chk.c (__strcat_chk): Likewise.
21440 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21441 * debug/strncat_chk.c (__strncat_chk): Likewise.
21442 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21443 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21444 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21445 * debug/wcpncpy_chk.c: Likewise.
21446 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21447 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21448 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21449 * debug/wcsncpy_chk.c: Likewise.
21450 * debug/wcsnrtombs_chk.c: Likewise.
21451 * debug/wcsrtombs_chk.c: Likewise.
21452 * debug/wcstombs_chk.c: Likewise.
21453 * debug/wmemcpy_chk.c: Likewise.
21454 * debug/wmemmove_chk.c: Likewise.
21455 * debug/wmempcpy_chk.c: Likewise.
21456 * debug/wmemset_chk.c: Likewise.
21457 * dirent/scandirat.c (SCANDIRAT): Likewise.
21458 * dlfcn/dladdr1.c (dladdr1): Likewise.
21459 * dlfcn/dladdr.c (dladdr): Likewise.
21460 * dlfcn/dlclose.c (dlclose_doit): Likewise.
21461 * dlfcn/dlerror.c (__dlerror): Likewise.
21462 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21463 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21464 * dlfcn/dlopen.c (dlopen_doit): Likewise.
21465 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21466 * dlfcn/dlsym.c (dlsym_doit): Likewise.
21467 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21468 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21469 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21471 * elf/dl-conflict.c: Likewise.
21472 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21473 * elf/dl-dst.h: Likewise.
21474 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21475 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21476 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21477 * elf/dl-init.c (call_init, _dl_init): Likewise.
21478 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21479 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21480 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21482 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21484 * elf/dl-minimal.c (__libc_memalign): Likewise.
21485 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21486 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21487 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21488 * elf/dl-sym.c (do_sym): Likewise.
21489 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21490 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21491 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21492 * elf/dl-writev.h (_dl_writev): Likewise.
21493 * elf/ldconfig.c (search_dir): Likewise.
21494 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21495 (dl_main): Likewise.
21496 * elf/setup-vdso.h (setup_vdso): Likewise.
21497 * grp/compat-initgroups.c (compat_call): Likewise.
21498 * grp/fgetgrent.c (fgetgrent): Likewise.
21499 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21500 * grp/putgrent.c (putgrent): Likewise.
21501 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21503 * hurd/hurdinit.c: Likewise.
21504 * iconvdata/8bit-gap.c (struct): Likewise.
21505 * iconvdata/ansi_x3.110.c : Likewise.
21506 * iconvdata/big5.c : Likewise.
21507 * iconvdata/big5hkscs.c : Likewise.
21508 * iconvdata/cp1255.c: Likewise.
21509 * iconvdata/cp1258.c : Likewise.
21510 * iconvdata/cp932.c : Likewise.
21511 * iconvdata/euc-cn.c: Likewise.
21512 * iconvdata/euc-jisx0213.c : Likewise.
21513 * iconvdata/euc-jp.c: Likewise.
21514 * iconvdata/euc-jp-ms.c : Likewise.
21515 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21516 * iconvdata/gb18030.c : Likewise.
21517 * iconvdata/gbbig5.c (const): Likewise.
21518 * iconvdata/gbgbk.c: Likewise.
21519 * iconvdata/gbk.c : Likewise.
21520 * iconvdata/ibm1364.c : Likewise.
21521 * iconvdata/ibm930.c : Likewise.
21522 * iconvdata/ibm932.c: Likewise.
21523 * iconvdata/ibm933.c : Likewise.
21524 * iconvdata/ibm935.c : Likewise.
21525 * iconvdata/ibm937.c : Likewise.
21526 * iconvdata/ibm939.c : Likewise.
21527 * iconvdata/ibm943.c: Likewise.
21528 * iconvdata/iso_11548-1.c: Likewise.
21529 * iconvdata/iso-2022-cn.c : Likewise.
21530 * iconvdata/iso-2022-cn-ext.c : Likewise.
21531 * iconvdata/iso-2022-jp-3.c: Likewise.
21532 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21533 * iconvdata/iso-2022-kr.c : Likewise.
21534 * iconvdata/iso646.c (gconv_end): Likewise.
21535 * iconvdata/iso_6937-2.c : Likewise.
21536 * iconvdata/iso_6937.c : Likewise.
21537 * iconvdata/iso8859-1.c: Likewise.
21538 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21539 * iconvdata/shift_jisx0213.c : Likewise.
21540 * iconvdata/sjis.c : Likewise.
21541 * iconvdata/t.61.c : Likewise.
21542 * iconvdata/tcvn5712-1.c : Likewise.
21543 * iconvdata/tscii.c: Likewise.
21544 * iconvdata/uhc.c : Likewise.
21545 * iconvdata/unicode.c (gconv_end): Likewise.
21546 * iconvdata/utf-16.c (gconv_end): Likewise.
21547 * iconvdata/utf-32.c (gconv_end): Likewise.
21548 * iconvdata/utf-7.c (base64): Likewise.
21549 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21550 * iconv/gconv_close.c (__gconv_close): Likewise.
21551 * iconv/gconv_open.c (__gconv_open): Likewise.
21552 * iconv/gconv_simple.c (internal_ucs4_loop_single)
21553 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21554 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21555 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21556 (ucs4le_internal_loop_single): Likewise.
21557 * iconv/iconv.c (iconv): Likewise.
21558 * iconv/iconv_close.c: Likewise.
21559 * iconv/loop.c (SINGLE): Likewise.
21560 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21561 * include/atomic.h: Likewise.
21562 * inet/inet6_option.c (option_alloc): Likewise.
21563 * intl/bindtextdom.c (set_binding_values): Likewise.
21564 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21565 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21566 * intl/localealias.c (read_alias_file): Likewise.
21567 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21568 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21569 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21570 * libio/fmemopen.c (fmemopen): Likewise.
21571 * libio/iofgets.c (_IO_fgets): Likewise.
21572 * libio/iofgets_u.c (fgets_unlocked): Likewise.
21573 * libio/iofgetws.c (fgetws): Likewise.
21574 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21575 * libio/iogetdelim.c (_IO_getdelim): Likewise.
21576 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21577 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21578 * locale/findlocale.c (_nl_find_locale): Likewise.
21579 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21580 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21582 * locale/setlocale.c (setlocale): Likewise.
21583 * login/programs/pt_chown.c (main): Likewise.
21584 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21585 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21586 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21587 (mmap, mmap64, mremap, munmap): Likewise.
21588 * math/e_exp2l.c: Likewise.
21589 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21590 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21591 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21592 * math/s_catan.c (__catan): Likewise.
21593 * math/s_catanf.c (__catanf): Likewise.
21594 * math/s_catanh.c (__catanh): Likewise.
21595 * math/s_catanhf.c (__catanhf): Likewise.
21596 * math/s_catanhl.c (__catanhl): Likewise.
21597 * math/s_catanl.c (__catanl): Likewise.
21598 * math/s_ccosh.c (__ccosh): Likewise.
21599 * math/s_ccoshf.c (__ccoshf): Likewise.
21600 * math/s_ccoshl.c (__ccoshl): Likewise.
21601 * math/s_cexp.c (__cexp): Likewise.
21602 * math/s_cexpf.c (__cexpf): Likewise.
21603 * math/s_cexpl.c (__cexpl): Likewise.
21604 * math/s_clog10.c (__clog10): Likewise.
21605 * math/s_clog10f.c (__clog10f): Likewise.
21606 * math/s_clog10l.c (__clog10l): Likewise.
21607 * math/s_clog.c (__clog): Likewise.
21608 * math/s_clogf.c (__clogf): Likewise.
21609 * math/s_clogl.c (__clogl): Likewise.
21610 * math/s_csin.c (__csin): Likewise.
21611 * math/s_csinf.c (__csinf): Likewise.
21612 * math/s_csinh.c (__csinh): Likewise.
21613 * math/s_csinhf.c (__csinhf): Likewise.
21614 * math/s_csinhl.c (__csinhl): Likewise.
21615 * math/s_csinl.c (__csinl): Likewise.
21616 * math/s_csqrt.c (__csqrt): Likewise.
21617 * math/s_csqrtf.c (__csqrtf): Likewise.
21618 * math/s_csqrtl.c (__csqrtl): Likewise.
21619 * math/s_ctan.c (__ctan): Likewise.
21620 * math/s_ctanf.c (__ctanf): Likewise.
21621 * math/s_ctanh.c (__ctanh): Likewise.
21622 * math/s_ctanhf.c (__ctanhf): Likewise.
21623 * math/s_ctanhl.c (__ctanhl): Likewise.
21624 * math/s_ctanl.c (__ctanl): Likewise.
21625 * math/w_pow.c: Likewise.
21626 * math/w_powf.c: Likewise.
21627 * math/w_powl.c: Likewise.
21628 * math/w_scalb.c (sysv_scalb): Likewise.
21629 * math/w_scalbf.c (sysv_scalbf): Likewise.
21630 * math/w_scalbl.c (sysv_scalbl): Likewise.
21631 * misc/error.c (error_tail): Likewise.
21632 * misc/pselect.c (__pselect): Likewise.
21633 * nis/nis_callback.c (__nis_create_callback): Likewise.
21634 * nis/nis_call.c (__nisfind_server): Likewise.
21635 * nis/nis_creategroup.c (nis_creategroup): Likewise.
21636 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21637 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21638 * nis/nis_getservlist.c (nis_getservlist): Likewise.
21639 * nis/nis_lookup.c (nis_lookup): Likewise.
21640 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21641 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21642 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21643 * nis/nis_xdr.c (xdr_endpoint): Likewise.
21644 * nis/nss_compat/compat-grp.c (getgrent_next_file)
21645 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21646 * nis/nss_compat/compat-initgroups.c (add_group)
21647 (internal_getgrent_r): Likewise.
21648 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21649 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21650 * nis/nss_compat/compat-spwd.c (getspent_next_file)
21651 (internal_getspnam_r): Likewise.
21652 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21653 (_nss_nis_getaliasbyname_r): Likewise.
21654 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21655 (_nss_nis_getntohost_r): Likewise.
21656 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21657 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21658 (_nss_nis_getgrgid_r): Likewise.
21659 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21660 (internal_nis_gethostent_r, internal_gethostbyname2_r)
21661 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21662 (_nss_nis_gethostbyname4_r): Likewise.
21663 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21664 (initgroups_netid): Likewise.
21665 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21666 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21667 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21668 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21669 (_nss_nis_getprotobynumber_r): Likewise.
21670 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21671 (_nss_nis_getsecretkey): Likewise.
21672 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21673 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21674 (_nss_nis_getpwuid_r): Likewise.
21675 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21676 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21677 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21678 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21679 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21680 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21681 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21683 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21684 (_nss_nisplus_getntohost_r): Likewise.
21685 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21686 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21687 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21688 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21690 * nis/nss_nisplus/nisplus-initgroups.c
21691 (_nss_nisplus_initgroups_dyn): Likewise.
21692 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21693 (_nss_nisplus_getnetbyaddr_r): Likewise.
21694 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21695 (_nss_nisplus_getprotobynumber_r): Likewise.
21696 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21697 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21698 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21700 * nis/nss_nisplus/nisplus-service.c
21701 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21702 (_nss_nisplus_getservbyport_r): Likewise.
21703 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21704 (_nss_nisplus_getspnam_r): Likewise.
21705 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21707 * nscd/aicache.c (addhstaiX): Likewise.
21708 * nscd/cache.c (cache_search, prune_cache): Likewise.
21709 * nscd/connections.c (register_traced_file, send_ro_fd)
21710 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21711 (main_loop_epoll): Likewise.
21712 * nscd/grpcache.c (addgrbyX): Likewise.
21713 * nscd/hstcache.c (addhstbyX): Likewise.
21714 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21715 * nscd/mem.c (gc, mempool_alloc): Likewise.
21716 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21717 (addinnetgrX): Likewise.
21718 * nscd/nscd-client.h (__nscd_acquire_maplock)
21719 (__nscd_drop_map_ref): Likewise.
21720 * nscd/nscd_getai.c (__nscd_getai): Likewise.
21721 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21722 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21724 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21725 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21726 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21727 (__nscd_get_map_ref): Likewise.
21728 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21729 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21731 * nscd/pwdcache.c (addpwbyX): Likewise.
21732 * nscd/selinux.c (preserve_capabilities): Likewise.
21733 * nscd/servicescache.c (addservbyX): Likewise.
21734 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21735 * posix/fnmatch.c (fnmatch): Likewise.
21736 * posix/getopt.c (_getopt_internal_r): Likewise.
21737 * posix/glob.c (glob, glob_in_dir): Likewise.
21738 * posix/wordexp.c (exec_comm_child): Likewise.
21739 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21740 (getanswer_r, gaih_getanswer_slice): Likewise.
21741 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21742 * resolv/res_init.c: Likewise.
21743 * resolv/res_mkquery.c (res_nmkquery): Likewise.
21744 * resolv/res_query.c (__libc_res_nquery): Likewise.
21745 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21747 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21748 * stdio-common/perror.c (perror): Likewise.
21749 * stdio-common/printf_fp.c (___printf_fp): Likewise.
21750 * stdio-common/tmpnam.c (tmpnam): Likewise.
21751 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21752 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21753 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21755 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21756 * stdlib/putenv.c (putenv): Likewise.
21757 * stdlib/setenv.c (__add_to_environ): Likewise.
21758 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21759 * stdlib/strtol_l.c (INTERNAL): Likewise.
21760 * string/memmem.c (memmem): Likewise.
21761 * string/strerror.c (strerror): Likewise.
21762 * string/strnlen.c (__strnlen): Likewise.
21763 * string/test-memmem.c (simple_memmem): Likewise.
21764 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21765 * sunrpc/pm_getport.c (__get_socket): Likewise.
21766 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21767 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21768 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21769 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21771 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21772 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21773 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21774 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21775 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21776 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21778 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21780 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21781 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21782 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21783 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21784 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21786 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21787 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21788 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21789 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21790 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21791 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21793 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21795 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21797 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21798 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21799 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21800 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21801 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21802 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21803 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21804 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21805 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21806 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21807 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21808 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21809 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21810 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21812 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21814 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21816 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21818 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21820 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21821 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21822 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21824 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21825 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21826 * sysdeps/posix/opendir.c (__opendirat): Likewise.
21827 * sysdeps/posix/sleep.c: Likewise.
21828 * sysdeps/posix/tempname.c: Likewise.
21829 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21830 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21832 * sysdeps/powerpc/powerpc32/dl-machine.h
21833 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21834 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21835 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21836 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21837 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21839 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21840 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21841 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21842 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21843 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21844 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21845 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21846 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21847 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21848 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21849 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21850 (elf_machine_lazy_rel): Likewise.
21851 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21852 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21853 (elf_machine_lazy_rel): Likewise.
21854 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21855 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21856 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21857 * sysdeps/unix/grantpt.c (grantpt): Likewise.
21858 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21859 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21860 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21863 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21864 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21865 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21866 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21867 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21868 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21869 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21870 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21871 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21872 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21873 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21875 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21876 (__posix_fallocate64_l64): Likewise.
21877 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21878 (posix_fallocate): Likewise.
21879 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21881 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21882 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21883 (getifaddrs_internal): Likewise.
21884 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21885 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21886 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21887 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21888 * sysdeps/unix/sysv/linux/posix_fallocate64.c
21889 (__posix_fallocate64_l64): Likewise.
21890 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21892 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21893 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21894 (__get_clockfreq): Likewise.
21895 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21896 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21897 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21898 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21899 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21900 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21901 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21902 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21904 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21905 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21906 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21907 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21908 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21909 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21910 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21912 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21913 (posix_fallocate): Likewise.
21914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21915 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21916 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21917 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21918 (elf_machine_rela, elf_machine_rela_relative)
21919 (elf_machine_lazy_rel): Likewise.
21920 * time/asctime.c (asctime_internal): Likewise.
21921 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21922 * time/tzset.c (__tzset_parse_tz): Likewise.
21923 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21924 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21925 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21926 * wcsmbs/wcsmbsload.h: Likewise.
21929 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21931 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21932 (arena_get2): Remove THREAD_STATS conditionals.
21933 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21934 (__malloc_stats, int): Likewise.
21936 2014-02-08 Mike Frysinger <vapier@gentoo.org>
21938 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21939 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
21941 * manual/setjmp.texi: Fix typos/grammar errors.
21943 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21944 Only return early when n is <= 0. Delete unused return statement.
21946 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21947 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21948 * debug/tst-longjmp_chk3.c: New file.
21950 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21951 (test_main): Replace code with set_fortify_handler call.
21952 * debug/test-strcpy_chk.c: Likewise.
21953 * debug/tst-chk1.c: Likewise.
21954 * debug/tst-longjmp_chk.c: Likewise.
21955 * test-skeleton.c: Include fcntl.h & paths.h
21956 (set_fortify_handler): Define.
21958 * debug/tst-longjmp_chk.c: Add header comment and include
21959 ../test-skeleton.c.
21960 (do_test): Mark static.
21961 (TEST_FUNCTION): Define.
21963 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21964 (IP_PMTUDISC_INTERFACE): Likewise.
21965 (IP_MULTICAST_IF): Likewise.
21966 (IP_MULTICAST_TTL): Likewise.
21967 (IP_MULTICAST_LOOP): Likewise.
21968 (IP_ADD_MEMBERSHIP): Likewise.
21969 (IP_DROP_MEMBERSHIP): Likewise.
21970 (IP_UNBLOCK_SOURCE): Likewise.
21971 (IP_BLOCK_SOURCE): Likewise.
21972 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21973 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21974 (IP_MSFILTER): Likewise.
21975 (MCAST_JOIN_GROUP): Likewise.
21976 (MCAST_BLOCK_SOURCE): Likewise.
21977 (MCAST_UNBLOCK_SOURCE): Likewise.
21978 (MCAST_LEAVE_GROUP): Likewise.
21979 (MCAST_JOIN_SOURCE_GROUP): Likewise.
21980 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21981 (MCAST_MSFILTER): Likewise.
21982 (IP_MULTICAST_ALL): Likewise.
21983 (IP_UNICAST_IF): Likewise.
21985 * timezone/Makefile: Delete $(have-ksh) check.
21986 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21987 * timezone/tzselect.ksh: Add +x mode bits.
21989 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21990 (ANON_INODE_FS_MAGIC): Likewise.
21991 (BDEVFS_MAGIC): Likewise.
21992 (BINFMTFS_MAGIC): Likewise.
21993 (BTRFS_TEST_MAGIC): Likewise.
21994 (CRAMFS_MAGIC_WEND): Likewise.
21995 (DEBUGFS_MAGIC): Likewise.
21996 (ECRYPTFS_SUPER_MAGIC): Likewise.
21997 (EXT3_SUPER_MAGIC): Likewise.
21998 (EXT4_SUPER_MAGIC): Likewise.
21999 (FUTEXFS_SUPER_MAGIC): Likewise.
22000 (HOSTFS_SUPER_MAGIC): Likewise.
22001 (HUGETLBFS_MAGIC): Likewise.
22002 (MINIX3_SUPER_MAGIC): Likewise.
22003 (MTD_INODE_FS_MAGIC): Likewise.
22004 (NILFS_SUPER_MAGIC): Likewise.
22005 (OPENPROM_SUPER_MAGIC): Likewise.
22006 (PIPEFS_MAGIC): Likewise.
22007 (PSTOREFS_MAGIC): Likewise.
22008 (QNX6_SUPER_MAGIC): Likewise.
22009 (RAMFS_MAGIC): Likewise.
22010 (REISERFS_SUPER_MAGIC_STRING): Likewise.
22011 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22012 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22013 (SECURITYFS_MAGIC): Likewise.
22014 (SELINUX_MAGIC): Likewise.
22015 (SMACK_MAGIC): Likewise.
22016 (SOCKFS_MAGIC): Likewise.
22017 (SQUASHFS_MAGIC): Likewise.
22018 (STACK_END_MAGIC): Likewise.
22019 (TMPFS_MAGIC): Likewise.
22020 (USBDEVICE_SUPER_MAGIC): Likewise.
22021 (V9FS_MAGIC): Likewise.
22022 (XENFS_SUPER_MAGIC): Likewise.
22023 (CRAMFS_MAGIC): Fix typo in comment.
22024 (EXT2_SUPER_MAGIC): Update comment.
22025 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22027 2014-02-08 Joseph Myers <joseph@codesourcery.com>
22029 * sysdeps/arm: Move directory from ports/sysdeps/arm.
22030 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22031 * sysdeps/unix/sysv/linux/arm: Move directory from
22032 ports/sysdeps/unix/sysv/linux/arm.
22033 * README: Update listing for arm-*-linux-gnueabi.
22035 * README: Remove mention of am33.
22037 2014-02-07 Roland McGrath <roland@hack.frob.com>
22039 * bits/sigset.h (__sigemptyset): Use a statement expression rather
22040 than the comma operator, to avoid "rhs of comma has no effect"
22042 (__sigfillset, __sigandset, __sigorset): Likewise.
22043 * include/signal.h (__sigemptyset): Likewise.
22044 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22046 2014-02-07 Allan McRae <allan@archlinux.org>
22048 * version.h (RELEASE): Set to "development".
22049 (VERSION): Set to "2.19.90"
22050 * NEWS: Add 2.20 section.
22052 2014-02-06 Carlos O'Donell <carlos@redhat.com>
22055 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22057 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22059 * manual/contrib.texi: Update entry for Carlos O'Donell,
22060 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22062 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
22064 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22066 * sysdeps/unix/sysv/linux/kernel-features.h
22067 [__LINUX_KERNEL_VERSION >= 0x020621]
22068 (__ASSUME_PROC_PID_TASK_COMM): Define.
22070 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22073 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22074 conversion when destination buffer does not have enough space.
22075 * libio/tst-ftell-partial-wide.c: New test case.
22076 * libio/Makefile (tests): Add tst-ftell-partial-wide.
22078 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22079 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
22080 Leonard and Allan McRae.
22082 2014-02-04 David S. Miller <davem@davemloft.net>
22084 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22087 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22116 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22118 * nptl/shlib-versions: Change powerpc*le start to 2.17.
22119 * shlib-versions: Likewise.
22121 2014-02-04 Roland McGrath <roland@hack.frob.com>
22122 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22124 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22125 (abilist-pattern): New variable, set to %-le.abilist.
22127 * Makerules (abilist-pattern): New variable.
22128 (vpath): Use $(abilist-pattern) in place of %.abilist.
22129 (check-abi-% pattern rule): Likewise.
22130 (check-abi, update-abi): Likewise.
22132 2014-02-04 Eric Wong <normalperson@yhbt.net>
22134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22136 2014-02-03 Carlos O'Donell <carlos@redhat.com>
22138 * manual/startup.texi: Add next, previous, and top entries for
22139 the `Program Arguments' and `Environment Variables' nodes.
22141 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
22143 * manual/macros.texi: Add comments before MTASC-safety macros.
22145 * manual/users.texi: Document MTASC-safety properties.
22147 * manual/threads.texi (pthread_key_create, pthread_key_delete)
22148 (pthread_getspecific, pthread_setspecific): Format with
22149 @deftypefun, and add @safety note.
22150 * manual/signal.texi: Move comments that analyze the above
22151 functions to their home place.
22153 2014-02-03 Allan McRae <allan@archlinux.org>
22155 * po/sl.po: Update Slovenian translation from translation project.
22157 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
22159 * manual/time.texi (timegm): Add missing blank after @c.
22160 Reported by Joseph Myers <joseph@codesourcery.com>.
22162 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
22164 * manual/check-safety.sh: New.
22165 * manual/Makefile ($(objpfx)stamp-summary): Run it.
22167 * manual/terminal.texi: Document MTASC-safety properties.
22169 * manual/filesys.texi: Document MTASC-safety properties.
22171 * manual/errno.texi: Document MTASC-safety properties.
22173 * manual/intro.texi: Document safety identifiers and
22176 * manual/string.texi (wcstok): Fix prototype.
22177 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22179 * manual/time.texi: Document MTASC-safety properties.
22181 * manual/string.texi: Document MTASC-safety properties.
22183 * manual/threads.texi: Document MTASC-safety properties.
22185 * manual/stdio.texi: Document MTASC-safety properties.
22187 * manual/syslog.texi: Document MTASC-safety properties.
22189 * manual/sysinfo.texi: Document MTASC-safety properties.
22191 * manual/startup.texi: Document MTASC-safety properties.
22193 * manual/socket.texi: Document MTASC-safety properties.
22195 * manual/signal.texi: Document MTASC-safety properties.
22197 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
22199 * manual/setjmp.texi: Document MTASC-safety properties.
22201 * manual/search.texi: Document MTASC-safety properties.
22203 * manual/resource.texi: Document MTASC-safety properties.
22205 * manual/process.texi: Document MTASC-safety properties.
22207 * manual/platform.texi: Document MTASC-safety properties.
22209 * manual/pipe.texi: Document MTASC-safety properties.
22211 * manual/pattern.texi: Document MTASC-safety properties.
22213 * manual/message.texi: Document MTASC-safety properties.
22216 * manual/memory.texi: Document MTASC-safety properties.
22218 * manual/math.texi: Document MTASC-safety properties.
22220 * manual/locale.texi: Document MTASC-safety properties.
22222 * manual/llio.texi: Document MTASC-safety properties.
22224 * manual/libdl.texi: New.
22226 * manual/lang.texi: Document MTASC-safety properties.
22228 * manual/job.texi: Document MTASC-safety properties.
22230 * manual/getopt.texi: Document MTASC-safety properties.
22232 * manual/ctype.texi: Document MTASC-safety properties.
22234 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
22237 * csu/libc-tls.c (static_map): Remove variable.
22238 (__libc_setup_tls): Use main executable's link map for TLS data.
22239 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22240 casing for LM_ID_BASE and GL(dl_nns).
22241 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22242 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
22243 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22244 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22245 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22247 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22250 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
22252 * manual/debug.texi: Document MTASC-safety properties.
22254 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
22257 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22258 of __x86_64__ when disabling x87 inline functions.
22260 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
22262 * manual/charset.texi: Document MTASC-safety properties.
22264 * manual/crypt.texi: Document MTASC-safety properties.
22266 * manual/conf.texi: Document MTASC-safety properties.
22268 * manual/arith.texi: Document MTASC-safety properties.
22270 * manual/argp.texi: Document MTASC-safety properties.
22272 * manual/macros.texi: Introduce macros to document multi
22273 thread, asynchronous signal and asynchronous cancellation
22275 * manual/intro.texi: Introduce the properties themselves.
22277 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22279 * sysdeps/sh/sh4/Makefile: New file.
22281 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
22283 * math/gen-libm-test.pl ($srcdir): New variable.
22284 ($auto_input): Use it.
22286 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22289 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22290 access beyond array bounds when parsing netgroups file.
22292 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22293 the old buffer before realloc.
22295 2014-01-27 Allan McRae <allan@archlinux.org>
22297 * po/fr.po: Update French translation from translation project.
22299 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22301 * sysdeps/sh/libm-test-ulps: Regenerate.
22303 2014-01-24 David S. Miller <davem@davemloft.net>
22305 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22307 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22309 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22310 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22312 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22315 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22316 string pointers after reallocation.
22318 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22320 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22321 __SH4A__ instead of __SH_FPU_ANY__.
22323 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22325 * sysdeps/sh/fpu_control.h: New file.
22326 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22327 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22328 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22329 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22330 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22331 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22332 * sysdeps/sh/sys/ucontext.h: Remove.
22333 * sysdeps/sh/sys: Remove directory.
22335 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22337 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22338 s390/sys/ucontext.h.
22339 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22340 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22342 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
22345 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22347 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22350 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22351 Adjust the vDSO correctly for internal calls.
22352 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22354 2014-01-20 Allan McRae <allan@archlinux.org>
22356 * po/ca.po: Update Catalan translation from translation project.
22358 2014-01-16 Mike Frysinger <vapier@gentoo.org>
22360 * sysdeps/s390/sotruss-lib.c: New file.
22362 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22365 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22366 (__GI___gettimeofday): Alias for a different internal symbol to avoid
22367 local calls issues by not having a PLT stub required for IFUNC calls.
22368 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22370 2014-01-16 Joseph Myers <joseph@codesourcery.com>
22372 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22373 * math/test-fpucw-static.c: Likewise.
22375 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22378 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22380 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22382 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22383 implementation for powerpc.
22385 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
22388 * sysdeps/posix/system.c (__libc_system): Do not enable
22389 asynchronous cancellation.
22391 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22394 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22395 handling only for numbers special also in the IEEE case.
22397 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22399 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22401 2014-01-11 Allan McRae <allan@archlinux.org>
22403 * po/bg.po: Update Bulgarian translation from translation project.
22405 * po/de.po: Update German translation from translation project.
22407 2014-01-10 Roland McGrath <roland@hack.frob.com>
22409 * sysdeps/generic/gcc-compat.h: New file.
22411 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22413 * benchtests/asin-inputs: Correct slow inputs.
22414 * benchtests/acos-inputs: Likewise.
22416 2014-01-10 Allan McRae <allan@archlinux.org>
22418 * po:sv.po: Update Swedish translation from translation project.
22420 * po/vi.po: Update Vietnamese translation from translation project.
22422 * po/eo.po: Update Esperanto translation from translation project.
22424 * po/cs.po: Update Czech translation from translation project.
22426 * po/nl.po: Update Dutch translation from translation project.
22428 * po/pl.po: Update Polish translation from translation project.
22430 * po/ru.po: Update Russian translation from translation project.
22432 * po/uk.po: Update Ukrainian translation from translation project.
22434 2014-01-08 Brooks Moses <bmoses@google.com>
22436 * elf/dl-load.c: Fix comment typo.
22438 2014-01-08 Carlos O'Donell <carlos@redhat.com>
22440 * po/header.pot: Rename to...
22441 * po/pot.header: ... this.
22442 * po/Makefile: Use pot.header.
22444 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
22445 Maxim Kuvyrkov <maxim@kugelworks.com>
22448 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22449 SRC and DEST against LEN.
22451 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22454 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22456 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22458 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22462 2014-01-08 Joseph Myers <joseph@codesourcery.com>
22465 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22466 for large positive arguments.
22468 2014-01-07 Joseph Myers <joseph@codesourcery.com>
22470 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22472 * math/auto-libm-test-in: Mark various tests with
22473 xfail-rounding:ldbl-128ibm.
22474 * math/auto-libm-test-out: Regenerated.
22477 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22478 Increase overflow threshold.
22480 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
22483 * stdio-common/vfprintf.c: Check for integer overflow.
22485 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22487 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22488 the first argument and return value of __tls_get_addr_internal.
22490 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22492 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22493 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22495 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22497 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22498 * sysdeps/s390/rtld-global-offsets.sym: New file.
22499 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22501 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22502 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22503 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22505 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22506 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22512 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22513 halfs of GPRs for high_gprs contexts.
22514 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22515 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
22517 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22519 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22521 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22522 for high GPRs (uc_high_gprs) and for future extensions
22524 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22525 for future extensions (__reserved).
22526 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22528 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22529 SC_HIGHGPRS offset definition.
22530 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22531 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22533 * Versions.def: Add GLIBC_2.19 for libpthread.
22534 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22535 siglongjmp for libpthread with GLIBC_2.19 symver.
22536 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22537 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22538 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22539 * sysdeps/s390/__longjmp.c: New file.
22540 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22541 * sysdeps/s390/longjmp.c: New file.
22542 * sysdeps/s390/setjmp.S: New file.
22543 * sysdeps/s390/sigjmp.S: New file.
22544 * sysdeps/s390/v1-longjmp.c: New file.
22545 * sysdeps/s390/v1-setjmp.h: New file.
22546 * sysdeps/s390/v1-sigjmp.c: New file.
22547 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22548 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22549 GLIBC_2.19 version.
22550 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22551 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22552 versioned symbols for ____longjmp_chk.
22553 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22563 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22564 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22565 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22566 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22567 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22568 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22569 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22570 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22571 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22572 * sysdeps/s390/rtld-__longjmp.c: New file.
22573 * sysdeps/s390/rtld-setjmp.S: New file.
22575 2014-01-06 Joseph Myers <joseph@codesourcery.com>
22578 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22579 Return -__logl (x) for small positive arguments without evaluating
22582 2014-01-06 Mike Frysinger <vapier@gentoo.org>
22584 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22586 (__ptrace_peeksiginfo_args): ... this.
22587 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22588 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22591 2014-01-06 Allan McRae <allan@archlinux.org>
22593 * inet/netinet/in.h: Fix typo in comment.
22595 2014-01-05 Andreas Jaeger <aj@suse.de>
22597 * sysdeps/i386/fpu/libm-test-ulps: Update.
22599 2014-01-05 Allan McRae <allan@archlinux.org>
22601 * po/libc.pot: Regenerated.
22603 * malloc/memusagestat.c: Fix gettext call formatting.
22605 2014-01-04 Sami Kerola <kerolasa@iki.fi>
22607 * nscd/nscd.c: Improve usage() output.
22609 2014-01-04 Mike Frysinger <vapier@gentoo.org>
22611 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22612 * sysdeps/unix/sysv/linux/configure: Regenerated.
22613 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22614 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22616 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22619 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22620 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22622 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22624 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22625 extra tokens at end of #undef directive.
22626 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22627 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22628 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22630 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22632 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22634 * math/auto-libm-test-in: Mark various tests with
22635 xfail-rounding:ldbl-128ibm.
22636 * math/auto-libm-test-out: Regenerated.
22638 2014-01-02 Joseph Myers <joseph@codesourcery.com>
22641 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22642 numbers with subnormal high part when calculating exponent.
22645 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22649 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22651 (__ieee754_acoshl): Use __log1pl not __log1p.
22653 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
22655 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22656 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22657 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22658 (grow_heap, heap_trim, _int_new_arena, get_free_list)
22659 (reused_arena, arena_get2): Convert to GNU style.
22660 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22661 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22662 (memalign_check, __malloc_set_state): Likewise.
22663 * malloc/mallocbug.c (main): Likewise.
22664 * malloc/malloc.c (__malloc_assert, malloc_init_state)
22665 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22666 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22667 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22668 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22669 (__posix_memalign, malloc_info): Likewise.
22670 * malloc/malloc.h: Likewise.
22671 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22672 (mallochook, memalignhook, reallochook, mabort): Likewise.
22673 * malloc/mcheck.h: Likewise.
22674 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22675 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22676 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22677 * malloc/morecore.c (__default_morecore): Likewise.
22678 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22679 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22680 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22681 (print_and_abort): Likewise.
22682 * malloc/obstack.h: Likewise.
22683 * malloc/set-freeres.c (__libc_freeres): Likewise.
22684 * malloc/tst-mallocstate.c (main): Likewise.
22685 * malloc/tst-mtrace.c (main): Likewise.
22686 * malloc/tst-realloc.c (do_test): Likewise.
22688 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22691 * nscd/netgroupcache.c (do_notfound): New function.
22692 (addgetnetgrentX): Use it.
22695 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22696 NSS_STATUS_NOTFOUND.
22698 2014-01-01 Joseph Myers <joseph@codesourcery.com>
22700 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22703 2014-01-01 Allan McRae <allan@archlinux.org>
22705 * scripts/update-copyrights: Update configure input file suffix.
22707 * NEWS: Update copyright year.
22708 * catgets/gencat.c: Likewise.
22709 * csu/version.c: Likewise.
22710 * debug/catchsegv.sh: Likewise.
22711 * debug/pcprofiledump.c: Likewise.
22712 * debug/xtrace.sh: Likewise.
22713 * elf/ldconfig.c: Likewise.
22714 * elf/ldd.bash.in: Likewise.
22715 * elf/pldd.c: Likewise.
22716 * elf/sotruss.ksh: Likewise.
22717 * elf/sprof.c: Likewise.
22718 * iconv/iconv_prog.c: Likewise.
22719 * iconv/iconvconfig.c: Likewise.
22720 * locale/programs/locale.c: Likewise.
22721 * locale/programs/localedef.c: Likewise.
22722 * login/programs/pt_chown.c: Likewise.
22723 * malloc/memusage.sh: Likewise.
22724 * malloc/memusagestat.c: Likewise.
22725 * malloc/mtrace.pl: Likewise.
22726 * manual/libc.texinfo: Likewise.
22727 * nscd/nscd.c: Likewise.
22728 * nss/getent.c: Likewise.
22729 * nss/makedb.c: Likewise.
22730 * posix/getconf.c: Likewise.
22731 * scripts/test-installation.pl: Likewise.
22733 * All files with FSF copyright notices: Update copyright dates
22734 using scripts/update-copyrights.
22735 * intl/plural.c: Regenerated.
22736 * locale/programs/charmap-kw.h: Likewise.
22737 * locale/programs/locfile-kw.h: Likewise.
22739 2013-12-31 Mike Frysinger <vapier@gentoo.org>
22741 * sysdeps/unix/sysv/linux/configure: Regenerated.
22742 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22743 the linux/fanotify.h header.
22744 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22745 HAVE_LINUX_FANOTIFY_H is defined.
22747 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22749 * benchtests/cos-inputs: New inputs.
22750 * benchtests/sin-inputs: Likewise.
22752 * benchtests/atan-inputs: New inputs. Fix name of multiple
22753 precision fallback inputs.
22755 * benchtests/atanh-inputs: New inputs.
22756 * benchtests/tanh-inputs: Likewise.
22758 * benchtests/acosh-inputs: New inputs.
22759 * benchtests/asinh-inputs: Likewise.
22761 * benchtests/cosh-inputs: New inputs.
22762 * benchtests/sinh-inputs: Likewise.
22764 * benchtests/acos-inputs: Add more inputs.
22765 * benchtests/asin-inputs: Likewise.
22767 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
22770 * manual/arith.texi: Fix spelling.
22771 * manual/charset.texi: Likewise.
22772 * manual/errno.texi: Likewise.
22773 * manual/filesys.texi: Likewise.
22774 * manual/lang.texi: Likewise.
22775 * manual/llio.texi: Likewise.
22776 * manual/locale.texi: Likewise.
22777 * manual/message.texi: Likewise.
22778 * manual/resource.texi: Likewise.
22779 * manual/search.texi: Likewise.
22780 * manual/setjmp.texi: Likewise.
22781 * manual/stdio.texi: Likewise.
22782 * manual/string.texi: Likewise.
22783 * manual/sysinfo.texi: Likewise.
22784 * manual/time.texi: Likewise.
22786 2013-12-27 Carlos O'Donell <carlos@redhat.com>
22788 * po/sl.po: New file.
22790 2013-12-27 Mike Frysinger <vapier@gentoo.org>
22792 * .gitignore: Add core/.gdbinit/.gdb_history.
22794 2013-12-27 Allan McRae <allan@archlinux.org>
22797 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22798 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22800 2013-12-24 Brooks Moses <bmoses@google.com>
22802 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22803 all compilers that claim C++98 compliance, not just GCC.
22804 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22807 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22809 * NEWS: Restore accidentally deleted bug-fix entries.
22811 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22812 Ondřej Bílka <neleai@seznam.cz>
22815 * malloc/malloc.c (_int_free): Perform sanity check only if we
22818 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
22821 * manual/stdio.texi (String Input Conversions): Clarify that character
22822 classes are not supported.
22824 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22828 2013-12-22 Joseph Myers <joseph@codesourcery.com>
22831 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22832 Calculate results for small negative arguments directly rather
22833 than using reflection formula with special underflow handling.
22835 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22836 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22837 sysdeps/unix/bsd/bsd4.4/syscalls.list.
22838 (fchflags): Likewise.
22839 (revoke): Likewise.
22840 (setlogin): Likewise.
22841 (sigaltstack): Likewise.
22843 (sigblock): Remove.
22844 (sigsetmask): Likewise.
22846 (waitpid): Likewise.
22847 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22848 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22850 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22851 * sysdeps/unix/bsd/Makefile: ... here.
22852 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22853 * sysdeps/unix/bsd/Versions: ... here.
22854 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22855 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22856 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22857 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22858 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22859 * sysdeps/unix/bsd/sigblock.c: ... here.
22860 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22861 * sysdeps/unix/bsd/sigsetmask.c: ... here.
22862 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22863 * sysdeps/unix/bsd/sigvec.c: ... here.
22864 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22865 * sysdeps/unix/bsd/tcdrain.c: ... here.
22866 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22867 * sysdeps/unix/bsd/tcgetattr.c: ... here.
22868 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22869 * sysdeps/unix/bsd/tcsetattr.c: ... here.
22870 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22871 * sysdeps/unix/bsd/wait.c: ... here.
22872 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22873 * sysdeps/unix/bsd/wait3.c: ... here.
22874 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22875 * sysdeps/unix/bsd/waitpid.c: ... here.
22877 2013-12-21 Joseph Myers <joseph@codesourcery.com>
22880 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22881 round-to-nearest for [!USE_AS_EXPM1L].
22882 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22883 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
22884 more tests of exp and exp10. Expect some exp10 tests to miss
22885 exceptions or fail in directed rounding modes.
22886 * math/auto-libm-test-out: Regenerated.
22887 * math/libm-test.inc (exp10_tonearest_test_data): New array.
22888 (exp10_test_tonearest): New function.
22889 (exp10_towardzero_test_data): New array.
22890 (exp10_test_towardzero): New function.
22891 (exp10_downward_test_data): New array.
22892 (exp10_test_downward): New function.
22893 (exp10_upward_test_data): New array.
22894 (exp10_test_upward): New function.
22895 (main): Call the new functions.
22896 * sysdeps/i386/fpu/libm-test-ulps: Update.
22897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22899 2013-12-20 Joseph Myers <joseph@codesourcery.com>
22901 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22902 asinh, atan, atan2, atanh, cbrt, cos and cosh.
22903 * math/auto-libm-test-out: Regenerated.
22904 * math/libm-test.inc (acosh_test_data): Add more tests.
22905 (atanh_test_data): Likewise.
22906 (ceil_test_data): Likewise.
22907 (copysign_test_data): Likewise.
22908 * sysdeps/i386/fpu/libm-test-ulps: Update.
22909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22911 * timezone/checktab.awk: Update from tzcode 2013i.
22912 * timezone/private.h: Likewise.
22913 * timezone/scheck.c: Likewise.
22914 * timezone/tzfile.h: Likewise.
22915 * timezone/tzselect.ksh: Likewise.
22916 * timezone/zdump.c: Likewise.
22917 * timezone/zic.c: Likewise.
22919 * math/auto-libm-test-in: Add tests of cpow.
22920 * math/auto-libm-test-out: Regenerated.
22921 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22922 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22924 (func_calc_desc): Add mpc_cc_c union field.
22925 (test_functions): Add cpow.
22926 (special_fill_2pi): New function.
22927 (special_real_inputs): Add 2pi.
22928 (calc_generic_results): Handle mpc_cc_c.
22929 * sysdeps/i386/fpu/libm-test-ulps: Update.
22930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22932 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22933 csqrt, ctan and ctanh.
22934 * math/auto-libm-test-out: Regenerated.
22935 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22936 (TEST_COND_x86): Likewise.
22937 (ccos_test_data): Use AUTO_TESTS_c_c.
22938 (ccosh_test_data): Likewise.
22939 (cexp_test_data): Likewise.
22940 (clog_test_data): Likewise.
22941 (csqrt_test_data): Likewise.
22942 (ctan_test_data): Likewise.
22943 (ctan_tonearest_test_data): Likewise.
22944 (ctan_towardzero_test_data): Likewise.
22945 (ctan_downward_test_data): Likewise.
22946 (ctan_upward_test_data): Likewise.
22947 (ctanh_test_data): Likewise.
22948 (ctanh_tonearest_test_data): Likewise.
22949 (ctanh_towardzero_test_data): Likewise.
22950 (ctanh_downward_test_data): Likewise.
22951 (ctanh_upward_test_data): Likewise.
22952 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22954 (func_calc_desc): Add mpc_c_c union field.
22955 (FUNC_mpc_c_c): New macro.
22956 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22957 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22959 (special_fill_min_subnorm_p120): New function.
22960 (special_real_inputs): Add min_subnorm_p120.
22961 (calc_generic_results): Handle mpc_c_c.
22962 * sysdeps/i386/fpu/libm-test-ulps: Update.
22963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22965 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22967 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22968 (do_sin_slow): New functions.
22969 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22970 (cslow2, csloww1, csloww2): Use the new functions.
22972 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22973 Use M to change sign of result instead of X. Assume X is
22975 (csloww1): Likewise.
22979 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22980 arguments A and DA.
22984 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22986 (sloww1): Don't adjust sign of DX.
22987 (csloww1): Likewise.
22988 (sloww2): Use X directly and don't adjust sign of DX.
22989 (csloww2): Likewise.
22991 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22993 * math/auto-libm-test-in: Add tests of cabs and carg.
22994 * math/auto-libm-test-out: Regenerated.
22995 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22996 (carg_test_data): Likewise.
22997 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22999 (func_calc_desc): Add mpc_c_f union field.
23000 (test_functions): Add cabs and carg.
23001 (calc_generic_results): Handle mpc_c_f.
23003 * sysdeps/powerpc/powerpc32/libgcc-compat.S
23004 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23005 as a macro and a compat symbol.
23006 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23007 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23008 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23009 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23010 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23011 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23013 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23015 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23017 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23019 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23021 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23023 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23024 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23027 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23031 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23033 * manual/texinfo.tex: Update to version 2013-11-26.10 with
23034 trailing whitespace removed.
23035 * scripts/config.guess: Update to version 2013-11-29.
23036 * scripts/config.sub: Update to version 2013-10-01.
23038 * math/auto-libm-test-in: Add tests of sincos.
23039 * math/auto-libm-test-out: Regenerated.
23040 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23041 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23043 (func_calc_desc): Add mpfr_f_11 union field.
23044 (test_functions): Add sincos.
23045 (calc_generic_results): Handle mpfr_f_11.
23046 * sysdeps/i386/fpu/libm-test-ulps: Update.
23047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23049 2013-12-19 Andreas Schwab <schwab@suse.de>
23051 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23053 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23054 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23055 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23057 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23059 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23060 * sysdeps/i386/fpu/libm-test-ulps: Update.
23061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23064 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23065 round-to-nearest mode when using frndint.
23066 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23067 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23068 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23070 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
23072 * math/auto-libm-test-out: Regenerated.
23073 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23074 (TEST_COND_x86): Likewise.
23075 (expm1_tonearest_test_data): New array.
23076 (expm1_test_tonearest): New function.
23077 (expm1_towardzero_test_data): New array.
23078 (expm1_test_towardzero): New function.
23079 (expm1_downward_test_data): New array.
23080 (expm1_test_downward): New function.
23081 (expm1_upward_test_data): New array.
23082 (expm1_test_upward): New function.
23083 (main): Run the new test functions.
23084 * sysdeps/i386/fpu/libm-test-ulps: Update.
23085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23087 * include/features.h: Update comment documenting feature test
23088 macros. Mention _DEFAULT_SOURCE in comment.
23089 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23090 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23091 _BSD_SOURCE and _SVID_SOURCE.
23092 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23093 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23094 !_SVID_SOURCE]: Likewise.
23095 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23096 (__USE_POSIX_IMPLICITLY): Define.
23097 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23098 (_POSIX_SOURCE): Undefine and redefine.
23099 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23100 (_POSIX_C_SOURCE): Likewise.
23101 * manual/creature.texi (_DEFAULT_SOURCE): Document.
23102 (Feature Test Macros): Update documentation of default features.
23104 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23106 * benchtests/Makefile: Add bench-strtok.
23107 * benchtests/bench-strtok.c: New file: strtok benchtest.
23109 2013-12-19 Allan McRae <allan@archlinux.org>
23111 * manual/install.texi: Suppress menu for plain text output.
23112 * INSTALL: Regenerated.
23114 2013-12-18 Brooks Moses <bmoses@google.com>
23117 * misc/getauxval.c: Include errno.h.
23118 (__getauxval): Set errno to ENOENT if the requested type is not
23120 * misc/sys/auxv.h (getauxval): Document that it may set errno;
23121 don't declare with __attribute_const__.
23122 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23123 * manual/startup.texi: Document that getauxval sets errno.
23125 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23127 * math/auto-libm-test-in: Add tests of jn and yn.
23128 * math/auto-libm-test-out: Regenerated.
23129 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23130 (yn_test_data): Likewise.
23131 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23133 (func_calc_desc): Add mpfr_if_f union field.
23134 (FUNC_mpfr_if_f): New macro.
23135 (test_functions): Add jn and yn.
23136 (calc_generic_results): Assert type of second input for
23137 mpfr_ff_f. Handle mpfr_if_f.
23138 (output_for_one_input_case): Disable all checking for arguments
23139 fitting floating-point types in case of an integer argument.
23140 * sysdeps/i386/fpu/libm-test-ulps: Update.
23141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23144 Don't expect fegetround reference in libm.so.
23146 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23148 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23149 $(config-cflags-nofma).
23151 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23153 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23154 * math/auto-libm-test-out: Regenerated.
23157 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23158 to determine exponent and adjust argument to have exponent of -1.
23159 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23161 * math/auto-libm-test-out: Regenerated.
23162 * sysdeps/i386/fpu/libm-test-ulps: Update.
23163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23165 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
23167 * manual/probes.texi: Remove cases when per-thread arenas are
23170 2013-12-18 Andreas Schwab <schwab@suse.de>
23172 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23173 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23174 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23175 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23176 * sysdeps/i386/i686/multiarch/Makefile: Update.
23177 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23179 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23181 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23182 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23184 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
23187 Support TZ transition times < 00:00:00.
23188 This is needed for version-3 tz-format files; it supports time
23189 stamps past 2037 for America/Godthab (the only entry in the tz
23190 database for which this change is relevant).
23191 * manual/time.texi (TZ Variable): Document transition times
23192 from -167:59:59 through -00:00:01.
23193 * time/tzset.c (tz_rule): Time of day is now signed.
23194 (__tzset_parse_tz): Parse negative time of day.
23196 Document TZ transition times >= 25:00:00.
23197 * manual/time.texi (TZ Variable): Document transition times from
23198 25:00:00 through 167:59:59. These are already supported, and this
23199 support will help with version-3 tz-format files.
23201 * manual/time.texi (TZ Variable): Modernize North America example
23202 to reflect current (i.e., 2007-and-later) daylight saving rules.
23204 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23206 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23208 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23209 * sysdeps/unix/bsd/bits/stat.h: Likewise.
23210 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23211 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23212 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23213 * sysdeps/unix/bsd/bsdstat.h: Likewise.
23214 * sysdeps/unix/bsd/clock.c: Likewise.
23215 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23216 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23217 * sysdeps/unix/bsd/init-posix.c: Likewise.
23218 * sysdeps/unix/bsd/poll.c: Likewise.
23219 * sysdeps/unix/bsd/ptsname.c: Likewise.
23220 * sysdeps/unix/bsd/seekdir.c: Likewise.
23221 * sysdeps/unix/bsd/setegid.c: Likewise.
23222 * sysdeps/unix/bsd/seteuid.c: Likewise.
23223 * sysdeps/unix/bsd/setgid.c: Likewise.
23224 * sysdeps/unix/bsd/setrgid.c: Likewise.
23225 * sysdeps/unix/bsd/setruid.c: Likewise.
23226 * sysdeps/unix/bsd/setsid.c: Likewise.
23227 * sysdeps/unix/bsd/setuid.c: Likewise.
23228 * sysdeps/unix/bsd/sigaction.c: Likewise.
23229 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23230 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23231 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23232 * sysdeps/unix/bsd/telldir.c: Likewise.
23233 * sysdeps/unix/bsd/times.c: Likewise.
23234 * sysdeps/unix/bsd/usleep.c: Likewise.
23236 * misc/Makefile (install-lib): Remove libbsd-compat.a.
23237 ($(objpfx)libbsd-compat.a): Remove rule.
23239 * include/features.h (__FAVOR_BSD): Do not define.
23240 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23241 features conflicting with POSIX.
23242 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23243 (_BSD_SOURCE): Remove description of not being a subset of other
23244 feature test macros.
23245 * manual/job.texi (getpgrp): Do not document BSD version.
23246 (getpgid): Do not document by reference to BSD getpgrp.
23247 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23248 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23249 * signal/signal.h [__FAVOR_BSD]: Likewise.
23250 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23251 instead of making contents conditional on [__FAVOR_BSD].
23252 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23254 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23258 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23261 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23262 values below 2**-450, not 2**-500.
23263 * math/auto-libm-test-in: Don't allow spurious underflow from
23265 * math/auto-libm-test-out: Regenerated.
23269 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23270 values of ha and hb and sort them after adjusting subnormal
23272 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23274 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23275 values of ea and eb and sort them after adjusting subnormal
23277 * math/auto-libm-test-in: Do not expect some hypot tests of
23278 subnormals to fail. Add more hypot tests.
23279 * math/auto-libm-test-out: Regenerated.
23281 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23284 * sysdeps/sh/s_fma.c: New file.
23285 * sysdeps/sh/s_fmaf.c: New file.
23286 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
23288 * sysdeps/sh/Implies: Add sh/soft-fp.
23290 2013-12-16 Roland McGrath <roland@hack.frob.com>
23292 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
23293 level of indirection to members `objname', `errstring', `malloced'.
23294 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23295 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
23296 it as the __longjmp argument (just pass 1 instead).
23297 (_dl_catch_error): Initialize C with argument pointers and address of
23298 volatile local ERRCODE rather than copying values out of C at return.
23300 2013-12-16 Joseph Myers <joseph@codesourcery.com>
23302 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23303 * math/auto-libm-test-out: Regenerated.
23304 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23305 (hypot_test_data): Likewise.
23306 (pow_test_data): Likewise.
23307 (pow_tonearest_test_data): Likewise.
23308 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23310 (func_calc_desc): Add mpfr_ff_f union field.
23311 (FUNC_mpfr_ff_f): New macro.
23312 (test_functions): Add atan2, hypot and pow.
23313 (special_fill_min): New function.
23314 (special_fill_minus_min): Likewise.
23315 (special_fill_min_subnorm): Likewise.
23316 (special_fill_minus_min_subnorm): Likewise.
23317 (special_real_inputs): Add min, -min, min_subnorm and
23319 (calc_generic_results): Handle mpfr_ff_f.
23320 * sysdeps/i386/fpu/libm-test-ulps: Update.
23321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23323 2013-12-16 Will Newton <will.newton@linaro.org>
23325 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23326 (Aligned Memory Blocks): Add documentation for aligned_alloc
23327 and suggest it as an alternative to posix_memalign.
23328 (Hooks for Malloc): Document __memalign_hook is also called
23329 for aligned_alloc. (Summary of Malloc): Add summary for
23330 aligned alloc. Document __memalign_hook is also called
23333 2013-12-16 Will Newton <will.newton@linaro.org>
23335 * manual/memory.texi (Malloc Examples): Clarify default
23336 alignment documentation. Suggest posix_memalign rather
23337 than memalign or valloc.
23338 (Aligned Memory Blocks): Remove suggestion to use memalign
23339 or valloc. Remove obsolete comment about BSD.
23340 Document memalign errno values and mark the function obsolete.
23341 Document posix_memalign returned error codes. Mark valloc
23342 as obsolete. (Hooks for Malloc): __memalign_hook is also
23343 called for posix_memalign and valloc.
23344 (Summary of Malloc): Add posix_memalign to function summary.
23345 __memalign_hook is also called for posix_memalign and valloc.
23347 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23349 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23353 (sloww): Use mynumber union. Expand ternary operator into
23354 if-else statements.
23355 (cslow): use mynumber union.
23357 2013-12-16 Allan McRae <allan@archlinux.org>
23359 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23360 * configure: Regenerated.
23362 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23365 * configure.ac: Added --enable-maintainer-mode. Check for
23366 autoconf when enabled.
23367 * configure: Regenerated.
23369 * nscd/nscd.service: New file.
23370 * nscd/nscd.tmpfiles: New file.
23372 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
23375 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23376 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23377 * sysdeps/x86_64/multiarch/strstr.c: ... here.
23378 (strstr): Add __strstr_sse2_unaligned ifunc.
23379 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23380 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23381 (strcasestr): Remove __strcasestr_sse42 ifunc.
23382 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23383 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23386 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23388 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23389 * sysdeps/sh/bits/fenv.h: ... here.
23390 * sysdeps/sh/sh4/fpu/bits: Remove directory.
23392 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23394 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23397 hypotf multiarch implementations.
23398 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23399 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23400 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23401 multiarch hypot for PPC64.
23402 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23403 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23404 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23405 multiarch hypotf for PPC64.
23407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23408 modff multiarch implementations.
23409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23412 multiarch modf for PPC64.
23413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23416 multiarch modff for PPC64.
23418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23419 and logl multiarch implementations.
23420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23423 multiarch logb for PPC64.
23424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23427 multiarch logb for PPC64.
23428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23431 multiarch logb for PPC64.
23433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23434 isinff multiarch implementation.
23435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23439 multiarch isinf for PPC64.
23440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23443 multiarch isinff for PPC64.
23445 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23446 finitef multiarch implementation.
23447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23451 multiarch finite for PPC64.
23452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23455 multiarch finitef for PPC64.
23457 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23458 lrint multiarch implementation.
23459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23463 multiarch llrint for PPC64.
23464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23465 multiarch lrint for PPC64.
23467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23468 copysignf multiarch implementation.
23469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23474 multiarch copysign for PPC64.
23475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23476 multiarch copysignf for PPC64.
23478 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23479 multiarch implementation.
23480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23488 multiarch llround for PPC64.
23489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23490 multiarch trunc for PPC64.
23491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23492 multiarch truncf for PPC64.
23494 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23495 multiarch implementation.
23496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23504 multiarch llround for PPC64.
23505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23506 multiarch round for PPC64.
23507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23508 multiarch roundf for PPC64.
23510 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23511 multiarch implementation.
23512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23520 multiarch llround for PPC64.
23521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23522 multiarch floor for PPC64.
23523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23524 multiarch floorf for PPC64.
23526 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23527 multiarch implementation.
23528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23536 multiarch llround for PPC64.
23537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23538 multiarch ceil for PPC64.
23539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23540 multiarch ceilf for PPC64.
23542 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23543 multiarch implementation.
23544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23551 multiarch llround for PPC64.
23552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23553 multiarch lround for PPC64.
23555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23556 multiarch implementation.
23557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23564 multiarch isnan for PPC64.
23565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23566 multiarch isnanf for PPC64.
23568 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23569 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23570 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23571 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23572 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23575 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23576 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23577 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23578 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23581 multiarch implementations.
23582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23583 (__libc_ifunc_impl_list): Likewise.
23584 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23585 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23586 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23587 multiarch stpcpy for PPC64.
23589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23590 multiarch implementations.
23591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23592 (__libc_ifunc_impl_list): Likewise.
23593 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23594 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23595 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23596 multiarch strcpy for PPC64.
23598 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23599 redefine function name.
23600 (_wordcopy_fwd_dest_aligned): Likewise.
23601 (_wordcopy_bwd_aligned): Likewise.
23602 (_wordcopy_bwd_dest_aligned): Likewise.
23603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23604 multiarch implementations.
23605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23606 (__libc_ifunc_impl_list): Likewise.
23607 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23608 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23609 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23610 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23611 multiarch wcscpy for PPC64.
23613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23614 multiarch implementations.
23615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23616 (__libc_ifunc_impl_list): Likewise.
23617 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23618 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23619 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23620 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23621 multiarch wcscpy for PPC64.
23623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23624 multiarch implementations.
23625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23626 (__libc_ifunc_impl_list): Likewise.
23627 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23628 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23629 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23630 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23631 multiarch wcsrchr for PPC64.
23633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23634 multiarch implementations.
23635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23636 (__libc_ifunc_impl_list): Likewise.
23637 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23638 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23639 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23640 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23641 multiarch wcschr for PPC64.
23643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23644 multiarch implementations.
23645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23646 (__libc_ifunc_impl_list): Likewise.
23647 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23648 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23649 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23650 multiarch strchrnul for PPC64.
23652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23655 (__libc_ifunc_impl_list): Likewise.
23656 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23657 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23658 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23659 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23665 (__libc_ifunc_impl_list): Likewise.
23666 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23667 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23668 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23669 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23673 multiarch implementations.
23674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23675 (__libc_ifunc_impl_list): Likewise.
23676 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23677 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23678 strncasecmp for PPC64.
23679 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23680 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23681 multiarch strncasecmp_l for PPC64.
23683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23684 multiarch implementations.
23685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23686 (__libc_ifunc_impl_list): Likewise.
23687 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23688 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23689 multiarch strcasecmp for PPC64.
23690 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23692 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23693 multiarch strcasecmp_l for PPC64.
23695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23698 (__libc_ifunc_impl_list): Likewise.
23699 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23700 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23701 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23707 (__libc_ifunc_impl_list): Likewise.
23708 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23709 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23710 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23716 (__libc_ifunc_impl_list): Likewise.
23717 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23718 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23719 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23720 rawmemrchr for PPC64.
23722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23725 (__libc_ifunc_impl_list): Likewise.
23726 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23727 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23728 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23734 (__libc_ifunc_impl_list): Likewise.
23735 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23736 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23737 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23743 (__libc_ifunc_impl_list): Likewise.
23744 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23745 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23746 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23749 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23750 avoid cretion of __bzero symbol.
23751 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23753 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23755 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23758 multiarch implementations.
23759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23760 (__libc_ifunc_impl_list): Likewise.
23761 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23762 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23763 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23764 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23766 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23767 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23768 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23769 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23770 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23772 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23774 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23775 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23778 (__libc_ifunc_impl_list): Likewise.
23779 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23780 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23781 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23782 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23786 multiarch for POWER/PPC64.
23787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23788 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23789 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23790 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23791 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23792 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23793 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23794 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23795 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23798 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23799 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23800 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23801 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23802 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23803 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23804 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23805 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23806 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23807 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23808 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23809 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23810 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23811 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23812 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23821 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23823 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23825 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23827 * benchtests/Makefile (bench): Add exp2 and log2.
23828 (LDLIBS-bench-exp2): Add -lm.
23829 (LDLIBS-bench-log2): Likewise.
23830 * benchtests/exp2-inputs: New inputs file.
23831 * benchtests/log2-inputs: New inputs file.
23832 * benchtests/log-inputs: Add new inputs.
23833 * benchtests/tan-inputs: Likewise.
23835 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23837 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23839 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23840 (csloww2): ... from here.
23842 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23843 instead of structures.
23844 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23845 (POLYNOMIAL): Likewise.
23846 (TAYLOR_SLOW): Likewise.
23852 (sloww1); Likewise.
23853 (sloww2): Likewise.
23854 (bsloww1): Likewise.
23855 (bsloww2): Likewise.
23856 (cslow2): Likewise.
23857 (csloww): Likewise.
23858 (csloww1): Likewise.
23859 (csloww2): Likewise.
23861 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
23863 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23864 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23865 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23866 * malloc/hooks.c (realloc_check): Likewise.
23868 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23869 * malloc/arena.c: Remove PER_THREAD conditional.
23870 [!PER_THREAD]: Remove code.
23871 (ptmalloc_unlock_all2): Likewise.
23872 (ptmalloc_init): Likewise.
23873 (_int_new_arena): Likewise.
23874 (arena_get2): Likewise.
23875 * malloc/hooks.c (__malloc_get_state): Likewise.
23876 (__malloc_set_state): Likewise.
23877 * malloc/malloc.c: Likewise.
23878 (struct malloc_state): Likewise.
23879 (struct malloc_par): Likewise.
23880 (__libc_realloc): Likewise.
23881 (__libc_mallopt): Likewise.
23883 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23885 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23887 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
23889 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23890 macro to a function. Check for zero perturb_byte.
23891 (_int_malloc, _int_free): Remove zero perturb_byte checks.
23893 * malloc/malloc.c: (force_reg): Remove.
23894 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23895 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23896 force_reg by atomic_forced_read.
23897 * malloc/arena.c (ptmalloc_init): Likewise.
23898 * malloc/hooks.c (top_check): Likewise.
23900 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23904 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
23906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23908 2013-12-08 Joseph Myers <joseph@codesourcery.com>
23910 * math/auto-libm-test-in: Add tests of lgamma.
23911 * math/auto-libm-test-out: Regenerated.
23912 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23913 (M_LOG_2_SQRT_PIl): Likewise.
23914 (lgamma_test_data): Use AUTO_TESTS_f_f1.
23915 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23917 (func_calc_desc): Add mpfr_f_f1 union field.
23918 (ARGS1): New macro.
23926 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23927 (test_functions): Add lgamma.
23928 (calc_generic_results): Handle mpfr_f_f1.
23929 * sysdeps/i386/fpu/libm-test-ulps: Update.
23930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23932 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23934 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23935 __mpn_add_n for PowerPC64/POWER7.
23936 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23937 __mpn_sub_n for PowerPC64/POWER7.
23939 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23940 __mpn_addmul_1 for PowerPC64.
23941 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23942 __mpn_submul_1 for PowerPC64.
23943 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23945 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23948 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
23951 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23953 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23955 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23957 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23958 add multiarch folders.
23959 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23960 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23961 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23962 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23963 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23964 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23965 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23966 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23967 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23968 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23969 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23978 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23984 multiarch __ieee754_hypot for PowerPC32.
23985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23990 multiarch __ieee754_hypotf for PowerPC32.
23992 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23993 long_double_symbol only if __logbl is defined.
23994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23995 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23997 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23999 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24000 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24001 path for implementation.
24002 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24003 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24005 logb, and logbl multiarch implementations for PowerPC32.
24006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24011 multiarch logb for PowerPC32.
24012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24017 multiarch logbf for PowerPC32.
24018 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24022 multiarch logbl implementation for PowerPC32.
24024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24025 and modff multiarch implementations.
24026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24031 multiarch modf for PowerPC32.
24032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24037 multiarch modff for PowerPC32.
24039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24040 and lrintf multiarch implementations.
24041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24046 multiarch lrint for PowerPC32.
24047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24048 file: multiarch lrintf for PowerPC32.
24050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24051 and lroundf multiarch implementations.
24052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24059 multiarch lround for PowerPC32.
24060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24061 file: multiarch lroundf for PowerPC32.
24063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24064 copysign and copysignf multiarch implementations.
24065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24070 file: multiarch copysign for PowerPC32.
24071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24072 file: multiarch copysignf for PowerPC32.
24074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24075 and truncf multiarch implementations.
24076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24081 multiarch trunc for PowerPC32.
24082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24087 multiarch truncf for PowerPC32.
24089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24090 and roundf multiarch implementations.
24091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24096 multiarch round for PowerPC32.
24097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24102 multiarch roundf for PowerPC32.
24104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24105 and floorf multiarch implementations.
24106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24111 multiarch floor for PowerPC32.
24112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24117 multiarch floorf for PowerPC32.
24119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24120 and ceilf multiarch implementations.
24121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24126 multiarch ceil for PowerPC32.
24127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24132 multiarch ceilf for PowerPC32.
24134 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24136 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24137 FINITEF is defined.
24138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24139 and finitef multiarch implementations.
24140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24145 multiarch finite for PowerPC32.
24146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24149 file: multiarch finitef for PowerPC32.
24151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24152 and isinff multiarch implementations.
24153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24158 multiarch isinf for PowerPC32.
24159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24162 multiarch isinff for PowerPC32.
24164 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24165 alias when __isnan is defined.
24166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24167 and isnanf multiarch implementations.
24168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24177 multiarch isnan for PowerPC32.
24178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24183 multiarch isnanf for PowerPC32.
24185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24186 and sqrtf multiarch implementations.
24187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24192 multiarch sqrt for PowerPC32.
24193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24198 multiarch sqrtf for PowerPC32.
24200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24201 and llroundf multiarch implementations.
24202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24209 file: multiarch llround for PowerPC32.
24210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24211 file: multiarch llroundf for PowerPC32.
24213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24214 multiarch PowerPC32 fpu implementations.
24215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24220 multiarch llrint for PowerPC32.
24221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24230 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24232 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24234 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24236 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24237 multiarch wordcopy for PPC32.
24238 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24240 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24241 (__libc_ifunc_impl_list): Likewise.
24242 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24243 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24244 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24245 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24246 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24247 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24249 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24250 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24254 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24257 multiarch wcscpy for PPC32.
24258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24261 (__libc_ifunc_impl_list): Likewise.
24262 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24263 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24264 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24265 sysdeps/powerpc/power6/wcscpy.c.
24267 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24272 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24274 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24275 multiarch wcsrchr for PPC32.
24276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24279 (__libc_ifunc_impl_list): Likewise.
24280 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24281 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24282 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24283 sysdeps/powerpc/power6/wcsrchr.c.
24285 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24287 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24289 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24291 multiarch wcschr for PPc32.
24292 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24294 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24295 (__libc_ifunc_impl_list): Likewise.
24296 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24297 * sysdeps/powerpc/power6/wcschr.c: ... to here.
24298 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24299 sysdeps/powerpc/power6/wcschr.c.
24301 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24302 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24304 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24305 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24306 file: multiarch strchr for PPC32.
24307 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24309 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24310 (__libc_ifunc_impl_list): Likewise.
24312 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24314 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24316 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24318 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24319 multiarch strchrnul for PPC32.
24320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24323 (__libc_ifunc_impl_list): Likewise.
24325 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24327 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24328 multiarch strncasecmp for PPC32.
24329 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24331 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24332 multiarch strncasecmp_l for PPC32.
24333 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24334 strncasecmp multiarch objects.
24335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24336 (__libc_ifunc_impl_list): Likewise.
24338 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24340 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24341 multiarch strncasecmp for PPC32.
24342 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24344 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24345 multiarch strcasecmp_l for PPC32.
24346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24349 (__libc_ifunc_impl_list): Likewise.
24351 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24353 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24355 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24356 multiarch strncmp for PPC32.
24357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24360 (__libc_ifunc_impl_list): Likewise.
24362 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24363 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24365 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24366 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24369 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24370 (__libc_ifunc_impl_list): Likewise.
24372 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24374 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24376 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24377 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24379 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24380 (__libc_ifunc_impl_list): Likewise.
24382 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24384 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24386 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24387 multiarch rawmemchr for PPC32.
24388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24391 (__libc_ifunc_impl_list): Likewise.
24393 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24395 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24397 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24398 file: memrchr multiarch for PPC32.
24399 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24401 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24402 (__libc_ifunc_impl_list): Likewise.
24404 * string/memchr.c (__memchr): Using macro to redefine symbol name.
24405 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24407 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24408 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24409 multiarch memchr for PPC32.
24410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24413 (__libc_ifunc_impl_list): Likewise.
24415 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24416 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24418 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24420 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24421 file: multiarch mempcpy for PPC32.
24422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24425 (__libc_ifunc_impl_list): Likewise.
24427 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24428 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24429 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24430 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24431 multiarch bzero for PPC32.
24432 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24434 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24436 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24437 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24438 file: multiarch memset for PPC32.
24439 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24440 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24441 memset multiarch objects.
24442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24443 (__libc_ifunc_impl_list): Likewise.
24445 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24448 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24450 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24454 (__libc_ifunc_impl_list): Likewise.
24456 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24457 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24460 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24462 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24464 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24465 multiarch memcpy for PPC32.
24466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24469 (__libc_ifunc_impl_list): Likewise.
24471 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24472 support multiarch for POWER/PPC32.
24473 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24475 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24477 Implies file to make multiarch folder appers before the fpu and
24478 default folder for power4 configuration.
24480 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24482 * scripts/bench.pl: Append volatile keyword to type.
24484 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24486 * sysdeps/sh/sotruss-lib.c: New file.
24487 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24489 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24493 2013-12-05 Joseph Myers <joseph@codesourcery.com>
24496 * math/w_tgamma.c: Include <errno.h>.
24497 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
24498 * math/w_tgammaf.c: Include <errno.h>.
24499 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
24500 * math/w_tgammal.c: Include <errno.h>.
24501 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
24502 * math/auto-libm-test-in: Do not allow missing errno on tgamma
24503 underflow. Add more tgamma tests.
24504 * math/auto-libm-test-out: Regenerated.
24505 * sysdeps/i386/fpu/libm-test-ulps: Update.
24506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24508 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24509 sin, sinh, tan, tanh, tgamma, y0 and y1.
24510 * math/auto-libm-test-out: Regenerated.
24511 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24512 (TEST_COND_x86): Likewise.
24513 (M_E2l): Remove macro.
24515 (M_2_SQRT_PIl): Likewise.
24516 (M_SQRT_PIl): Likewise.
24517 (M_1_DIV_El): Likewise.
24518 (log_test_data): Use AUTO_TESTS_f_f.
24519 (log10_test_data): Likewise.
24520 (log1p_test_data): Likewise.
24521 (log2_test_data): Likewise.
24522 (sin_test_data): Likewise.
24523 (sin_tonearest_test_data): Likewise.
24524 (sin_towardzero_test_data): Likewise.
24525 (sin_downward_test_data): Likewise.
24526 (sin_upward_test_data): Likewise.
24527 (sinh_test_data): Likewise.
24528 (sinh_tonearest_test_data): Likewise.
24529 (sinh_towardzero_test_data): Likewise.
24530 (sinh_downward_test_data): Likewise.
24531 (sinh_upward_test_data): Likewise.
24532 (tan_test_data): Likewise.
24533 (tan_tonearest_test_data): Likewise.
24534 (tan_towardzero_test_data): Likewise.
24535 (tan_downward_test_data): Likewise.
24536 (tan_upward_test_data): Likewise.
24537 (tanh_test_data): Likewise.
24538 (tgamma_test_data): Likewise.
24539 (y0_test_data): Likewise.
24540 (y1_test_data): Likewise.
24541 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24542 (special_real_inputs): Add pi/4.
24543 * sysdeps/i386/fpu/libm-test-ulps: Update.
24544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24546 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24548 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24549 "longjmp_target" static probes.
24550 (__longjmp): Rename to __longjmp_symbol.
24551 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24552 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24553 on which longjmp to generate.
24554 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24555 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24557 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24558 (__sigjmp_save): Rename to __sigjmp_save_symbol.
24559 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24560 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24561 and __sigjmp_save_symbol based on which sigsetjmp to generated.
24562 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24564 __longjmp_symbol based on which __longjmp to generate.
24565 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24567 (setjmp): Rename to setjmp_symbol.
24568 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24569 (_setjmp): Rename to _setjmp_symbol.
24570 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24571 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24572 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24573 which setjmp to generate.
24574 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24575 "longjmp_target" static probes.
24577 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24579 * benchtests/README: Add note about output arguments.
24580 * benchtests/bench-sincos.c: Remove file.
24581 * benchtests/sincos-inputs: New file.
24582 * scripts/bench.pl: Identify output arguments and define
24583 static variables for them.
24585 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24588 * Makefile (INSTALL): Add install-plain.texi as the primary
24590 * manual/install-plain.texi: New file.
24591 * manual/install.texi: Include node directive only for
24592 non-plaintext output.
24594 2013-12-04 Joseph Myers <joseph@codesourcery.com>
24596 * stdlib/longlong.h: Update from GCC.
24600 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24601 * math/w_j0f.c (y0f): Likewise.
24602 * math/w_j0l.c (__y0l): Likewise.
24603 * math/w_j1.c (y1): Likewise.
24604 * math/w_j1f.c (y1f): Likewise.
24605 * math/w_j1l.c (__y1l): Likewise
24606 * math/w_jn.c (yn): Likewise.
24607 * math/w_jnf.c (ynf): Likewise.
24608 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24609 Bessel function pole errors in _POSIX_ mode. Use NAN as return
24610 value for Bessel function domain errors outside _SVID_ mode.
24611 Adjust sign of return value for yn (negative integer, 0).
24612 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24613 by zero in return for negative x and set sign appropriately for
24615 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24616 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24617 * math/libm-test.inc (y0_test_data): Add more tests and adjust
24618 expectations in error cases.
24619 (y1_test_data): Likewise.
24620 (yn_test_data): Likewise.
24621 * sysdeps/i386/fpu/libm-test-ulps: Update.
24622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24624 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24626 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24627 "64" to "64-v1". Add "64-v2".
24628 (abi-64-options): Rename to ...
24629 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
24630 (abi-64-condition): Rename to ...
24631 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
24632 (abi-64-ld-soname): Rename to ...
24633 (abi-64-v1-ld-soname): ... this.
24634 (abi-64-v2-options): Define.
24635 (abi-64-v2-condition): Likewise.
24636 (abi-64-v2-ld-soname): Likewise.
24637 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24638 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24643 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24644 Alan Modra <amodra@gmail.com>
24646 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24647 New versions for use with the ELFv2 ABI.
24648 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24649 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24651 (struct La_ppc64v2_retval): Likewise.
24652 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24653 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24654 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24655 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24656 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24657 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24658 Do not save or restore CR.
24659 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24660 (_dl_profile_resolve): Do no save or restore CR. Support extended
24661 return values for ELFv2 ABI. Fix location of FPR return registers.
24662 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24663 updated values for _CALL_ELF == 2.
24664 (La_regs, La_retval, int_retval): Likewise.
24666 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24668 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24669 (FRAME_MIN_SIZE_PARM): Likewise.
24670 (FRAME_BACKCHAIN): Likewise.
24671 (FRAME_CR_SAVE): Likewise.
24672 (FRAME_LR_SAVE): Likewise.
24673 (FRAME_TOC_SAVE): Likewise.
24674 (FRAME_PARM_SAVE): Likewise.
24675 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24676 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24677 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24678 (call_mcount_parm_offset): New macro.
24679 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24680 (PROF): Use symbolic stack frame offsets.
24681 (TAIL_CALL_SYSCALL_ERROR): Likewise.
24682 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24683 Redefine in terms of FRAME_MIN_SIZE.
24684 (_dl_runtime_resolve): Use symbolic stack frame offsets.
24685 (_dl_profile_resolve): Likewise. Update comment.
24686 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24687 symbols stack frame offsets.
24688 (__sigsetjmp): Likewise.
24689 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24690 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24691 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24692 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24695 (FRAME_BACKCHAIN): Remove.
24696 (FRAME_CR_SAVE): Likewise.
24697 (FRAME_LR_SAVE): Likewise.
24698 (FRAME_COMPILER_DW): Likewise.
24699 (FRAME_LINKER_DW): Likewise.
24700 (FRAME_TOC_SAVE): Likewise.
24701 (FRAME_PARM_SAVE): Likewise.
24702 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24703 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24704 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24706 (CHECK_SP): Use symbolic stack frame offsets.
24707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24708 zone" instead of caller's parameter save area for temp storage.
24709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24710 Likewise. Also, use symbolic stack frame offsets.
24711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24712 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24713 our own stack frame instead of the caller's.
24714 (__socket): Use symbolic stack frame offsets.
24716 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24717 Alan Modra <amodra@gmail.com>
24719 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24721 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24722 (PPC64_LOCAL_ENTRY_OFFSET): Define.
24723 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24725 (elf_machine_fixup_plt): Call it.
24726 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
24728 (elf_machine_rela): Update call to elf_machine_plt_conflict.
24729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24730 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24731 r2 before calling target.
24733 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24734 Alan Modra <amodra@gmail.com>
24736 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24737 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24738 versions of macros to support ELFv2 ABI.
24739 (LOCALENTRY): New macro.
24740 (ENTRY, EALIGN): Use it.
24741 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24742 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24743 fall through into ENTRY entry point.
24744 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24745 Only define if _CALL_ELF != 2.
24747 (elf_machine_matches_host): Verify ABI version matches.
24748 (RTLD_START): Use LOCALENTRY.
24749 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24750 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24751 (PLT_ENTRY_WORDS): New macro.
24752 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24753 (elf_machine_runtime_setup): Support ELFv2 ABI.
24754 (elf_machine_fixup_plt): Likewise.
24755 (elf_machine_plt_conflict): Likewise.
24756 (resolve_ifunc): Likewise.
24757 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24758 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24761 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24763 (makecontext): Support ELFv2 ABI.
24764 * elf/elf.h (EF_PPC64_ABI): Define.
24766 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24768 * sysdeps/powerpc/powerpc64/sysdep.h
24769 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24770 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24771 (ENTRY) [ASSEMBLER]: ... but instead here ...
24772 (EALIGN) [ASSEMBLER]: ... and here.
24773 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24774 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24775 (ENTRY_2) [!ASSEMBLER]: Use it.
24776 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24777 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
24778 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24779 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24780 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24782 Use PPC64_LOAD_FUNCPTR.
24784 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24786 2013-12-04 Alan Modra <amodra@gmail.com>
24788 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24789 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24790 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24791 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24793 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24794 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24795 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24796 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24797 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24798 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24800 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24803 (__makecontext): Fix incorrect CFI when backtracing out of
24804 context created via makecontext.
24805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24806 (__setcontext): Fix incorrect CFI during switch to new context.
24807 (__novec_setcontext): Likewise.
24809 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24812 * time/strptime_l.c (__strptime_internal): Allow modifiers
24814 * time/tst-strptime.c (day_tests): Add testcase.
24816 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24818 * scripts/bench.pl: Skip over blank lines.
24820 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
24823 * manual/time.texi (Calendar Time): Clarify what timezone functions
24826 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24830 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24832 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24834 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24835 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24836 * debug/memset_chk.c (__memset_chk): Likewise.
24837 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24838 * debug/strncpy_chk.c: Likewise.
24840 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24844 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24845 (__ieee754_exp): For possibly underflowing results, check size of
24846 result and force underflow exception if required.
24847 * math/auto-libm-test-in: Add more tests of exp.
24848 * math/auto-libm-test-out: Regenerated.
24849 * sysdeps/i386/fpu/libm-test-ulps: Update.
24850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24853 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24854 * math/w_exp2f.c (__exp2f): Likewise.
24855 * math/w_exp2l.c (__exp2l): Likewise.
24856 * math/auto-libm-test-in: Do not allow missing errno on exp2
24858 * math/auto-libm-test-out: Regenerated.
24860 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
24863 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24864 handle filename validation.
24865 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24868 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24871 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24872 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24873 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24875 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24876 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24877 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24878 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24879 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24880 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24881 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24882 * math/auto-libm-test-in: Don't allow missing errno from erfc.
24883 Add more erfc tests.
24884 * math/auto-libm-test-out: Regenerated.
24885 * sysdeps/i386/fpu/libm-test-ulps: Update.
24886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24888 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24889 exp2, expm1, j0 and j1.
24890 * math/auto-libm-test-out: Regenerated.
24891 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24892 (erfc_test_data): Likewise.
24893 (exp_test_data): Likewise.
24894 (exp_tonearest_test_data): Likewise.
24895 (exp_towardzero_test_data): Likewise.
24896 (exp_downward_test_data): Likewise.
24897 (exp_upward_test_data): Likewise.
24898 (exp10_test_data): Likewise.
24899 (exp2_test_data): Likewise.
24900 (expm1_test_data): Likewise.
24901 (j0_test_data): Likewise.
24902 (j1_test_data): Likewise.
24903 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24904 (input_flag_type): Add flag_xfail_rounding.
24905 (input_flags): Add xfail-rounding.
24906 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24907 (output_for_one_input_case): Handle flag_xfail_rounding.
24908 * sysdeps/i386/fpu/libm-test-ulps: Update.
24909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24911 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
24914 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24917 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24920 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24921 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24922 (STAP_PROBE0): New macro.
24923 (STAP_PROBE1): Likewise.
24924 (STAP_PROBE2): Likewise.
24925 (STAP_PROBE3): Likewise.
24926 (STAP_PROBE4): Likewise.
24928 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
24930 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24932 2013-12-02 Steve Ellcey <sellcey@mips.com>
24934 * benchtests/Makefile (bench): Add sqrt.
24935 (LDLIBS-bench-sqrt): New.
24936 * benchtests/sqrt-input: New.
24938 2013-12-02 Pavel Simerda <psimerda@redhat.com>
24940 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24941 (GAIH_EAI): Likewise.
24942 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24943 (gaih_inet): Likewise.
24944 (getaddrinfo): Don't use GAIH_EAI.
24946 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24947 (struct gaih): Remove definition.
24949 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24951 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24952 Use HERRNOP directly.
24954 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24958 2013-11-30 Joseph Myers <joseph@codesourcery.com>
24960 * math/gen-auto-libm-tests.c (test_functions): Add more
24961 single-argument functions.
24962 (special_fill_pi_2): New function.
24963 (special_fill_minus_pi_2): Likewise.
24964 (special_fill_pi_6): Likewise.
24965 (special_fill_minus_pi_6): Likewise.
24966 (special_fill_pi_3): Likewise.
24967 (special_fill_2pi_3): Likewise.
24968 (special_fill_e): Likewise.
24969 (special_fill_1_e): Likewise.
24970 (special_fill_e_minus_1): Likewise.
24971 (special_real_inputs): Add more special inputs.
24972 (output_for_one_input_case): Do not require ERANGE on underflow to
24973 zero if round-to-nearest result does not underflow to zero, unless
24974 exact results required.
24975 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24976 atan, atanh, cbrt, cos and cosh.
24977 * math/auto-libm-test-out: Regenerated.
24978 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24979 (acos_tonearest_test_data): Likewise.
24980 (acos_towardzero_test_data): Likewise.
24981 (acos_downward_test_data): Likewise.
24982 (acos_upward_test_data): Likewise.
24983 (acosh_test_data): Likewise.
24984 (asin_test_data): Likewise.
24985 (asin_tonearest_test_data): Likewise.
24986 (asin_towardzero_test_data): Likewise.
24987 (asin_upward_test_data): Likewise.
24988 (asinh_test_data): Likewise.
24989 (atan_test_data): Likewise.
24990 (atanh_test_data): Likewise.
24991 (cbrt_test_data): Likewise.
24992 (cos_test_data): Likewise.
24993 (cos_tonearest_test_data): Likewise.
24994 (cos_towardzero_test_data): Likewise.
24995 (cos_downward_test_data): Likewise.
24996 (cos_upward_test_data): Likewise.
24997 (cosh_test_data): Likewise.
24998 (cosh_tonearest_test_data): Likewise.
24999 (cosh_towardzero_test_data): Likewise.
25000 (cosh_downward_test_data): Likewise.
25001 (cosh_upward_test_data): Likewise.
25002 * sysdeps/i386/fpu/libm-test-ulps: Update.
25003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25005 2013-11-29 Joseph Myers <joseph@codesourcery.com>
25008 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25009 * math/w_exp10f.c (__exp10f): Likewise.
25010 * math/w_exp10l.c (__exp10l): Likewise.
25011 * math/libm-test.inc (exp10_test_data): Add more tests and expect
25012 errno settings in existing tests.
25015 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25016 precision control set to double precision.
25017 * sysdeps/i386/fpu/w_sqrt.c: New file.
25018 * math/auto-libm-test-in: Add more tests.
25019 * math/auto-libm-test-out: Update.
25021 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25022 (sqrt_test_tonearest): New function.
25023 (sqrt_towardzero_test_data): New variable.
25024 (sqrt_test_towardzero): New function.
25025 (sqrt_downward_test_data): New variable.
25026 (sqrt_test_downward): New function.
25027 (sqrt_upward_test_data): New variable.
25028 (sqrt_test_upward): New function.
25029 (main): Call the new functions.
25031 * math/gen-auto-libm-tests.c: New file.
25032 * math/auto-libm-test-in: Likewise.
25033 * math/auto-libm-test-out: New generated file.
25034 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25036 (%beautify): Add generated representations of zero.
25037 (top level): Set $auto_input and call parse_auto_input.
25038 (beautify): Remove trailing "f" from hex float constants.
25039 (parse_args): Handle XFAIL_TEST.
25040 (convert_condition): New function.
25041 (or_value): Likewise.
25042 (or_cond_value): Likewise.
25043 (generate_testfile): Handle AUTO_TESTS_* lines.
25044 (parse_auto_input): New function.
25045 * math/libm-test.inc (XFAIL_TEST): New macro.
25046 (ERRNO_UNCHANGED): Update value.
25047 (ERRNO_EDOM): Likewise.
25048 (ERRNO_ERANGE): Likewise.
25049 (IGNORE_RESULT): Likewise.
25050 (TEST_COND_flt_32): New macro.
25051 (TEST_COND_dbl_64): Likewise.
25052 (TEST_COND_ldbl_96_intel): Likewise.
25053 (TEST_COND_ldbl_96_m68k): Likewise.
25054 (TEST_COND_ldbl_128): Likewise.
25055 (TEST_COND_ldbl_128ibm): Likewise.
25056 (TEST_COND_long32): Likewise.
25057 (TEST_COND_long64): Likewise.
25058 (TEST_COND_before_rounding): Likewise.
25059 (TEST_COND_after_rounding): Likewise.
25060 (enable_test): Handle XFAIL_TEST flag.
25061 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25062 with finite results.
25063 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25064 auto-libm-test-out.
25066 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25067 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25070 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25071 __tls_get_addr_internal instead of __tls_get_offset in order to
25072 avoid GOT pointer dependency. Make rtld export
25073 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25074 __tls_get_addr since we are a __tls_get_offset platform.
25075 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25076 GOT pointer being set up before.
25077 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25079 2013-11-28 Joseph Myers <joseph@codesourcery.com>
25081 * manual/math.texi (Errors in Math Functions): Document accuracy
25085 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25086 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25087 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25088 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25089 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25090 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25091 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25092 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25093 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25094 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25095 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25096 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25097 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25098 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25099 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25100 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25102 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25103 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25104 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25105 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25106 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25108 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25110 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25112 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25113 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25114 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25115 atomic-feupdateenv and flt-rounds.
25116 * sysdeps/powerpc/nofpu/Versions (libc): Add
25117 __atomic_feholdexcept, __atomic_feclearexcept,
25118 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25119 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25120 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25121 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25122 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25127 * manual/arith.texi (FP Exceptions): Document that exceptions may
25128 not be raised when matherr is used.
25129 (Math Error Reporting): Document overflow in directed rounding
25130 modes. Document that errno may not be set when finite values are
25131 returned on overflow. Document intent to set errno on underflow
25132 only for underflow to zero.
25135 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25136 round-to-nearest then adjust result for other rounding modes.
25137 * include/fenv.h (fegetround): Use libm_hidden_proto.
25138 * math/fegetround.c (fegetround): Use libm_hidden_def.
25139 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25140 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25141 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25142 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25144 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25145 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25146 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25147 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25149 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25152 * nss/Versions (libnss_files): Add
25153 _nss_files_gethostbyname3_r.
25154 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25156 (HOST_DB_LOOKUP): Remove macro.
25157 (_nss_files_gethostbyname_r): Implement function without the
25158 HOST_DB_LOOKUP macro.
25159 (_nss_files_gethostbyname2_r): Likewise.
25161 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
25163 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25165 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
25167 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25168 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25171 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25173 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25174 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25175 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25176 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25177 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25178 __fe_nomask_env_priv and attribute_hidden.
25179 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25180 (libc_feupdateenv_test_ppc): Likewise.
25181 (libc_feresetround_ppc): Likewise.
25182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25183 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25184 compat_symbol macro.
25185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25186 (__fe_nomask_env): Likewise.
25187 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25189 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25191 * string/Makefile: Remove ifunc tests.
25192 * string/test-string.h: Define TEST_IFUNC.
25193 * string/test-bcopy-ifunc.c: Remove.
25194 * string/test-bzero-ifunc.c: Likewise.
25195 * string/test-memccpy-ifunc.c: Likewise.
25196 * string/test-memchr-ifunc.c: Likewise.
25197 * string/test-memcmp-ifunc.c: Likewise.
25198 * string/test-memcpy-ifunc.c: Likewise.
25199 * string/test-memmem-ifunc.c: Likewise.
25200 * string/test-memmove-ifunc.c: Likewise.
25201 * string/test-mempcpy-ifunc.c: Likewise.
25202 * string/test-memrchr-ifunc.c: Likewise.
25203 * string/test-memset-ifunc.c: Likewise.
25204 * string/test-rawmemchr-ifunc.c: Likewise.
25205 * string/test-stpcpy-ifunc.c: Likewise.
25206 * string/test-stpncpy-ifunc.c: Likewise.
25207 * string/test-strcasecmp-ifunc.c: Likewise.
25208 * string/test-strcasestr-ifunc.c: Likewise.
25209 * string/test-strcat-ifunc.c: Likewise.
25210 * string/test-strchr-ifunc.c: Likewise.
25211 * string/test-strchrnul-ifunc.c: Likewise.
25212 * string/test-strcmp-ifunc.c: Likewise.
25213 * string/test-strcpy-ifunc.c: Likewise.
25214 * string/test-strcspn-ifunc.c: Likewise.
25215 * string/test-strlen-ifunc.c: Likewise.
25216 * string/test-strncasecmp-ifunc.c: Likewise.
25217 * string/test-strncat-ifunc.c: Likewise.
25218 * string/test-strncmp-ifunc.c: Likewise.
25219 * string/test-strncpy-ifunc.c: Likewise.
25220 * string/test-strnlen-ifunc.c: Likewise.
25221 * string/test-strpbrk-ifunc.c: Likewise.
25222 * string/test-strrchr-ifunc.c: Likewise.
25223 * string/test-strspn-ifunc.c: Likewise.
25224 * string/test-strstr-ifunc.c: Likewise.
25226 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25228 * benchtests/Makefile: Remove ifunc tests.
25229 * benchtests/bench-string.h: Define TEST_IFUNC.
25230 * benchtests/bench-bcopy-ifunc.c: Remove.
25231 * benchtests/bench-bzero-ifunc.c: Likewise.
25232 * benchtests/bench-memccpy-ifunc.c: Likewise.
25233 * benchtests/bench-memchr-ifunc.c: Likewise.
25234 * benchtests/bench-memcmp-ifunc.c: Likewise.
25235 * benchtests/bench-memcpy-ifunc.c: Likewise.
25236 * benchtests/bench-memmem-ifunc.c: Likewise.
25237 * benchtests/bench-memmove-ifunc.c: Likewise.
25238 * benchtests/bench-mempcpy-ifunc.c: Likewise.
25239 * benchtests/bench-memrchr-ifunc.c: Likewise.
25240 * benchtests/bench-memset-ifunc.c: Likewise.
25241 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25242 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25243 * benchtests/bench-stpcpy-ifunc.c: Likewise.
25244 * benchtests/bench-stpncpy-ifunc.c: Likewise.
25245 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25246 * benchtests/bench-strcasestr-ifunc.c: Likewise.
25247 * benchtests/bench-strcat-ifunc.c: Likewise.
25248 * benchtests/bench-strchr-ifunc.c: Likewise.
25249 * benchtests/bench-strchrnul-ifunc.c: Likewise.
25250 * benchtests/bench-strcmp-ifunc.c: Likewise.
25251 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25252 * benchtests/bench-strcpy-ifunc.c: Likewise.
25253 * benchtests/bench-strcspn-ifunc.c: Likewise.
25254 * benchtests/bench-strlen-ifunc.c: Likewise.
25255 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25256 * benchtests/bench-strncat-ifunc.c: Likewise.
25257 * benchtests/bench-strncmp-ifunc.c: Likewise.
25258 * benchtests/bench-strncpy-ifunc.c: Likewise.
25259 * benchtests/bench-strnlen-ifunc.c: Likewise.
25260 * benchtests/bench-strpbrk-ifunc.c: Likewise.
25261 * benchtests/bench-strrchr-ifunc.c: Likewise.
25262 * benchtests/bench-strsep-ifunc.c: Likewise.
25263 * benchtests/bench-strspn-ifunc.c: Likewise.
25264 * benchtests/bench-strstr-ifunc.c: Likewise.
25266 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25268 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25270 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25272 * resolv/netdb.h: Use __glibc_reserved instead __unused.
25273 * rt/aio.h: Likewise.
25274 * sysdeps/gnu/bits/utmp.h: Likewise.
25275 * sysdeps/gnu/bits/utmpx.h: Likewise.
25276 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25277 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25278 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25279 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25280 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25281 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25282 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25283 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25284 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25285 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25286 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25287 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25288 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25290 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25291 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25292 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25293 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25294 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25295 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25296 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25297 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25298 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25299 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25300 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25301 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25302 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25303 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25304 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25305 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25306 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25307 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25308 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25309 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25310 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25311 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25312 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25313 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25314 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25315 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25316 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25317 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25319 2013-11-25 Carlos O'Donell <carlos@redhat.com>
25322 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25323 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25325 2013-11-25 Joseph Myers <joseph@codesourcery.com>
25327 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25328 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25331 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25333 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25334 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25335 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25336 (__fesetround): Remove define.
25337 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25338 rounding and exceptions handling.
25339 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25340 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25341 (__fe_nomask_env): Likewise.
25342 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25343 __fegetround instead of fegetround.
25344 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25345 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25347 2013-11-21 Roland McGrath <roland@hack.frob.com>
25349 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25352 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25354 2013-11-21 Meador Inge <meadori@codesourcery.com>
25357 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25358 (encrypt_r): Likewise.
25359 * malloc/obstack.h (obstack_free): Likewise.
25360 * posix/unistd.h (encrypt): Likewise.
25362 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
25364 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25365 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25366 DL_CALL_DT_FINI() that call the functions directly.
25367 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25368 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25369 * elf/dl-fini.c: Likewise.
25371 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
25373 * malloc/hooks.c (memalign_check): Add alignment rounding.
25374 * malloc/malloc.c (_mid_memalign): New function.
25375 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25376 Implement by calling _mid_memalign.
25377 * manual/probes.texi (Memory Allocation Probes): Remove
25378 memory_valloc_retry and memory_pvalloc_retry.
25380 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25382 * locale/programs/locarchive.c (open_archive): Add const
25383 qualifier to ARCHIVEFNAME and copy default fname to
25387 * libio/tst-widetext.input: Rename Oriya to Odia.
25388 * locale/iso-639.def: Likewise.
25390 * manual/probes.texi (Mathematical Function Probes): Add
25391 documentation for sin, cos, asin and acos probes.
25392 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25393 (__sin32): Add slowasin probe.
25394 (__cos32): Add slowacos probe.
25395 (__mpsin): Add slowsin probe.
25396 (__mpcos): Add slowcos probe.
25398 2013-11-19 Joseph Myers <joseph@codesourcery.com>
25401 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25402 thread-local __sim_exceptions_thread and global
25403 __sim_exceptions_global.
25404 (__sim_disabled_exceptions): Change to thread-local
25405 __sim_disabled_exceptions_thread and global
25406 __sim_disabled_exceptions_global.
25407 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25408 and global __sim_round_mode_global.
25409 (__simulate_exceptions): Use thread-local floating-point state and
25410 set global state from it as needed.
25411 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25412 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25413 __sim_round_mode_thread.
25414 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25415 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25416 and global __sim_exceptions_global.
25417 (__sim_disabled_exceptions): Change to thread-local
25418 __sim_disabled_exceptions_thread and global
25419 __sim_disabled_exceptions_global.
25420 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25421 and global __sim_round_mode_global.
25422 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25423 (SIM_SET_GLOBAL): Likewise.
25424 * sysdeps/powerpc/soft-fp/sfp-machine.h
25425 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25426 __sim_round_mode_thread.
25427 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25428 __sim_disabled_exceptions_thread.
25429 (__sim_exceptions): Change to __sim_exceptions_thread.
25430 (__sim_disabled_exceptions): Change to
25431 __sim_disabled_exceptions_thread.
25432 (__sim_round_mode): Change to __sim_round_mode_thread.
25433 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25434 thread-local floating-point state and set global state from it as
25436 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25437 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25438 (__sim_disabled_exceptions): Remove extern declaration.
25439 (feenableexcept): Use thread-local floating-point state and set
25440 global state from it as needed.
25441 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25442 extern declaration.
25443 (__sim_disabled_exceptions): Likewise.
25444 (__sim_round_mode): Likewise.
25445 (__fegetenv): Use thread-local floating-point state.
25446 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25447 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25448 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25449 floating-point state and set global state from it as needed.
25450 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25451 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25452 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25454 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25455 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25457 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25458 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25459 Use __sim_round_mode_thread.
25460 * math/test-fenv-tls.c: New file.
25461 * math/Makefile (tests): Add test-fenv-tls.
25462 ($(objpfx)test-fenv-tls): Depend on
25463 $(common-objpfx)nptl/libpthread.so.
25465 2013-11-19 Andreas Schwab <schwab@suse.de>
25467 * locale/programs/locale.c (show_info): Decode wordarray elements.
25468 * locale/categories.def (LC_MONETARY): Add element for
25469 _NL_MONETARY_CRNCYSTR.
25470 * locale/C-monetary.c (conversion_rate): New variable.
25471 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25474 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
25476 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25477 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25479 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25481 * elf/Makefile (tst-auxv): New test.
25482 * elf/tst-auxv.c: New
25483 * elf/rtld.c (dl_main): Adjust AT_EXECFN
25485 2013-11-18 Joseph Myers <joseph@codesourcery.com>
25487 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25488 (hidden_proto): Caller changed.
25489 (hidden_tls_proto): New macro.
25490 (libc_hidden_tls_proto): Likewise.
25491 (rtld_hidden_tls_proto): Likewise.
25492 (libm_hidden_tls_proto): Likewise.
25493 (libresolv_hidden_tls_proto): Likewise.
25494 (librt_hidden_tls_proto): Likewise.
25495 (libdl_hidden_tls_proto): Likewise.
25496 (libnss_files_hidden_tls_proto): Likewise.
25497 (libnsl_hidden_tls_proto): Likewise.
25498 (libnss_nisplus_hidden_tls_proto): Likewise.
25499 (libutil_hidden_tls_proto): Likewise.
25501 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
25504 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25505 (decompose_rpath): Defer expansion to fillin_rpath.
25506 (_dl_init_paths): Pass linkmap to fillin_rpath.
25508 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25510 * benchtests/Makefile: Add strsep.
25511 * benchtests/bench-strsep.c: New file: strsep benchtest.
25512 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25514 2013-11-18 Andreas Schwab <schwab@suse.de>
25516 * locale/programs/locale.c (show_info) [case byte]: Check for
25517 '\377' instead of '\177'.
25518 * locale/C-monetary.c (not_available): Always use "\377".
25519 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25520 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
25521 detect unavailable sign_posn locale elements.
25522 * locale/localeconv.c (__localeconv): For grouping and
25523 mon_grouping handle "\177" and "\377" like no grouping.
25524 (INT_ELEM): New macro. Use it to set all numeric members.
25525 * locale/programs/ld-monetary.c (monetary_read)
25526 <tok_mon_grouping>: Normalize single -1 to the empty string.
25527 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25530 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25533 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25534 when we match (nil).
25535 * stdio-common/tst-sscanf.c (struct test): Add testcase.
25537 2013-11-16 Joseph Myers <joseph@codesourcery.com>
25539 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25540 (NO_TEST_INLINE): Update value.
25541 (ERRNO_UNCHANGED): Likewise.
25542 (ERRNO_EDOM): Likewise.
25543 (ERRNO_ERANGE): Likewise.
25544 (IGNORE_RESULT): Likewise.
25545 (check_float_internal): Check signs of NaN results if
25546 TEST_NAN_SIGN used.
25547 (check_complex): Pass TEST_NAN_SIGN flag through to second
25548 check_float_internal call.
25549 (copysign_test_data): Add tests with quiet NaNs as second
25550 argument. Use TEST_NAN_SIGN.
25551 (fabs_test_data): Add test of negative quiet NaN argument. Use
25553 (signbit_test_data): Add tests of quiet NaN argument.
25554 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25556 * math/gen-libm-test.pl (show_exceptions): Take extra argument
25558 (parse_args): Handle function results specified as IGNORE.
25559 * math/libm-test.inc (IGNORE_RESULT): New macro.
25560 (check_float_internal): Do not check numerical result if flag
25562 (check_complex): Pass through IGNORE_RESULT to second
25563 check_float_internal call.
25564 (check_int): Do not check numerical result if flag IGNORE_RESULT
25566 (check_long): Likewise.
25567 (check_bool): Likewise.
25568 (check_longlong): Likewise.
25569 (lrint_test_data): Add tests of infinite and NaN arguments.
25570 (lrint_tonearest_test_data): Likewise.
25571 (lrint_towardzero_test_data): Likewise.
25572 (lrint_downward_test_data): Likewise.
25573 (lrint_upward_test_data): Likewise.
25574 (llrint_test_data): Likewise.
25575 (llrint_tonearest_test_data): Likewise.
25576 (llrint_towardzero_test_data): Likewise.
25577 (llrint_downward_test_data): Likewise.
25578 (llrint_upward_test_data): Likewise.
25579 (lround_test_data): Likewise.
25580 (llround_test_data): Likewise.
25582 * math/libm-test.inc (NO_TEST_INLINE): New macro.
25583 (ERRNO_UNCHANGED): Update value.
25584 (ERRNO_EDOM): Likewise.
25585 (ERRNO_ERANGE): Likewise.
25586 (NO_TEST_INLINE_FLOAT): New macro.
25587 (NO_TEST_INLINE_DOUBLE): Likewise.
25588 (enable_test): New function.
25589 (RUN_TEST_f_f): Check enable_test before running test.
25590 (RUN_TEST_2_f): Likewise.
25591 (RUN_TEST_fff_f): Likewise.
25592 (RUN_TEST_c_f): Likewise.
25593 (RUN_TEST_f_f1): Likewise.
25594 (RUN_TEST_fF_f1): Likewise.
25595 (RUN_TEST_fI_f1): Likewise.
25596 (RUN_TEST_ffI_f1): Likewise.
25597 (RUN_TEST_c_c): Likewise.
25598 (RUN_TEST_cc_c): Likewise.
25599 (RUN_TEST_f_i): Likewise.
25600 (RUN_TEST_f_i_tg): Likewise.
25601 (RUN_TEST_ff_i_tg): Likewise.
25602 (RUN_TEST_f_b): Likewise.
25603 (RUN_TEST_f_b_tg): Likewise.
25604 (RUN_TEST_f_l): Likewise.
25605 (RUN_TEST_f_L): Likewise.
25606 (RUN_TEST_fFF_11): Likewise.
25607 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25609 (cosh_test_data): Likewise.
25610 (exp_test_data): Likewise.
25611 (expm1_test_data): Likewise.
25612 (hypot_test_data): Likewise.
25613 (pow_test_data): Likewise.
25614 (sinh_test_data): Likewise.
25615 (tanh_test_data): Likewise.
25616 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25619 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25620 tests with quiet NaN input and output.
25621 (acosh_test_data): Likewise.
25622 (asin_test_data): Likewise.
25623 (asinh_test_data): Likewise.
25624 (atan_test_data): Likewise.
25625 (atanh_test_data): Likewise.
25626 (atan2_test_data): Likewise.
25627 (cbrt_test_data): Likewise.
25628 (cos_test_data): Likewise.
25629 (cosh_test_data): Likewise.
25630 (erf_test_data): Likewise.
25631 (erfc_test_data): Likewise.
25632 (exp_test_data): Likewise.
25633 (exp10_test_data): Likewise.
25634 (exp2_test_data): Likewise.
25635 (expm1_test_data): Likewise.
25636 (hypot_test_data): Likewise.
25637 (j0_test_data): Likewise.
25638 (j1_test_data): Likewise.
25639 (jn_test_data): Likewise.
25640 (lgamma_test_data): Likewise.
25641 (log_test_data): Likewise.
25642 (log10_test_data): Likewise.
25643 (log1p_test_data): Likewise.
25644 (log2_test_data): Likewise.
25645 (pow_test_data): Likewise.
25646 (scalb_test_data): Likewise.
25647 (sin_test_data): Likewise.
25648 (sincos_test_data): Likewise.
25649 (sinh_test_data): Likewise.
25650 (tan_test_data): Likewise.
25651 (tanh_test_data): Likewise.
25652 (tgamma_test_data): Likewise.
25653 (y0_test_data): Likewise.
25654 (y1_test_data): Likewise.
25655 (yn_test_data): Likewise.
25658 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25659 argument being NaN and avoid computations with second argument in
25661 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25662 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25663 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25665 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
25667 * locale/iso-639.def: Add Chitwani Tharu (the).
25669 2013-11-14 Andreas Schwab <schwab@suse.de>
25671 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25672 word instead of empty string.
25674 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25677 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25679 (__fe_nomask_env): Likewise.
25681 2013-11-13 Steve Ellcey <sellcey@mips.com>
25683 * benchtests/bench-timing.h: Include time.h.
25685 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
25688 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25690 * sysdeps/unix/sysv/linux/configure: Regenerated.
25692 2013-11-13 Joseph Myers <joseph@codesourcery.com>
25695 * stdlib/strtod_l.c (round_and_return): Do not consider
25696 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25697 exponent one less than half the least subnormal exponent.
25698 * stdlib/test-strtod-round-data: Add more tests.
25699 * stdlib/tst-strtod-round.c (tests): Regenerated.
25701 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25704 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25705 (__fe_mask_env): Likewise.
25706 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25707 libm_hidden_proto and add function prototype.
25708 (__fe_mask_env): Add function prototype.
25709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25710 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25712 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25714 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25716 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25718 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25719 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25721 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25723 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25724 of htab_find_slot().
25726 2013-11-11 David S. Miller <davem@davemloft.net>
25729 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25730 symbol in the non-vis3 case in static builds.
25731 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25732 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25733 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25734 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25736 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
25739 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25742 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25744 * benchtests/Makefile: Add bench-strtod.
25745 * benchtests/bench-strtod.c: New file: strtod benchtest
25747 2013-11-11 Andreas Schwab <schwab@suse.de>
25750 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25751 terminating NUL in key length.
25753 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25755 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25756 Add artificial ODP entry for vDSO symbol for PPC64.
25757 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25758 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25760 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25763 * nss/getent.c (services_keys): Recognize services starting with digit.
25765 2013-11-06 David S. Miller <davem@davemloft.net>
25768 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25769 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25771 2013-11-06 Will Newton <will.newton@linaro.org>
25773 * manual/memory.texi (Malloc Examples): Remove register
25774 keyword from examples.
25776 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
25778 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25780 2013-11-04 Joseph Myers <joseph@codesourcery.com>
25783 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25784 depending on [__GCC_IEC_559 > 0].
25785 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25786 depending on [__GCC_IEC_559_COMPLEX > 0].
25788 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
25790 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25793 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
25795 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25797 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
25800 * malloc/malloc (malloc_info): Do not handle first bin as
25803 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
25805 * locale/iso-639.def: Add Central Nahuatl (nhn).
25807 2013-11-01 Bruno Haible <bruno@clisp.org>
25810 * manual/math.texi (BSD Random): Specify range upper bound as
25813 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
25815 * locale/iso-639.def: Add Meadow Mari (mhr).
25817 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
25819 [BZ #14752], [BZ #15763]
25820 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25822 * rt/tst_shm.c: Add test for escaping directory.
25824 2013-10-31 Andreas Schwab <schwab@suse.de>
25827 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25828 followed by 'x' as part of digit sequence.
25829 * stdio-common/tst-sscanf.c (double_tests2): New tests.
25831 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25834 * configure.ac: allow GNU Make 4.0 and greater.
25835 * configure: Regenerated.
25837 2013-10-30 Will Newton <will.newton@linaro.org>
25840 * malloc/hooks.c (memalign_check): Limit alignment to the
25841 maximum representable power of two.
25842 * malloc/malloc.c (__libc_memalign): Likewise.
25843 * malloc/tst-memalign.c (do_test): Add test for very
25844 large alignment values.
25845 * malloc/tst-posix_memalign.c (do_test): Likewise.
25847 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25850 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25851 (munmap_chunk): Likewise.
25852 (mremap_chunk): Likewise.
25854 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25857 * stdlib/div.c (div): Remove obsolete code.
25858 * stdlib/ldiv.c (ldiv): Likewise.
25859 * stdlib/lldiv.c (lldiv): Likewise.
25861 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25864 * nss/nss_files/files-XXX.c (get_contents_ret): New
25866 (get_contents): New function.
25867 (internal_getent): Use it. Expand size of LINEBUFLEN.
25869 2013-10-30 Mike Frysinger <vapier@gentoo.org>
25871 * configure.in: Moved to ...
25872 * configure.ac: ... here. Change reference to configure.in
25874 * sysdeps/arm/preconfigure.ac: ... here.
25875 configure.in to configure.ac.
25876 * sysdeps/gnu/configure.in: Moved to ...
25877 * sysdeps/gnu/configure.ac: ... here.
25878 * sysdeps/i386/configure.in: Moved to ...
25879 * sysdeps/i386/configure.ac: ... here.
25880 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25881 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25882 * sysdeps/mach/configure.in: Moved to ...
25883 * sysdeps/mach/configure.ac: ... here.
25884 * sysdeps/mach/hurd/configure.in: Moved to ...
25885 * sysdeps/mach/hurd/configure.ac: ... here.
25886 * sysdeps/powerpc/configure.in: Moved to ...
25887 * sysdeps/powerpc/configure.ac: ... here.
25888 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25889 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25890 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25891 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25892 * sysdeps/s390/s390-32/configure.in: Moved to ...
25893 * sysdeps/s390/s390-32/configure.ac: ... here.
25894 * sysdeps/s390/s390-64/configure.in: Moved to ...
25895 * sysdeps/s390/s390-64/configure.ac: ... here.
25896 * sysdeps/sh/configure.in: Moved to ...
25897 * sysdeps/sh/configure.ac: ... here.
25898 * sysdeps/sparc/configure.in: Moved to ...
25899 * sysdeps/sparc/configure.ac: ... here.
25900 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25901 * sysdeps/unix/sysv/linux/configure.ac: ... here.
25902 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25903 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25904 * sysdeps/x86_64/configure.in: Moved to ...
25905 * sysdeps/x86_64/configure.ac: ... here.
25906 * sysdeps/x86_64/preconfigure.in: Moved to ...
25907 * sysdeps/x86_64/preconfigure.ac: ... here.
25908 * aclocal.m4: Change reference to configure.in to configure.ac.
25909 * config.h.in: Likewise.
25910 * manual/install.texi: Likewise.
25911 * manual/maint.texi: Likewise.
25912 * Makefile: Likewise.
25913 * malloc/Makefile: Likewise.
25914 * nscd/Makefile: Likewise.
25915 * Makeconfig: Change reference to configure.in and
25916 preconfigure.in to configure.ac and preconfigure.ac
25918 * INSTALL: Regenerated.
25919 * configure: Likewise.
25920 * sysdeps/gnu/configure: Likewise.
25921 * sysdeps/i386/configure: Likewise.
25922 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25923 * sysdeps/mach/configure: Likewise.
25924 * sysdeps/mach/hurd/configure: Likewise.
25925 * sysdeps/powerpc/configure: Likewise.
25926 * sysdeps/powerpc/powerpc32/configure: Likewise.
25927 * sysdeps/powerpc/powerpc64/configure: Likewise.
25928 * sysdeps/s390/s390-32/configure: Likewise.
25929 * sysdeps/s390/s390-64/configure: Likewise.
25930 * sysdeps/sh/configure: Likewise.
25931 * sysdeps/sparc/configure: Likewise.
25932 * sysdeps/unix/sysv/linux/configure: Likewise.
25933 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25934 * sysdeps/x86_64/configure: Likewise.
25935 * sysdeps/x86_64/preconfigure: Likewise.
25937 2013-10-29 Andreas Schwab <schwab@suse.de>
25939 * stdio-common/Makefile (tst-swscanf-ENV): Define.
25941 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25943 * benchtests/pow-inputs: Add new inputs.
25945 * benchtests/exp-inputs: Add new inputs.
25947 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25948 conditional check for return value.
25949 (__cos32): Likewise.
25951 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25953 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25954 to provide a boost for large inputs with word alignment.
25955 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25956 implementation based on optimized PPC64 strcpy.
25957 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25958 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25959 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25960 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25962 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25965 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25967 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25970 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25971 * time/tst-strptime.c (day_tests): Add testcase.
25973 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25976 * manual/pattern.texi: Acknowledge that fnmatch can fail.
25978 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
25981 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25982 MAP_FAILED on error.
25984 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25987 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25988 heap for large requests.
25990 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
25993 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25994 result if the result has no associated interface.
25995 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25996 interface for all 127.X.Y.Z addresses.
25998 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
26000 * locale/iso-639.def: Add Ligurian (lij)
26002 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
26005 * sunrpc/rpc_main.c: Document rpcgen -5.
26007 2013-10-19 Michael Stahl <mstahl@redhat.com>
26009 * elf/rtld.c (do_preload): Print the reason why preloading failed.
26011 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26014 * posix/glob.c: Match only directories when trailing slash is present.
26015 * posix/tst-gnuglob.c (my_opendir): Do not open files.
26016 (main): Add testcase.
26018 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26021 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26023 2013-10-18 Carlos O'Donell <carlos@redhat.com>
26025 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26026 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26027 AUTH_DES and cindex for FIPS 140-2.
26028 (DES Encryption): Add cindex FIPS 46-3.
26030 * locale/locarchive.h (struct locarhandle): Add fname.
26031 * locale/programs/localedef.c (main): Pass ARGV[remaining]
26032 if an optional argument was specified to --list-archive,
26034 * locale/programs/locarchive.c (show_archive_content): Take new
26035 argument fname and pass it via ah.fname to open_archive.
26036 * locale/programs/localedef.h: Update decl.
26037 (open_archive): If AH->fname is non-null, open that file
26038 rather than the default file name, and don't ignore ENOENT.
26039 (create_archive): Set AH.fname to NULL.
26040 (delete_locales_from_archive): Likewise.
26041 (add_locales_to_archive): Likewise.
26042 * locale/programs/locfile.c (write_all_categories): Likewise.
26044 2013-10-18 Joseph Myers <joseph@codesourcery.com>
26045 Aldy Hernandez <aldyh@redhat.com>
26047 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26048 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26049 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26050 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26051 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26052 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26053 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26054 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26055 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26056 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26057 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26058 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26059 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26060 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26061 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26063 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26065 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26067 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26069 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26070 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26072 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26073 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26074 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26075 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26077 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26078 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26079 * sysdeps/powerpc/preconfigure: Likewise.
26080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26082 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26083 Replace contents of file by #include of <fenv_libc.h>.
26084 * sysdeps/powerpc/soft-fp/sfp-machine.h
26085 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26087 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26088 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26089 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26093 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26094 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26095 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26096 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26097 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26098 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26100 Allow copysignl PLT reference to be missing.
26102 2013-10-18 Richard Sandiford <richard@codesourcery.com>
26103 Joseph Myers <joseph@codesourcery.com
26106 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26108 (add_to_tablewc): Assert sequence of wide characters is nonempty.
26110 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26112 * elf/tst-tls-dlinfo.c: Don't include tls.h.
26113 * elf/tst-tls1.c: Likewise.
26114 * elf/tst-tls10.h: Likewise.
26115 * elf/tst-tls14.c: Likewise.
26116 * elf/tst-tls2.c: Likewise.
26117 * elf/tst-tls3.c: Likewise.
26118 * elf/tst-tls4.c: Likewise.
26119 * elf/tst-tls5.c: Likewise.
26120 * elf/tst-tls6.c: Likewise.
26121 * elf/tst-tls7.c: Likewise.
26122 * elf/tst-tls8.c: Likewise.
26123 * elf/tst-tls9.c: Likewise.
26124 * elf/tst-tlsmod1.c: Likewise.
26125 * elf/tst-tlsmod13.c: Likewise.
26126 * elf/tst-tlsmod13a.c: Likewise.
26127 * elf/tst-tlsmod14a.c: Likewise.
26128 * elf/tst-tlsmod16a.c: Likewise.
26129 * elf/tst-tlsmod16b.c: Likewise.
26130 * elf/tst-tlsmod2.c: Likewise.
26131 * elf/tst-tlsmod3.c: Likewise.
26132 * elf/tst-tlsmod4.c: Likewise.
26133 * elf/tst-tlsmod5.c: Likewise.
26134 * elf/tst-tlsmod6.c: Likewise.
26136 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
26139 * malloc/malloc.c: remove checks for statistics.
26141 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26144 * inet/inet_net.c (inet_network): Detect additional invalid strings.
26145 * inet/tst-network.c: Add testcase.
26147 2013-10-17 Andreas Schwab <schwab@suse.de>
26150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26151 to determine canonical name.
26153 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26155 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26156 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26158 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26160 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26161 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26162 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26163 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26164 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26165 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26166 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26167 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26168 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26169 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26170 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26172 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26173 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26174 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26175 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26176 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26177 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26178 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26179 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26180 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26181 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26182 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26183 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26184 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26185 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26186 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26187 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26188 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26189 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26190 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26191 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26192 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26193 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26194 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26195 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26196 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26197 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26198 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26199 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26201 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26203 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26204 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26207 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26208 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26209 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26210 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26211 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26212 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26214 2013-10-17 Joseph Myers <joseph@codesourcery.com>
26217 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26218 make result into a quiet NaN.
26220 2013-10-16 Joseph Myers <joseph@codesourcery.com>
26222 * soft-fp/adddf3.c: Fix horizontal whitespace.
26223 * soft-fp/addsf3.c: Likewise.
26224 * soft-fp/addtf3.c: Likewise.
26225 * soft-fp/divdf3.c: Likewise.
26226 * soft-fp/divsf3.c: Likewise.
26227 * soft-fp/divtf3.c: Likewise.
26228 * soft-fp/double.h: Likewise.
26229 * soft-fp/eqdf2.c: Likewise.
26230 * soft-fp/eqsf2.c: Likewise.
26231 * soft-fp/eqtf2.c: Likewise.
26232 * soft-fp/extenddftf2.c: Likewise.
26233 * soft-fp/extended.h: Likewise.
26234 * soft-fp/extendsfdf2.c: Likewise.
26235 * soft-fp/extendsftf2.c: Likewise.
26236 * soft-fp/extendxftf2.c: Likewise.
26237 * soft-fp/fixdfdi.c: Likewise.
26238 * soft-fp/fixdfsi.c: Likewise.
26239 * soft-fp/fixdfti.c: Likewise.
26240 * soft-fp/fixsfdi.c: Likewise.
26241 * soft-fp/fixsfsi.c: Likewise.
26242 * soft-fp/fixsfti.c: Likewise.
26243 * soft-fp/fixtfdi.c: Likewise.
26244 * soft-fp/fixtfsi.c: Likewise.
26245 * soft-fp/fixtfti.c: Likewise.
26246 * soft-fp/fixunsdfdi.c: Likewise.
26247 * soft-fp/fixunsdfsi.c: Likewise.
26248 * soft-fp/fixunsdfti.c: Likewise.
26249 * soft-fp/fixunssfdi.c: Likewise.
26250 * soft-fp/fixunssfsi.c: Likewise.
26251 * soft-fp/fixunssfti.c: Likewise.
26252 * soft-fp/fixunstfdi.c: Likewise.
26253 * soft-fp/fixunstfsi.c: Likewise.
26254 * soft-fp/fixunstfti.c: Likewise.
26255 * soft-fp/floatdidf.c: Likewise.
26256 * soft-fp/floatdisf.c: Likewise.
26257 * soft-fp/floatditf.c: Likewise.
26258 * soft-fp/floatsidf.c: Likewise.
26259 * soft-fp/floatsisf.c: Likewise.
26260 * soft-fp/floatsitf.c: Likewise.
26261 * soft-fp/floattidf.c: Likewise.
26262 * soft-fp/floattisf.c: Likewise.
26263 * soft-fp/floattitf.c: Likewise.
26264 * soft-fp/floatundidf.c: Likewise.
26265 * soft-fp/floatundisf.c: Likewise.
26266 * soft-fp/floatunditf.c: Likewise.
26267 * soft-fp/floatunsidf.c: Likewise.
26268 * soft-fp/floatunsisf.c: Likewise.
26269 * soft-fp/floatunsitf.c: Likewise.
26270 * soft-fp/floatuntidf.c: Likewise.
26271 * soft-fp/floatuntisf.c: Likewise.
26272 * soft-fp/floatuntitf.c: Likewise.
26273 * soft-fp/fmadf4.c: Likewise.
26274 * soft-fp/fmasf4.c: Likewise.
26275 * soft-fp/fmatf4.c: Likewise.
26276 * soft-fp/gedf2.c: Likewise.
26277 * soft-fp/gesf2.c: Likewise.
26278 * soft-fp/getf2.c: Likewise.
26279 * soft-fp/ledf2.c: Likewise.
26280 * soft-fp/lesf2.c: Likewise.
26281 * soft-fp/letf2.c: Likewise.
26282 * soft-fp/muldf3.c: Likewise.
26283 * soft-fp/mulsf3.c: Likewise.
26284 * soft-fp/multf3.c: Likewise.
26285 * soft-fp/negdf2.c: Likewise.
26286 * soft-fp/negsf2.c: Likewise.
26287 * soft-fp/negtf2.c: Likewise.
26288 * soft-fp/op-1.h: Likewise.
26289 * soft-fp/op-2.h: Likewise.
26290 * soft-fp/op-4.h: Likewise.
26291 * soft-fp/op-8.h: Likewise.
26292 * soft-fp/op-common.h: Likewise.
26293 * soft-fp/quad.h: Likewise.
26294 * soft-fp/single.h: Likewise.
26295 * soft-fp/soft-fp.h: Likewise.
26296 * soft-fp/sqrtdf2.c: Likewise.
26297 * soft-fp/sqrtsf2.c: Likewise.
26298 * soft-fp/sqrttf2.c: Likewise.
26299 * soft-fp/subdf3.c: Likewise.
26300 * soft-fp/subsf3.c: Likewise.
26301 * soft-fp/subtf3.c: Likewise.
26302 * soft-fp/truncdfsf2.c: Likewise.
26303 * soft-fp/trunctfdf2.c: Likewise.
26304 * soft-fp/trunctfsf2.c: Likewise.
26305 * soft-fp/trunctfxf2.c: Likewise.
26306 * soft-fp/unorddf2.c: Likewise.
26307 * soft-fp/unordsf2.c: Likewise.
26308 * soft-fp/unordtf2.c: Likewise.
26310 2013-10-15 Joseph Myers <joseph@codesourcery.com>
26312 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26313 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26315 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
26317 * elf/dl-libc.c: Clear initfini list after freeing.
26319 2013-10-14 Joseph Myers <joseph@codesourcery.com>
26321 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26322 * soft-fp/addsf3.c: Likewise.
26323 * soft-fp/addtf3.c: Likewise.
26324 * soft-fp/divdf3.c: Likewise.
26325 * soft-fp/divsf3.c: Likewise.
26326 * soft-fp/divtf3.c: Likewise.
26327 * soft-fp/double.h: Likewise.
26328 * soft-fp/eqdf2.c: Likewise.
26329 * soft-fp/eqsf2.c: Likewise.
26330 * soft-fp/eqtf2.c: Likewise.
26331 * soft-fp/extenddftf2.c: Likewise.
26332 * soft-fp/extended.h: Likewise.
26333 * soft-fp/extendsfdf2.c: Likewise.
26334 * soft-fp/extendsftf2.c: Likewise.
26335 * soft-fp/extendxftf2.c: Likewise.
26336 * soft-fp/fixdfdi.c: Likewise.
26337 * soft-fp/fixdfsi.c: Likewise.
26338 * soft-fp/fixdfti.c: Likewise.
26339 * soft-fp/fixsfdi.c: Likewise.
26340 * soft-fp/fixsfsi.c: Likewise.
26341 * soft-fp/fixsfti.c: Likewise.
26342 * soft-fp/fixtfdi.c: Likewise.
26343 * soft-fp/fixtfsi.c: Likewise.
26344 * soft-fp/fixtfti.c: Likewise.
26345 * soft-fp/fixunsdfdi.c: Likewise.
26346 * soft-fp/fixunsdfsi.c: Likewise.
26347 * soft-fp/fixunsdfti.c: Likewise.
26348 * soft-fp/fixunssfdi.c: Likewise.
26349 * soft-fp/fixunssfsi.c: Likewise.
26350 * soft-fp/fixunssfti.c: Likewise.
26351 * soft-fp/fixunstfdi.c: Likewise.
26352 * soft-fp/fixunstfsi.c: Likewise.
26353 * soft-fp/fixunstfti.c: Likewise.
26354 * soft-fp/floatdidf.c: Likewise.
26355 * soft-fp/floatdisf.c: Likewise.
26356 * soft-fp/floatditf.c: Likewise.
26357 * soft-fp/floatsidf.c: Likewise.
26358 * soft-fp/floatsisf.c: Likewise.
26359 * soft-fp/floatsitf.c: Likewise.
26360 * soft-fp/floattidf.c: Likewise.
26361 * soft-fp/floattisf.c: Likewise.
26362 * soft-fp/floattitf.c: Likewise.
26363 * soft-fp/floatundidf.c: Likewise.
26364 * soft-fp/floatundisf.c: Likewise.
26365 * soft-fp/floatunsidf.c: Likewise.
26366 * soft-fp/floatunsisf.c: Likewise.
26367 * soft-fp/floatuntidf.c: Likewise.
26368 * soft-fp/floatuntisf.c: Likewise.
26369 * soft-fp/floatuntitf.c: Likewise.
26370 * soft-fp/fmadf4.c: Likewise.
26371 * soft-fp/fmasf4.c: Likewise.
26372 * soft-fp/fmatf4.c: Likewise.
26373 * soft-fp/gedf2.c: Likewise.
26374 * soft-fp/gesf2.c: Likewise.
26375 * soft-fp/getf2.c: Likewise.
26376 * soft-fp/ledf2.c: Likewise.
26377 * soft-fp/lesf2.c: Likewise.
26378 * soft-fp/letf2.c: Likewise.
26379 * soft-fp/muldf3.c: Likewise.
26380 * soft-fp/mulsf3.c: Likewise.
26381 * soft-fp/multf3.c: Likewise.
26382 * soft-fp/negdf2.c: Likewise.
26383 * soft-fp/negsf2.c: Likewise.
26384 * soft-fp/negtf2.c: Likewise.
26385 * soft-fp/op-1.h: Likewise.
26386 * soft-fp/op-2.h: Likewise.
26387 * soft-fp/op-4.h: Likewise.
26388 * soft-fp/op-8.h: Likewise.
26389 * soft-fp/op-common.h: Likewise.
26390 * soft-fp/quad.h: Likewise.
26391 * soft-fp/single.h: Likewise.
26392 * soft-fp/soft-fp.h: Likewise.
26393 * soft-fp/sqrtdf2.c: Likewise.
26394 * soft-fp/sqrtsf2.c: Likewise.
26395 * soft-fp/sqrttf2.c: Likewise.
26396 * soft-fp/subdf3.c: Likewise.
26397 * soft-fp/subsf3.c: Likewise.
26398 * soft-fp/subtf3.c: Likewise.
26399 * soft-fp/truncdfsf2.c: Likewise.
26400 * soft-fp/trunctfdf2.c: Likewise.
26401 * soft-fp/trunctfsf2.c: Likewise.
26402 * soft-fp/trunctfxf2.c: Likewise.
26403 * soft-fp/unorddf2.c: Likewise.
26404 * soft-fp/unordsf2.c: Likewise.
26405 * soft-fp/unordtf2.c: Likewise.
26407 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
26410 * misc/error.c (error_tail): Fix possible buffer overflow.
26412 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
26415 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26418 2013-10-14 P. J. McDermott <pj@pehjota.net>
26421 * elf/ldd.bash.in (try_trace): New function. Delete previous code
26422 testing pipefail option.
26424 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26426 * soft-fp/double.h: Indent preprocessor directives inside #if.
26427 * soft-fp/extended.h: Likewise.
26428 * soft-fp/op-2.h: Likewise.
26429 * soft-fp/op-4.h: Likewise.
26430 * soft-fp/op-common.h: Likewise.
26431 * soft-fp/quad.h: Likewise.
26432 * soft-fp/single.h: Likewise.
26433 * soft-fp/soft-fp.h: Likewise.
26435 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
26437 * iconv/iconv_prog.c: Fix typos.
26438 * stdio-common/psiginfo-data.h: Likewise.
26440 2013-10-12 Reuben Thomas <rrt@sc3d.org>
26443 * locale/setlocale.c: Fix typo.
26445 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26448 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26449 signaling NaN arguments.
26450 * soft-fp/unordsf2.c (__unordsf2): Likewise.
26451 * soft-fp/unordtf2.c (__unordtf2): Likewise.
26454 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26455 unordered operands.
26456 * soft-fp/gesf2.c (__gesf2): Likewise.
26457 * soft-fp/getf2.c (__getf2): Likewise.
26458 * soft-fp/ledf2.c (__ledf2): Likewise.
26459 * soft-fp/lesf2.c (__lesf2): Likewise.
26460 * soft-fp/letf2.c (__letf2): Likewise.
26462 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26463 * soft-fp/eqsf2.c (__eqsf2): Likewise.
26464 * soft-fp/eqtf2.c (__eqtf2): Likewise.
26465 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26466 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26467 * soft-fp/fixdfti.c (__fixdfti): Likewise.
26468 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26469 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26470 * soft-fp/fixsfti.c (__fixsfti): Likewise.
26471 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26472 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26473 * soft-fp/fixtfti.c (__fixtfti): Likewise.
26474 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26475 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26476 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26477 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26478 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26479 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26480 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26481 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26482 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26483 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26484 * soft-fp/floatdisf.c (__floatdisf): Likewise.
26485 * soft-fp/floatsisf.c (__floatsisf): Likewise.
26486 * soft-fp/floattidf.c (__floattidf): Likewise.
26487 * soft-fp/floattisf.c (__floattisf): Likewise.
26488 * soft-fp/floattitf.c (__floattitf): Likewise.
26489 * soft-fp/floatundidf.c (__floatundidf): Likewise.
26490 * soft-fp/floatundisf.c (__floatundisf): Likewise.
26491 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26492 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26493 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26494 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26495 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26496 * soft-fp/gesf2.c (__gesf2): Likewise.
26497 * soft-fp/getf2.c (__getf2): Likewise.
26498 * soft-fp/ledf2.c (__ledf2): Likewise.
26499 * soft-fp/lesf2.c (__lesf2): Likewise.
26500 * soft-fp/letf2.c (__letf2): Likewise.
26502 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26503 Undefine and redefine.
26504 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26505 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26506 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26507 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26508 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26509 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26510 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26511 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26512 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26513 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26514 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26515 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26516 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26517 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26518 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26521 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26522 without decrementing exponent if mantissa >= that for the
26523 denominator, not >.
26524 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26525 denominator, not >. Decrement exponent in < case instead of
26526 incrementing in >= case.
26527 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26528 without decrementing exponent if mantissa >= that for the
26529 denominator, not >.
26531 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26532 computing saturated result for unsigned overflow.
26534 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26535 Jeff Law <law@redhat.com>
26537 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26538 (atan2Mp): Add systemtap probe marker.
26539 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26540 (__ieee754_log): Add systemtap probe marker.
26541 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26542 (atanMp): Add systemtap probe marker.
26543 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26544 (tanMp): Add systemtap probe marker.
26545 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26546 (__slowexp): Add systemtap probe marker.
26547 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26548 (__slowpow): Add systemtap probe marker.
26549 * manual/probes.texi: Document probes.
26551 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
26554 * libio/fileops.c (_IO_new_file_write): Return count of bytes
26556 (_IO_new_file_xsputn): Don't return EOF if nothing has been
26558 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26559 written to buffer but not flushed.
26560 * libio/iofwrite_u.c: Likewise.
26561 * libio/iopadn.c: Return bytes returned even if EOF was
26563 * libio/iowpadn.c: Likewise.
26564 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26565 if _IO_padn does not write the whole buffer.
26566 [!COMPILE_WPRINTF] (PAD): Likewise.
26568 2013-10-10 David S. Miller <davem@davemloft.net>
26570 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26573 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26575 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
26576 instead of FSF address.
26577 * soft-fp/fixdfti.c: Likewise.
26578 * soft-fp/fixsfti.c: Likewise.
26579 * soft-fp/fixtfti.c: Likewise.
26580 * soft-fp/fixunsdfti.c: Likewise.
26581 * soft-fp/fixunssfti.c: Likewise.
26582 * soft-fp/fixunstfti.c: Likewise.
26583 * soft-fp/floattidf.c: Likewise.
26584 * soft-fp/floattisf.c: Likewise.
26585 * soft-fp/floattitf.c: Likewise.
26586 * soft-fp/floatuntidf.c: Likewise.
26587 * soft-fp/floatuntisf.c: Likewise.
26588 * soft-fp/floatuntitf.c: Likewise.
26589 * soft-fp/trunctfxf2.c: Likewise.
26591 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
26592 * soft-fp/fixdfti.c: Likewise.
26593 * soft-fp/fixsfti.c: Likewise.
26594 * soft-fp/fixtfti.c: Likewise.
26595 * soft-fp/fixunsdfti.c: Likewise.
26596 * soft-fp/fixunssfti.c: Likewise.
26597 * soft-fp/fixunstfti.c: Likewise.
26598 * soft-fp/floattidf.c: Likewise.
26599 * soft-fp/floattisf.c: Likewise.
26600 * soft-fp/floattitf.c: Likewise.
26601 * soft-fp/floatuntidf.c: Likewise.
26602 * soft-fp/floatuntisf.c: Likewise.
26603 * soft-fp/floatuntitf.c: Likewise.
26604 * soft-fp/trunctfxf2.c: Likewise.
26606 2013-10-10 David S. Miller <davem@davemloft.net>
26608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26610 2013-10-10 Joseph Myers <joseph@codsourcery.com>
26612 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26613 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26614 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26615 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26616 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26617 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26618 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26620 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26621 for NaNs before doing comparisons on argument.
26622 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26625 2013-10-10 Will Newton <will.newton@linaro.org>
26627 * malloc/hooks.c (memalign_check): Ensure the value of bytes
26628 passed to _int_memalign does not overflow.
26630 2013-10-10 Torvald Riegel <triegel@redhat.com>
26632 * scripts/bench.pl: Add include-sources directive.
26633 * benchtests/README: Update documentation.
26635 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26637 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26638 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26639 instead of FP_INIT_ROUNDMODE.
26640 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26641 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26644 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
26645 copy class of input value.
26646 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
26647 not handle exceptions.
26648 * soft-fp/negsf2.c (__negsf2): Likewise.
26649 * soft-fp/negtf2.c (__negtf2): Likewise.
26650 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26652 2013-10-09 Joseph Myers <joseph@codesourcery.com>
26654 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26655 semicolon. From Linux kernel.
26657 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
26659 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26661 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
26664 * manual/socket.texi: Added statement about buffer
26665 for gethostbyname2_r.
26667 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
26669 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26670 Use .p2align directive instead, throughout.
26671 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26672 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26673 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26674 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26675 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26676 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26677 * sysdeps/x86_64/strchr.S: Likewise.
26678 * sysdeps/x86_64/strrchr.S: Likewise.
26680 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26682 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26684 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26686 * sysdeps/generic/math_private.h (__mpsin1): Remove
26688 (__mpcos1): Likewise.
26689 (__mpsin): New argument __range_reduce.
26690 (__mpcos): Likewise.
26691 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26692 (slow): Use __mpsin and __mpcos.
26696 (sloww1): Likewise.
26697 (sloww2): Likewise.
26698 (bsloww): Likewise.
26699 (bsloww1): Likewise.
26700 (bsloww2): Likewise.
26701 (cslow2): Likewise.
26702 (csloww): Likewise.
26703 (csloww1): Likewise.
26704 (csloww2): Likewise.
26705 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26706 range_reduce. Merge in __mpsin1.
26707 (__mpcos): Likewise.
26708 (__mpsin1): Remove.
26709 (__mpcos1): Likewise.
26711 2013-10-07 Joseph Myers <joseph@codesourcery.com>
26713 * locale/loadlocale.c (_nl_intern_locale_data): Use
26715 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26716 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26717 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26718 obstack data is appropriately aligned.
26719 (obstack_int32_grow_fast): Likewise.
26720 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26721 * locale/programs/locfile.c (add_locale_uint32): Likewise.
26722 (add_locale_uint32_array): Likewise.
26724 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26726 * benchtests/Makefile: Remove ARGLIST and RET variables.
26727 ($(objpfx)bench-%.c): Pass only function name to the script.
26728 * benchtests/README: Update documentation.
26729 * benchtests/acos-inputs: Add new directives.
26730 * benchtests/acosh-inputs: Likewise.
26731 * benchtests/asin-inputs: Likewise.
26732 * benchtests/asinh-inputs: Likewise.
26733 * benchtests/atan-inputs: Likewise.
26734 * benchtests/atanh-inputs: Likewise.
26735 * benchtests/cos-inputs: Likewise.
26736 * benchtests/cosh-inputs: Likewise.
26737 * benchtests/exp-inputs: Likewise.
26738 * benchtests/log-inputs: Likewise.
26739 * benchtests/pow-inputs: Likewise.
26740 * benchtests/rint-inputs: Likewise.
26741 * benchtests/sin-inputs: Likewise.
26742 * benchtests/sinh-inputs: Likewise.
26743 * benchtests/tan-inputs: Likewise.
26744 * benchtests/tanh-inputs: Likewise.
26745 * scripts/bench.pl: Add support for new directives.
26747 2013-10-07 Alan Modra <amodra@gmail.com>
26749 * README: Fix careless merge.
26751 2013-10-05 Alan Modra <amodra@gmail.com>
26753 * NEWS: Mention powerpc64le support and bugs fixed.
26754 * README: Both big-endian and little-endian powerpc64 supported.
26756 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26758 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26759 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26760 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26761 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26763 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
26765 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26768 2013-10-04 Joseph Myers <joseph@codesourcery.com>
26770 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26771 Move -mhard-float appending from
26772 ports/sysdeps/powerpc/powerpc32/Makefile.
26773 [$(with-fp) = yes] (ASFLAGS): Likewise.
26774 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26775 * sysdeps/powerpc/nofpu: Move directory from
26776 ports/sysdeps/powerpc/nofpu.
26777 * sysdeps/powerpc/soft-fp: Move directory from
26778 ports/sysdeps/powerpc/soft-fp.
26779 * sysdeps/powerpc/powerpc32/405: Move directory from
26780 ports/sysdeps/powerpc/powerpc32/405.
26781 * sysdeps/powerpc/powerpc32/440: Move directory from
26782 ports/sysdeps/powerpc/powerpc32/440.
26783 * sysdeps/powerpc/powerpc32/464: Move directory from
26784 ports/sysdeps/powerpc/powerpc32/464.
26785 * sysdeps/powerpc/powerpc32/476: Move directory from
26786 ports/sysdeps/powerpc/powerpc32/476.
26787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26788 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26790 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26792 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26794 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26796 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26797 * README: Update for powerpc-*-linux-gnu software floating point
26800 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26801 case to powerpc/powerpc32*.
26802 * sysdeps/unix/sysv/linux/configure: Regenerated.
26804 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26805 (_FPU_MASK_OM): Define as 0x04.
26806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26814 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26817 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26820 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26821 and setcontext_e500.
26823 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
26825 * locale/iso-3166.def: Update iso-1366.def and related occurrences
26827 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26829 * manual/threads.texi (Default Thread Attributes): Fix typo.
26831 2013-10-04 Will Newton <will.newton@linaro.org>
26833 * malloc/Makefile: Add tst-memalign.
26834 * malloc/tst-memalign.c: New file.
26836 * malloc/tst-posix_memalign.c: Add comments.
26837 (do_test): Add comments and call free on all potentially
26838 allocated pointers. Add space after cast.
26840 * malloc/tst-pvalloc.c: Add comments.
26841 (do_test): Add comments and call free on all potentially
26842 allocated pointers. Remove duplicate check for NULL pointer.
26843 Add space after cast.
26845 * malloc/tst-valloc.c: Add comments.
26846 (do_test): Add comments and call free on all potentially
26847 allocated pointers. Remove duplicate check for NULL pointer.
26848 Add space after cast.
26850 2013-10-04 Alan Modra <amodra@gmail.com>
26852 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26853 Use stdint types in rather than __attribute__((mode())).
26854 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26856 2013-10-04 Alan Modra <amodra@gmail.com>
26858 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26859 Correct handling of unaligned relocs for little-endian.
26860 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26862 2013-10-04 Alan Modra <amodra@gmail.com>
26864 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26865 * configure: Regenerate.
26866 * nptl/shlib-versions: Powerpc*le starts at 2.18.
26867 * shlib-versions: Likewise.
26869 2013-10-04 Alan Modra <amodra@gmail.com>
26871 * string/tester.c (test_memrchr): Increment reported test cycle.
26873 2013-10-04 Alan Modra <amodra@gmail.com>
26875 * string/test-memcpy.c (do_one_test): When reporting errors, print
26876 string address and don't overrun end of string.
26878 2013-10-04 Alan Modra <amodra@gmail.com>
26880 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26881 insrdi. Make better use of reg selection to speed exit slightly.
26882 Schedule entry path a little better. Remove useless "are we done"
26883 checks on entry to main loop. Handle wrapping around zero address.
26884 Correct main loop count. Handle single left-over word from main
26885 loop inline rather than by using loop_small. Remove extra word
26886 case in loop_small caused by wrong loop count. Add little-endian
26888 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26889 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
26891 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26892 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26893 support. Avoid rlwimi.
26894 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26896 2013-10-04 Alan Modra <amodra@gmail.com>
26898 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26899 insrdi. Formatting.
26900 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26901 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26902 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26903 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26904 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26905 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26907 2013-10-04 Alan Modra <amodra@gmail.com>
26909 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26910 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26911 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26912 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26913 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26914 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26915 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26916 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26917 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
26918 use of regs. Use power7 mtocrf. Tidy function tails.
26920 2013-10-04 Alan Modra <amodra@gmail.com>
26922 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26923 Formatting. Consistently use rXXX register defines or rN defines.
26924 Use early exit labels that avoid restoring unused non-volatile regs.
26925 Make cr field use more consistent with rWORDn compares. Rename
26926 regs used as shift registers for unaligned loop, using rN defines
26927 for short lifetime/multiple use regs.
26928 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26929 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
26930 addi 1,1,64 to pop stack frame. Simplify return value code.
26931 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26933 2013-10-04 Alan Modra <amodra@gmail.com>
26935 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26936 support. Correct typos, formatting. Optimize tail. Use insrdi
26937 rather than rlwimi.
26938 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26939 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26940 little-endian support. Correct typos.
26941 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
26942 rather than rlwimi.
26943 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
26944 in loop and entry code to keep "and." results.
26945 (strchr): Add little-endian support. Comment. Move cntlzd
26947 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26949 2013-10-04 Alan Modra <amodra@gmail.com>
26951 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26952 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26953 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26954 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26956 2013-10-04 Alan Modra <amodra@gmail.com>
26958 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26959 (rTMP): Define as r11.
26960 (strcmp): Add little-endian support. Optimise tail.
26961 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26962 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26963 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26964 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26965 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26966 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26967 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26969 2013-10-04 Alan Modra <amodra@gmail.com>
26971 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26972 little-endian support. Remove unnecessary "are we done" tests.
26973 Handle "s" wrapping around zero and extremely large "size".
26974 Correct main loop count. Handle single left-over word from main
26975 loop inline rather than by using small_loop. Correct comments.
26976 Delete "zero" tail, use "end_max" instead.
26977 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26979 2013-10-04 Alan Modra <amodra@gmail.com>
26981 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26982 support. Don't branch over align.
26983 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26984 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26985 support. Rearrange tmp reg use to suit. Comment.
26986 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26988 2013-10-04 Alan Modra <amodra@gmail.com>
26990 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26992 2013-10-04 Alan Modra <amodra@gmail.com>
26994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26995 conditional form of branch and link when obtaining pc.
26996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26998 2013-10-04 Alan Modra <amodra@gmail.com>
27000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27005 2013-10-04 Alan Modra <amodra@gmail.com>
27007 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27008 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27009 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27010 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27011 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27012 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27013 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27014 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27015 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27016 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27018 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27019 Alistair Popple <alistair@ozlabs.au.ibm.com>
27020 Alan Modra <amodra@gmail.com>
27023 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27024 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27025 _dl_hwcap access for little-endian.
27026 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
27027 destroy vmx regs when saving unaligned.
27028 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27029 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
27030 destroy vmx regs when saving unaligned.
27032 2013-10-04 Alan Modra <amodra@gmail.com>
27034 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27035 Don't use a union to pack hi/low value.
27037 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27039 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27041 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27042 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27043 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27044 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27045 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27047 2013-10-04 Alan Modra <amodra@gmail.com>
27049 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27050 constants to usual value for .cst8 section, and remove redundant
27052 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27053 constant for 0x1p52. Load little-endian words of double from
27054 correct stack offsets.
27056 2013-10-04 Alan Modra <amodra@gmail.com>
27058 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27059 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27060 words of double from correct stack offsets.
27061 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27062 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27063 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27064 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27065 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27066 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27067 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27068 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27069 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27070 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27071 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27072 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27073 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27074 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27075 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27076 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27077 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27079 2013-10-04 Alan Modra <amodra@gmail.com>
27081 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27082 64-bit int/double union.
27083 (_FPU_SETCW): Likewise.
27084 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27085 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27087 2013-10-04 Alan Modra <amodra@gmail.com>
27089 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27090 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27092 2013-10-04 Alan Modra <amodra@gmail.com>
27094 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27095 use vector int constants.
27096 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27098 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27100 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27101 array with long long.
27102 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27103 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27104 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27105 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27106 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27107 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27108 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27109 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27110 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27111 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27112 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27113 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27114 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27116 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27118 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27119 (__signbit): Likewise. Correct for little-endian.
27120 (__signbitl): Call __signbit.
27121 (lrint): Correct for little-endian.
27122 (lrintf): Call lrint.
27124 2013-10-04 Alan Modra <amodra@gmail.com>
27126 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27127 union 32-bit int array member with 64-bit int array.
27128 (t515, tm256): Double rather than long double.
27129 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27131 2013-10-04 Alan Modra <amodra@gmail.com>
27133 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27135 (IEEE854_LONG_DOUBLE_BIAS): Delete.
27136 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27137 version of math_ldbl.h.
27139 2013-10-04 Alan Modra <amodra@gmail.com>
27141 [BZ #15734], [BZ #15735]
27142 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27143 all uses of ieee875 long double macros and unions. Simplify test
27144 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
27145 ldbl_extract_mantissa value for ix,iy exponents. Properly
27146 normalize after ldbl_extract_mantissa, and don't add hidden bit
27147 already handled. Don't treat low word of ieee854 mantissa like
27148 low word of IBM long double and mask off bit when testing for
27150 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27151 all uses of ieee875 long double macros and unions. Simplify tests
27152 for 0.0L and inf. Correct double adjustment of k. Delete dead code
27153 adjusting ha,hb. Simplify code setting kld. Delete two600 and
27154 two1022, instead use their values. Recognise that tests for large
27155 "a" and small "b" are mutually exclusive. Rename vars. Comment.
27156 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27157 Rewrite all uses of ieee875 long double macros and unions. Simplify
27158 test for 0.0L and nan. Correct negation.
27159 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27160 ieee875 long double macros and unions. Correct output for large
27161 magnitude x. Correct absolute value calculation.
27162 (__erfcl): Likewise.
27163 * math/libm-test.inc: Add tests for errors discovered in IBM long
27164 double versions of fmodl, remainderl, erfl and erfcl.
27166 2013-10-04 Alan Modra <amodra@gmail.com>
27168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27169 all uses of ieee854 long double macros and unions. Simplify tests
27170 for long doubles that are fully specified by the high double.
27171 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27173 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27174 Remove dead code too.
27175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27176 (__ieee754_ynl): Likewise.
27177 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27178 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27179 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27180 Remove dead code too.
27181 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27182 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27183 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27184 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27186 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27188 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27189 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27190 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27191 Comment on variable precision.
27192 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27193 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27195 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27196 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27197 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27198 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27199 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27201 2013-10-04 Alan Modra <amodra@gmail.com>
27203 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27204 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27205 all uses of ieee854 long double macros and unions.
27206 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27207 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27208 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27209 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27210 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27211 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27213 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27214 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27215 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27216 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27217 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27218 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27219 Simplify sign and nan test too.
27220 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27221 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27222 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27223 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27225 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27226 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27229 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27230 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27231 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27232 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27233 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27235 2013-10-04 Alan Modra <amodra@gmail.com>
27237 * stdio-common/printf_size.c (__printf_size): Don't use
27238 union ieee854_long_double in fpnum union.
27239 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
27240 signbit macro to retrieve sign from long double.
27241 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27242 retrieve sign from long double.
27243 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27244 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27245 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27246 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27247 * math/test-misc.c (main): Don't use union ieee854_long_double.
27249 2013-10-04 Alan Modra <amodra@gmail.com>
27252 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27253 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27254 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27255 calculation. Remove unnecessary test for denormal exponent.
27256 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27257 Correct handling of denormals. Avoid undefined shift behaviour.
27258 Correct normalisation of low mantissa when low double is denormal.
27259 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27260 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
27261 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27262 Correct normalisation of low mantissa. Test for overflow of high
27263 mantissa and normalise.
27264 (ldbl_nearbyint): Use more readable constant for two52.
27265 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27266 (__mpn_construct_long_double): Fix test for overflow of high
27267 mantissa and correct normalisation. Avoid undefined shift.
27269 2013-10-04 Alan Modra <amodra@gmail.com>
27271 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27272 (union ibm_extended_long_double): Define as an array of ieee754_double.
27273 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27274 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27275 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27276 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27277 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27278 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27279 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27280 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27281 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27282 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27283 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27285 2013-10-03 Joseph Myers <joseph@codesourcery.com>
27287 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27288 page size instead of calling getpagesize.
27290 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27291 (LOCFILE_ALIGN_MASK): Likewise.
27292 (LOCFILE_ALIGN_UP): Likewise.
27293 (LOCFILE_ALIGNED_P): Likewise.
27294 * locale/programs/ld-collate.c (collate_output): Use the new
27295 macros instead of __alignof__ (int32_t).
27296 * locale/weight.h (findidx): Likewise.
27298 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
27301 * manual/string.texi: Fix strncat and wcsncat.
27303 2013-10-03 Brooks Moses <bmoses@google.com>
27306 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27307 * Makerules: ...here, and adjust associated comments.
27309 2013-10-02 Will Newton <will.newton@linaro.org>
27311 * malloc/Makefile: Add tst-pvalloc.
27312 * malloc/tst-pvalloc.c: New file.
27314 2013-10-02 Will Newton <will.newton@linaro.org>
27316 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27317 improve test coverage.
27319 2013-10-02 Will Newton <will.newton@linaro.org>
27321 * malloc/Makefile: Add tst-posix_memalign.
27322 * malloc/tst-posix_memalign.c: New file.
27324 2013-10-01 Eric Blake <eblake@redhat.com>
27326 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27327 Use __THROWNL rather than __THROW on static functions.
27329 2013-09-30 Petr Machata <pmachata@redhat.com>
27331 * elf/elf.h (R_AARCH64_ABS16): New macro.
27332 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27333 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27334 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27335 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27336 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27337 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27338 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27339 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27340 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27341 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27342 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27343 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27344 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27345 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27346 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27347 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27348 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27349 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27350 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27351 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27352 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27353 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27354 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27355 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27356 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27357 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27358 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27359 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27360 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27361 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27362 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27363 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27364 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27365 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27366 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27367 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27368 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27369 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27370 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27371 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27372 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27373 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27374 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27375 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27376 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27377 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27378 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27379 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27380 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27381 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27382 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27383 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27384 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27385 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27386 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27387 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27388 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27389 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27390 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27391 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27392 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27393 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27394 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27395 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27396 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27397 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27398 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27399 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27400 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27401 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27402 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27403 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27404 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27405 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27406 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27407 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27408 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27409 (R_AARCH64_TLSDESC_LDR): Likewise.
27410 (R_AARCH64_TLSDESC_ADD): Likewise.
27411 (R_AARCH64_TLSDESC_CALL): Likewise.
27413 2013-09-30 Andreas Schwab <schwab@suse.de>
27416 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27417 the nss database lookup.
27418 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27421 2013-09-28 Mike Frysinger <vapier@gentoo.org>
27423 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27425 2013-09-28 P. J. McDermott <pj@pehjota.net>
27427 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27428 ${Bash-specific parameter/pattern/string} parameter expansion.
27429 * sysdeps/unix/make-syscalls.sh: Likewise.
27431 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27433 * sysdeps/sh/stackguard-macros.h: New file.
27435 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
27437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27438 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27439 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27440 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27441 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27442 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27444 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27446 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27447 Fix thread ID register.
27449 2013-09-25 Joseph Myers <joseph@codesourcery.com>
27451 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27452 [POSIX || UNIX98]: Require rather than permitting all symbols from
27454 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27455 element of struct sched_param.
27456 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27457 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27458 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27459 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27462 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
27464 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27465 argument calculation.
27467 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27469 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27471 [POSIX] (pthread_attr_t): Do not require type.
27472 [POSIX] (pthread_cond_t): Likewise.
27473 [POSIX] (pthread_condattr_t): Likewise.
27474 [POSIX] (pthread_key_t): Likewise.
27475 [POSIX] (pthread_mutex_t): Likewise.
27476 [POSIX] (pthread_mutexattr_t): Likewise.
27477 [POSIX] (pthread_once_t): Likewise.
27478 [POSIX] (pthread_t): Likewise.
27479 [POSIX-based standards] (pthread_atfork): Expect function.
27481 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27482 Richard Sandiford <richard@codesourcery.com>
27484 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27485 (swap_endianness_p): New extern variable.
27486 (set_big_endian): New inline function.
27487 (maybe_swap_uint32): Likewise.
27488 (maybe_swap_uint32_array): Likewise.
27489 (maybe_swap_uint32_obstack): Likewise.
27490 * locale/programs/locfile.c: Include <stdbool.h>.
27491 (swap_endianness_p): New variable.
27492 (add_locale_uint32): Call maybe_swap_uint32.
27493 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27494 (write_locale_data): Call maybe_swap_uint32_array.
27495 * locale/programs/ld-collate.c (obstack_int32_grow): Call
27497 (obstack_int32_grow_fast): Likewise.
27498 (output_weightwc): Call maybe_swap_uint32_obstack.
27499 (collate_output): Likewise.
27500 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27501 (OPT_LITTLE_ENDIAN): Likewise.
27502 (options): Add --little-endian and --big-endian options.
27503 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27504 * locale/programs/locarchive.c: Include "locfile.h".
27508 (create_archive): Use the new macros to access fields of
27509 structures directly mapped from or written to locale archives.
27510 (oldlocrecentcmp): Likewise.
27511 (enlarge_archive): Likewise.
27512 (insert_name): Likewise.
27513 (add_alias): Likewise.
27514 (add_locale): Likewise.
27515 (delete_locales_from_archive): Likewise.
27516 (show_archive_content): Likewise.
27517 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
27520 2013-09-24 Roland McGrath <roland@hack.frob.com>
27522 * manual/freemanuals.texi: Updated from (newly) canonical copy at
27523 http://www.gnu.org/doc/freemanuals.texi.
27524 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27526 2013-09-24 Will Newton <will.newton@linaro.org>
27528 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27531 2013-09-23 Joseph Myers <joseph@codesourcery.com>
27533 * locale/hashval.h (compute_hashval): Interpret bytes of key as
27536 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
27538 * manual/threads.texi (POSIX Threads): Fix a typo.
27540 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27543 * string/tst-strcoll-overflow.c: New test case.
27544 * string/Makefile (xtests): Add tst-strcoll-overflow.
27545 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27546 cache if string sizes may cause integer overflow.
27549 * string/strcoll_l.c (coll_seq): New members rule, idx,
27550 save_idx and back_us.
27551 (get_next_seq_nocache): New function.
27552 (do_compare_nocache): New function.
27553 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27556 2013-09-23 Carlos O'Donell <carlos@redhat.com>
27559 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27560 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27561 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27564 * elf/Makefile (tests): Add tst-ptrguard1.
27565 (tests-static): Add tst-ptrguard1-static.
27566 (tst-ptrguard1-ARGS): Define.
27567 (tst-ptrguard1-static-ARGS): Define.
27568 * elf/tst-ptrguard1.c: New file.
27569 * elf/tst-ptrguard1-static.c: New file.
27570 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27571 * sysdeps/i386/stackguard-macros.h: Likewise.
27572 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27573 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27574 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27575 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27576 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27577 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27579 2013-09-23 Hector Marco <hecmargi@upv.es>
27580 Ismael Ripoll <iripoll@disca.upv.es>
27581 Carlos O'Donell <carlos@redhat.com>
27584 * sysdeps/generic/stackguard-macros.h: Define
27585 __pointer_chk_guard_local and POINTER_CHK_GUARD.
27586 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27587 Define __pointer_chk_guard_local.
27588 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27589 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27591 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
27594 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27596 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
27598 * include/string.h (__ffs): Declare as hidden.
27599 * string/ffs.c (__ffs): Define as hidden.
27600 * sysdeps/i386/ffs.c (__ffs): Likewise.
27601 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27602 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27603 * sysdeps/s390/ffs.c (__ffs): Likewise.
27604 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27606 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
27608 * NEWS: Mention malloc probes.
27610 * malloc/arena.c (new_heap): New memory_heap_new probe.
27611 (grow_heap): New memory_heap_more probe.
27612 (shrink_heap): New memory_heap_less probe.
27613 (heap_trim): New memory_heap_free probe.
27614 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27615 (systrim): New memory_sbrk_less probe.
27616 * manual/probes.texi: Document them.
27618 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27619 * manual/probes.texi: Document it.
27621 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27622 (__libc_realloc): Add memory_realloc_retry probe.
27623 (__libc_memalign): Add memory_memalign_retry probe.
27624 (__libc_valloc): Add memory_valloc_retry probe.
27625 (__libc_pvalloc): Add memory_pvalloc_retry probe.
27626 (__libc_calloc): Add memory_calloc_retry probe.
27627 * manual/probes.texi: Document them.
27629 * malloc/arena.c (get_free_list): Add probe
27630 memory_arena_reuse_free_list.
27631 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27632 and memory_arena_reuse.
27633 (arena_get2) [!PER_THREAD]: Likewise.
27634 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27635 memory_arena_reuse_realloc.
27636 * manual/probes.texi: Document them.
27638 * malloc/malloc.c (__libc_free): Add
27639 memory_mallopt_free_dyn_thresholds probe.
27640 (__libc_mallopt): Add multiple memory_mallopt probes.
27641 * manual/probes.texi: Document them.
27643 * malloc/malloc.c: Include stap-probe.h.
27644 (__libc_mallopt): Add memory_mallopt probe.
27645 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27646 * manual/probes.texi: New.
27647 * manual/Makefile (chapters): Add probes.
27648 * manual/threads.texi: Set next node.
27650 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
27652 [BZ #15963, #13985]
27653 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27654 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27655 Add `Chinese' to `nan' entry name.
27657 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27659 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27660 (POLYNOMIAL): Likewise.
27661 (TAYLOR_SINCOS): Likewise.
27662 (TAYLOR_SLOW): Likewise.
27663 (__sin): Use TAYLOR_SINCOS.
27665 (slow): Use TAYLOR_SLOW.
27667 (bsloww): Likewise.
27668 (csloww): Likewise.
27670 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27672 * stdlib/strtod_l.c: Fix buffer overrun.
27674 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27676 * benchtests/Makefile (bench): Add sincos.
27677 * benchtests/bench-sincos.c: New file.
27679 * math/libm-test.inc (cos_test_data): New test inputs.
27680 (sin_test_data): Likewise.
27682 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27688 (sloww1): Likewise.
27689 (sloww2): Likewise.
27690 (bsloww1): Likewise.
27691 (bsloww2): Likewise.
27692 (cslow2): Likewise.
27693 (csloww1): Likewise.
27694 (csloww2): Likewise.
27696 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27701 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27705 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
27707 * config.h.in (HAVE_MIPS_NAN2008): New macro.
27708 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27709 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27710 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27711 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27712 * elf/cache.c (print_entry): Handle the new cache flags.
27714 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27715 Aldy Hernandez <aldyh@redhat.com>
27717 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27718 Change condition to [_SOFT_FLOAT].
27719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27731 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27734 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27737 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27739 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27740 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27741 (__longjmp): Use LOAD_GP to load saved GPRs.
27742 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27743 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27744 (__sigsetjmp): Use SAVE_GP to save GPRs.
27746 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27747 Do not append -msoft-float.
27748 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27750 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27752 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27754 2013-09-17 Joseph Myers <joseph@codesourcery.com>
27757 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27758 (_FPU_GETCW): Use initial "__" on variable and field names but not
27759 on macro parameter name.
27760 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
27761 parentheses around reference to macro parameter.
27763 2013-09-13 Richard Sandiford <richard@codesourcery.com>
27765 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27767 (ctype_startup): Use uint32_t in cast and sizeof for
27770 2013-09-11 Jia Liu <proljc@gmail.com>
27772 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27774 [__FreeBSD__]: Likewise.
27776 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
27778 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27779 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27780 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27781 (strchr): Remove __strchr_sse42 ifunc selection.
27782 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27783 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27785 2013-09-11 Will Newton <will.newton@linaro.org>
27787 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27788 parameter to RES. Remove hardcoded 1000 value.
27789 * benchtests/bench-skeleton.c (main): Pass RES parameter
27790 to TIMING_INIT and multiply result by 1000.
27792 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27796 2013-09-11 Andreas Schwab <schwab@suse.de>
27798 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27800 (O_TMPFILE) [__USE_GNU]: Define.
27801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27804 2013-09-11 Will Newton <will.newton@linaro.org>
27807 * malloc/malloc.c (__libc_memalign): Check the value of bytes
27810 2013-09-11 Will Newton <will.newton@linaro.org>
27813 * malloc/malloc.c (__libc_valloc): Check the value of bytes
27816 2013-09-11 Will Newton <will.newton@linaro.org>
27819 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27822 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
27824 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27825 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27826 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27827 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27828 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27830 2013-09-10 Allan McRae <allan@archlinux.org>
27833 * manual/arith.texi (Parsing of Floats): Clarify
27837 * manual/install.texi (Running make install): Mention
27839 * INSTALL: Regenerated.
27841 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
27843 * csu/init-first.c (_init): Remove the !SHARED condition around
27844 FPU control word initialization.
27845 * elf/dl-support.c (_dl_fpu_control): New variable.
27846 (_dl_aux_init) <AT_FPUCW>: Initialize it.
27847 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27848 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27849 * math/test-fpucw-static.c: New file.
27850 * math/test-fpucw-ieee.c: New file.
27851 * math/test-fpucw-ieee-static.c: New file.
27852 * math/Makefile (tests): Add `test-fpucw-ieee' and
27854 (tests-static): New variable.
27855 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27857 [($(build-shared),yes)]
27858 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27860 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27863 2013-09-09 Allan McRae <allan@archlinux.org>
27866 * manual/string.texi (Collation Functions): Fix typo in
27868 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27871 * stdlib/isomac.c (get_null_defines): Fix memory leak.
27874 * libio/memstream.c (open_memstream): Fix memory leak.
27875 * libio/wmemstream.c (open_wmemstream): Likewise.
27878 * nscd/netgroupcache.c: Fix nesting of ifdefs.
27880 2013-09-09 Will Newton <will.newton@linaro.org>
27882 * malloc/Makefile: Add tst-realloc to tests.
27883 * malloc/tst-realloc.c: New file.
27885 2013-09-09 Allan McRae <allan@archlinux.org>
27888 * COPYING: Update from GNU website to fix FSF address.
27889 * COPYING.LIB: Likewise.
27891 2013-09-06 David S. Miller <davem@davemloft.net>
27893 * po/zh_TW.po: Update Chinese (traditional) translation from
27894 translation project.
27896 2013-09-06 Richard Sandiford <richard@codesourcery.com>
27897 Joseph Myers <joseph@codesourcery.com>
27899 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27901 (obstack_chunk_alloc): New macro.
27902 (obstack_chunk_free): Likewise.
27903 (record_offset): New function.
27904 (init_locale_data): Likewise.
27905 (align_locale_data): Likewise.
27906 (add_locale_empty): Likewise.
27907 (add_locale_raw_data): Likewise.
27908 (add_locale_raw_obstack): Likewise.
27909 (add_locale_string): Likewise.
27910 (add_locale_wstring): Likewise.
27911 (add_locale_uint32): Likewise.
27912 (add_locale_uint32_array): Likewise.
27913 (add_locale_char): Likewise.
27914 (start_locale_structure): Likewise.
27915 (end_locale_structure): Likewise.
27916 (start_locale_prelude): Likewise.
27917 (end_locale_prelude): Likewise.
27918 (write_locale_data): Take locale_file structure rather than an
27920 * locale/programs/locfile.h: Include "obstack.h".
27921 (struct locale_file): Change to store locale file contents instead
27923 (init_locale_data): New prototype.
27924 (align_locale_data): Likewise.
27925 (add_locale_empty): Likewise.
27926 (add_locale_raw_data): Likewise.
27927 (add_locale_raw_obstack): Likewise.
27928 (add_locale_string): Likewise.
27929 (add_locale_wstring): Likewise.
27930 (add_locale_uint32): Likewise.
27931 (add_locale_uint32_array): Likewise.
27932 (add_locale_char): Likewise.
27933 (start_locale_structure): Likewise.
27934 (end_locale_structure): Likewise.
27935 (start_locale_prelude): Likewise.
27936 (end_locale_prelude): Likewise.
27937 (write_locale_data): Update prototype.
27938 * locale/programs/3level.h (struct TABLE): Remove result field.
27939 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27940 Use new locale_file interface.
27941 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27942 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27943 * locale/programs/ld-address.c (address_output): Use new
27944 locale_file interface.
27945 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27947 (collate_finish): Don't call collseq_table_finalize.
27948 (collate_output): Use new locale_file interface.
27949 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27951 (NO_FINALIZE): Change to NO_ADD_LOCALE.
27952 (TABLE): Move defines earlier in file.
27953 (ELEMENT): Likewise.
27954 (DEFAULT): Likewise.
27955 (wctrans_table_add): Move macro and inline function earlier in
27957 (struct wctype_table): Move type earlier in file.
27958 (add_locale_wctype_table): New static prototype.
27959 (struct locale_ctype_t): Use logical types instead of struct iovec
27960 pointers for members.
27961 (ctype_output): Use new locale_file interface.
27962 (wctype_table_finalize): Change to add_locale_wctype_table. Use
27963 new locale_file interface.
27964 (allocate_arrays): Update for use of new locale_file interface.
27965 * locale/programs/ld-identification.c (identification_output): Use
27966 new locale_file interface.
27967 * locale/programs/ld-measurement.c (measurement_output): Likewise.
27968 * locale/programs/ld-messages.c (messages_output): Likewise.
27969 * locale/programs/ld-monetary.c (monetary_output): Likewise.
27970 * locale/programs/ld-name.c (name_output): Likewise.
27971 * locale/programs/ld-numeric.c (numeric_output): Likewise.
27972 * locale/programs/ld-paper.c (paper_output): Likewise.
27973 * locale/programs/ld-telephone.c (telephone_output): Likewise.
27974 * locale/programs/ld-time.c (time_output): Likewise.
27976 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27978 * benchtests/Makefile: Add memrchr benchmark.
27979 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27980 benchmark as memrchr.
27981 * benchtests/bench-memrchr-ifunc.c: New file.
27982 * benchtests/bench-memrchr.c: New file.
27984 2013-09-06 Will Newton <will.newton@linaro.org>
27986 * benchtests/Makefile (string-bench): Add memcpy.
27988 2013-09-05 Carlos O'Donell <carlos@redhat.com>
27989 Cong Wang <amwang@redhat.com>
27992 * sysdeps/unix/sysv/linux/bits/in.h
27993 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27994 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27995 before __USE_KERNEL_IPV6_DEFS uses.
27996 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27998 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27999 sockaddr_in6, or ipv6_mreq.
28001 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28003 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28004 memory access for final bytes in some large inputs.
28005 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28007 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28009 * string/test-memrchr.c: New file.
28010 * string/test-memrchr-ifunc.c: New file.
28011 * string/Makefile: Add new memrchr testcase.
28013 2013-09-05 Mike Frysinger <vapier@gentoo.org>
28015 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28016 fanotify_init returns EPERM.
28018 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28020 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28022 (top level): Treat second token from macro or constant entries for
28023 allowed headers as allowed.
28024 * include/complex.h: Condition internal declarations on
28026 * include/fenv.h: Condition include of <stdbool.h> and internal
28027 declarations on [!_ISOMAC].
28029 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
28032 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28034 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28036 * configure.in (--enable-versioning): Remove configure option.
28037 (libc_cv_asm_symver_directive): Remove configure test.
28038 (libc_cv_ld_version_script_option): Likewise.
28039 (VERSIONING): Remove variable and AC_SUBST.
28040 (DO_VERSIONING): Remove AC_DEFINE.
28041 * configure: Regenerated.
28042 * config.h.in (DO_VERSIONING): Remove macro.
28043 * Makerules [$(versioning) = yes]: Change conditionals to
28044 [$(build-shared) = yes].
28045 * config.make.in (versioning): Remove variable.
28046 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28047 [$(build-shared) = yes].
28048 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28049 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28050 * elf/Makefile [$(versioning) = yes]: Change conditionals to
28051 [$(build-shared) = yes].
28052 * extra-lib.mk [$(versioning) = yes]: Likewise.
28053 * hurd/Makefile [$(versioning) = yes]: Likewise.
28054 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28056 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28058 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28059 [SHARED && !NO_HIDDEN].
28060 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28062 [SHARED && DO_VERSIONING]: Likewise..
28063 * libio/Makefile [$(versioning) = yes]: Change conditionals to
28064 [$(build-shared) = yes].
28065 * manual/install.texi (--disable-versioning): Remove
28067 * INSTALL: Regenerated.
28068 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28070 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28071 [$(build-shared) = yes].
28072 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28073 * sysdeps/i386/i686/multiarch/strstr-c.c
28074 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28075 [SHARED && !NO_HIDDEN].
28076 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28077 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28078 * sysdeps/powerpc/powerpc32/dl-machine.c
28079 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28080 * sysdeps/powerpc/powerpc32/sysdep.h
28081 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28082 to [SHARED && PIC && !NO_HIDDEN].
28083 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28084 conditional to [SHARED].
28086 2013-09-04 Will Newton <will.newton@linaro.org>
28088 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28089 * benchtests/bench-string.h: Include bench-timing.h instead
28090 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28091 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28092 call to HP_TIMING_DIFF_INIT.
28093 * benchtests/bench-memccpy.c: Use bench-timing.h macros
28094 instead of hp-timing.h macros.
28095 * benchtests/bench-memchr.c: Likewise.
28096 * benchtests/bench-memcmp.c: Likewise.
28097 * benchtests/bench-memcpy.c: Likewise.
28098 * benchtests/bench-memmem.c: Likewise.
28099 * benchtests/bench-memmove.c: Likewise.
28100 * benchtests/bench-memset.c: Likewise.
28101 * benchtests/bench-rawmemchr.c: Likewise.
28102 * benchtests/bench-strcasecmp.c: Likewise.
28103 * benchtests/bench-strcasestr.c: Likewise.
28104 * benchtests/bench-strcat.c: Likewise.
28105 * benchtests/bench-strchr.c: Likewise.
28106 * benchtests/bench-strcmp.c: Likewise.
28107 * benchtests/bench-strcpy.c: Likewise.
28108 * benchtests/bench-strcpy_chk.c: Likewise.
28109 * benchtests/bench-strlen.c: Likewise.
28110 * benchtests/bench-strncasecmp.c: Likewise.
28111 * benchtests/bench-strncat.c: Likewise.
28112 * benchtests/bench-strncmp.c: Likewise.
28113 * benchtests/bench-strncpy.c: Likewise.
28114 * benchtests/bench-strnlen.c: Likewise.
28115 * benchtests/bench-strpbrk.c: Likewise.
28116 * benchtests/bench-strrchr.c: Likewise.
28117 * benchtests/bench-strspn.c: Likewise.
28118 * benchtests/bench-strstr.c: Likewise.
28120 2013-09-04 Will Newton <will.newton@linaro.org>
28122 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28124 2013-09-03 Joseph Myers <joseph@codesourcery.com>
28127 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28128 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28129 * math/libm-test.inc (lgamma_test_data): Add more tests.
28130 * sysdeps/i386/fpu/libm-test-ulps: Update.
28131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28133 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
28135 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28136 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28138 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28139 Add strcmp-sse2-unaligned
28140 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28142 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28144 * Versions.def (libc): Add GLIBC_2.19.
28146 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28148 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28149 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28151 2013-09-02 Joseph Myers <joseph@codesourcery.com>
28154 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28155 intermediate calculations in recurrence.
28156 (__ieee754_ynf): Likewise.
28157 * math/libm-test.inc (jn_test_data): Do not allow spurious
28158 underflow exception. Add more tests.
28159 (yn_test_data): Add more tests.
28160 * sysdeps/i386/fpu/libm-test-ulps: Update.
28161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28163 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
28165 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28167 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28169 * csu/init-first.c: Fix then/than typos.
28170 * locale/programs/ld-collate.c: Likewise.
28171 * locale/programs/linereader.h: Likewise.
28172 * manual/charset.texi: Likewise.
28173 * manual/filesys.texi: Likewise.
28174 * manual/stdio.texi: Likewise.
28175 * manual/string.texi: Likewise.
28176 * stdlib/fmtmsg.c: Likewise.
28177 * sysdeps/i386/stpncpy.S: Likewise.
28178 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28179 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28180 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28181 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28183 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28185 * elf/dl-open.c: Fix typos.
28186 * iconvdata/gbbig5.c: Likewise.
28187 * iconvdata/iso-2022-jp.c: Likewise.
28188 * iconv/gconv_int.h: Likewise.
28189 * iconv/loop.c: Likewise.
28190 * nis/rpcsvc/nis.h: Likewise.
28191 * resolv/ns_name.c: Likewise.
28192 * stdio-common/vfscanf.c: Likewise.
28193 * streams/stropts.h: Likewise.
28194 * sunrpc/rpc_thread.c: Likewise.
28195 * sysdeps/i386/strpbrk.S: Likewise.
28196 * sysdeps/ieee754/k_standard.c: Likewise.
28197 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28198 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28199 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28200 * sysdeps/mach/hurd/profil.c: Likewise.
28201 * sysdeps/s390/dl-procinfo.h: Likewise.
28202 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28203 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28204 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28205 * sysdeps/x86_64/dl-trampoline.S: Likewise.
28206 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28208 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28210 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28211 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28213 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28215 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28216 aix specific files.
28217 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28218 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28219 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28220 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28221 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28222 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28223 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28224 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28226 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28227 Roland McGrath <roland@hack.frob.com>
28229 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28230 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28232 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
28234 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28235 __executable_start symbol instead of _start.
28237 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28239 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28240 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28242 * sysdeps/gnu/ldsodefs.h: ... this new file.
28244 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28245 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28246 instead of ELFOSABI_LINUX.
28248 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28249 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28250 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28251 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28253 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28254 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28255 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28257 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28258 (ibm_extended_long_double): Add ieee_nan member.
28259 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28260 (do_test): New function.
28262 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28264 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28265 functions, renamed from truncdfsf_test, trunctfsf_test,
28267 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28269 (do_test): Run all these.
28271 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28273 * argp/argp-help.c: Fix typos.
28274 * argp/argp-parse.c: Likewise.
28275 * debug/backtracesyms.c: Likewise.
28276 * elf/elf.h: Likewise.
28277 * malloc/malloc.c: Likewise.
28278 * nis/nis_print.c: Likewise.
28279 * resolv/res_comp.c: Likewise.
28280 * stdlib/stdlib.h: Likewise.
28281 * sunrpc/clnt_tcp.c: Likewise.
28282 * sunrpc/clnt_udp.c: Likewise.
28283 * sunrpc/clnt_unix.c: Likewise.
28284 * sysdeps/unix/bsd/ptsname.c: Likewise.
28285 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28286 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28293 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28295 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28297 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28300 2013-08-27 Mike Frysinger <vapier@gentoo.org>
28303 * dlfcn/Makefile (tests): Add bug-dl-leaf.
28304 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28305 ($(objpfx)bug-dl-leaf): New rule.
28306 ($(objpfx)bug-dl-leaf.so): Likewise.
28307 ($(objpfx)bug-dl-leaf.out): Likewise.
28308 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28309 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28310 * dlfcn/bug-dl-leaf.c: New test.
28311 * dlfcn/bug-dl-leaf-lib.c: Likewise.
28312 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28313 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28314 (dlclose): Likewise.
28315 (dlmopen): Likewise.
28317 2013-08-27 Roland McGrath <roland@hack.frob.com>
28319 * include/netdb.h [!_ISOMAC]:
28320 Don't include <tls.h>.
28321 (h_errno, __libc_h_errno): Move declaration and macros out of
28324 * include/resolv.h [_RESOLV_H_]:
28325 Don't include <tls.h>.
28326 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28327 * resolv/res_libc.c: Don't include <tls.h>.
28328 (_res): Use __attribute__ ((nocommon)) in place of
28329 __attribute__ ((section (".bss"))).
28331 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28332 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28334 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28336 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28337 only under [SIOCGIFCONF && SIOCGIFNETMASK].
28339 * resolv/res_mkquery.c: Include <sys/time.h>.
28341 * inet/ifreq.c: Moved to ...
28342 * sysdeps/unix/ifreq.c: ... here.
28343 * inet/ifreq.c: New file, true stub version.
28345 * socket/sa_len.c: New file.
28346 * socket/Makefile (aux): Add it.
28347 * sysdeps/unix/sysv/linux/Makefile
28348 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28349 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28350 and #include <socket/sa_len.c>.
28351 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28352 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28354 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28355 * bits/socket.h: ... here.
28357 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28358 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28359 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28361 2013-08-27 Andreas Schwab <schwab@suse.de>
28364 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28365 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28366 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28367 * string/test-strcasecmp.c (test_main): Run tests in several
28369 * string/test-strncasecmp.c (test_main): Likewise.
28371 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28372 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28373 to __strcasecmp_nonascii and __strncasecmp_nonascii.
28374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28375 (__strncasecmp_ssse3) [PIC]: Likewise.
28377 2013-08-26 Roland McGrath <roland@hack.frob.com>
28379 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28381 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28382 instead of explicitly declaring xdecrypt.
28383 * nis/nss_nis/nis-publickey.c: Likewise.
28385 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28388 * nscd/aicache.c: Include res_hconf.h.
28389 (addhstaiX): Initialize res_hconf.
28391 2013-08-26 Andreas Schwab <schwab@suse.de>
28393 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28394 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28396 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28398 * nscd/aicache.c (addhstaiX): Fix indentation.
28400 2013-08-25 Mike Frysinger <vapier@gentoo.org>
28402 * configure.ac: Quote $build_pt_chown test.
28403 * configure: Regenerated.
28405 2013-08-23 Joseph Myers <joseph@codesourcery.com>
28408 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28409 * math/s_cexpf.c (__cexpf): Likewise.
28410 * math/s_cexpl.c (__cexpl): Likewise.
28411 * math/libm-test.inc (cexp_test_data): Correct expected return
28412 value for NaN + i0. Add another test.
28414 2013-08-22 David S. Miller <davem@davemloft.net>
28416 * po/ca.po: Update Catalan translation from translation project.
28417 * po/uk.po: Add Ukrainian translations from translation project.
28419 2013-08-21 Joseph Myers <joseph@codesourcery.com>
28422 * math/s_fdim.c (__fdim): Check for infinite arguments if result
28423 is infinite, not alongside NaN test.
28424 * math/s_fdimf.c (__fdimf): Likewise.
28425 * math/s_fdiml.c (__fdiml): Likewise.
28426 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
28427 errno is unchanged.
28429 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
28431 * argp/argp-help.c: Fix typos.
28432 * crypt/speeds.c: Likewise.
28433 * csu/check_fds.c: Likewise.
28434 * elf/dl-load.c: Likewise.
28435 * elf/dl-open.c: Likewise.
28436 * elf/reldep3.c: Likewise.
28437 * elf/reldep.c: Likewise.
28438 * elf/sprof.c: Likewise.
28439 * iconv/iconv_charmap.c: Likewise.
28440 * iconv/skeleton.c: Likewise.
28441 * iconv/strtab.c: Likewise.
28442 * io/lockf64.c: Likewise.
28443 * libio/libioP.h: Likewise.
28444 * resolv/gai_notify.c: Likewise.
28445 * resolv/ns_name.c: Likewise.
28446 * resolv/ns_samedomain.c: Likewise.
28447 * resolv/res_send.c: Likewise.
28448 * stdlib/random.c: Likewise.
28449 * sunrpc/rpc/xdr.h: Likewise.
28450 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28451 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28452 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28453 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28454 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28455 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28456 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28457 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28458 * sysdeps/mach/hurd/check_fds.c: Likewise.
28459 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28460 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28461 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28462 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28463 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28464 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28465 * sysdeps/pthread/aio_notify.c: Likewise.
28466 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28467 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28468 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28469 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28470 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28472 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28474 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28475 version if bit_Slow_SSE4_2 is set.
28476 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28477 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28479 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28482 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28483 trampoline stack frame information.
28484 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28485 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28486 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28487 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28488 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28489 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28490 (_libc_vdso_platform_setup): Initialize the signal trampolines.
28491 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28493 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28494 interrupting a syscall and set with option SA_SIGINFO.
28496 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28499 * math/s_cproj.c (__cproj): Only return an infinity if one part of
28500 argument is infinite.
28501 * math/s_cprojf.c (__cprojf): Likewise.
28502 * math/s_cprojl.c (__cprojl): Likewise.
28503 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28504 * math/libm-test.inc (cproj_test_data): Add more tests.
28506 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28508 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28509 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28510 size. Use __ffs to determine corresponding shift.
28512 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28513 Roland McGrath <roland@hack.frob.com>
28515 * Makefile (INSTALL): Remove trailing blank lines from output of
28518 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28520 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28521 Align 32 bit compat elf_greg to 8 bytes.
28523 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
28525 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28527 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28529 * string/strcoll_l.c (coll_seq): New structure.
28530 (get_next_seq_cached): New function.
28531 (get_next_seq): New function.
28532 (do_compare): New function.
28533 (STRCOLL): Use GNU style definition. Simplify implementation
28534 by using get_next_seq, get_next_seq_cached and do_compare.
28536 2013-08-16 Florian Weimer <fweimer@redhat.com>
28540 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28542 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28544 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28545 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28546 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
28548 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28549 GETDENTS_64BIT_ALIGNED.
28550 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28551 * manual/filesys.texi (Reading/Closing Directory): Document
28552 ENAMETOOLONG return value of readdir_r. Recommend readdir more
28554 * manual/conf.texi (Limits for Files): Add portability note to
28555 NAME_MAX, PATH_MAX.
28556 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28558 2013-08-13 Andreas Schwab <schwab@suse.de>
28561 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28563 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28564 LDBL_MAX_EXP >= 16384]: Add tests for it.
28566 2013-08-12 David S. Miller <davem@davemloft.net>
28568 * version.h (RELEASE): Set to "development".
28569 (VERSION): Set to "2.18.90".
28570 * NEWS: Add 2.19 section.
28572 2013-08-03 David S. Miller <davem@davemloft.net>
28574 * po/ko.po: Update Korean translation from translation project.
28576 2013-08-01 David S. Miller <davem@davemloft.net>
28578 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
28579 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28582 2013-07-30 David S. Miller <davem@davemloft.net>
28584 * po/fr.po: Update French translation from translation project.
28586 2013-07-28 David S. Miller <davem@davemloft.net>
28588 * po/cs.po: Update Czech translation from translation project.
28590 * po/sv.po: Update Swedish translation from translation project.
28592 2013-07-27 David S. Miller <davem@davemloft.net>
28594 * po/eo.po: Update Esperanto translation from translation project.
28596 * po/vi.po: Update Vietnamese translation from translation project.
28598 * po/de.po: Update German translation from translation project.
28600 2013-07-26 David S. Miller <davem@davemloft.net>
28602 * po/bg.po: Update Bulgarian translation from translation project.
28604 * po/nl.po: Update Dutch translation from translation project.
28605 * po/pl.po: Update Polish translation from translation project.
28606 * po/ru.po: Update Russian translation from translation project.
28608 2013-07-24 David S. Miller <davem@davemloft.net>
28610 * po/libc.pot: Update.
28612 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28614 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28615 variable page size.
28616 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28617 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28618 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28620 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28622 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28624 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28625 Andreas Schwab <schwab@suse.de>
28626 Roland McGrath <roland@hack.frob.com>
28627 Joseph Myers <joseph@codesourcery.com>
28628 Carlos O'Donell <carlos@redhat.com>
28631 * config.h.in: Define HAVE_PT_CHOWN.
28632 * config.make.in (build-pt-chown): New variable.
28633 * configure.in (--enable-pt_chown): New configure option.
28634 * configure: Regenerate.
28635 * login/Makefile: Include Makeconfig. Build pt_chown only if
28636 build-pt-chown is enabled.
28637 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28638 pt_chown to fix pty ownership.
28639 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28641 * manual/install.texi (Configuring and compiling): Mention
28642 --enable-pt_chown. Add @findex for grantpt.
28643 * INSTALL: Regenerate.
28645 2013-07-20 David S. Miller <davem@davemloft.net>
28647 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28648 difference between 32-bit and 64-bit.
28650 2013-07-15 Carlos O'Donell <carlos@redhat.com>
28653 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28654 Avoid system header dependency with -ffreestanding.
28655 ($(objpfx)bits/syscall%d): Likewise.
28657 2013-07-13 David S. Miller <davem@davemloft.net>
28659 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28660 underflows from atanl/atan2l due to bug 15319.
28661 (casinh_test_data): Likewise.
28663 2013-07-07 David S. Miller <davem@davemloft.net>
28665 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28667 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
28669 * sysdeps/i386/fpu/libm-test-ulps: Update.
28670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28672 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28674 * configure.in (--enable-lock-elision): Fix message text.
28675 * INSTALL: Regenerate.
28676 * configure: Regenerate.
28678 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28682 2013-07-03 Andreas Jaeger <aj@suse.de>
28684 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28686 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28687 (ptrace_peeksiginfo_args): Add.
28688 (__ptrace_peeksiginfo_flags): Add.
28689 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28690 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28691 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28693 2013-07-03 Allan McRae <allan@archlinux.org>
28695 * sysdeps/i386/fpu/libm-test-ulps: Update.
28697 2013-07-02 David S. Miller <davem@davemloft.net>
28699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28701 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
28703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28705 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28707 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28710 2013-07-02 Andi Kleen <ak@linux.intel.com>
28712 * config.h.in (ENABLE_LOCK_ELISION): Add.
28713 * configure.in (--enable-lock-elision): Add option.
28714 * manual/install.texi: Document --enable lock elision.
28715 * configure: Regenerate
28716 * INSTALL: Regenerate.
28718 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
28720 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28721 SSE4.2 strcasecmp for libc.a.
28722 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28724 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28727 * soft-fp/op-common.h (_FP_FMA): New macro.
28728 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28729 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
28730 (_FP_MUL_MEAT_1_imm): ... here.
28731 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
28732 (_FP_MUL_MEAT_1_wide): ... here.
28733 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
28734 (_FP_MUL_MEAT_1_hard): ... here.
28735 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28736 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
28737 (_FP_MUL_MEAT_2_wide): ... here.
28738 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
28739 (_FP_MUL_MEAT_2_wide_3mul): ... here.
28740 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
28741 (_FP_MUL_MEAT_2_gmp): ... here.
28742 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28743 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
28744 (_FP_MUL_MEAT_4_wide): ... here.
28745 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
28746 (_FP_MUL_MEAT_4_gmp): ... here.
28747 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28748 (_FP_WFRACBITS_DW_S): Likewise.
28749 (_FP_WFRACXBITS_DW_S): Likewise.
28750 (_FP_HIGHBIT_DW_S): Likewise.
28751 (FP_FMA_S): Likewise.
28752 (_FP_FRAC_HIGH_DW_S): Likewise.
28753 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28754 (_FP_WFRACBITS_DW_D): Likewise.
28755 (_FP_WFRACXBITS_DW_D): Likewise.
28756 (_FP_HIGHBIT_DW_D): Likewise.
28757 (FP_FMA_D): Likewise.
28758 (_FP_FRAC_HIGH_DW_D): Likewise.
28759 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28760 (_FP_WFRACBITS_DW_E): Likewise.
28761 (_FP_WFRACXBITS_DW_E): Likewise.
28762 (_FP_HIGHBIT_DW_E): Likewise.
28763 (FP_FMA_E): Likewise.
28764 (_FP_FRAC_HIGH_DW_E): Likewise.
28765 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28766 (_FP_WFRACBITS_DW_Q): Likewise.
28767 (_FP_WFRACXBITS_DW_Q): Likewise.
28768 (_FP_HIGHBIT_DW_Q): Likewise.
28769 (FP_FMA_Q): Likewise.
28770 (_FP_FRAC_HIGH_DW_Q): Likewise.
28771 * soft-fp/fmasf4.c: New file.
28772 * soft-fp/fmadf4.c: Likewise.
28773 * soft-fp/fmatf4.c: Likewise.
28775 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28778 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28780 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28782 (index_Slow_SSE4_2): Likewise.
28783 (index_Prefer_PMINUB_for_stringop): Likewise.
28784 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28785 bit_Slow_SSE4_2 is set.
28786 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28787 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28789 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28791 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28792 rtld_global._dl_hwcap2.
28793 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28795 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28796 POWER8 feature descriptions defined in _dl_hwcap2.
28797 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28798 string handling for POWER8 feature bits.
28799 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28800 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28801 _dl_powerpc_cap_flags.
28802 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28803 * sysdeps/powerpc/rtld-global-offsets.sym
28804 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28805 _dl_hwcap2 in the rtld_global_ro structure.
28807 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28809 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28810 hardware capabilities in support of AT_HWCAP2.
28811 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28812 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28814 (_dl_show_auxv): Add support for calling _dl_procinfo to display
28815 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
28816 explicitly the unknown a_type display mechanism is used.
28817 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28818 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28820 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28821 to macro prototype for AT_HWCAP2 support.
28822 * sysdeps/i386/dl-procinfo.h: Likewise.
28823 * sysdeps/s390/dl-procinfo.h: Likewise.
28824 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28825 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
28826 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
28827 return -1 for unknown a_type display fallback.
28828 * sysdeps/sparc/dl-procinfo.h: Likewise.
28829 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28830 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28832 2013-06-28 Joseph Myers <joseph@codesourcery.com>
28834 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28835 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28837 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
28840 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28841 mprotect making __stack_prot writable.
28843 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
28844 Joseph Myers <joseph@codesourcery.com>
28846 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28847 as being properly aligned.
28849 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
28851 * dlfcn/modstatic5.c: New file.
28852 * dlfcn/tststatic5.c: New file.
28853 * dlfcn/Makefile (tests): Add tststatic5.
28854 (tests-static): Likewise.
28855 (modules-names): Add modstatic5.
28856 (tststatic5-ENV): New variable.
28857 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28860 * elf/dl-support.c (_dl_main_map): New variable.
28861 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28862 (_dl_nns, _dl_load_adds): Set to 1.
28863 (_dl_initial_searchlist): Refer to _dl_main_map.
28864 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28865 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28866 call to _dl_get_origin.
28867 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28869 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28870 * dlfcn/modstatic3.c: New file.
28871 * dlfcn/tststatic3.c: New file.
28872 * dlfcn/tststatic4.c: New file.
28873 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28874 (tests-static): Likewise.
28875 (modules-names): Add modstatic3.
28876 (tststatic3-ENV, tststatic4-ENV): New variables.
28877 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28878 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28880 2013-06-26 Joseph Myers <joseph@codesourcery.com>
28882 * configure.in (CC): Require GCC version 4.4 or later.
28883 * configure: Regenerated.
28884 * manual/install.texi (Tools for Compilation): Update GCC version
28886 * INSTALL: Regenerated.
28888 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28891 * string/test-memcmp.c (check2): New.
28892 (main): Call check2.
28894 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28896 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
28899 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28901 (dl_open_worker) [!SHARED]: ... here.
28903 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28905 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28907 2013-06-25 Richard Henderson <rth@redhat.com>
28909 * locale/programs/locarchive.c: Include <libc-internal.h>
28911 2013-06-25 Joseph Myers <joseph@codesourcery.com>
28913 * manual/texinfo.tex: Update to version 2013-06-21.17, with
28914 trailing whitespace removed.
28916 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28919 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28920 * locale/programs/locarchive.c: Include libc-mmap.h.
28921 (prepare_address_space): Take two new outputs (the mmap base and len).
28922 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
28924 (create_archive): Declare new mmap base and len values for
28925 prepare_address_space, and store the result in ah.
28926 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28927 (enlarge_archive): If ah->mmap_base is not NULL, use that and
28928 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28929 Declare new mmap base and len values for
28930 prepare_address_space, and store the result in new_ah.
28931 (open_archive): Declare new mmap base and len values for
28932 prepare_address_space, and store the result in ah.
28933 (close_archive): If ah->mmap_base is not NULL, use that and
28934 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28935 * sysdeps/generic/libc-mmap.h: New file.
28937 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28939 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28940 (ALIGN_UP): Likewise.
28941 (PTR_ALIGN_DOWN): Likewise.
28942 (PTR_ALIGN_UP): Likewise.
28944 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28946 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28947 entry mapped to PPC_PLATFORM_POWER8.
28948 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28950 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28951 (_dl_string_platform): Add case for exporting platform position for
28953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28954 search path to sysdeps/powerpc/powerpc32/power8 directory.
28955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28956 search path to sysdeps/powerpc/powerpc64/power8 directory.
28957 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28958 power7 directories.
28959 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28960 power7 directories.
28962 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28964 * INSTALL: Regenerate.
28966 * nscd/connections.c (nscd_init): Fix comment.
28968 2013-06-22 Joseph Myers <joseph@codesourcery.com>
28970 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28973 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28974 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28976 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28978 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28980 (DL_DST_REQ_STATIC): Remove macro.
28982 2013-06-21 Joseph Myers <joseph@codesourcery.com>
28985 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28986 with a shift of 0 bits.
28988 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28990 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28993 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28996 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28998 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29000 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29001 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29002 accepts -fno-tree-loop-distribute-patterns.
29003 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29004 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29006 * string/memset.c (memset): Likewise.
29007 * string/test-memmove.c (simple_memmove): Disable loop transformation
29009 * string/test-memset.c (simple_memset): Likewise.
29010 * benchtests/bench-memmove.c (simple_memmove): Likewise.
29011 * benchtests/bench-memset.c (simple_memset): Likewise.
29012 * configure: Regenerated.
29014 2013-06-20 Joseph Myers <joseph@codesourcery.com>
29016 * math/test-misc.c (main): Ignore fesetround failure when failures
29017 of subsequent rounding tests would be ignored.
29020 * math/fedisblxcpt.c (fedisableexcept): Return 0.
29021 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29022 * math/fegetenv.c (__fegetenv): Return 0.
29023 * math/fegetexcept.c (fegetexcept): Return 0.
29024 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29026 * math/feholdexcpt.c (feholdexcept): Return 0.
29027 * math/fesetenv.c (__fesetenv): Return 0.
29028 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29029 argument FE_TONEAREST.
29030 * math/feupdateenv.c (__feupdateenv): Return 0.
29031 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29033 2013-06-18 Roland McGrath <roland@hack.frob.com>
29035 * elf/rtld-Rules (rtld-compile-command.S): New variable.
29036 (rtld-compile-command.s, rtld-compile-command.c): New variables.
29037 ($(objpfx)rtld-%.os rules): Use them.
29039 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29041 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29044 2013-06-17 Roland McGrath <roland@hack.frob.com>
29046 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29047 length of target pattern, then descending length of dependency pattern.
29048 * configure.in (AWK): Require gawk 3.1.2 or newer.
29049 * manual/install.texi (Tools for Compilation): Say that we do.
29050 * configure: Regenerated.
29052 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29053 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29054 * scripts/sysd-rules.awk: ... this new script.
29055 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29056 than a glob-style pattern.
29058 2013-06-17 Joseph Myers <joseph@codesourcery.com>
29060 * math/test-misc.c (main): Do not treat incorrectly rounded
29061 conversions as failure unless ROUNDING_TESTS passes.
29063 2013-06-15 Joseph Myers <joseph@codesourcery.com>
29066 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29067 restore exception state around main square root computation, then
29068 check for inexactness explicitly.
29070 * math/libm-test.inc (fma_test_data): Add another test.
29072 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29074 * manual/threads.texi (Non-POSIX Extensions): New document
29075 node. Document pthread_getattr_default_np and
29076 pthread_setattr_default_np.
29078 * Versions.def (libpthread): Add GLIBC_2.18.
29079 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29088 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29099 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29102 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29104 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29105 H.J. Lu <hjl.tools@gmail.com>
29108 * sysdeps/x86_64/rtld-memset.c: Remove file.
29109 * sysdeps/x86_64/rtld-memset.S: New file.
29111 2013-06-14 Joseph Myers <joseph@codesourcery.com>
29113 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29114 (test_in_one_mode): Take arguments for whether the rounding mode
29115 is supported for each floating-point type.
29116 (do_test): Pass new arguments to test_in_one_mode using
29119 2013-06-13 Roland McGrath <roland@hack.frob.com>
29121 * posix/tst-waitid.c (do_test): Distinguish different instances of
29122 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
29123 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29124 before entering the kernel for waitpid.
29126 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29128 * NEWS: Fix note on clock function precision. Text by Roland
29131 2013-06-13 Roland McGrath <roland@hack.frob.com>
29133 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29134 it into place only when and if the sanity check passes.
29136 2013-06-13 Joseph Myers <joseph@codesourcery.com>
29138 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29139 output for whether conversion result is exact. Take argument
29140 indicating whether type is IBM long double.
29141 (round_for_all): Change need_exact field to ibm_ld.
29142 * stdlib/tst-strtod-round.c (struct exactness): New type.
29143 (struct test): Change bool ld_ok field to struct exactness exact.
29144 (TEST): Update all definitions for change to field.
29145 (tests): Regenerate array contents.
29146 (test_in_one_mode): Take pointer to new field instead of old ld_ok
29147 field value. Check for IBM long double here.
29148 (do_test): Update calls to test_in_one_mode.
29150 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29153 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29154 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29156 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29159 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29160 generated by the compiler on loop optimizations.
29161 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29162 general definitions.
29164 2013-06-12 Joseph Myers <joseph@codesourcery.com>
29166 * math/bug-nextafter.c: Include <math-tests.h>.
29167 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29169 * math/bug-nexttoward.c: Include <math-tests.h>.
29170 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29172 * math/test-misc.c: Include <math-tests.h>.
29173 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29176 2013-06-12 Andreas Jaeger <aj@suse.de>
29178 * po/ia.po: Update Interlingua translation from translation
29181 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29183 * include/fenv.h: Include stdbool.h.
29184 (struct rm_ctx): New structure.
29185 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29187 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29188 (SET_RESTORE_ROUNDF): Likewise.
29189 (SET_RESTORE_ROUNDL): Likewise.
29190 (SET_RESTORE_ROUND_NOEX): Likewise.
29191 (SET_RESTORE_ROUND_NOEXF): Likewise.
29192 (SET_RESTORE_ROUND_NOEXL): Likewise.
29193 (SET_RESTORE_ROUND_53BIT): Likewise.
29194 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29195 (libc_feresetround_noexf_ctx): Likewise.
29196 (libc_feresetround_noexl_ctx): Likewise.
29197 (libc_feholdsetround_53bit_ctx): Likewise.
29198 (libc_feresetround_53bit_ctx): Likewise.
29199 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29200 (libc_feholdexcept_setround_sse_ctx): New function.
29201 (libc_fesetenv_sse_ctx): Likewise.
29202 (libc_feupdateenv_sse_ctx): Likewise.
29203 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29204 (libc_feholdexcept_setround_387_ctx): Likewise.
29205 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29206 (libc_feholdsetround_387_prec_ctx): Likewise.
29207 (libc_feholdsetround_387_ctx): Likewise.
29208 (libc_feholdsetround_387_53bit_ctx): Likewise.
29209 (libc_feholdsetround_sse_ctx): Likewise.
29210 (libc_feresetround_sse_ctx): Likewise.
29211 (libc_feresetround_387_ctx): Likewise.
29212 (libc_feupdateenv_387_ctx): Likewise.
29213 (libc_feholdexcept_setroundf_ctx): Define macro.
29214 (libc_fesetenvf_ctx): Likewise.
29215 (libc_feupdateenvf_ctx): Likewise.
29216 (libc_feholdsetroundf_ctx): Likewise.
29217 (libc_feresetroundf_ctx): Likewise.
29218 (libc_feholdexcept_setround_ctx): Likewise.
29219 (libc_fesetenv_ctx): Likewise.
29220 (libc_feupdateenv_ctx): Likewise.
29221 (libc_feholdsetround_ctx): Likewise.
29222 (libc_feresetround_ctx): Likewise.
29223 (libc_feholdexcept_setroundl_ctx): Likewise.
29224 (libc_feupdateenvl_ctx): Likewise.
29225 (libc_feholdsetroundl_ctx): Likewise.
29226 (libc_feresetroundl_ctx): Likewise.
29227 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29228 (libc_feresetround_53bit_ctx): Likewise.
29230 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29232 * locale/iso-639.def: Convert to UTF-8.
29234 2013-06-11 Joseph Myers <joseph@codesourcery.com>
29236 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29237 (EXCEPTION_TESTS_double): Likewise.
29238 (EXCEPTION_TESTS_long_double): Likewise.
29239 (EXCEPTION_TESTS): Likewise.
29240 * math/libm-test.inc (test_exceptions): Only test exceptions if
29241 EXCEPTION_TESTS (FLOAT).
29243 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29245 * benchtests/Makefile (string-bench): Add strcpy_chk and
29247 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29248 * benchtests/bench-stpcpy_chk.c: New file.
29249 * benchtests/bench-strcpy_chk-ifunc.c: New file.
29250 * benchtests/bench-strcpy_chk.c: New file.
29251 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29253 (do_test): Likewise.
29255 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29257 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29258 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29259 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29260 with tabs where appropriate.
29261 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29263 [PPC_PLATFORM_PPC440]: Likewise.
29264 [PPC_PLATFORM_PPC464]: Likewise.
29265 [PPC_PLATFORM_PPC476]: Likewise.
29266 (_dl_string_platform): Add support for detecting ppc405, ppc440,
29267 ppc464, and ppc476 platform strings merging from ports/
29270 2013-06-11 Andreas Schwab <schwab@suse.de>
29273 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29274 (from_ucs4_idx): Regenerate.
29275 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29276 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29277 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29278 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29279 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29280 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29281 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29282 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29283 from FROM_LOOP and TO_LOOP specific macros.
29284 (BODY): Handle combining characters.
29285 * iconvdata/BIG5HKSCS.irreversible: Update.
29286 * iconvdata/BIG5HKSCS.precomposed: New file.
29287 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29289 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29291 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29293 * include/sys/time.h: Fix indentation and add copyright header.
29295 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29296 (do_test): Likewise.
29297 * string/test-memchr.c (do_one_test): Likewise.
29298 (do_test): Likewise.
29299 * string/test-memcmp.c (do_one_test): Likewise.
29300 (do_test): Likewise.
29301 * string/test-memcpy.c (do_one_test): Likewise.
29302 (do_test): Likewise.
29303 * string/test-memmem.c (do_one_test): Likewise.
29304 (do_test): Likewise.
29305 (do_random_tests): Likewise.
29306 * string/test-memmove.c (do_one_test): Likewise.
29307 (do_test): Likewise.
29308 * string/test-memset.c (do_one_test): Likewise.
29309 (do_test): Likewise.
29310 * string/test-rawmemchr.c (do_one_test): Likewise.
29311 (do_test): Likewise.
29312 * string/test-strcasecmp.c (do_one_test): Likewise.
29313 (do_test): Likewise.
29314 * string/test-strcasestr.c (do_one_test): Likewise.
29315 (do_test): Likewise.
29316 * string/test-strcat.c (do_one_test): Likewise.
29317 (do_test): Likewise.
29318 * string/test-strchr.c (do_one_test): Likewise.
29319 (do_test): Likewise.
29320 * string/test-strcmp.c (do_one_test): Likewise.
29321 (do_test): Likewise.
29322 * string/test-strcpy.c (do_one_test): Likewise.
29323 (do_test): Likewise.
29324 * string/test-string.h: Likewise.
29325 (test_init): Likewise.
29326 * string/test-strlen.c (do_one_test): Likewise.
29327 (do_test): Likewise.
29328 * string/test-strncasecmp.c (do_one_test): Likewise.
29329 (do_test): Likewise.
29330 * string/test-strncat.c (do_one_test): Likewise.
29331 (do_test): Likewise.
29332 * string/test-strncmp.c (do_one_test): Likewise.
29333 (do_test_limit): Likewise.
29334 (do_test): Likewise.
29335 * string/test-strncpy.c (do_one_test): Likewise.
29336 (do_test): Likewise.
29337 * string/test-strnlen.c (do_one_test): Likewise.
29338 (do_test): Likewise.
29339 * string/test-strpbrk.c (do_one_test): Likewise.
29340 (do_test): Likewise.
29341 * string/test-strrchr.c (do_one_test): Likewise.
29342 (do_test): Likewise.
29343 * string/test-strspn.c (do_one_test): Likewise.
29344 (do_test): Likewise.
29345 * string/test-strstr.c (do_one_test): Likewise.
29346 (do_test): Likewise.
29348 * benchtests/Makefile (string-bench): Add string benchmarks.
29349 * benchtests/bench-bcopy-ifunc.c: New file.
29350 * benchtests/bench-bcopy.c: New file.
29351 * benchtests/bench-bzero-ifunc.c: New file.
29352 * benchtests/bench-bzero.c: New file.
29353 * benchtests/bench-memccpy-ifunc.c: New file.
29354 * benchtests/bench-memccpy.c: New file.
29355 * benchtests/bench-memchr-ifunc.c: New file.
29356 * benchtests/bench-memchr.c: New file.
29357 * benchtests/bench-memcmp-ifunc.c: New file.
29358 * benchtests/bench-memcmp.c: New file.
29359 * benchtests/bench-memmem-ifunc.c: New file.
29360 * benchtests/bench-memmem.c: New file.
29361 * benchtests/bench-memmove-ifunc.c: New file.
29362 * benchtests/bench-memmove.c: New file.
29363 * benchtests/bench-mempcpy-ifunc.c: New file.
29364 * benchtests/bench-mempcpy.c: New file.
29365 * benchtests/bench-memset-ifunc.c: New file.
29366 * benchtests/bench-memset.c: New file.
29367 * benchtests/bench-rawmemchr-ifunc.c: New file.
29368 * benchtests/bench-rawmemchr.c: New file.
29369 * benchtests/bench-stpcpy-ifunc.c: New file.
29370 * benchtests/bench-stpcpy.c: New file.
29371 * benchtests/bench-stpncpy-ifunc.c: New file.
29372 * benchtests/bench-stpncpy.c: New file.
29373 * benchtests/bench-strcasecmp-ifunc.c: New file.
29374 * benchtests/bench-strcasecmp.c: New file.
29375 * benchtests/bench-strcasestr-ifunc.c: New file.
29376 * benchtests/bench-strcasestr.c: New file.
29377 * benchtests/bench-strcat-ifunc.c: New file.
29378 * benchtests/bench-strcat.c: New file.
29379 * benchtests/bench-strchr-ifunc.c: New file.
29380 * benchtests/bench-strchr.c: New file.
29381 * benchtests/bench-strchrnul-ifunc.c: New file.
29382 * benchtests/bench-strchrnul.c: New file.
29383 * benchtests/bench-strcmp-ifunc.c: New file.
29384 * benchtests/bench-strcmp.c: New file.
29385 * benchtests/bench-strcpy-ifunc.c: New file.
29386 * benchtests/bench-strcpy.c: New file.
29387 * benchtests/bench-strcspn-ifunc.c: New file.
29388 * benchtests/bench-strcspn.c: New file.
29389 * benchtests/bench-strlen-ifunc.c: New file.
29390 * benchtests/bench-strlen.c: New file.
29391 * benchtests/bench-strncasecmp-ifunc.c: New file.
29392 * benchtests/bench-strncasecmp.c: New file.
29393 * benchtests/bench-strncat-ifunc.c: New file.
29394 * benchtests/bench-strncat.c: New file.
29395 * benchtests/bench-strncmp-ifunc.c: New file.
29396 * benchtests/bench-strncmp.c: New file.
29397 * benchtests/bench-strncpy-ifunc.c: New file.
29398 * benchtests/bench-strncpy.c: New file.
29399 * benchtests/bench-strnlen-ifunc.c: New file.
29400 * benchtests/bench-strnlen.c: New file.
29401 * benchtests/bench-strpbrk-ifunc.c: New file.
29402 * benchtests/bench-strpbrk.c: New file.
29403 * benchtests/bench-strrchr-ifunc.c: New file.
29404 * benchtests/bench-strrchr.c: New file.
29405 * benchtests/bench-strspn-ifunc.c: New file.
29406 * benchtests/bench-strspn.c: New file.
29407 * benchtests/bench-strstr-ifunc.c: New file.
29408 * benchtests/bench-strstr.c: New file.
29410 * benchtests/Makefile: Disable parallel execution of targets.
29411 (string-bench): Add memcpy.
29412 (benchset): New variable to store a list of benchmark sets.
29413 (bench-func): Renamed from bench.
29414 (bench-set): New target.
29415 (bench): Depend on bench-func and bench-set.
29416 * benchtests/README: Add section on benchmark sets.
29417 * benchtests/bench-memcpy-ifunc.c: New file.
29418 * benchtests/bench-memcpy.c: New file.
29419 * benchtests/bench-string.h: New file.
29421 2013-06-11 Andreas Schwab <schwab@suse.de>
29424 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29425 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29426 values in the triple.
29427 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29428 terminator in the group key.
29430 2013-06-11 Andreas Jaeger <aj@suse.de>
29432 * po/zh_TW.po: Update Chinese (traditional) translation from
29433 translation project.
29435 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29437 * include/time.h (__clock_gettime): Add libc_hidden_proto.
29438 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29439 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
29440 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29441 (clock_getcpuclockid): Likewise.
29442 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29443 Add weak_alias and libc_hidden_def.
29444 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29445 * rt/clock_gettime.c (clock_gettime): Rename to
29446 __clock_gettime. Add weak_alias and libc_hidden_def.
29447 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29448 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29449 __clock_nanosleep. Add weak_alias and libc_hidden_def.
29450 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29451 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29453 * rt/clock_settime.c (clock_settime): Rename to
29454 __clock_settime. Add weak_alias and libc_hidden_def.
29455 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29457 2013-06-10 Joseph Myers <joseph@codesourcery.com>
29459 * mach/err_boot.sub: Remove trailing whitespace.
29460 * mach/err_ipc.sub: Likewise.
29461 * mach/err_mach.sub: Likewise.
29463 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29464 (ROUNDING_TESTS_double): Likewise.
29465 (ROUNDING_TESTS_long_double): Likewise.
29466 (ROUNDING_TESTS): Likewise.
29467 * math/libm-test.inc: Include <math-tests.h>.
29468 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29469 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29470 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29471 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29473 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29475 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29478 2013-06-08 Joseph Myers <joseph@codesourcery.com>
29480 * sysdeps/gnu/errlist.awk: Do not generate space at end of
29481 otherwise empty TRANS lines.
29482 * sysdeps/gnu/errlist.c: Regenerated.
29484 * catgets/gencat.c (error_print): Use (void) in function
29486 * crypt/crypt_util.c (__init_des): Likewise.
29487 * crypt/speeds.c (Stop): Likewise.
29489 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29490 * inet/ruserpass.c (token): Likewise.
29491 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29492 * intl/localealias.c (extend_alias_table): Likewise.
29493 * intl/plural-exp.c (init_germanic_plural): Likewise.
29494 * libio/fcloseall.c (__fcloseall): Likewise.
29495 * libio/genops.c (_IO_flush_all): Likewise.
29496 (_IO_flush_all_linebuffered): Likewise.
29497 (_IO_cleanup): Likewise.
29498 (_IO_iter_begin): Likewise.
29499 (_IO_iter_end): Likewise.
29500 (_IO_list_lock): Likewise.
29501 (_IO_list_unlock): Likewise.
29502 (_IO_list_resetlock): Likewise.
29503 * libio/getchar.c (getchar): Likewise.
29504 * libio/getchar_u.c (getchar_unlocked): Likewise.
29505 * libio/getwchar.c (getwchar): Likewise.
29506 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29507 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29508 * login/getpt.c (__getpt): Likewise.
29509 * login/tst-utmp.c (main): Likewise.
29510 * malloc/hooks.c (__malloc_check_init): Likewise.
29511 * malloc/malloc.c (__malloc_stats): Likewise.
29512 * malloc/mtrace.c (tr_break): Likewise.
29513 (mtrace): Likewise.
29514 (muntrace): Likewise.
29515 * misc/fstab.c (endfsent): Likewise.
29516 * misc/getclktck.c (__getclktck): Likewise.
29517 * misc/getdtsz.c (__getdtablesize): Likewise.
29518 * misc/gethostid.c (gethostid): Likewise.
29519 * misc/getpagesize.c (__getpagesize): Likewise.
29520 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29521 (__get_nprocs): Likewise.
29522 (__get_phys_pages): Likewise.
29523 (__get_avphys_pages): Likewise.
29524 * misc/getttyent.c (getttyent): Likewise.
29525 (setttyent): Likewise.
29526 (endttyent): Likewise.
29527 * misc/getusershell.c (getusershell): Likewise.
29528 (endusershell): Likewise.
29529 (setusershell): Likewise.
29530 (initshells): Likewise.
29531 * misc/hsearch.c (__hdestroy): Likewise.
29532 * misc/sync.c (sync): Likewise.
29533 * misc/syslog.c (closelog_internal): Likewise.
29534 (closelog): Likewise.
29535 * misc/ttyslot.c (ttyslot): Likewise.
29536 * misc/vhangup.c (vhangup): Likewise.
29537 * posix/fork.c (__fork): Likewise.
29538 * posix/getegid.c (__getegid): Likewise.
29539 * posix/geteuid.c (__geteuid): Likewise.
29540 * posix/getgid.c (__getgid): Likewise.
29541 * posix/getpid.c (__getpid): Likewise.
29542 * posix/getppid.c (__getppid): Likewise.
29543 * posix/getuid.c (__getuid): Likewise.
29544 * posix/pause.c (pause): Likewise.
29545 * posix/setpgrp.c (setpgrp): Likewise.
29546 * posix/setsid.c (__setsid): Likewise.
29547 * posix/test-vfork.c (noop): Likewise.
29548 * resolv/gethnamaddr.c (_endhtent): Likewise.
29549 (_gethtent): Likewise.
29550 (ht_endhostent): Likewise.
29551 (gethostent): Likewise.
29552 (dns_service): Likewise.
29553 * stdlib/drand48.c (drand48): Likewise.
29554 * stdlib/lrand48.c (lrand48): Likewise.
29555 * stdlib/mrand48.c (mrand48): Likewise.
29556 * stdlib/rand.c (rand): Likewise.
29557 * stdlib/random.c (__random): Likewise.
29558 * stdlib/setenv.c (clearenv): Likewise.
29559 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29560 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29561 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29562 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29563 (__get_nprocs): Likewise.
29564 (__get_phys_pages): Likewise.
29565 (__get_avphys_pages): Likewise.
29566 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29567 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29568 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29569 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29570 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29571 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29572 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29573 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29574 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29575 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29576 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29577 * sysdeps/mach/hurd/sync.c (sync): Likewise.
29578 * sysdeps/posix/clock.c (clock): Likewise.
29579 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29580 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29581 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29582 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29583 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29584 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29585 (__get_nprocs_conf): Likewise.
29586 (__get_phys_pages): Likewise.
29587 (__get_avphys_pages): Likewise.
29588 * time/clock.c (clock): Likewise.
29589 * time/tzset.c (__tzname_max): Likewise.
29591 2013-06-07 Joseph Myers <joseph@codesourcery.com>
29593 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29594 (__bswap_32): Do not use "register".
29595 * crypt/crypt.c (_ufc_doit_r): Likewise.
29596 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29597 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29598 * gmon/gmon.c (__monstartup): Likewise.
29599 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29600 * hurd/hurdmalloc.c (more_memory): Likewise.
29601 (malloc): Likewise.
29603 (realloc): Likewise.
29604 (malloc_fork_prepare): Likewise.
29605 (malloc_fork_parent): Likewise.
29606 (malloc_fork_child): Likewise.
29607 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29608 (_svcauth_des): Likewise.
29609 * inet/inet_lnaof.c (inet_lnaof): Likewise.
29610 * inet/inet_net.c (inet_network): Likewise.
29611 * inet/inet_netof.c (inet_netof): Likewise.
29612 * inet/rcmd.c (__validuser2_sa): Likewise.
29613 * io/fts.c (fts_open): Likewise.
29614 (fts_load): Likewise.
29615 (fts_close): Likewise.
29616 (fts_read): Likewise.
29617 (fts_children): Likewise.
29618 (fts_build): Likewise.
29619 (fts_stat): Likewise.
29620 (fts_sort): Likewise.
29621 (fts_alloc): Likewise.
29622 (fts_lfree): Likewise.
29623 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29624 (_IO_file_xsgetn): Likewise.
29625 (_IO_file_xsgetn_mmap): Likewise.
29626 * libio/iofopncook.c (_IO_cookie_read): Likewise.
29627 (_IO_cookie_write): Likewise.
29628 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29629 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29630 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29631 * malloc/obstack.c (_obstack_begin): Likewise.
29632 (_obstack_begin_1): Likewise.
29633 (_obstack_newchunk): Likewise.
29634 (_obstack_allocated_p): Likewise.
29635 (obstack_free): Likewise.
29636 (_obstack_memory_used): Likewise.
29637 * misc/getttyent.c (getttynam): Likewise.
29638 (getttyent): Likewise.
29641 * misc/getusershell.c (initshells): Likewise.
29642 * misc/syslog.c (__vsyslog_chk): Likewise.
29643 * misc/ttyslot.c (ttyslot): Likewise.
29644 * nis/nis_hash.c (__nis_hash): Likewise.
29645 * posix/fnmatch_loop.c (FCT): Likewise.
29646 * posix/getconf.c (print_all): Likewise.
29648 * posix/getopt.c (exchange): Likewise.
29649 * posix/glob.c (globfree): Likewise.
29650 (prefix_array): Likewise.
29651 (__glob_pattern_type): Likewise.
29652 * resolv/arpa/nameser.h (NS_GET16): Likewise.
29653 (NS_GET32): Likewise.
29654 (NS_PUT16): Likewise.
29655 (NS_PUT32): Likewise.
29656 * resolv/gethnamaddr.c (getanswer): Likewise.
29657 (gethostbyname2): Likewise.
29658 (gethostbyaddr): Likewise.
29659 (_gethtent): Likewise.
29660 (_gethtbyname2): Likewise.
29661 (_gethtbyaddr): Likewise.
29662 * resolv/ns_print.c (dst_s_get_int16): Likewise.
29663 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29664 * resolv/res_init.c (__res_vinit): Likewise.
29665 (net_mask): Likewise.
29666 * resolv/res_mkquery.c (outchar): Likewise.
29668 * stdio-common/printf_fp.c (outchar): Likewise.
29670 * stdio-common/printf_fphex.c (outchar): Likewise.
29672 * stdio-common/printf_size.c (outchar): Likewise.
29674 * stdio-common/test_rdwr.c (main): Likewise.
29675 * stdio-common/tfformat.c (matches): Likewise.
29676 * stdio-common/vfprintf.c (outchar): Likewise.
29677 (printf_unknown): Likewise.
29678 (buffered_vfprintf): Likewise.
29679 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29680 * stdio-common/xbug.c (AppendToBuffer): Likewise.
29681 (ReadFile): Likewise.
29682 * stdlib/qsort.c (SWAP): Likewise.
29683 (_quicksort): Likewise.
29684 * stdlib/setenv.c (__add_to_environ): Likewise.
29685 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29686 * stdlib/strtol_l.c (__strtol_l): Likewise.
29687 * stdlib/tst-strtod.c (main): Likewise.
29688 * stdlib/tst-strtol.c (main): Likewise.
29689 * stdlib/tst-strtoll.c (main): Likewise.
29690 * string/bits/string2.h (__strcmp_cc): Likewise.
29691 (__strcmp_cg): Likewise.
29692 (__strcspn_c1): Likewise.
29693 (__strcspn_c2): Likewise.
29694 (__strcspn_c3): Likewise.
29695 (__strspn_c1): Likewise.
29696 (__strspn_c2): Likewise.
29697 (__strspn_c3): Likewise.
29698 (__strsep_1c): Likewise.
29699 (__strsep_2c): Likewise.
29700 (__strsep_3c): Likewise.
29701 * string/memccpy.c (__memccpy): Likewise.
29702 * string/stpcpy.c (__stpcpy): Likewise.
29703 * string/strcmp.c (strcmp): Likewise.
29704 * string/strrchr.c (strrchr): Likewise.
29705 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29707 * sysdeps/mach/hurd/getcwd.c
29708 (_hurd_canonicalize_directory_name_internal): Likewise.
29709 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29710 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29711 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29712 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29713 Likewise, in both definitions.
29714 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29716 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29717 64] (__bswap_64): Likewise.
29718 * time/test_time.c (main): Likewise.
29719 * time/tzfile.c (__tzfile_read): Likewise.
29720 (__tzfile_compute): Likewise.
29721 * time/tzset.c (__tzset_parse_tz): Likewise.
29722 (tzset_internal): Likewise.
29723 (compute_change): Likewise.
29724 * wcsmbs/wcscat.c (__wcscat): Likewise.
29725 * wcsmbs/wcschr.c (wcschr): Likewise.
29726 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29727 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29728 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29729 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29730 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29731 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29732 * wcsmbs/wmemchr.c (wmemchr): Likewise.
29733 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29734 * wcsmbs/wmemset.c (wmemset): Likewise.
29736 2013-06-06 Joseph Myers <joseph@codesourcery.com>
29738 * scripts/config.guess: Update to version 2013-05-16.
29739 * scripts/config.sub: Update to version 2013-04-24.
29740 * scripts/install-sh: Update to version 2011-11-20.07.
29741 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29742 * scripts/move-if-change: Update to version 2012-01-06 07:23.
29744 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
29746 * debug/fgetws_u_chk.c: Fix leading whitespaces.
29747 * elf/sln.c: Likewise.
29748 * hurd/hurd/ioctl.h: Likewise.
29749 * hurd/hurdmalloc.c: Likewise.
29750 * hurd/xattr.c: Likewise.
29751 * include/shlib-compat.h: Likewise.
29752 * inet/ruserpass.c: Likewise.
29753 * libio/iofgets_u.c: Likewise.
29754 * libio/iofgetws_u.c: Likewise.
29755 * locale/programs/ld-identification.c: Likewise.
29756 * locale/programs/ld-time.c: Likewise.
29757 * mach/msg-destroy.c: Likewise.
29758 * nss/nss_files/files-netgrp.c: Likewise.
29759 * resolv/res_data.c: Likewise.
29760 * soft-fp/op-1.h: Likewise.
29761 * soft-fp/op-2.h: Likewise.
29762 * soft-fp/op-4.h: Likewise.
29763 * soft-fp/op-common.h: Likewise.
29764 * stdio-common/printf_fphex.c: Likewise.
29765 * stdlib/strtod_l.c: Likewise.
29766 * sunrpc/rpc/clnt.h: Likewise.
29767 * sysdeps/generic/framestate.c: Likewise.
29768 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29769 * sysdeps/i386/bsd-setjmp.S: Likewise.
29770 * sysdeps/i386/__longjmp.S: Likewise.
29771 * sysdeps/i386/setjmp.S: Likewise.
29772 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29773 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29774 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29775 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29776 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29777 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29778 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29779 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29780 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29781 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29782 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29783 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29784 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29785 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29786 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29787 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29788 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29789 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29790 * sysdeps/ieee754/support.c: Likewise.
29791 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29792 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29793 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29794 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29795 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29796 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29797 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29798 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29799 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29800 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29801 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29802 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29803 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29804 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29805 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29806 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29807 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29810 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
29812 * posix/transbug.c: Remove executable mode.
29814 2013-06-05 Joseph Myers <joseph@codesourcery.com>
29816 * crypt/speeds.c: Remove trailing whitespace.
29817 * dlfcn/default.c: Likewise.
29818 * elf/ifuncdep2.c: Likewise.
29819 * elf/ifuncmain1.c: Likewise.
29820 * elf/ifuncmain1vis.c: Likewise.
29821 * elf/testobj.h: Likewise.
29822 * elf/tst-stackguard1.c: Likewise.
29823 * gmon/sys/gmon.h: Likewise.
29824 * hurd/hurdmsg.c: Likewise.
29825 * hurd/new-fd.c: Likewise.
29826 * hurd/ports-get.c: Likewise.
29827 * iconvdata/ibm1008_420.c: Likewise.
29828 * inet/tst-getni1.c: Likewise.
29829 * inet/tst-getni2.c: Likewise.
29830 * libio/ioungetc.c: Likewise.
29831 * libio/wfiledoalloc.c: Likewise.
29832 * manual/libm-err-tab.pl: Likewise.
29833 * math/w_dremf.c: Likewise.
29834 * misc/ftruncate.c: Likewise.
29835 * posix/bug-glob2.c: Likewise.
29836 * posix/tst-pcre.c: Likewise.
29837 * posix/wait4.c: Likewise.
29838 * resolv/README: Likewise.
29839 * resolv/res_debug.h: Likewise.
29840 * resolv/tst-inet_ntop.c: Likewise.
29841 * setjmp/bug269-setjmp.c: Likewise.
29842 * soft-fp/extended.h: Likewise.
29843 * soft-fp/op-1.h: Likewise.
29844 * soft-fp/op-2.h: Likewise.
29845 * soft-fp/op-4.h: Likewise.
29846 * soft-fp/op-8.h: Likewise.
29847 * soft-fp/testit.c: Likewise.
29848 * stdio-common/bug16.c: Likewise.
29849 * stdlib/random.c: Likewise.
29850 * sunrpc/rpcsvc/rquota.x: Likewise.
29851 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29852 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29853 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29854 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29855 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29856 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29857 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29858 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29859 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29860 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29861 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29862 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29863 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29864 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29865 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29866 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29867 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29868 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29869 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29870 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29871 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29872 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29873 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29874 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29875 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29876 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29877 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29878 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29879 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29880 * sysdeps/ieee754/s_lib_version.c: Likewise.
29881 * sysdeps/mach/hurd/check_fds.c: Likewise.
29882 * sysdeps/mach/hurd/getsockname.c: Likewise.
29883 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29884 * sysdeps/mach/hurd/recvfrom.c: Likewise.
29885 * sysdeps/powerpc/bits/link.h: Likewise.
29886 * sysdeps/powerpc/dl-procinfo.c: Likewise.
29887 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29888 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29889 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29890 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29891 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29892 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29893 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29894 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29895 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29896 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29897 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29898 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29899 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29900 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29901 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29902 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29903 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29904 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29905 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29906 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29907 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29908 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29909 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29910 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29911 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29912 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29913 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29914 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29915 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29916 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29917 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29918 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29919 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29920 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29921 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29922 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29923 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29924 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29925 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29926 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29927 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29928 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29929 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29930 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29931 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29932 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29933 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29934 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29935 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29936 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29937 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29938 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29939 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29940 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29941 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29942 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29943 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29944 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29945 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29946 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29947 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29948 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29949 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29950 * sysdeps/powerpc/sysdep.h: Likewise.
29951 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29952 * sysdeps/s390/s390-64/sub_n.S: Likewise.
29953 * sysdeps/sh/dl-trampoline.S: Likewise.
29954 * sysdeps/sh/memset.S: Likewise.
29955 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29956 * sysdeps/sh/strlen.S: Likewise.
29957 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29958 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29959 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29960 * sysdeps/sparc/sparc32/rem.S: Likewise.
29961 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29962 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29963 * sysdeps/sparc/sparc32/strchr.S: Likewise.
29964 * sysdeps/sparc/sparc32/udiv.S: Likewise.
29965 * sysdeps/sparc/sparc32/urem.S: Likewise.
29966 * sysdeps/sparc/sparc64/add_n.S: Likewise.
29967 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29968 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29969 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29970 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29971 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29972 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29973 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29974 * sysdeps/unix/bsd/times.c: Likewise.
29975 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29976 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29980 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29981 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29982 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29983 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29984 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29985 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29986 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29987 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29988 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29989 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29990 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29991 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29992 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29993 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29994 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29995 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29996 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29997 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29998 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29999 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30000 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30001 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30002 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30003 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30004 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30005 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30006 * sysdeps/x86_64/strcspn.S: Likewise.
30008 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30010 * locale/C-translit.h: Revert #include <stdint.h> because this is a
30011 generated file. Regenerate properly from gen-translit.pl.
30012 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
30013 locale/C-translit.h.
30015 2013-06-05 Andreas Schwab <schwab@suse.de>
30018 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30019 week as 6 instead of -1.
30020 * time/tst-strptime.c (day_tests): Add test case.
30022 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30024 * sysdeps/generic/math_private.h
30025 (libc_feholdexcept_setround_53bit): Replace with
30026 libc_feholdsetround_53bit.
30027 (libc_feupdateenv_53bit): Replace with
30028 libc_feresetround_53bit.
30029 (SET_RESTORE_ROUND_53BIT): Adjust.
30031 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30033 * string/test-strchrnul.c: Add copyright header.
30035 * posix/tst-getaddrinfo4.c: Increase test timeout.
30037 2013-06-03 Carlos O'Donell <carlos@redhat.com>
30040 * math/libm-test.inc (MAX_EXP): Remove
30042 (ulp): Use MIN_EXP - MANT_DIG.
30043 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30045 2013-05-31 Carlos O'Donell <carlos@redhat.com>
30047 * po/be.po: Revert last change.
30048 * po/zh_CN.po: Likewise.
30049 * po/header.pot: Likewise.
30051 2013-05-31 Joseph Myers <joseph@codesourcery.com>
30053 * Makefile ($(common-objpfx)linkobj/libc.so): Define
30054 link-libc-deps to empty as target-specific variable.
30055 * Makerules (link-libc-args): New variable.
30056 (libc-for-link): Likewise.
30057 (link-libc-deps): Likewise.
30058 (lib%.so): Depend on $(link-libc-deps). Link with
30060 (build-module): Link with $(link-libc-args).
30061 (build-module-asneeded): Likewise.
30062 (build-module-helper-objlist): Filter out $(link-libc-deps) from
30064 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30065 target-specific variable.
30066 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30067 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30068 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30070 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30072 ($(objpfx)libpcprofile.so): Likewise.
30073 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30075 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30076 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30077 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30079 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30080 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30081 * login/Makefile ($(objpfx)libutil.so): Likewise.
30082 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30083 * math/Makefile ($(objpfx)libm.so): Likewise.
30084 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30085 $(objpfx)libnsl.so): Define libc-for-link as target-specific
30086 variable instead of depending directly on libc.
30087 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30088 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30090 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30092 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30093 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30094 ($(objpfx)libanl.so): Likewise.
30095 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30097 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30099 * sysdeps/i386/fpu/Makefile: Remove file.
30100 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30101 ($(objpfx)libm.so): Remove dependency on ld.so.
30103 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
30106 * nis/yp_xdr.c (XDRMAXNAME): Define.
30107 (XDRMAXRECORD): Define.
30108 (xdr_domainname): Use XDRMAXNAME.
30109 (xdr_mapname): Likewise.
30110 (xdr_peername): Likewise.
30111 (xdr_keydat): Use XDRMAXRECORD.
30112 (xdr_valdat): Likewise.
30114 2013-05-30 Jeff Law <law@redhat.com>
30117 * manual/errno.texi (ESTALE): Update to account for more than
30118 just NFS file systems.
30119 * sysdeps/gnu/errlist.c: Regenerated.
30121 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30124 * elf/Makefile (tests): Add tst-null-argv.
30125 (modules-names): Add tst-null-argv-lib.
30126 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30127 (tst-null-argv-ENV): Set environment for tst-null-argv.
30128 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30129 (RTLD_PROGNAME): New macro.
30130 * elf/tst-null-argv.c: New test case.
30131 * elf/tst-null-argv-lib.c: Library for test case.
30132 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30133 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30134 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30135 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30136 * elf/dl-init.c (call_init): Likewise.
30137 (_dl_init): Likewise.
30138 * elf/dl-load.c (print_search_path): Likewise.
30139 (_dl_map_object): Likewise.
30140 * elf/dl-lookup.c (do_lookup_x): Likewise.
30141 (add_dependency): Likewise.
30142 (_dl_lookup_symbol_x): Likewise.
30143 (_dl_debug_bindings): Likewise.
30144 * elf/dl-open.c (_dl_show_scope): Likewise.
30145 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30146 * elf/dl-version.c (match_symbol): Likewise.
30147 (_dl_check_map_versions): Likewise.
30148 * elf/rtld.c (dl_main): Likewise.
30149 (print_unresolved): Use RTLD_PROGNAME.
30150 (print_missing_version): Likewise.
30151 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30152 (elf_machine_rela): Likewise.
30153 * sysdeps/powerpc/powerpc32/dl-machine.c
30154 (__process_machine_rela): Likewise.
30155 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30157 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30159 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30161 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30162 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30164 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30166 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30168 2013-05-28 Carlos O'Donell <carlos@redhat.com>
30170 * po/be.po: Add descriptive title.
30171 * po/zh_CN.po: Likewise.
30172 * po/header.pot: Likewise.
30174 2013-05-28 Mike Frysinger <vapier@gentoo.org>
30176 * locale/programs/locarchive.c (create_archive): Inlucde fname in
30178 (enlarge_archive): Likewise.
30180 2013-05-28 Ben North <ben@redfrontdoor.org>
30182 * manual/arith.texi (frexp): It is the magnitude of the return
30183 value which lies in [0.5, 1), not the return value itself.
30185 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30189 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
30191 * stdio-common/bug26.c (main): Correct fscanf template.
30193 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30194 declare _dl_skip_args.
30196 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30199 * manual/platform.texi: Add missing @end deftypefun.
30201 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30204 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30205 bit of mantissa of 2^16382.
30206 * math/libm-test.inc (hypot_test_data): Add more tests.
30208 * math/libm-test.inc: Add drem and pow10 to list of tested
30210 (pow10_test): New function.
30211 (drem_test): Likewise.
30212 (drem_test_tonearest): Likewise.
30213 (drem_test_towardzero): Likewise.
30214 (drem_test_downward): Likewise.
30215 (drem_test_upward): Likewise.
30216 (main): Call the new functions.
30218 * math/libm-test.inc (finite_test_data): Remove.
30219 (finite_test): Run tests from isfinite_test_data.
30220 (gamma_test_data): Remove.
30221 (gamma_test): Run tests from lgamma_test_data.
30222 * sysdeps/i386/fpu/libm-test-ulps: Update.
30223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30225 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30227 * manual/platform.texi: Add PowerPC PPR function set documentation.
30228 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30231 2013-05-24 Carlos O'Donell <carlos@redhat.com>
30233 * math/libm-test.inc (MAX_EXP): Define.
30235 (ulp): New function.
30236 (check_float_internal): Use ULPDIFF.
30237 (cpow_test): Disable failing test.
30238 (check_ulp): Test ulp() implemetnation.
30239 (main): Call check_ulp before starting tests.
30241 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30243 * math/gen-libm-test.pl (generate_testfile): Do not handle
30244 START_DATA and END_DATA.
30245 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30247 (acos_tonearest_test_data): Likewise.
30248 (acos_towardzero_test_data): Likewise.
30249 (acos_downward_test_data): Likewise.
30250 (acos_upward_test_data): Likewise.
30251 (acosh_test_data): Likewise.
30252 (asin_test_data): Likewise.
30253 (asin_tonearest_test_data): Likewise.
30254 (asin_towardzero_test_data): Likewise.
30255 (asin_downward_test_data): Likewise.
30256 (asin_upward_test_data): Likewise.
30257 (asinh_test_data): Likewise.
30258 (atan_test_data): Likewise.
30259 (atanh_test_data): Likewise.
30260 (atan2_test_data): Likewise.
30261 (cabs_test_data): Likewise.
30262 (cacos_test_data): Likewise.
30263 (cacosh_test_data): Likewise.
30264 (carg_test_data): Likewise.
30265 (casin_test_data): Likewise.
30266 (casinh_test_data): Likewise.
30267 (catan_test_data): Likewise.
30268 (catanh_test_data): Likewise.
30269 (cbrt_test_data): Likewise.
30270 (ccos_test_data): Likewise.
30271 (ccosh_test_data): Likewise.
30272 (ceil_test_data): Likewise.
30273 (cexp_test_data): Likewise.
30274 (cimag_test_data): Likewise.
30275 (clog_test_data): Likewise.
30276 (clog10_test_data): Likewise.
30277 (conj_test_data): Likewise.
30278 (copysign_test_data): Likewise.
30279 (cos_test_data): Likewise.
30280 (cos_tonearest_test_data): Likewise.
30281 (cos_towardzero_test_data): Likewise.
30282 (cos_downward_test_data): Likewise.
30283 (cos_upward_test_data): Likewise.
30284 (cosh_test_data): Likewise.
30285 (cosh_tonearest_test_data): Likewise.
30286 (cosh_towardzero_test_data): Likewise.
30287 (cosh_downward_test_data): Likewise.
30288 (cosh_upward_test_data): Likewise.
30289 (cpow_test_data): Likewise.
30290 (cproj_test_data): Likewise.
30291 (creal_test_data): Likewise.
30292 (csin_test_data): Likewise.
30293 (csinh_test_data): Likewise.
30294 (csqrt_test_data): Likewise.
30295 (ctan_test_data): Likewise.
30296 (ctan_tonearest_test_data): Likewise.
30297 (ctan_towardzero_test_data): Likewise.
30298 (ctan_downward_test_data): Likewise.
30299 (ctan_upward_test_data): Likewise.
30300 (ctanh_test_data): Likewise.
30301 (ctanh_tonearest_test_data): Likewise.
30302 (ctanh_towardzero_test_data): Likewise.
30303 (ctanh_downward_test_data): Likewise.
30304 (ctanh_upward_test_data): Likewise.
30305 (erf_test_data): Likewise.
30306 (erfc_test_data): Likewise.
30307 (exp_test_data): Likewise.
30308 (exp_tonearest_test_data): Likewise.
30309 (exp_towardzero_test_data): Likewise.
30310 (exp_downward_test_data): Likewise.
30311 (exp_upward_test_data): Likewise.
30312 (exp10_test_data): Likewise.
30313 (exp2_test_data): Likewise.
30314 (expm1_test_data): Likewise.
30315 (fabs_test_data): Likewise.
30316 (fdim_test_data): Likewise.
30317 (finite_test_data): Likewise.
30318 (floor_test_data): Likewise.
30319 (fma_test_data): Likewise.
30320 (fma_towardzero_test_data): Likewise.
30321 (fma_downward_test_data): Likewise.
30322 (fma_upward_test_data): Likewise.
30323 (fmax_test_data): Likewise.
30324 (fmin_test_data): Likewise.
30325 (fmod_test_data): Likewise.
30326 (fpclassify_test_data): Likewise.
30327 (frexp_test_data): Likewise.
30328 (gamma_test_data): Likewise.
30329 (hypot_test_data): Likewise.
30330 (ilogb_test_data): Likewise.
30331 (isfinite_test_data): Likewise.
30332 (isgreater_test_data): Likewise.
30333 (isgreaterequal_test_data): Likewise.
30334 (isinf_test_data): Likewise.
30335 (isless_test_data): Likewise.
30336 (islessequal_test_data): Likewise.
30337 (islessgreater_test_data): Likewise.
30338 (isnan_test_data): Likewise.
30339 (isnormal_test_data): Likewise.
30340 (issignaling_test_data): Likewise.
30341 (isunordered_test_data): Likewise.
30342 (j0_test_data): Likewise.
30343 (j1_test_data): Likewise.
30344 (jn_test_data): Likewise.
30345 (ldexp_test_data): Likewise.
30346 (lgamma_test_data): Likewise.
30347 (lrint_test_data): Likewise.
30348 (lrint_tonearest_test_data): Likewise.
30349 (lrint_towardzero_test_data): Likewise.
30350 (lrint_downward_test_data): Likewise.
30351 (lrint_upward_test_data): Likewise.
30352 (llrint_test_data): Likewise.
30353 (llrint_tonearest_test_data): Likewise.
30354 (llrint_towardzero_test_data): Likewise.
30355 (llrint_downward_test_data): Likewise.
30356 (llrint_upward_test_data): Likewise.
30357 (log_test_data): Likewise.
30358 (log10_test_data): Likewise.
30359 (log1p_test_data): Likewise.
30360 (log2_test_data): Likewise.
30361 (logb_test_data): Likewise.
30362 (logb_downward_test_data): Likewise.
30363 (lround_test_data): Likewise.
30364 (llround_test_data): Likewise.
30365 (modf_test_data): Likewise.
30366 (nearbyint_test_data): Likewise.
30367 (nextafter_test_data): Likewise.
30368 (nexttoward_test_data): Likewise.
30369 (pow_test_data): Likewise.
30370 (pow_tonearest_test_data): Likewise.
30371 (pow_towardzero_test_data): Likewise.
30372 (pow_downward_test_data): Likewise.
30373 (pow_upward_test_data): Likewise.
30374 (remainder_test_data): Likewise.
30375 (remainder_tonearest_test_data): Likewise.
30376 (remainder_towardzero_test_data): Likewise.
30377 (remainder_downward_test_data): Likewise.
30378 (remainder_upward_test_data): Likewise.
30379 (remquo_test_data): Likewise.
30380 (rint_test_data): Likewise.
30381 (rint_tonearest_test_data): Likewise.
30382 (rint_towardzero_test_data): Likewise.
30383 (rint_downward_test_data): Likewise.
30384 (rint_upward_test_data): Likewise.
30385 (round_test_data): Likewise.
30386 (scalb_test_data): Likewise.
30387 (scalbn_test_data): Likewise.
30388 (scalbln_test_data): Likewise.
30389 (signbit_test_data): Likewise.
30390 (sin_test_data): Likewise.
30391 (sin_tonearest_test_data): Likewise.
30392 (sin_towardzero_test_data): Likewise.
30393 (sin_downward_test_data): Likewise.
30394 (sin_upward_test_data): Likewise.
30395 (sincos_test_data): Likewise.
30396 (sinh_test_data): Likewise.
30397 (sinh_tonearest_test_data): Likewise.
30398 (sinh_towardzero_test_data): Likewise.
30399 (sinh_downward_test_data): Likewise.
30400 (sinh_upward_test_data): Likewise.
30401 (sqrt_test_data): Likewise.
30402 (tan_test_data): Likewise.
30403 (tan_tonearest_test_data): Likewise.
30404 (tan_towardzero_test_data): Likewise.
30405 (tan_downward_test_data): Likewise.
30406 (tan_upward_test_data): Likewise.
30407 (tanh_test_data): Likewise.
30408 (tgamma_test_data): Likewise.
30409 (trunc_test_data): Likewise.
30410 (y0_test_data): Likewise.
30411 (y1_test_data): Likewise.
30412 (yn_test_data): Likewise.
30413 (significand_test_data): Likewise.
30415 * math/gen-libm-test.pl (@functions): Remove variable.
30416 (generate_testfile): Don't handle START and END lines.
30417 * math/libm-test.inc (START): New macro.
30419 (END_COMPLEX): Likewise.
30420 (acos_test): Use END macro without arguments.
30421 (acos_test_tonearest): Likewise.
30422 (acos_test_towardzero): Likewise.
30423 (acos_test_downward): Likewise.
30424 (acos_test_upward): Likewise.
30425 (acosh_test): Likewise.
30426 (asin_test): Likewise.
30427 (asin_test_tonearest): Likewise.
30428 (asin_test_towardzero): Likewise.
30429 (asin_test_downward): Likewise.
30430 (asin_test_upward): Likewise.
30431 (asinh_test): Likewise.
30432 (atan_test): Likewise.
30433 (atanh_test): Likewise.
30434 (atan2_test): Likewise.
30435 (cabs_test): Likewise.
30436 (cacos_test): Use END_COMPLEX macro without arguments.
30437 (cacosh_test): Likewise.
30438 (carg_test): Use END macro without arguments.
30439 (casin_test): Use END_COMPLEX macro without arguments.
30440 (casinh_test): Likewise.
30441 (catan_test): Likewise.
30442 (catanh_test): Likewise.
30443 (cbrt_test): Use END macro without arguments.
30444 (ccos_test): Use END_COMPLEX macro without arguments.
30445 (ccosh_test): Likewise.
30446 (ceil_test): Use END macro without arguments.
30447 (cexp_test): Use END_COMPLEX macro without arguments.
30448 (cimag_test): Use END macro without arguments.
30449 (clog_test): Use END_COMPLEX macro without arguments.
30450 (clog10_test): Likewise.
30451 (conj_test): Likewise.
30452 (copysign_test): Use END macro without arguments.
30453 (cos_test): Likewise.
30454 (cos_test_tonearest): Likewise.
30455 (cos_test_towardzero): Likewise.
30456 (cos_test_downward): Likewise.
30457 (cos_test_upward): Likewise.
30458 (cosh_test): Likewise.
30459 (cosh_test_tonearest): Likewise.
30460 (cosh_test_towardzero): Likewise.
30461 (cosh_test_downward): Likewise.
30462 (cosh_test_upward): Likewise.
30463 (cpow_test): Use END_COMPLEX macro without arguments.
30464 (cproj_test): Likewise.
30465 (creal_test): Use END macro without arguments.
30466 (csin_test): Use END_COMPLEX macro without arguments.
30467 (csinh_test): Likewise.
30468 (csqrt_test): Likewise.
30469 (ctan_test): Likewise.
30470 (ctan_test_tonearest): Likewise.
30471 (ctan_test_towardzero): Likewise.
30472 (ctan_test_downward): Likewise.
30473 (ctan_test_upward): Likewise.
30474 (ctanh_test): Likewise.
30475 (ctanh_test_tonearest): Likewise.
30476 (ctanh_test_towardzero): Likewise.
30477 (ctanh_test_downward): Likewise.
30478 (ctanh_test_upward): Likewise.
30479 (erf_test): Use END macro without arguments.
30480 (erfc_test): Likewise.
30481 (exp_test): Likewise.
30482 (exp_test_tonearest): Likewise.
30483 (exp_test_towardzero): Likewise.
30484 (exp_test_downward): Likewise.
30485 (exp_test_upward): Likewise.
30486 (exp10_test): Likewise.
30487 (exp2_test): Likewise.
30488 (expm1_test): Likewise.
30489 (fabs_test): Likewise.
30490 (fdim_test): Likewise.
30491 (finite_test): Likewise.
30492 (floor_test): Likewise.
30493 (fma_test): Likewise.
30494 (fma_test_towardzero): Likewise.
30495 (fma_test_downward): Likewise.
30496 (fma_test_upward): Likewise.
30497 (fmax_test): Likewise.
30498 (fmin_test): Likewise.
30499 (fmod_test): Likewise.
30500 (fpclassify_test): Likewise.
30501 (frexp_test): Likewise.
30502 (gamma_test): Likewise.
30503 (hypot_test): Likewise.
30504 (ilogb_test): Likewise.
30505 (isfinite_test): Likewise.
30506 (isgreater_test): Likewise.
30507 (isgreaterequal_test): Likewise.
30508 (isinf_test): Likewise.
30509 (isless_test): Likewise.
30510 (islessequal_test): Likewise.
30511 (islessgreater_test): Likewise.
30512 (isnan_test): Likewise.
30513 (isnormal_test): Likewise.
30514 (issignaling_test): Likewise.
30515 (isunordered_test): Likewise.
30516 (j0_test): Likewise.
30517 (j1_test): Likewise.
30518 (jn_test): Likewise.
30519 (ldexp_test): Likewise.
30520 (lgamma_test): Likewise.
30521 (lrint_test): Likewise.
30522 (lrint_test_tonearest): Likewise.
30523 (lrint_test_towardzero): Likewise.
30524 (lrint_test_downward): Likewise.
30525 (lrint_test_upward): Likewise.
30526 (llrint_test): Likewise.
30527 (llrint_test_tonearest): Likewise.
30528 (llrint_test_towardzero): Likewise.
30529 (llrint_test_downward): Likewise.
30530 (llrint_test_upward): Likewise.
30531 (log_test): Likewise.
30532 (log10_test): Likewise.
30533 (log1p_test): Likewise.
30534 (log2_test): Likewise.
30535 (logb_test): Likewise.
30536 (logb_test_downward): Likewise.
30537 (lround_test): Likewise.
30538 (llround_test): Likewise.
30539 (modf_test): Likewise.
30540 (nearbyint_test): Likewise.
30541 (nextafter_test): Likewise.
30542 (nexttoward_test): Likewise.
30543 (pow_test): Likewise.
30544 (pow_test_tonearest): Likewise.
30545 (pow_test_towardzero): Likewise.
30546 (pow_test_downward): Likewise.
30547 (pow_test_upward): Likewise.
30548 (remainder_test): Likewise.
30549 (remainder_test_tonearest): Likewise.
30550 (remainder_test_towardzero): Likewise.
30551 (remainder_test_downward): Likewise.
30552 (remainder_test_upward): Likewise.
30553 (remquo_test): Likewise.
30554 (rint_test): Likewise.
30555 (rint_test_tonearest): Likewise.
30556 (rint_test_towardzero): Likewise.
30557 (rint_test_downward): Likewise.
30558 (rint_test_upward): Likewise.
30559 (round_test): Likewise.
30560 (scalb_test): Likewise.
30561 (scalbn_test): Likewise.
30562 (scalbln_test): Likewise.
30563 (signbit_test): Likewise.
30564 (sin_test): Likewise.
30565 (sin_test_tonearest): Likewise.
30566 (sin_test_towardzero): Likewise.
30567 (sin_test_downward): Likewise.
30568 (sin_test_upward): Likewise.
30569 (sincos_test): Likewise.
30570 (sinh_test): Likewise.
30571 (sinh_test_tonearest): Likewise.
30572 (sinh_test_towardzero): Likewise.
30573 (sinh_test_downward): Likewise.
30574 (sinh_test_upward): Likewise.
30575 (sqrt_test): Likewise.
30576 (tan_test): Likewise.
30577 (tan_test_tonearest): Likewise.
30578 (tan_test_towardzero): Likewise.
30579 (tan_test_downward): Likewise.
30580 (tan_test_upward): Likewise.
30581 (tanh_test): Likewise.
30582 (tgamma_test): Likewise.
30583 (trunc_test): Likewise.
30584 (y0_test): Likewise.
30585 (y1_test): Likewise.
30586 (yn_test): Likewise.
30587 (significand_test): Likewise.
30589 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
30592 * libio/genops.c (_IO_no_init): Initialize wide struct info.
30594 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
30597 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30598 __ppc_mdoio and __ppc_mdoom.
30599 * manual/platform.texi: Document new functions __ppc_yield,
30600 __ppc_mdoio and __ppc_mdoom.
30602 2013-05-22 Carlos O'Donell <carlos@redhat.com>
30604 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30605 (main): Mention "tls" pseudo-hwcap is legacy.
30606 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30608 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30610 * math/gen-libm-test.pl (parse_args): Output only string of
30611 arguments as text for test name, not full call or descriptions of
30612 tests for extra outputs.
30613 (generate_testfile): Do not pass function name to parse_args.
30614 Generate this_func variable from START.
30615 * math/libm-test.inc (struct test_f_f_data): Rename test_name
30617 (struct test_ff_f_data): Likewise.
30618 (test_ff_f_data_nexttoward): Likewise.
30619 (struct test_fi_f_data): Likewise.
30620 (struct test_fl_f_data): Likewise.
30621 (struct test_if_f_data): Likewise.
30622 (struct test_fff_f_data): Likewise.
30623 (struct test_c_f_data): Likewise.
30624 (struct test_f_f1_data): Likewise. Remove field extra_name.
30625 (struct test_fF_f1_data): Likewise.
30626 (struct test_ffI_f1_data): Likewise.
30627 (struct test_c_c_data): Rename test_name field to arg_str.
30628 (struct test_cc_c_data): Likewise.
30629 (struct test_f_i_data): Likewise.
30630 (struct test_ff_i_data): Likewise.
30631 (struct test_f_l_data): Likewise.
30632 (struct test_f_L_data): Likewise.
30633 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
30635 (COMMON_TEST_SETUP): New macro.
30636 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30637 (COMMON_TEST_CLEANUP): Likewise.
30638 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30639 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
30641 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30642 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
30644 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30645 (RUN_TEST_fff_f): Take argument string. Call new setup and
30647 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30648 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
30650 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30651 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
30653 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30654 (RUN_TEST_fF_f1): Take argument string. Call new setup and
30656 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30657 (RUN_TEST_fI_f1): Take argument string. Call new setup and
30659 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30660 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
30662 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30663 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
30665 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30666 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
30668 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30669 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
30671 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30672 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
30674 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30675 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
30677 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30678 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
30680 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30681 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
30683 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30684 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
30686 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30687 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
30689 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30690 (RUN_TEST_fFF_11): Take argument string. Call new setup and
30692 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30694 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
30696 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30697 to _sifields.sigfault.
30698 (si_addr_lsb): Define new macro.
30699 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30700 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30701 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30703 2013-05-03 Carlos O'Donell <carlos at redhat.com>
30706 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30708 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30710 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30711 loading the domain.
30713 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30715 * math/gen-libm-test.pl (parse_args): Do not include expected
30716 result in test name.
30717 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30718 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30719 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30720 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30721 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30724 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30726 * benchtests/Makefile: Sort function entries.
30728 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30729 tanh, asinh, acosh, atanh.
30730 * benchtests/acos-inputs: New file.
30731 * benchtests/acosh-inputs: New file.
30732 * benchtests/asin-inputs: New file.
30733 * benchtests/asinh-inputs: New file.
30734 * benchtests/atanh-inputs: New file.
30735 * benchtests/cosh-inputs: New file.
30736 * benchtests/log-inputs: New file.
30737 * benchtests/sinh-inputs: New file.
30738 * benchtests/tanh-inputs: New file.
30740 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
30743 * posix/tst-getaddrinfo4.c: New test.
30744 * posix/Makefile (tests): Add it.
30746 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30749 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30750 when no services were used.
30751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30752 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30754 2013-05-21 Andreas Schwab <schwab@suse.de>
30757 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30758 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30760 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30761 redundant variable declarations and reallocation of buffer when
30762 parsing as IPv6 address. Always set NSS status when called from
30763 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
30764 buffer too small. Correct computation of needed size.
30765 * nss/Makefile (tests): Add test-digits-dots.
30766 * nss/test-digits-dots.c: New test.
30768 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30770 * benchtests/Makefile: Remove instructions for adding
30772 * benchtests/README: New file to explain how to execute and
30773 enhance the benchmark tests.
30775 2013-05-21 Andreas Schwab <schwab@suse.de>
30778 * setjmp/Makefile (tests): Add tst-sigsetjmp.
30779 * setjmp/tst-sigsetjmp.c: New test.
30781 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30783 * sysdeps/x86_64/memset.S (memset): New implementation.
30784 (__bzero): Likewise.
30785 (__memset_tail): New function.
30787 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30789 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30790 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30791 __memcpy_sse2_unaligned ifunc selection.
30792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30793 Add memcpy-sse2-unaligned.S.
30794 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30795 Add: __memcpy_sse2_unaligned.
30797 2013-05-19 Joseph Myers <joseph@codesourcery.com>
30800 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30801 math_force_eval before restoring floating-point envrionment.
30802 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30803 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30805 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30807 (__nearbyintl): Use math_force_eval before restoring
30808 floating-point environment.
30809 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30811 * math/gen-libm-test.pl (special_functions): Remove.
30812 (parse_args): Don't handle TEST_extra. Handle functions with no
30814 * math/libm-test.inc (struct test_sincos_data): Replace with
30815 struct test_fFF_11_data.
30816 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30817 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30818 (sincos_test_data): Change element type to struct
30819 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
30820 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30821 RUN_TEST_LOOP_sincos.
30822 * math/README.libm-test: Don't mention special handling of
30823 individual functions.
30824 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30825 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30826 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30827 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30828 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30831 * math/gen-libm-test.pl (get_variable): Remove function.
30832 (parse_args): Don't show pointer parameters to call in test
30833 names. Use "extra output N" in test names for extra outputs
30834 rather than naming variables.
30836 2013-05-18 Joseph Myers <joseph@codesourcery.com>
30839 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30840 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30841 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30843 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30845 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30848 * math/gen-libm-test.pl (@tests): Remove variable.
30849 ($count): Likewise.
30850 (new_test): Remove function.
30851 (show_exceptions): New function.
30852 (special_functions): Use show_exceptions instead of new_test.
30853 (parse_args): Likewise.
30854 (generate_testfile): Pass only function name in generated call to
30855 print_max_error or print_complex_max_error.
30856 (get_ulps): Do not handle complex tests specially.
30857 (output_test): Rename to ...
30858 (get_all_ulps_for_test): ... this. Return a string rather than
30859 printing to a file. Require ulps to be present.
30860 (output_ulps): Generate arrays rather than #defines.
30861 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30862 (struct ulp_data): New type.
30863 (BUILD_COMPLEX_ULP): Remove macro.
30864 (compare_ulp_data): New function.
30865 (find_ulps): Likewise.
30866 (find_test_ulps): Likewise.
30867 (find_function_ulps): Likewise.
30868 (find_complex_function_ulps): Likewise.
30869 (print_max_error): Determine allowed ulps using
30870 find_function_ulps.
30871 (print_complex_max_error): Determine allowed ulps using
30872 find_complex_function_ulps.
30873 (check_float_internal): Determine max ulps using find_test_ulps.
30874 (check_float): Do not take max_ulp parameter. Update call to
30875 check_float_internal.
30876 (check_complex): Likewise.
30877 (check_int): Do not take max_ulp parameter.
30878 (check_long): Likewise.
30879 (check_bool): Likewise.
30880 (check_longlong): Likewise.
30881 (struct test_f_f_data): Remove max_ulp field.
30882 (struct test_ff_f_data): Likewise.
30883 (struct test_ff_f_data_nexttoward): Likewise.
30884 (struct test_fi_f_data): Likewise.
30885 (struct test_fl_f_data): Likewise.
30886 (struct test_if_f_data): Likewise.
30887 (struct test_fff_f_data): Likewise.
30888 (struct test_c_f_data): Likewise.
30889 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30890 (struct test_fF_f1_data): Likewise.
30891 (struct test_ffI_f1_data): Likewise.
30892 (struct test_c_c_data): Remove max_ulp field.
30893 (struct test_cc_c_data): Likewise.
30894 (struct test_f_i_data): Likewise.
30895 (struct test_ff_i_data): Likewise.
30896 (struct test_f_l_data): Likewise.
30897 (struct test_f_L_data): Likewise.
30898 (struct test_sincos_data): Likewise.
30899 (RUN_TEST_f_f): Do not handle ulps.
30900 (RUN_TEST_LOOP_f_f): Likewise.
30901 (RUN_TEST_2_f): Likewise.
30902 (RUN_TEST_LOOP_2_f): Likewise.
30903 (RUN_TEST_fff_f): Likewise.
30904 (RUN_TEST_LOOP_fff_f): Likewise.
30905 (RUN_TEST_c_f): Likewise.
30906 (RUN_TEST_LOOP_c_f): Likewise.
30907 (RUN_TEST_f_f1): Likewise.
30908 (RUN_TEST_LOOP_f_f1): Likewise.
30909 (RUN_TEST_fF_f1): Likewise.
30910 (RUN_TEST_LOOP_fF_f1): Likewise.
30911 (RUN_TEST_fI_f1): Likewise.
30912 (RUN_TEST_LOOP_fI_f1): Likewise.
30913 (RUN_TEST_ffI_f1): Likewise.
30914 (RUN_TEST_LOOP_ffI_f1): Likewise.
30915 (RUN_TEST_c_c): Likewise.
30916 (RUN_TEST_LOOP_c_c): Likewise.
30917 (RUN_TEST_cc_c): Likewise.
30918 (RUN_TEST_LOOP_cc_c): Likewise.
30919 (RUN_TEST_f_i): Likewise.
30920 (RUN_TEST_LOOP_f_i): Likewise.
30921 (RUN_TEST_f_i_tg): Likewise.
30922 (RUN_TEST_LOOP_f_i_tg): Likewise.
30923 (RUN_TEST_ff_i_tg): Likewise.
30924 (RUN_TEST_LOOP_ff_i_tg): Likewise.
30925 (RUN_TEST_f_b): Likewise.
30926 (RUN_TEST_LOOP_f_b): Likewise.
30927 (RUN_TEST_f_b_tg): Likewise.
30928 (RUN_TEST_LOOP_f_b_tg): Likewise.
30929 (RUN_TEST_f_l): Likewise.
30930 (RUN_TEST_LOOP_f_l): Likewise.
30931 (RUN_TEST_f_L): Likewise.
30932 (RUN_TEST_LOOP_f_L): Likewise.
30933 (RUN_TEST_sincos): Likewise.
30934 (RUN_TEST_LOOP_sincos): Likewise.
30936 2013-05-17 Joseph Myers <joseph@codesourcery.com>
30940 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30941 main case of finite arguments, set rounding mode to FE_TONEAREST
30942 and discard exceptions.
30943 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30945 (remainder_tonearest_test_data): New variable.
30946 (remainder_test_tonearest): New function.
30947 (remainder_towardzero_test_data): New variable.
30948 (remainder_test_towardzero): New function.
30949 (remainder_downward_test_data): New variable.
30950 (remainder_test_downward): New function.
30951 (remainder_upward_test_data): New variable.
30952 (remainder_test_upward): New function.
30953 (main): Call the new test functions.
30955 * math/libm-test.inc (struct test_f_f1_data): Remove field
30957 (struct test_fF_f1_data): Likewise.
30958 (struct test_ffI_f1_data): Likewise.
30959 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
30960 based on value of EXTRA_EXPECTED.
30961 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30962 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
30963 EXTRA_VAR based on value of EXTRA_EXPECTED.
30964 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30965 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
30966 EXTRA_VAR based on value of EXTRA_EXPECTED.
30967 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30968 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
30969 EXTRA_VAR based on value of EXTRA_EXPECTED.
30970 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30971 * math/gen-libm-test.pl (parse_args): Don't output initializers
30972 for extra output values.
30974 * math/libm-test.inc (check_int): Expect result to be exactly
30975 equal to expected value and do not handle ulps.
30976 (check_long): Likewise.
30977 (check_longlong): Likewise.
30979 * math/libm-test.inc (ceil_test_data): Test for "inexact"
30981 (cimag_test_data): Likewise.
30982 (conj_test_data): Likewise.
30983 (copysign_test_data): Likewise.
30984 (cproj_test_data): Likewise.
30985 (creal_test_data): Likewise.
30986 (fabs_test_data): Likewise.
30987 (fdim_test_data): Likewise.
30988 (finite_test_data): Likewise.
30989 (floor_test_data): Likewise.
30990 (fmax_test_data): Likewise.
30991 (fmin_test_data): Likewise.
30992 (fmod_test_data): Likewise.
30993 (fpclassify_test_data): Likewise.
30994 (frexp_test_data): Likewise.
30995 (ilogb_test_data): Likewise.
30996 (isfinite_test_data): Likewise.
30997 (isgreater_test_data): Likewise.
30998 (isgreaterequal_test_data): Likewise.
30999 (isinf_test_data): Likewise.
31000 (isless_test_data): Likewise.
31001 (islessequal_test_data): Likewise.
31002 (islessgreater_test_data): Likewise.
31003 (isnan_test_data): Likewise.
31004 (isnormal_test_data): Likewise.
31005 (issignaling_test_data): Likewise.
31006 (isunordered_test_data): Likewise.
31007 (ldexp_test_data): Likewise.
31008 (lrint_test_data): Likewise.
31009 (lrint_test_data) [TEST_FLOAT]: Disable one test.
31010 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31011 (lrint_tonearest_test_data): Test for "inexact" exceptions.
31012 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31013 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31014 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31016 (lrint_towardzero_test_data): Test for "inexact" exceptions.
31017 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31018 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31019 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31021 (lrint_downward_test_data): Test for "inexact" exceptions.
31022 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31023 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31024 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31026 (lrint_upward_test_data): Test for "inexact" exceptions.
31027 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31029 (llrint_test_data): Test for "inexact" exceptions.
31030 (llrint_test_data) [TEST_FLOAT]: Disable one test.
31031 (llrint_tonearest_test_data): Test for "inexact" exceptions.
31032 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31033 (llrint_towardzero_test_data): Test for "inexact" exceptions.
31034 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31035 (llrint_downward_test_data): Test for "inexact" exceptions.
31036 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31037 (llrint_upward_test_data): Test for "inexact" exceptions.
31038 (logb_test_data): Likewise.
31039 (logb_downward_test_data): Likewise.
31040 (nextafter_test_data): Likewise.
31041 (nexttoward_test_data): Likewise.
31042 (remainder_test_data): Likewise.
31043 (remquo_test_data): Likewise.
31044 (scalbn_test_data): Likewise.
31045 (scalbln_test_data): Likewise.
31046 (signbit_test_data): Likewise.
31047 (sqrt_test_data): Likewise.
31048 (significand_test_data): Likewise.
31050 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31053 * benchtests/bench-modf.c (struct args): Mark arg0 as
31055 * scripts/bench.pl: Mark members of struct args as volatile.
31057 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31060 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31061 negative infinity on POWER6 or lower.
31062 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31064 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
31067 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31068 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31069 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31070 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31071 (_FP_SETQNAN): New macro.
31072 (_FP_SETQNAN_SEMIRAW): Likewise.
31073 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31074 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31075 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31076 (FP_EXTEND): Use _FP_FRAC_SNANP.
31077 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31078 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31080 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31082 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31085 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31087 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31088 with DIVIDE_BY_ZERO_EXCEPTION.
31089 (gamma_test_data): Likewise.
31090 (lgamma_test_data): Likewise.
31091 (log_test_data): Likewise.
31092 (log10_test_data): Likewise.
31093 (log2_test_data): Likewise.
31094 (tgamma_test_data): Likewise.
31096 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31097 (acos_test_tonearest): Likewise.
31098 (acos_test_towardzero): Likewise.
31099 (acos_test_downward): Likewise.
31100 (acos_test_upward): Likewise.
31101 (acosh_test): Likewise.
31102 (asin_test): Likewise.
31103 (asin_test_tonearest): Likewise.
31104 (asin_test_towardzero): Likewise.
31105 (asin_test_downward): Likewise.
31106 (asin_test_upward): Likewise.
31107 (asinh_test): Likewise.
31108 (atan_test): Likewise.
31109 (atanh_test): Likewise.
31110 (atan2_test): Likewise.
31111 (cabs_test): Likewise.
31112 (cacos_test): Likewise.
31113 (cacosh_test): Likewise.
31114 (casin_test): Likewise.
31115 (casinh_test): Likewise.
31116 (catan_test): Likewise.
31117 (catanh_test): Likewise.
31118 (cbrt_test): Likewise.
31119 (ccos_test): Likewise.
31120 (ccosh_test): Likewise.
31121 (cexp_test): Likewise.
31122 (clog_test): Likewise.
31123 (clog10_test): Likewise.
31124 (cos_test): Likewise.
31125 (cos_test_tonearest): Likewise.
31126 (cos_test_towardzero): Likewise.
31127 (cos_test_downward): Likewise.
31128 (cos_test_upward): Likewise.
31129 (cosh_test): Likewise.
31130 (cosh_test_tonearest): Likewise.
31131 (cosh_test_towardzero): Likewise.
31132 (cosh_test_downward): Likewise.
31133 (cosh_test_upward): Likewise.
31134 (cpow_test): Likewise.
31135 (csin_test): Likewise.
31136 (csinh_test): Likewise.
31137 (csqrt_test): Likewise.
31138 (ctan_test): Likewise.
31139 (ctan_test_tonearest): Likewise.
31140 (ctan_test_towardzero): Likewise.
31141 (ctan_test_downward): Likewise.
31142 (ctan_test_upward): Likewise.
31143 (ctanh_test): Likewise.
31144 (ctanh_test_tonearest): Likewise.
31145 (ctanh_test_towardzero): Likewise.
31146 (ctanh_test_downward): Likewise.
31147 (ctanh_test_upward): Likewise.
31148 (erf_test): Likewise.
31149 (erfc_test): Likewise.
31150 (exp_test): Likewise.
31151 (exp_test_tonearest): Likewise.
31152 (exp_test_towardzero): Likewise.
31153 (exp_test_downward): Likewise.
31154 (exp_test_upward): Likewise.
31155 (exp10_test): Likewise.
31156 (exp2_test): Likewise.
31157 (expm1_test): Likewise.
31158 (fmod_test): Likewise.
31159 (gamma_test): Likewise.
31160 (hypot_test): Likewise.
31161 (j0_test): Likewise.
31162 (j1_test): Likewise.
31163 (jn_test): Likewise.
31164 (lgamma_test): Likewise.
31165 (log_test): Likewise.
31166 (log10_test): Likewise.
31167 (log1p_test): Likewise.
31168 (log2_test): Likewise.
31169 (logb_test_downward): Likewise.
31170 (pow_test): Likewise.
31171 (pow_test_tonearest): Likewise.
31172 (pow_test_towardzero): Likewise.
31173 (pow_test_downward): Likewise.
31174 (pow_test_upward): Likewise.
31175 (remainder_test): Likewise.
31176 (remquo_test): Likewise.
31177 (sin_test): Likewise.
31178 (sin_test_tonearest): Likewise.
31179 (sin_test_towardzero): Likewise.
31180 (sin_test_downward): Likewise.
31181 (sin_test_upward): Likewise.
31182 (sincos_test): Likewise.
31183 (sinh_test): Likewise.
31184 (sinh_test_tonearest): Likewise.
31185 (sinh_test_towardzero): Likewise.
31186 (sinh_test_downward): Likewise.
31187 (sinh_test_upward): Likewise.
31188 (sqrt_test): Likewise.
31189 (tan_test): Likewise.
31190 (tan_test_tonearest): Likewise.
31191 (tan_test_towardzero): Likewise.
31192 (tan_test_downward): Likewise.
31193 (tan_test_upward): Likewise.
31194 (tanh_test): Likewise.
31195 (tgamma_test): Likewise.
31196 (y0_test): Likewise.
31197 (y1_test): Likewise.
31198 (yn_test): Likewise.
31200 * math/gen-libm-test.pl (adjust_arg): Remove function.
31201 (special_function): Remove argument $in_func. Only handle
31202 generating output for tables of tests, not inside functions.
31203 (parse_args): Likewise.
31204 (generate_testfile): Remove variable $in_func. Update call to
31206 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31207 (MINUS_ZERO_INIT): Rename macro to minus_zero.
31208 (PLUS_INFTY_INIT): Rename macro to plus_infty.
31209 (MINUS_INFTY_INIT): Rename macro to minus_infty.
31210 (QNAN_VALUE_INIT): Rename macro to qnan_value.
31211 (MAX_VALUE_INIT): Rename macro to max_value.
31212 (MIN_VALUE_INIT): Rename macro to min_value.
31213 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31214 (plus_zero): Remove variable.
31215 (minus_zero): Likewise.
31216 (plus_infty): Likewise.
31217 (minus_infty): Likewise.
31218 (qnan_value): Likewise.
31219 (max_value): Likewise.
31220 (min_value): Likewise.
31221 (min_subnorm_value): Likewise.
31223 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31225 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31226 uint64_t or uint32_t usage.
31227 * crypt/sha256-block.c: Likewise.
31228 * crypt/sha256-crypt.c: Likewise.
31229 * crypt/sha256.c: Likewise.
31230 * crypt/sha512-block.c: Likewise.
31231 * crypt/sha512-crypt.c: Likewise.
31232 * crypt/sha512.c: Likewise.
31233 * debug/backtrace-tst.c: Likewise.
31234 * debug/pcprofiledump.c: Likewise.
31235 * elf/cache.c: Likewise.
31236 * elf/dl-cache.c: Likewise.
31237 * elf/dl-misc.c: Likewise.
31238 * elf/dl-profile.c: Likewise.
31239 * elf/dl-support.c: Likewise.
31240 * elf/ldconfig.c: Likewise.
31241 * elf/sprof.c: Likewise.
31242 * iconv/dummy-repertoire.c: Likewise.
31243 * iconv/iconv_charmap.c: Likewise.
31244 * iconv/skeleton.c: Likewise.
31245 * iconvdata/8bit-generic.c: Likewise.
31246 * iconvdata/cp737.h: Likewise.
31247 * iconvdata/cp775.h: Likewise.
31248 * iconvdata/ibm1008.h: Likewise.
31249 * iconvdata/ibm1025.h: Likewise.
31250 * iconvdata/ibm1046.h: Likewise.
31251 * iconvdata/ibm1097.h: Likewise.
31252 * iconvdata/ibm1112.h: Likewise.
31253 * iconvdata/ibm1122.h: Likewise.
31254 * iconvdata/ibm1123.h: Likewise.
31255 * iconvdata/ibm1124.h: Likewise.
31256 * iconvdata/ibm1129.h: Likewise.
31257 * iconvdata/ibm1130.h: Likewise.
31258 * iconvdata/ibm1132.h: Likewise.
31259 * iconvdata/ibm1133.h: Likewise.
31260 * iconvdata/ibm1137.h: Likewise.
31261 * iconvdata/ibm1140.h: Likewise.
31262 * iconvdata/ibm1141.h: Likewise.
31263 * iconvdata/ibm1142.h: Likewise.
31264 * iconvdata/ibm1143.h: Likewise.
31265 * iconvdata/ibm1144.h: Likewise.
31266 * iconvdata/ibm1145.h: Likewise.
31267 * iconvdata/ibm1146.h: Likewise.
31268 * iconvdata/ibm1147.h: Likewise.
31269 * iconvdata/ibm1148.h: Likewise.
31270 * iconvdata/ibm1149.h: Likewise.
31271 * iconvdata/ibm1153.h: Likewise.
31272 * iconvdata/ibm1154.h: Likewise.
31273 * iconvdata/ibm1155.h: Likewise.
31274 * iconvdata/ibm1156.h: Likewise.
31275 * iconvdata/ibm1157.h: Likewise.
31276 * iconvdata/ibm1158.h: Likewise.
31277 * iconvdata/ibm1160.h: Likewise.
31278 * iconvdata/ibm1161.h: Likewise.
31279 * iconvdata/ibm1162.h: Likewise.
31280 * iconvdata/ibm1163.h: Likewise.
31281 * iconvdata/ibm1164.h: Likewise.
31282 * iconvdata/ibm1166.h: Likewise.
31283 * iconvdata/ibm1167.h: Likewise.
31284 * iconvdata/ibm12712.h: Likewise.
31285 * iconvdata/ibm1390.h: Likewise.
31286 * iconvdata/ibm1399.h: Likewise.
31287 * iconvdata/ibm16804.h: Likewise.
31288 * iconvdata/ibm4517.h: Likewise.
31289 * iconvdata/ibm4899.h: Likewise.
31290 * iconvdata/ibm4909.h: Likewise.
31291 * iconvdata/ibm4971.h: Likewise.
31292 * iconvdata/ibm5347.h: Likewise.
31293 * iconvdata/ibm803.h: Likewise.
31294 * iconvdata/ibm856.h: Likewise.
31295 * iconvdata/ibm901.h: Likewise.
31296 * iconvdata/ibm902.h: Likewise.
31297 * iconvdata/ibm9030.h: Likewise.
31298 * iconvdata/ibm9066.h: Likewise.
31299 * iconvdata/ibm921.h: Likewise.
31300 * iconvdata/ibm922.h: Likewise.
31301 * iconvdata/ibm9448.h: Likewise.
31302 * iconvdata/isiri-3342.h: Likewise.
31303 * iconvdata/jis0201.h: Likewise.
31304 * include/link.h: Likewise.
31305 * include/netdb.h: Likewise.
31306 * inet/check_native.c: Likewise.
31307 * inet/check_pf.c: Likewise.
31308 * inet/getipv4sourcefilter.c: Likewise.
31309 * inet/getnameinfo.c: Likewise.
31310 * inet/getsourcefilter.c: Likewise.
31311 * inet/htonl.c: Likewise.
31312 * inet/setipv4sourcefilter.c: Likewise.
31313 * inet/setsourcefilter.c: Likewise.
31314 * inet/test-inet6_opt.c: Likewise.
31315 * inet/tst-network.c: Likewise.
31316 * locale/C-collate.c: Likewise.
31317 * locale/C-ctype.c: Likewise.
31318 * locale/C-time.c: Likewise.
31319 * locale/C-translit.h: Likewise.
31320 * locale/loadarchive.c: Likewise.
31321 * locale/programs/3level.h: Likewise.
31322 * locale/programs/charmap.c: Likewise.
31323 * locale/programs/charmap.h: Likewise.
31324 * locale/programs/ld-address.c: Likewise.
31325 * locale/programs/ld-collate.c: Likewise.
31326 * locale/programs/ld-ctype.c: Likewise.
31327 * locale/programs/ld-identification.c: Likewise.
31328 * locale/programs/ld-measurement.c: Likewise.
31329 * locale/programs/ld-messages.c: Likewise.
31330 * locale/programs/ld-monetary.c: Likewise.
31331 * locale/programs/ld-name.c: Likewise.
31332 * locale/programs/ld-numeric.c: Likewise.
31333 * locale/programs/ld-paper.c: Likewise.
31334 * locale/programs/ld-telephone.c: Likewise.
31335 * locale/programs/ld-time.c: Likewise.
31336 * locale/programs/linereader.c: Likewise.
31337 * locale/programs/locale.c: Likewise.
31338 * locale/programs/locarchive.c: Likewise.
31339 * locale/programs/locfile.h: Likewise.
31340 * locale/programs/repertoire.c: Likewise.
31341 * locale/programs/simple-hash.c: Likewise.
31342 * locale/programs/simple-hash.h: Likewise.
31343 * malloc/memusage.c: Likewise.
31344 * malloc/memusagestat.c: Likewise.
31345 * nis/nis_defaults.c: Likewise.
31346 * nis/nis_hash.c: Likewise.
31347 * nis/nis_print.c: Likewise.
31348 * nis/nis_xdr.c: Likewise.
31349 * nscd/connections.c: Likewise.
31350 * nscd/hstcache.c: Likewise.
31351 * nscd/nscd_gethst_r.c: Likewise.
31352 * nscd/nscd_getserv_r.c: Likewise.
31353 * nscd/nscd_helper.c: Likewise.
31354 * nscd/servicescache.c: Likewise.
31355 * nss/makedb.c: Likewise.
31356 * nss/nss_db/db-XXX.c: Likewise.
31357 * nss/nss_db/db-initgroups.c: Likewise.
31358 * nss/nss_db/db-netgrp.c: Likewise.
31359 * nss/nss_files/files-network.c: Likewise.
31360 * nss/nss_files/files-parse.c: Likewise.
31361 * posix/bug-regex5.c: Likewise.
31362 * posix/fnmatch_loop.c: Likewise.
31363 * posix/regcomp.c: Likewise.
31364 * posix/regexec.c: Likewise.
31365 * posix/tst-rfc3484-2.c: Likewise.
31366 * posix/tst-rfc3484-3.c: Likewise.
31367 * posix/tst-rfc3484.c: Likewise.
31368 * resolv/nss_dns/dns-canon.c: Likewise.
31369 * resolv/nss_dns/dns-network.c: Likewise.
31370 * resolv/res_init.c: Likewise.
31371 * resolv/res_mkquery.c: Likewise.
31372 * resolv/tst-aton.c: Likewise.
31373 * stdlib/cxa_atexit.c: Likewise.
31374 * stdlib/cxa_finalize.c: Likewise.
31375 * stdlib/gen-fpioconst.c: Likewise.
31376 * stdlib/strtol_l.c: Likewise.
31377 * string/tst-endian.c: Likewise.
31378 * sunrpc/auth_des.c: Likewise.
31379 * sunrpc/clnt_udp.c: Likewise.
31380 * sunrpc/rtime.c: Likewise.
31381 * sunrpc/svcauth_des.c: Likewise.
31382 * sunrpc/xdr.c: Likewise.
31383 * sunrpc/xdr_intXX_t.c: Likewise.
31384 * sunrpc/xdr_rec.c: Likewise.
31385 * sysdeps/generic/ldconfig.h: Likewise.
31386 * sysdeps/generic/ldsodefs.h: Likewise.
31387 * sysdeps/generic/memusage.h: Likewise.
31388 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31389 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31390 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31391 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31392 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31393 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31394 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31395 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31396 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31397 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31398 * sysdeps/posix/getaddrinfo.c: Likewise.
31399 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31400 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31401 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31402 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31403 * sysdeps/powerpc/test-gettimebase.c: Likewise.
31404 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31405 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31406 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31407 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31408 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31409 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31410 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31411 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31412 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31413 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31414 * sysdeps/x86_64/dl-tls.h: Likewise.
31415 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31416 * time/alt_digit.c: Likewise.
31417 * time/era.c: Likewise.
31418 * wcsmbs/tst-c16c32-1.c: Likewise.
31420 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31422 * math/libm-test.inc (struct test_sincos_data): New type.
31423 (RUN_TEST_LOOP_sincos): New macro.
31424 (sincos_test_data): New variable.
31425 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31427 2013-05-16 Richard Henderson <rth@redhat.com>
31429 * math/atest-exp2.c (LIMB64): New macro.
31430 (CONSTSZ): New macro.
31431 (mp_exp1, mp_exp_m1, mp_log2): New variables.
31433 (print_mpn_fp): ... to function scope.
31434 (read_mpn_hex): Remove.
31435 (get_log2): Remove.
31436 (exp2_mpn): Use mp_log2.
31437 (main): Use mp_exp1.
31439 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31441 * math/libm-test.inc: Remove comment about not testing "inexact"
31443 (INEXACT_EXCEPTION): New macro.
31444 (NO_INEXACT_EXCEPTION): Likewise.
31445 (INVALID_EXCEPTION_OK): Update value.
31446 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31447 (OVERFLOW_EXCEPTION_OK): Likewise.
31448 (UNDERFLOW_EXCEPTION_OK): Likewise.
31449 (IGNORE_ZERO_INF_SIGN): Likewise.
31450 (ERRNO_UNCHANGED): Likewise.
31451 (ERRNO_EDOM): Likewise.
31452 (ERRNO_ERANGE): Likewise.
31453 (test_exceptions): Handle testing "inexact" exceptions.
31454 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31455 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31456 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31457 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31459 (rint_towardzero_test_data): Likewise.
31460 (rint_downward_test_data): Likewise.
31461 (rint_upward_test_data): Likewise.
31463 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31464 with OVERFLOW_EXCEPTION.
31465 (exp10_test_data): Likewise.
31466 (exp2_test_data): Likewise.
31467 (expm1_test_data): Likewise.
31468 (lgamma_test_data): Likewise.
31469 (pow_test_data): Likewise.
31470 (tgamma_test_data): Likewise.
31471 (yn_test_data): Remove duplicate test of overflow.
31473 * math/libm-test.inc (struct test_cc_c_data): New type.
31474 (RUN_TEST_LOOP_cc_c): New macro.
31475 (cpow_test_data): New variable.
31476 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31478 * math/libm-test.inc (struct test_f_L_data): New type.
31479 (RUN_TEST_LOOP_f_L): New macro.
31480 (llrint_test_data): New variable.
31481 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31482 (llrint_tonearest_test_data): New variable.
31483 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31484 (llrint_towardzero_test_data): New variable.
31485 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31486 (llrint_downward_test_data): New variable.
31487 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31488 (llrint_upward_test_data): New variable.
31489 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31490 (llround_test_data): New variable.
31491 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31493 2013-05-13 Peter Collingbourne <pcc@google.com>
31495 * math/atest-exp2.c (get_log2): Remove const attribute.
31497 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31499 * math/libm-test.inc (struct test_f_l_data): New type.
31500 (RUN_TEST_LOOP_f_l): New macro.
31501 (lrint_test_data): New variable.
31502 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31503 (lrint_tonearest_test_data): New variable.
31504 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31505 (lrint_towardzero_test_data): New variable.
31506 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31507 (lrint_downward_test_data): New variable.
31508 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31509 (lrint_upward_test_data): New variable.
31510 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31511 (lround_test_data): New variable.
31512 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31514 2013-05-15 Peter Collingbourne <pcc@google.com>
31516 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31517 (EXTRACT_WORDS64) Use where appropriate.
31518 (INSERT_WORDS64) Likewise.
31520 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31521 constraints with x constraints.
31522 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31524 * malloc/obstack.c (_obstack_compat): Add initializer.
31526 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
31528 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31529 si_trapno and add si_addr_lsb to _sifields.sigfault.
31530 (si_trapno): Remove macro.
31531 (si_addr_lsb): Define new macro.
31532 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31534 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31536 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31537 instead of TEST_f_l.
31538 (llrint_test_tonearest): Likewise.
31539 (llrint_test_towardzero): Likewise.
31540 (llrint_test_downward): Likewise.
31541 (llrint_test_upward): Likewise.
31542 (llround_test): Likewise.
31544 * math/libm-test.inc (struct test_f_i_data): Add comment.
31545 (RUN_TEST_LOOP_f_b): New macro.
31546 (RUN_TEST_LOOP_f_b_tg): Likewise.
31547 (finite_test_data): New variable.
31548 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31549 (isfinite_test_data): New variable.
31550 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31551 (isinf_test_data): New variable.
31552 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31553 (isnan_test_data): New variable.
31554 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31555 (isnormal_test_data): New variable.
31556 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31557 (issignaling_test_data): New variable.
31558 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31559 (signbit_test_data): New variable.
31560 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31562 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31563 with INVALID_EXCEPTION.
31564 (acosh_test_data): Likewise.
31565 (asin_test_data): Likewise.
31566 (atanh_test_data): Likewise.
31567 (fmod_test_data): Likewise.
31568 (log_test_data): Likewise.
31569 (log10_test_data): Likewise.
31570 (log2_test_data): Likewise.
31571 (pow_test_data): Likewise.
31572 (sqrt_test_data): Likewise.
31573 (y0_test_data): Likewise.
31574 (y1_test_data): Likewise.
31575 (yn_test_data): Likewise.
31577 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31580 * math/libm-test.inc (struct test_ff_i_data): New type.
31581 (RUN_TEST_LOOP_ff_i_tg): New macro.
31582 (isgreater_test_data): New variable.
31583 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31584 (isgreaterequal_test_data): New variable.
31585 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31586 (isless_test_data): New variable.
31587 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31588 (islessequal_test_data): New variable.
31589 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31590 (islessgreater_test_data): New variable.
31591 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31592 (isunordered_test_data): New variable.
31593 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31595 2013-05-14 David S. Miller <davem@davemloft.net>
31597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31599 2013-05-14 Joseph Myers <joseph@codesourcery.com>
31601 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31603 * math/libm-test.inc (struct test_fF_f1_data): Change type of
31605 (struct test_f_i_data): Change type of max_ulp to int.
31607 * math/libm-test.inc (test_ffI_f1_data): New type.
31608 (RUN_TEST_LOOP_ffI_f1): New macro.
31609 (remquo_test_data): New variable.
31610 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31612 * setjmp/tst-setjmp-fp.c: New file.
31613 * setjmp/Makefile (tests): Add tst-setjmp-fp.
31614 (link-libm): New variable.
31615 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31617 * math/libm-test.inc (struct test_f_i_data): New type.
31618 (RUN_TEST_LOOP_f_i): New macro.
31619 (RUN_TEST_LOOP_f_i_tg): Likewise.
31620 (fpclassify_test_data): New variable.
31621 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31622 (ilogb_test_data): New variable.
31623 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31625 * math/libm-test.inc (scalbln_test): Correct function name in END
31628 * math/libm-test.inc (struct test_f_f1_data): Add comment.
31629 (RUN_TEST_LOOP_fI_f1): New macro.
31630 (frexp_test_data): New variable.
31631 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31633 * math/libm-test.inc (struct test_fF_f1_data): New type.
31634 (RUN_TEST_LOOP_fF_f1): New macro.
31635 (modf_test_data): New variable.
31636 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31638 * math/libm-test.inc (struct test_f_f1_data): New type.
31639 (RUN_TEST_LOOP_f_f1): New macro.
31640 (gamma_test_data): New variable.
31641 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31642 (lgamma_test_data): New variable.
31643 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31645 2013-05-13 Carlos O'Donell <carlos@redhat.com>
31647 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31648 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31649 (main): Comment "tls" pseudo-hwcap.
31651 2013-05-13 Joseph Myers <joseph@codesourcery.com>
31653 * math/libm-test.inc (struct test_fl_f_data): New type.
31654 (RUN_TEST_LOOP_fl_f): New variable.
31655 (scalbln_test_data): New variable.
31656 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31658 * math/libm-test.inc (struct test_fi_f_data): New type.
31659 (RUN_TEST_LOOP_fi_f): New macro.
31660 (ldexp_test_data): New variable.
31661 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31662 (scalbn_test_data): New variable.
31663 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31665 * math/libm-test.inc (struct test_c_f_data): New type.
31666 (RUN_TEST_LOOP_c_f): New macro.
31667 (cabs_test_data): New variable.
31668 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31669 (carg_test_data): New variable.
31670 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31671 (cimag_test_data): New variable.
31672 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31673 (creal_test_data): New variable.
31674 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31676 * math/libm-test.inc (struct test_if_f_data): New type.
31677 (RUN_TEST_LOOP_if_f): New macro.
31678 (jn_test_data): New variable.
31679 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31680 (yn_test_data): New variable.
31681 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31683 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31685 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31687 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31688 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31690 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31692 * benchtests/Makefile (CPPFLAGS-nonlib): Add
31693 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31694 (bench-deps): Add bench-timing.h.
31695 * benchtests-bench-skeleton.c: Include bench-timing.h.
31696 (main): Use TIMING_* macros instead of clock_gettime.
31697 * benchtests/bench-timing.h: New file.
31700 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31701 Renamed from _LIB_VERSION.
31702 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31704 2013-05-12 Joseph Myers <joseph@codesourcery.com>
31706 * math/libm-test.inc (struct test_fff_f_data): New type.
31707 (RUN_TEST_LOOP_fff_f): New macro.
31708 (fma_test_data): New variable.
31709 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31710 (fma_towardzero_test_data): New variable.
31711 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31712 (fma_downward_test_data): New variable.
31713 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31714 (fma_upward_test_data): New variable.
31715 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31717 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31718 (struct test_c_c_data): New type.
31719 (RUN_TEST_LOOP_c_c): New macro.
31720 (cacos_test_data): New variable.
31721 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31722 (cacosh_test_data): New variable.
31723 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31724 (casin_test_data): New variable.
31725 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31726 (casinh_test_data): New variable.
31727 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31728 (catan_test_data): New variable.
31729 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31730 (catanh_test_data): New variable.
31731 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31732 (ccos_test_data): New variable.
31733 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31734 (ccosh_test_data): New variable.
31735 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31736 (cexp_test_data): New variable.
31737 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31738 (clog_test_data): New variable.
31739 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31740 (clog10_test_data): New variable.
31741 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31742 (conj_test_data): New variable.
31743 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31744 (cproj_test_data): New variable.
31745 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31746 (csin_test_data): New variable.
31747 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31748 (csinh_test_data): New variable.
31749 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31750 (csqrt_test_data): New variable.
31751 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31752 (ctan_test_data): New variable.
31753 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31754 (ctan_tonearest_test_data): New variable.
31755 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31756 (ctan_towardzero_test_data): New variable.
31757 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31758 (ctan_downward_test_data): New variable.
31759 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31760 (ctan_upward_test_data): New variable.
31761 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31762 (ctanh_test_data): New variable.
31763 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31764 (ctanh_tonearest_test_data): New variable.
31765 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31766 (ctanh_towardzero_test_data): New variable.
31767 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31768 (ctanh_downward_test_data): New variable.
31769 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31770 (ctanh_upward_test_data): New variable.
31771 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31772 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31775 * math/libm-test.inc (struct test_ff_f_data): New type.
31776 (struct test_ff_f_data_nexttoward): Likewise.
31777 (RUN_TEST_LOOP_2_f): New macro.
31778 (RUN_TEST_LOOP_ff_f): Likewise.
31779 (atan2_test_data): New variable.
31780 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31781 (copysign_test_data): New variable.
31782 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31783 (fdim_test_data): New variable.
31784 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31785 (fmax_test_data): New variable.
31786 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31787 (fmin_test_data): New variable.
31788 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31789 (fmod_test_data): New variable.
31790 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31791 (hypot_test_data): New variable.
31792 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31793 (nextafter_test_data): New variable.
31794 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31795 (nexttoward_test_data): New variable.
31796 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31797 (pow_test_data): New variable.
31798 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31799 (pow_tonearest_test_data): New variable.
31800 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31801 (pow_towardzero_test_data): New variable.
31802 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31803 (pow_downward_test_data): New variable.
31804 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31805 (pow_upward_test_data): New variable.
31806 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31807 (remainder_test_data): New variable.
31808 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31809 (scalb_test_data): New variable.
31810 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31811 * sysdeps/i386/fpu/libm-test-ulps: Update.
31813 2013-05-11 Joseph Myers <joseph@codesourcery.com>
31815 * math/libm-test.inc (fma_test): Use max_value instead of local
31817 (nextafter_test): Likewise.
31819 * math/libm-test.inc (acos_towardzero_test_data): New variable.
31820 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31821 (acos_downward_test_data): New variable.
31822 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31823 (acos_upward_test_data): New variable.
31824 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31825 (acosh_test_data): New variable.
31826 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31827 (asin_test_data): New variable.
31828 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31829 (asin_tonearest_test_data): New variable.
31830 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31831 (asin_towardzero_test_data): New variable.
31832 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31833 (asin_downward_test_data): New variable.
31834 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31835 (asin_upward_test_data): New variable.
31836 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31837 (asinh_test_data): New variable.
31838 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31839 (atan_test_data): New variable.
31840 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31841 (atanh_test_data): New variable.
31842 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31843 (cbrt_test_data): New variable.
31844 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31845 (ceil_test_data): New variable.
31846 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31847 (cos_test_data): New variable.
31848 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31849 (cos_tonearest_test_data): New variable.
31850 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31851 (cos_towardzero_test_data): New variable.
31852 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31853 (cos_downward_test_data): New variable.
31854 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31855 (cos_upward_test_data): New variable.
31856 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31857 (cosh_test_data): New variable.
31858 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31859 (cosh_tonearest_test_data): New variable.
31860 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31861 (cosh_towardzero_test_data): New variable.
31862 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31863 (cosh_downward_test_data): New variable.
31864 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31865 (cosh_upward_test_data): New variable.
31866 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31867 (erf_test_data): New variable.
31868 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31869 (erfc_test_data): New variable.
31870 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31871 (exp_test_data): New variable.
31872 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31873 (exp_tonearest_test_data): New variable.
31874 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31875 (exp_towardzero_test_data): New variable.
31876 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31877 (exp_downward_test_data): New variable.
31878 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31879 (exp_upward_test_data): New variable.
31880 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31881 (exp10_test_data): New variable.
31882 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31883 (exp2_test_data): New variable.
31884 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31885 (expm1_test_data): New variable.
31886 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31887 (fabs_test_data): New variable.
31888 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31889 (floor_test_data): New variable.
31890 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31891 (j0_test_data): New variable.
31892 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31893 (j1_test_data): New variable.
31894 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31895 (log_test_data): New variable.
31896 (log_test): Run tests with RUN_TEST_LOOP_f_f.
31897 (log10_test_data): New variable.
31898 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31899 (log1p_test_data): New variable.
31900 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31901 (log2_test_data): New variable.
31902 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31903 (logb_test_data): New variable.
31904 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31905 (logb_downward_test_data): New variable.
31906 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31907 (nearbyint_test_data): New variable.
31908 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31909 (rint_test_data): New variable.
31910 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31911 (rint_tonearest_test_data): New variable.
31912 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31913 (rint_towardzero_test_data): New variable.
31914 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31915 (rint_downward_test_data): New variable.
31916 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31917 (rint_upward_test_data): New variable.
31918 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31919 (round_test_data): New variable.
31920 (round_test): Run tests with RUN_TEST_LOOP_f_f.
31921 (sin_test_data): New variable.
31922 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31923 (sin_tonearest_test_data): New variable.
31924 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31925 (sin_towardzero_test_data): New variable.
31926 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31927 (sin_downward_test_data): New variable.
31928 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31929 (sin_upward_test_data): New variable.
31930 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31931 (sinh_test_data): New variable.
31932 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31933 (sinh_tonearest_test_data): New variable.
31934 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31935 (sinh_towardzero_test_data): New variable.
31936 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31937 (sinh_downward_test_data): New variable.
31938 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31939 (sinh_upward_test_data): New variable.
31940 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31941 (sqrt_test_data): New variable.
31942 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31943 (tan_test_data): New variable.
31944 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31945 (tan_tonearest_test_data): New variable.
31946 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31947 (tan_towardzero_test_data): New variable.
31948 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31949 (tan_downward_test_data): New variable.
31950 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31951 (tan_upward_test_data): New variable.
31952 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31953 (tanh_test_data): New variable.
31954 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31955 (tgamma_test_data): New variable.
31956 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31957 (trunc_test_data): New variable.
31958 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31959 (y0_test_data): New variable.
31960 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31961 (y1_test_data): New variable.
31962 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31963 (significand_test_data): New variable.
31964 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31966 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
31969 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31971 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
31973 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31975 2013-05-10 Andreas Jaeger <aj@suse.de>
31978 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31979 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31981 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31983 * math/gen-libm-test.pl (adjust_arg): New function.
31984 (special_functions): Handle generating output in both functions
31986 (parse_args): Likewise.
31987 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
31988 $in_func argument to parse_args.
31989 * math/libm-test.inc (struct test_f_f_data): New type.
31990 (IF_ROUND_INIT_): New macro.
31991 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31992 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31993 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31994 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31995 (ROUND_RESTORE_): Likewise.
31996 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31997 (ROUND_RESTORE_FE_TONEAREST): Likewise.
31998 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31999 (ROUND_RESTORE_FE_UPWARD): Likewise.
32000 (RUN_TEST_LOOP_f_f): New macro.
32001 (acos_test_data): New variable.
32002 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32003 (acos_tonearest_test_data): New variable.
32004 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32006 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32008 * benchtests/bench-skeleton.c (startup): Fix coding style.
32010 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32013 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32014 negative infinity argument.
32015 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32016 negative infinity argument.
32017 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32018 negative infinity argument.
32019 * math/libm-test.inc (tgamma_test): Expect errno to be set for
32022 2013-05-10 Florian Weimer <fweimer@redhat.com>
32024 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32025 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32026 * iconv/iconv_prog.c (main): Likewise.
32027 * locale/programs/charmap-dir.c (charmap_readdir)
32028 (fopen_uncompressed): Likewise.
32029 * locale/programs/locfile.c (siblings_uncached)
32030 (write_locale_data): Use lstat64 instead of lstat.
32031 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32034 2013-05-10 Andreas Jaeger <aj@suse.de>
32037 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32039 Include <locale.h>.
32041 2013-05-09 Carlos O'Donell <carlos@redhat.com>
32043 * elf/dl-close.c (_dl_close_worker): Add comments.
32045 2013-05-09 Joseph Myers <joseph@codesourcery.com>
32048 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32050 (__ieee754_rem_pio2l): Update comments.
32053 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32055 (__ieee754_rem_pio2l): Update comments.
32057 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32058 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32060 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32063 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32064 (M_PI_34_LOG10El): Likewise.
32065 (M_PI2_LOG10El): Likewise.
32066 (M_PI4_LOG10El): Likewise.
32067 (M_PI_LOG10El): Likewise.
32069 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32073 2013-05-08 Joseph Myers <joseph@codesourcery.com>
32075 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32076 (MINUS_ZERO_INIT): Likewise.
32077 (PLUS_INFTY_INIT): Likewise.
32078 (MINUS_INFTY_INIT): Likewise.
32079 (QNAN_VALUE_INIT): Likewise.
32080 (MAX_VALUE_INIT): Likewise.
32081 (MIN_VALUE_INIT): Likewise.
32082 (MIN_SUBNORM_VALUE_INIT): Likewise.
32083 (plus_zero): Initialize with PLUS_ZERO_INIT.
32084 (minus_zero): Initialize with MINUS_ZERO_INIT.
32085 (plus_infty): Initialize with PLUS_INFTY_INIT.
32086 (minus_infty): Initialize with MINUS_INFTY_INIT.
32087 (qnan_value): Initialize with QNAN_VALUE_INIT.
32088 (max_value): Initialize with MAX_VALUE_INIT.
32089 (min_value): Initialize with MIN_VALUE_INIT.
32090 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32092 * math/libm-test.inc (RUN_TEST_if_f): New macro.
32093 (jn_test): Use TEST_if_f instead of TEST_ff_f.
32094 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32095 (yn_test): Use TEST_if_f instead of TEST_ff_f.
32097 * math/libm-test.inc (RUN_TEST_f_f): New macro.
32098 (RUN_TEST_2_f): Likewise.
32099 (RUN_TEST_ff_f): Likewise.
32100 (RUN_TEST_fi_f): Likewise.
32101 (RUN_TEST_fl_f): Likewise.
32102 (RUN_TEST_fff_f): Likewise.
32103 (RUN_TEST_c_f): Likewise.
32104 (RUN_TEST_f_f1): Likewise.
32105 (RUN_TEST_fF_f1): Likewise.
32106 (RUN_TEST_fI_f1): Likewise.
32107 (RUN_TEST_ffI_f1): Likewise.
32108 (RUN_TEST_c_c): Likewise.
32109 (RUN_TEST_cc_c): Likewise.
32110 (RUN_TEST_f_i): Likewise.
32111 (RUN_TEST_f_i_tg): Likewise.
32112 (RUN_TEST_ff_i_tg): Likewise.
32113 (RUN_TEST_f_b): Likewise.
32114 (RUN_TEST_f_b_tg): Likewise.
32115 (RUN_TEST_f_l): Likewise.
32116 (RUN_TEST_f_L): Likewise.
32117 (RUN_TEST_sincos): Likewise.
32118 * math/gen-libm-test.pl (new_test): Take new argument to indicate
32119 whether to show exceptions. Do not include ");\n" in return
32121 (special_functions): Output call to RUN_TEST_sincos instead of
32122 check_float calls. Update calls to new_test.
32123 (parse_args): Output call to single RUN_TEST_* macro instead of
32124 check_* calls and other assignments. Update calls to new_test.
32130 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32131 input to result for tgamma overflow.
32132 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32133 (gamma_coeff): New variable.
32134 (NCOEFF): New macro.
32135 (gamma_positive): New function.
32136 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32137 underflow here. Use gamma_positive instead of exp (lgamma) for
32139 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32140 (gamma_coeff): New variable.
32141 (NCOEFF): New macro.
32142 (gammaf_positive): New function.
32143 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32144 underflow here. Use gamma_positive instead of exp (lgamma) for
32146 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32147 (gamma_coeff): New variable.
32148 (NCOEFF): New macro.
32149 (gammal_positive): New function.
32150 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32151 underflow here. Use gamma_positive instead of exp (lgamma) for
32153 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32154 (gamma_coeff): New variable.
32155 (NCOEFF): New macro.
32156 (gammal_positive): New function.
32157 (__ieee754_gammal_r): Handle positive infinity, overflow and
32158 underflow here. Handle NaN the same as positive infinity. Remove
32159 check x < 0xffffffff for negative integers. Use gamma_positive
32160 instead of exp (lgamma) for other arguments.
32161 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32162 (gamma_coeff): New variable.
32163 (NCOEFF): New macro.
32164 (gammal_positive): New function.
32165 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32166 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32167 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32168 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32169 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32170 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32171 * sysdeps/generic/math_private.h (__gamma_productf): New
32173 (__gamma_product): Likewise.
32174 (__gamma_productl): Likewise.
32175 * math/Makefile (libm-calls): Add gamma_product.
32176 * math/libm-test.inc (tgamma_test): Add more tests.
32177 * sysdeps/i386/fpu/libm-test-ulps: Update.
32178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32180 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
32182 * benchtests/bench-skeleton.c (main): Preheat CPU.
32184 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
32186 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32188 2013-05-07 Roland McGrath <roland@hack.frob.com>
32190 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32191 and _dl_skip_args_internal.
32193 2013-05-07 Carlos O'Donell <carlos@redhat.com>
32195 * manual/message.texi (Message Translation): Talk about users.
32196 Message to key mapping impacts design.
32198 2013-05-06 Roland McGrath <roland@hack.frob.com>
32200 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32202 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32204 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32205 * sysdeps/wordsize-64/glob64.c: ... here.
32207 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32208 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32211 * debug/getlogin_r_chk.c: Moved to ...
32212 * login/getlogin_r_chk.c: ... here.
32213 * debug/Makefile (routines): Move getlogin_r_chk to ...
32214 * login/Makefile (routines): ... here.
32215 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32216 * login/Versions (libc: GLIBC_2.4): ... here.
32218 * io/poll.c (__poll): Renamed from poll.
32219 Add libc_hidden_def.
32220 (poll): Define as weak alias.
32222 * debug/ptsname_r_chk.c: Moved to ...
32223 * login/ptsname_r_chk.c: ... here.
32224 * debug/Makefile (routines): Move ptsname_r_chk to ...
32225 * login/Makefile (routines): ... here.
32226 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32227 * login/Versions (libc: GLIBC_2.4): ... here.
32229 * posix/getlogin.c: Moved to ...
32230 * login/getlogin.c: ... here.
32231 * posix/getlogin_r.c: Moved to ...
32232 * login/getlogin_r.c: ... here.
32233 * posix/getlogin_r.c: Moved to ...
32234 * login/getlogin_r.c: ... here.
32235 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32236 * login/Makefile (routines): ... here.
32237 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32238 * login/Versions (libc: GLIBC_2.0): ... here.
32240 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32241 (setrlimit): Define as weak alias.
32243 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32244 Call __ names for open, ftruncate, and close.
32245 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32246 (truncate): Define as weak alias.
32248 2013-05-06 Joseph Myers <joseph@codesourcery.com>
32250 * math/gen-libm-test.pl (parse_args): Initialize x before each
32251 test of frexp, modf and remquo.
32253 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32254 test signgam value.
32256 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32260 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32262 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32264 2013-05-06 Roland McGrath <roland@hack.frob.com>
32266 * elf/dl-writev.h: New file.
32267 * elf/dl-misc.c: Include it.
32268 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32269 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32271 2013-05-04 Joseph Myers <joseph@codesourcery.com>
32273 * math/libm-test.inc (noXFails): Remove variable.
32274 (noXPasses): Likewise.
32275 (BUILD_COMPLEX_INT): Remove macro.
32276 (print_screen): Remove xfail argument.
32277 (print_screen_max_error): Likewise.
32278 (update_stats): Likewise.
32279 (print_max_error): Likewise. Update calls to other affected
32281 (print_complex_max_error): Likewise.
32282 (test_single_exception): Update calls to print_screen.
32283 (test_single_errno): Likewise.
32284 (check_float_internal): Remove xfail argument. Update calls to
32285 other affected functions.
32286 (check_float): Likewise.
32287 (check_complex): Likewise.
32288 (check_int): Likewise.
32289 (check_long): Likewise.
32290 (check_bool): Likewise.
32291 (check_longlong): Likewise.
32292 (main): Don't print noXFails and noXPasses.
32293 * math/gen-libm-test.pl (top level): Don't mention expected
32294 failure handling in comment.
32295 (new_test): Don't handle expected failures.
32296 (parse_args): Don't mention expected failure handling in comment.
32297 (generate_testfile): Don't handle expected failures.
32298 (parse_ulps): Likewise.
32299 (print_ulps_file): Likewise.
32300 (get_failure): Remove function.
32301 (output_test): Don't handle expected failures.
32302 * make/README.libm-test: Don't mention expected failure handling.
32304 * math/libm-test.inc (plus_zero): Make const. Add initializer.
32305 (minus_zero): Likewise.
32306 (plus_infty): Likewise.
32307 (minus_infty): Likewise.
32308 (qnan_value): Likewise.
32309 (max_value): Likewise.
32310 (min_value): Likewise.
32311 (min_subnorm_value): Likewise.
32312 (initialize): Do not initialize those variables dynamically.
32314 2013-05-03 Roland McGrath <roland@hack.frob.com>
32316 * io/open.c (__open_2): Moved to ...
32317 * io/open_2.c: ... this new file.
32318 * io/open64.c (__open64_2): Moved to ...
32319 * io/open64_2.c: ... this new file.
32320 * io/openat.c (__openat_2): Moved to ...
32321 * io/openat_2.c: ... this new file.
32322 * io/openat64.c (__openat64_2): Moved to ...
32323 * io/openat64_2.c: ... this new file.
32324 * io/Makefile (routines): Add them.
32325 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32326 * sysdeps/unix/sysv/linux/open_2.c: File removed.
32327 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32328 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32329 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32330 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32331 (__openat64): Add hidden_ver.
32332 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32333 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32335 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32336 Separately conditionalize setting of GLRO(dl_sysinfo) so
32337 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32338 as well, but the actual setting is only under [NEED_DL_SYSINFO].
32340 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32342 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32343 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32345 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32346 * sysdeps/unix/sysv/linux/powerpc/init-first.c
32347 (_libc_vdso_platform_setup): Add __vdso_time initialization.
32348 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32349 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32351 2013-05-03 Joseph Myers <joseph@codesourcery.com>
32353 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32354 test signgam value.
32356 * math/libm-test.inc (hypot_test): Do not use
32357 IGNORE_ZERO_INF_SIGN.
32359 2013-05-03 Andreas Jaeger <aj@suse.de>
32361 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32363 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32364 (PF_MAX): Adjust for VSOCK change.
32366 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32370 2013-05-02 Carlos O'Donell <carlos@redhat.com>
32373 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32374 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32375 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32377 2013-05-02 David S. Miller <davem@davemloft.net>
32379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32381 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
32383 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32385 2013-05-01 Roland McGrath <roland@hack.frob.com>
32387 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32389 2013-05-01 Richard Smith <richard@metafoo.co.uk>
32392 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32393 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32394 Use __attribute__ ((__gnu_inline__)).
32395 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32396 Don't use __attribute__ ((__gnu_inline__)).
32398 2013-05-01 Joseph Myers <joseph@codesourcery.com>
32401 * math/s_catan.c (__catan): Handle small real or imaginary part of
32402 input specially to avoid spurious underflow.
32403 * math/s_catanf.c (__catanf): Likewise.
32404 * math/s_catanh.c (__catanh): Likewise.
32405 * math/s_catanhf.c (__catanhf): Likewise.
32406 * math/s_catanhl.c (__catanhl): Likewise.
32407 * math/s_catanl.c (__catanl): Likewise.
32408 * math/libm-test.inc (catan_test): Add more tests.
32409 (catanh_test): Likewise.
32410 * sysdeps/i386/fpu/libm-test-ulps: Update.
32411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32413 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32417 2013-04-30 Joseph Myers <joseph@codesourcery.com>
32420 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32421 accurately for denominator in atan2.
32422 * math/s_catanf.c (__catanf): Likewise.
32423 * math/s_catanh.c (__catanh): Likewise.
32424 * math/s_catanhf.c (__catanhf): Likewise.
32425 * math/s_catanhl.c (__catanhl): Likewise.
32426 * math/s_catanl.c (__catanl): Likewise.
32427 * math/libm-test.inc (catan_test): Add more tests.
32428 (catanh_test): Likewise.
32429 * sysdeps/i386/fpu/libm-test-ulps: Update.
32430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32432 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32434 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32436 * benchtests/Makefile (bench): Remove slow benchmarks.
32437 * benchtests/atan-inputs: Add slow benchmark inputs.
32438 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32439 (BENCH_FUNC): Accept variant offset.
32441 * benchtests/bench-skeleton.c (main): Run benchmark for each
32443 * benchtests/cos-inputs: Add slow benchmark inputs.
32444 * benchtests/exp-inputs: Likewise.
32445 * benchtests/pow-inputs: Likewise.
32446 * benchtests/sin-inputs: Likewise.
32447 * benchtests/slowatan-inputs: Remove.
32448 * benchtests/slowatan.c: Remove.
32449 * benchtests/slowcos-inputs: Remove.
32450 * benchtests/slowcos.c: Remove.
32451 * benchtests/slowexp-inputs: Remove.
32452 * benchtests/slowexp.c: Remove.
32453 * benchtests/slowpow-inputs: Remove.
32454 * benchtests/slowpow.c: Remove.
32455 * benchtests/slowsin-inputs: Remove.
32456 * benchtests/slowsin.c: Remove.
32457 * benchtests/slowtan-inputs: Remove.
32458 * benchtests/slowtan.c: Remove.
32459 * benchtests/tan-inputs: Add slow benchmark inputs.
32460 * scripts/bench.pl: Parse comments and directives.
32462 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
32464 ($(objpfx)bench-%.c): Remove *-ITER.
32465 * benchtests/bench-modf.c: Remove definition of ITER.
32466 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32467 (main): Loop for DURATION seconds instead of fixed number of
32469 * scripts/bench.pl: Don't expect iterations in parameters.
32471 2013-04-29 Roland McGrath <roland@hack.frob.com>
32473 * io/fchdir.c (__fchdir): Renamed from fchdir.
32474 (fchdir): Define as weak alias.
32476 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32478 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32479 (ERRNO_EDOM): Likewise.
32480 (ERRNO_ERANGE): Likewise.
32481 (noErrnoTests): New variable.
32482 (init_max_error): Set errno to 0.
32483 (test_single_errno): New function.
32484 (test_errno): Likewise.
32485 (check_float_internal): Call test_errno. Set errno to 0.
32486 (check_complex): Refer to errno tests in comment.
32487 (check_int): Call test_errno. Set errno to 0.
32488 (check_long): Likewise.
32489 (check_bool): Likewise.
32490 (check_longlong): Likewise.
32491 (cos_test): Use ERRNO_* flags for errno tests instead of
32493 (expm1_test): Likewise.
32494 (fmod_test): Likewise.
32495 (ilogb_test): Likewise.
32496 (lgamma_test): Likewise.
32497 (pow_test): Likewise.
32498 (remainder_test): Likewise.
32499 (sin_test): Likewise.
32500 (tan_test): Likewise.
32501 (yn_test): Likewise.
32502 (initialize): Set errno to 0.
32503 (main): Print number of errno tests.
32504 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32506 2013-04-29 Andreas Jaeger <aj@suse.de>
32509 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32513 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32514 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32518 * stdlib/random.c (__initstate): Return NULL if
32522 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32523 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32526 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32530 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32532 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32533 of individual tests.
32534 (casin_test): Likewise.
32535 (casinh_test): Likewise.
32537 2013-04-27 Joseph Myers <joseph@codesourcery.com>
32540 * math/s_catan.c (__catan): Handle arguments with large real or
32541 imaginary part separately without squaring.
32542 * math/s_catanf.c (__catanf): Likewise.
32543 * math/s_catanh.c (__catanh): Likewise.
32544 * math/s_catanhf.c (__catanhf): Likewise.
32545 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32547 (__catanhl): Handle arguments with large real or imaginary part
32548 separately without squaring.
32549 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32551 (__catanl): Handle arguments with large real or imaginary part
32552 separately without squaring.
32553 * math/libm-test.inc (catan_test): Add more tests.
32554 (catanh_test): Likewise.
32555 * sysdeps/i386/fpu/libm-test-ulps: Update.
32556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32558 2013-04-27 Andreas Jaeger <aj@suse.de>
32561 * stdlib/stdlib.h: Update guards for qecvt.
32562 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32565 2013-04-27 Allan McRae <allan@archlinux.org>
32567 * sysdeps/i386/fpu/libm-test-ulps: Update.
32569 2013-04-26 Joseph Myers <joseph@codesourcery.com>
32572 * math/s_catan.c: Include <float.h>.
32573 (__catan): Ensure underflow exception occurs for underflowed
32575 * math/s_catanf.c: Include <float.h>.
32576 (__catanf): Ensure underflow exception occurs for underflowed
32578 * math/s_catanh.c: Include <float.h>.
32579 (__catanh): Ensure underflow exception occurs for underflowed
32581 * math/s_catanhf.c: Include <float.h>.
32582 (__catanhf): Ensure underflow exception occurs for underflowed
32584 * math/s_catanhl.c: Include <float.h>.
32585 (__catanhl): Ensure underflow exception occurs for underflowed
32587 * math/s_catanl.c: Include <float.h>.
32588 (__catanl): Ensure underflow exception occurs for underflowed
32590 * math/libm-test.inc (catan_test): Add more tests.
32591 (catanh_test): Likewise.
32594 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32595 underflowed result.
32596 * math/s_ccoshf.c (__ccoshf): Likewise.
32597 * math/s_ccoshl.c (__ccoshl): Likewise.
32598 * math/s_csin.c (__csin): Likewise.
32599 * math/s_csinf.c (__csinf): Likewise.
32600 * math/s_csinh.c (__csinh): Likewise.
32601 * math/s_csinhf.c (__csinhf): Likewise.
32602 * math/s_csinhl.c (__csinhl): Likewise.
32603 * math/s_csinl.c (__csinl): Likewise.
32604 * math/libm-test.inc (ccos_test): Add more tests.
32605 (ccosh_test): Likewise.
32606 (csin_test): Likewise.
32607 (csinh_test): Likewise.
32609 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32611 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32612 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32613 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32614 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32615 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32616 powerpc/power5+/fpu folders.
32617 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32620 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32624 2013-04-25 Joseph Myers <joseph@codesourcery.com>
32626 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32627 additions to variable.
32628 [$(config-machine) = x86_64] (modules-names): Likewise.
32629 ($(objpfx)tst-audit3): Remove dependency.
32630 ($(objpfx)tst-audit3.out): Likewise.
32631 ($(objpfx)tst-audit4): Likewise.
32632 ($(objpfx)tst-audit4.out): Likewise.
32633 ($(objpfx)tst-audit5): Likewise.
32634 ($(objpfx)tst-audit5.out): Likewise.
32635 ($(objpfx)tst-audit6): Likewise.
32636 ($(objpfx)tst-audit6.out): Likewise.
32637 ($(objpfx)tst-audit7): Likewise.
32638 ($(objpfx)tst-audit7.out): Likewise.
32639 (tst-audit3-ENV): Remove variable.
32640 (tst-audit4-ENV): Likewise.
32641 (tst-audit5-ENV): Likewise.
32642 (tst-audit6-ENV): Likewise.
32643 (tst-audit7-ENV): Likewise.
32644 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32645 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32646 addition to variable.
32647 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32648 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32649 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32650 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32651 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32652 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32653 tst-audit3, tst-audit4 and tst-audit5.
32654 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32655 tst-audit6 and tst-audit7.
32656 [$(subdir) = elf] (modules-names): Add audit modules for those
32658 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32659 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32660 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32661 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32662 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32663 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32664 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32665 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32666 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32667 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32668 [$(subdir) = elf] (tst-audit3-ENV): New variable.
32669 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32670 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32671 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32672 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32673 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32675 [$(subdir) = elf && $(config-cflags-avx) = yes]
32676 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32677 [$(subdir) = elf && $(config-cflags-avx) = yes]
32678 (CFLAGS-tst-auditmod4a.c): Likewise.
32679 [$(subdir) = elf && $(config-cflags-avx) = yes]
32680 (CFLAGS-tst-auditmod4b.c): Likewise.
32681 [$(subdir) = elf && $(config-cflags-avx) = yes]
32682 (CFLAGS-tst-auditmod6b.c): Likewise.
32683 [$(subdir) = elf && $(config-cflags-avx) = yes]
32684 (CFLAGS-tst-auditmod6c.c): Likewise.
32685 [$(subdir) = elf && $(config-cflags-avx) = yes]
32686 (CFLAGS-tst-auditmod7b.c): Likewise.
32687 * elf/tst-audit3.c: Move to ...
32688 * sysdeps/x86_64/tst-audit3.c: ... here.
32689 * elf/tst-audit4.c: Move to ...
32690 * sysdeps/x86_64/tst-audit4.c: ... here.
32691 * elf/tst-audit5.c: Move to ...
32692 * sysdeps/x86_64/tst-audit5.c: ... here.
32693 * elf/tst-audit6.c: Move to ...
32694 * sysdeps/x86_64/tst-audit6.c: ... here.
32695 * elf/tst-audit7.c: Move to ...
32696 * sysdeps/x86_64/tst-audit7.c: ... here.
32697 * elf/tst-auditmod3a.c: Move to ...
32698 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32699 * elf/tst-auditmod3b.c: Move to ...
32700 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32701 * elf/tst-auditmod4a.c: Move to ...
32702 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32703 * elf/tst-auditmod4b.c: Move to ...
32704 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32705 * elf/tst-auditmod5a.c: Move to ...
32706 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32707 * elf/tst-auditmod5b.c: Move to ...
32708 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32709 * elf/tst-auditmod6a.c: Move to ...
32710 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32711 * elf/tst-auditmod6b.c: Move to ...
32712 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32713 * elf/tst-auditmod6c.c: Move to ...
32714 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32715 * elf/tst-auditmod7a.c: Move to ...
32716 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32717 * elf/tst-auditmod7b.c: Move to ...
32718 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32720 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32723 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32724 define unconditionally.
32725 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32726 define unconditionally.
32727 (INT8_C, INT16_C, etc.): Likewise.
32729 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
32731 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32732 __ehdr_start with hidden visibility.
32734 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32736 2013-04-24 Carlos O'Donell <carlos@redhat.com>
32738 * math/libm-test.inc (cos_test): Use accurate hex constants.
32739 (sincost_test): Likewise.
32741 2013-04-24 Joseph Myers <joseph@codesourcery.com>
32743 * math/libm-test.inc (catan_test): Add more tests.
32744 (catanh_test): Likewise.
32746 * math/s_catanf.c (__catanf): Use suffixed floating-point
32748 * math/s_catanhf.c (__catanhf): Likewise.
32749 * math/s_catanhl.c (__catanhl): Likewise.
32750 * math/s_catanl.c (__catanl): Likewise.
32753 * math/s_catan.c (__catan): Calculate imaginary part of result
32754 with log1p not log unless computing log of number close to 0.
32755 * math/s_catanf.c (__catanf): Likewise.
32756 * math/s_catanl.c (__catanl): Likewise.
32757 * math/s_catanh.c (__catanh): Calculate real part of result with
32758 log1p not log unless computing log of number close to 0.
32759 * math/s_catanhf.c (__catanhf): Likewise.
32760 * math/s_catanhl.c (__catanhl): Likewise.
32761 * math/libm-test.inc (catan_test): Add more tests.
32762 (catanh_test): Likewise.
32763 * sysdeps/i386/fpu/libm-test-ulps: Update.
32764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32766 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32768 * benchtests/Makefile: Mention files in which fast and slow
32769 paths of math functions are implemented.
32771 2013-04-23 Roland McGrath <roland@hack.frob.com>
32773 * sysdeps/posix/timespec_get.c: New file.
32775 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32777 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32779 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32781 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32782 powerpc/power5/fpu folders.
32783 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32784 * benchtests/Makefile: Add modf testcase.
32785 * benchtests/bench-modf.c: New file: Benchmark test for mo
32787 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32790 * time/Makefile (tests): Add tst-strptime-whitespace.
32791 * time/strptime_l.c (get_number): Use ISSPACE.
32792 (__strptime_internal): Likewise.
32793 * time/tst-strptime-whitespace.c: New test case.
32795 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
32797 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32799 (_nss_files_init): Set it here.
32801 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
32803 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32804 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32807 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
32809 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32811 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32813 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32816 2013-04-21 David S. Miller <davem@davemloft.net>
32818 * po/ru.po: Update Russion translation from translation project.
32820 2013-04-17 Adam Conrad <adconrad@0c3.net>
32822 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32825 2013-04-17 Carlos O'Donell <carlos@redhat.com>
32827 * configure.in: Remove i386 configure warning. Remove i386 case.
32828 * configure: Regenerate.
32829 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32830 Add example to error message.
32831 * sysdeps/i386/configure: Regenerate.
32833 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32835 * benchtests/Makefile (bench): Add cos, tan, slowcos and
32837 * benchtests/cos-inputs: New file.
32838 * benchtests/slowcos-inputs: New file.
32839 * benchtests/slowcos.c: New file.
32840 * benchtests/slowtan-inputs: New file.
32841 * benchtests/slowtan.c: New file.
32842 * benchtests/tan-inputs: New file.
32844 2013-04-16 Roland McGrath <roland@hack.frob.com>
32846 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32849 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32851 * benchtests/Makefile: Include cppflags-iterator.mk to add
32852 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32854 * Makefile.in (bench-clean): New target.
32855 * benchtests/Makefile (bench-clean): Likewise.
32857 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
32859 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32861 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
32863 * stdio-common/tstdiomisc.c: Fix coding-style violation.
32865 2013-04-15 Andreas Schwab <schwab@suse.de>
32867 * nscd/grpcache.c (cache_addgr): Properly check for short write.
32868 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32869 * nscd/pwdcache.c (cache_addpw): Likewise.
32870 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
32873 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32875 * benchtests/Makefile (bench): Write all output to
32876 bench-out.tmp together.
32878 2013-04-15 Andreas Schwab <schwab@suse.de>
32880 * nscd/nscd.c (main): Don't fork again after closing files.
32882 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32884 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32886 * benchtests/Rules (bench-deps): Collect dependencies into a
32887 single variable. Add Makefile to dependencies.
32888 ($(objpfx)bench-%.c): Depend on bench-deps.
32890 2013-04-12 Roland McGrath <roland@hack.frob.com>
32891 Xavier Roche <roche+kml2@exalead.com>
32894 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32895 just that it's a file descriptor.
32896 * manual/llio.texi (Synchronizing AIO Operations): Update description
32897 for EBADF error from aio_fsync.
32899 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32901 * Rules (bench): Move target definition...
32902 * benchtests/Makefile: ... here.
32904 2013-04-11 Carlos O'Donell <carlos@redhat.com>
32906 * math/libm-test.inc (cos_test): Fix PI/2 test.
32907 (sincos_test): Likewise.
32908 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32909 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32911 2013-04-11 Andreas Schwab <schwab@suse.de>
32914 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32915 accept exponent character only when digits were seen.
32916 * stdio-common/Makefile (tests): Add bug26.
32917 * stdio-common/bug26.c: New file.
32920 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32923 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32925 * Makeconfig (rtld-prefix): Define built linker prefix.
32926 * Rules (run-bench): Use it.
32927 * math/Makefile (run-regen-ulps): Likewise.
32929 * Rules (bench): Remove eval.
32931 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32932 Roland McGrath <roland@hack.frob.com>
32933 Ondrej Bilka <neleai@seznam.cz>
32936 * time/getdate.c: Include ctype.h and alloca.h.
32937 (__getdate_r): Trim leading and trailing spaces of input.
32938 * time/tst-getdate.c (tests): Add tests with leading and
32941 2013-04-08 Roland McGrath <roland@hack.frob.com>
32944 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32945 when computing value.
32947 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32949 * math/README.libm-test (How can I generate "libm-test-ulps"?):
32950 Use testrun.sh to run libm tests.
32953 * elf/dl-open.c (dl_open_worker): memset all of seen array.
32955 2013-04-06 Marko Myllynen <myllynen@redhat.com>
32958 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32960 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32962 * Makefile.in (regen-ulps): New target.
32963 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32964 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32965 [ifneq (no,$(PERL)] (regen-ulps): New target.
32966 [ifeq (no,$(PERL)] (regen-ulps): New target.
32967 * math/libm-test.inc (ulps_file_name): Define.
32968 (output_dir): New variable.
32969 (options): Add "output-dir" option.
32970 (parse_opt): Handle 'o' case.
32971 (main): If output_dir is non-NULL use it as a prefix
32973 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32975 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32977 [BZ #10060, #10062]
32978 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32979 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32980 fail configure if __sync_val_compare_and_swap is not inlined.
32981 * sysdeps/i386/configure: Regenerate.
32982 * configure.in: Build for i686 when configured for i386.
32983 * configure: Regenerate.
32984 * README: Remove i386 reference.
32986 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32988 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32989 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32991 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
32993 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32994 (lmsnanval): New variables.
32995 (F): Add conversion tests.
32996 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32997 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32999 * stdio-common/tstdiomisc.c (F): Properly collect individual
33002 [BZ #14686, #15336]
33003 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33004 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33005 Instead, use input NaN values or generate a qNaN by arithmetic
33006 operation. Also fix bugs to comply with the standard.
33007 * math/libm-test.inc (remainder_test): Add more tests.
33009 [BZ #15335, #15342]
33010 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33011 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33012 input NaN values or generate a qNaN by arithmetic operation.
33014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33017 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33020 2013-04-03 Joseph Myers <joseph@codesourcery.com>
33023 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33024 underflowed result.
33025 * math/s_cexpf.c (__cexpf): Likewise.
33026 * math/s_cexpl.c (__cexpl): Likewise.
33027 * math/libm-test.inc (cexp_test): Add more tests.
33029 2013-04-03 Andreas Schwab <schwab@suse.de>
33032 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33033 order arrays from heap if bigger than alloca cutoff.
33035 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
33037 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33038 (SNAN_TESTS_double): Refer to GCC PR56831.
33039 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33042 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33044 * Rules (bench): Move bench.out after the run is complete.
33046 * Rules (bench): Echo currently running benchmark.
33048 * benchtests/Makefile (bench): Add atan and slowatan.
33049 * benchtests/atan-inputs: New file.
33050 * benchtests/slowatan-inputs: New file.
33051 * benchtests/slowatan.c: New file.
33053 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33054 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33058 * sysdeps/unix/sysv/linux/kernel-features.h
33059 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33060 __ASSUME_XFS_RESTRICTED_CHOWN.
33061 * sysdeps/unix/sysv/linux/pathconf.c
33062 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33063 Save and restore errno.
33065 2013-04-02 Joseph Myers <joseph@codesourcery.com>
33068 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33069 arguments using __kernel_casinh.
33070 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33071 arguments using __kernel_casinhf.
33072 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33073 arguments using __kernel_casinhl.
33074 * math/libm-test.inc (cacosh_test): Add more tests.
33075 * sysdeps/i386/fpu/libm-test-ulps: Update.
33076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33078 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33080 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33081 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33083 * bench/Makefile (bench): Add sin and slowsin.
33084 * benchtests/sin-inputs: New file.
33085 * benchtests/slowsin-inputs: New file.
33086 * benchtests/slowsin.c: New file.
33088 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33089 (bench): Add slowexp and slowpow.
33090 (exp-ITER): Increase iterations.
33091 (pow-ITER): Likewise.
33092 * benchtests/exp-inputs: Change input.
33093 * benchtests/pow-inputs: Likewise.
33094 * benchtests/slowexp-inputs: New file.
33095 * benchtests/slowexp.c: New file.
33096 * benchtests/slowpow-inputs: New file.
33097 * benchtests/slowpow.c: New file.
33099 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33101 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33103 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33104 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33105 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33106 * benchtests/Makefile: Add rint benchtest.
33107 * benchtests/rint-inputs: Input for rint benchtest.
33109 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
33111 * Versions.def (libm): Add GLIBC_2.18.
33112 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33113 hidden libm prototypes.
33114 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33115 * math/Makefile (libm-calls): Add s_issignaling.
33116 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33117 __issignalingf, __issignalingl. Adjust all libm.abilist files.
33118 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33120 * math/math.h [__USE_GNU] (issignaling): New macro.
33121 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33122 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33123 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33124 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33125 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33127 * manual/arith.texi (issignaling): New section.
33128 * manual/libm-err-tab.pl (@all_functions): Update comment.
33129 * math/gen-libm-test.pl (parse_args): Apply special handling for
33131 * math/libm-test.inc (print_float, issignaling_test): New
33133 (check_float_internal): Add issignaling checks.
33134 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33135 default definition.
33136 * sysdeps/powerpc/math-tests.h: New file.
33137 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33139 * math/test-snan.c (TEST_FUNC): Likewise.
33141 2013-03-30 David S. Miller <davem@davemloft.net>
33143 * po/de.po: Update from translation team.
33145 2013-03-30 Joseph Myers <joseph@codesourcery.com>
33148 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33149 imaginary part less than 1.0 and real part less than 0.5
33151 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33152 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33153 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33154 (cacos_test): Add more tests.
33155 (casin_test): Likewise.
33156 (casinh_test): Likewise.
33157 * sysdeps/i386/fpu/libm-test-ulps: Update.
33158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33160 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33162 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33163 ONE with its value.
33165 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33166 (__pow_mp): Replace ONE and MONE with their values.
33167 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33168 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33169 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33170 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33171 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33172 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33174 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33176 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33177 (__pow_mp): Replace ZERO and MZERO with their values.
33178 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33179 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33180 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33181 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33182 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33183 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33186 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33188 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33190 2013-03-28 Roland McGrath <roland@hack.frob.com>
33192 * include/stdlib.h [!SHARED] (__call_tls_dtors):
33193 Declare with __attribute__ ((weak)).
33194 * stdlib/exit.c (__libc_atexit) [!SHARED]:
33195 Call __call_tls_dtors only if it's not NULL.
33197 2013-03-28 Roland McGrath <roland@hack.frob.com>
33199 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33200 didn't do it already, then set _dl_phdr and _dl_phnum based on the
33201 magic __ehdr_start linker symbol if it's defined.
33202 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33203 them up here if it was already done.
33205 * elf/dl-support.c (_dl_phdr): Make pointer to const.
33206 (_dl_aux_init): Use const in cast when setting it.
33207 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33208 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33209 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33211 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33213 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33214 * csu/libc-tls.c: Nor here.
33215 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33217 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33218 (__libc_message): Never call vsyslog.
33220 2013-03-28 Alan Modra <amodra@gmail.com>
33222 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33224 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33227 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33230 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33234 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33237 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33238 Don't add gid passed as argument.
33240 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33242 2013-03-27 Joseph Myers <joseph@codesourcery.com>
33245 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33246 imaginary part between 1.0 and 1.5 and real part less than 0.5
33248 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33249 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33250 * math/libm-test.inc (cacos_test): Add more tests.
33251 (casin_test): Likewise.
33252 (casinh_test): Likewise.
33253 * sysdeps/i386/fpu/libm-test-ulps: Update.
33254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33256 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33258 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33261 (denorm): Likewise.
33262 (__dbl_mp): Likewise.
33263 (add_magnitudes): Likewise.
33264 (sub_magnitudes): Likewise.
33272 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33274 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33275 (__dubcos): Likewise.
33276 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33277 (__ieee754_acos): Likewise.
33278 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33279 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33280 (__exp1): Likewise.
33281 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33282 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33284 (my_log2): Likewise.
33285 (checkint): Likewise.
33286 * sysdeps/ieee754/dbl-64/e_remainder.c
33287 (__ieee754_remainder): Likewise.
33288 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33289 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33290 (bsloww): Likewise.
33291 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33293 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33294 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33295 MANTISSA_STORE_T to store computations on mantissa. Use
33296 macros for rounding and division.
33297 (denorm): Likewise.
33298 (__dbl_mp): Likewise.
33299 (add_magnitudes): Likewise.
33300 (sub_magnitudes): Likewise.
33303 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33304 powers of two in terms of TWOPOW macro.
33305 (mp_no): Make type of mantissa as MANTISSA_T.
33306 [!RADIXI]: Define RADIXI.
33307 [!TWO52]: Define TWO52.
33308 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33310 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33312 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33313 llroundl symbol when building for PPC32.
33315 2013-03-24 Mark H Weaver <mhw@netris.org>
33317 * manual/arith.texi (Normalization Functions): Fix prototypes for
33318 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33320 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33324 high value to check if expl overflow.
33325 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33326 to check for underflow and overflow.
33327 * math/libm-test.inc: Add exp test.
33329 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
33332 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33335 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33337 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33340 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
33342 * math/gen-libm-test.pl (parse_args, special_functions): Properly
33343 wrap blocks consisting of several statements.
33345 * sysdeps/generic/math-tests.h: New file.
33346 * sysdeps/i386/fpu/math-tests.h: Likewise.
33347 * math/test-snan.c: Include it.
33348 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33350 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33353 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33354 (__ieee754_j0l): Do not improve calculations using cos of twice
33355 input for inputs above LDBL_MAX / 2.0L.
33356 (__ieee754_y0l): Likewise.
33357 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33358 (__ieee754_j1l): Do not improve calculations using cos of twice
33359 input for inputs above LDBL_MAX / 2.0L.
33360 (__ieee754_y1l): Likewise.
33361 * math/libm-test.inc (j0_test): Add another test.
33362 (j1_test): Likewise.
33363 (y0_test): Likewise.
33364 (y1_test): Likewise.
33365 * sysdeps/i386/fpu/libm-test-ulps: Update.
33367 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33369 * Rules ($(objpfx)bench-%.c): Include code from a C source
33372 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33375 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33376 imaginary part 1.0 and real part less than 0.5 specially.
33377 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33378 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33379 * math/libm-test.inc (cacos_test): Add more tests.
33380 (casin_test): Likewise.
33381 (casinh_test): Likewise.
33382 * sysdeps/i386/fpu/libm-test-ulps: Update.
33383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33385 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33387 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33388 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33390 2013-03-20 Joseph Myers <joseph@codesourcery.com>
33392 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33393 * config.make.in (config-cflags-sse4): Remove variable.
33394 (config-cflags-avx): Likewise.
33395 (config-cflags-sse2avx): Likewise.
33396 (config-cflags-novzeroupper): Likewise.
33397 (config-asflags-i686): Likewise.
33398 (have-mfma4): Likewise.
33399 (have-as-vis3): Likewise.
33401 * configure.in (MIG): Do not AC_SUBST.
33402 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33403 (libc_cv_cc_sse4): Do not AC_SUBST.
33404 (libc_cv_cc_avx): Likewise.
33405 (libc_cv_cc_sse2avx): Likewise.
33406 (libc_cv_cc_novzeroupper): Likewise.
33407 (libc_cv_cc_fma4): Likewise.
33408 (libc_cv_as_i686): Likewise.
33409 (libc_cv_sparc_as_vis3): Likewise.
33410 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33412 (config-asflags-i686): Likewise.
33413 (config-cflags-avx): Likewise.
33414 (config-cflags-sse2avx): Likewise.
33415 (have-mfma4): Likewise.
33416 (config-cflags-novzeroupper): Likewise.
33417 * sysdeps/mach/configure.in (MIG): Likewise.
33418 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33419 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33421 (config-cflags-avx): Likewise.
33422 (config-cflags-sse2avx): Likewise.
33423 (have-mfma4): Likewise.
33424 (config-cflags-novzeroupper): Likewise.
33425 * configure: Regenerated.
33426 * sysdeps/i386/configure: Likewise.
33427 * sysdeps/mach/configure: Likewise.
33428 * sysdeps/sparc/configure: Likewise.
33429 * sysdeps/x86_64/configure: Likewise.
33431 2013-03-20 Roland McGrath <roland@hack.frob.com>
33434 * locale/programs/localedef.c (options): Put N_ translation marker
33435 on argument names, not just descriptions.
33437 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33439 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33441 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
33444 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33446 2013-03-19 Roland McGrath <roland@hack.frob.com>
33448 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33449 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33450 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33451 [!BEFORE_ABORT] (before_abort): New function.
33452 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33453 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33454 (writev_for_fatal): New function.
33455 (WRITEV_FOR_FATAL): New macro; call that.
33456 (backtrace_and_maps): New function.
33457 (BEFORE_ABORT): New macro; call that.
33458 (struct str_list): Type removed.
33459 (__libc_message, __libc_fatal): Functions removed.
33460 Include <sysdeps/posix/libc_fatal.c> instead.
33462 2013-03-19 Joseph Myers <joseph@codesourcery.com>
33464 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33466 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33469 2013-03-19 Andreas Schwab <schwab@suse.de>
33471 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33472 * sysdeps/gnu/configure: Regenerate.
33474 * configure.in: Substitute libc_cv_rtlddir.
33475 * configure: Regenerate.
33476 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33477 * Makeconfig (rtlddir, inst_rtlddir): New variables.
33478 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33479 * elf/Makefile (install-others, CFLAGS-interp.c)
33480 (ldso_install, common-ldd-rewrite): Likewise.
33481 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33482 $(inst_slibdir)/$(rtld-installed-name).
33483 * scripts/rellns-sh: Add -p option.
33484 * Makerules (make-shlib-link): Use rellns-sh to get relative name
33487 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33489 * manual/nptl.texi: Renamed to ...
33490 * manual/threads.texi: ... this.
33491 * manual/Makefile (chapters): Update.
33493 2013-03-18 Roland McGrath <roland@hack.frob.com>
33496 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33497 on argument names, not just descriptions.
33498 * malloc/memusagestat.c (options): Likewise.
33499 * nss/getent.c (options): Likewise.
33501 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
33504 * iconv/iconv_prog.c (options): Put N_ translation marker
33505 on argument names, not just descriptions.
33506 * iconv/iconvconfig.c (options): Likewise.
33508 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
33510 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33511 implementation which is faster on all x86_64 architectures.
33512 Tested on AMD, Intel Nehalem, SNB, IVB.
33513 * sysdeps/x86_64/strnlen.S: Likewise.
33515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33516 Remove all multiarch strlen and strnlen versions.
33517 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33518 Remove strlen and strnlen related parts.
33520 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33521 Inline strlen part.
33522 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33524 * sysdeps/x86_64/multiarch/strlen.S: Remove.
33525 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33526 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33527 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33528 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33529 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33531 2013-03-17 Carlos O'Donell <carlos@redhat.com>
33533 * manual/memory.texi (Malloc Tunable Parameters):
33534 Sort parameters alphabetically. Add comments for missing entries.
33536 2013-03-17 David S. Miller <davem@davemloft.net>
33538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33540 2013-03-16 Joseph Myers <joseph@codesourcery.com>
33543 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33544 for arguments at most half maximum finite value.
33545 * math/libm-test.inc (j0_test): Add more tests.
33546 (j1_test): Likewise.
33547 (y0_test): Likewise.
33548 (y1_test): Likewise.
33549 * sysdeps/i386/fpu/libm-test-ulps: Update.
33550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33553 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33554 1 / x and functions P and Q for arguments above 0x1p256L.
33555 (__ieee754_y0l): Likewise.
33556 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33557 (__ieee754_y1l): Likewise.
33558 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33559 (j1_test): Likewise.
33560 (y0_test): Likewise.
33561 (y1_test): Likewise.
33563 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
33565 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33568 2013-03-15 Roland McGrath <roland@hack.frob.com>
33570 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33571 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33572 zero since it's initialized to EXEC_PAGESIZE.
33574 * sysdeps/unix/sysv/linux/ldsodefs.h
33575 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33576 * sysdeps/generic/ldsodefs.h: ... here.
33578 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
33580 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33582 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33584 * math/test-snan.c: Renamed from
33585 sysdeps/powerpc/fpu/test-powerpc-snan.c.
33586 * math/Makefile (tests): Add test-snan.
33587 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33590 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33591 SUFFIX. Initialize qNaN_var with __builtin_nan family of
33593 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
33594 __builtin_nan family of functions.
33595 * math/libm-test.inc (initialize): Initialize qnan_value with
33596 __builtin_nan family of functions.
33597 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33599 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33601 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
33602 storage class. Initialize qNaN_var and sNaN_var with
33603 __builtin_nan and __builtin_nans families of functions,
33606 * math/libm-test.inc (acosh_test): Also test with qNaN input.
33607 (sqrt_test): Remove duplicate test with qNaN input.
33608 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33609 (round_test, signbit_test, significand_test): Note missing +/-Inf
33610 as well as qNaN tests.
33612 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33613 qNaN_var. Fix a few strings, too.
33614 * math/libm-test.inc (nan_value): Rename to qnan_value.
33615 * math/gen-libm-test.pl (%beautify): Adjust to that.
33616 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33617 * math/test-misc.c (main): Likewise.
33618 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33619 to __qnan_bytes, and __qnan_union, respectively.
33620 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33622 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33623 and lqnanval, respectively.
33624 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33625 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33626 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33627 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33629 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33630 * math/test-misc.c (main) [__x86_64__]: Enable test for long
33633 * math/test-misc.c (main): Fix copy'n'pastos.
33634 * misc/tst-efgcvt.c (special): Likewise.
33636 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33637 Remove declarations.
33639 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33641 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33642 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33643 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33644 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33646 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33648 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33649 macro to return vdso values correctly in IFUNC implementations.
33650 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33651 Optimization by using IFUNC.
33653 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33654 Richard Henderson <rth@redhat.com>
33655 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33657 * Makefile.in (bench): New target.
33658 * NEWS: Mention the benchmark framework.
33659 * Rules (bench): Likewise.
33660 (binaries-bench): Generate binaries for functions to
33662 * benchtests/Makefile: New makefile for benchmark tests.
33663 * benchtests/bench-skeleton.c: New skeleton file for benchmark
33665 * benchtests/exp-inputs: New input file for EXP function.
33666 * benchtests/pow-inputs: New input file for POW function.
33667 * scripts/bench.pl: New script to generate source files for
33668 benchmark programs.
33670 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33672 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33673 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33674 computations on mantissa. Use macros for rounding and
33676 (denorm): Likewise.
33677 (__dbl_mp): Likewise.
33678 (add_magnitudes): Likewise.
33679 (sub_magnitudes): Likewise.
33682 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33683 powers of two in terms of TWOPOW macro.
33684 (mp_no): Make type of mantissa as MANTISSA_T.
33685 [!RADIXI]: Define RADIXI.
33686 [!TWO52]: Define TWO52.
33687 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33689 * manual/nptl.texi (cindex): Modify threads to pthreads.
33691 2013-03-15 Joseph Myers <joseph@codesourcery.com>
33693 * sysdeps/x86_64/preconfigure: Regenerated.
33695 2013-03-14 Joseph Myers <joseph@codesourcery.com>
33698 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33700 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33701 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33703 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33704 * math/libm-test.inc (j0_test): Do not allow one spurious
33705 underflow exception.
33706 (y1_test): Likewise.
33708 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33710 * manual/Makefile (chapters): Add nptl.
33711 * manual/debug.texi (Debugging Support): Add link to Threads
33713 * manual/nptl.texi: New file.
33715 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33717 2013-03-14 Petr Baudis <pasky@ucw.cz>
33719 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33720 for non-NULL pointer before the memory validity test. Pointed
33721 out by Holger Brunck <holger.brunck@keymile.com>.
33723 2013-03-13 Andreas Schwab <schwab@suse.de>
33725 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33728 2013-03-13 Joseph Myers <joseph@codesourcery.com>
33730 * timezone/zic.c: Update from tzcode 2013b.
33732 2013-03-12 Carlos O'Donell <carlos@redhat.com>
33734 * manual/install.texi (Configuring and compiling):
33735 Mention i686 and i586.
33736 * INSTALL: Regenerate.
33738 2013-03-12 Roland McGrath <roland@hack.frob.com>
33740 * sysdeps/init_array/elf-init.c: New file.
33742 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33743 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33745 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33746 __gmon_start__ as global, but as static with a .preinit_array pointer.
33747 * sysdeps/init_array/gmon-start.c: New file. Use that.
33748 * sysdeps/init_array/crti.S: New file, empty except for comments.
33749 * sysdeps/init_array/crtn.S: Likewise.
33751 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
33753 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33756 Remove Prefer_SSE_for_memop.
33757 * sysdeps/x86_64/multiarch/init-arch.h: Remove
33758 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33759 HAS_PREFER_SSE_FOR_MEMOP.
33760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33762 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33763 Remove bzero, memset ifunc support.
33764 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33765 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33766 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33767 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33769 2013-03-11 Andreas Schwab <schwab@suse.de>
33772 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33775 (GLIBC_2.16): Remove pthread_atfork.
33777 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33779 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33780 (ptestcases.h): Likewise.
33782 2013-03-08 Roland McGrath <roland@hack.frob.com>
33784 * Makeconfig ($(common-objpfx)config.status): Depend on
33785 sysdeps/*/preconfigure{,.in} too.
33787 2013-03-08 Joseph Myers <joseph@codesourcery.com>
33789 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33790 (__free_hook): Use void * instead of __malloc_ptr_t.
33791 (__malloc_hook): Likewise.
33792 (__realloc_hook): Likewise.
33793 (__memalign_hook): Likewise.
33794 (__after_morecore_hook): Likewise.
33795 * malloc/arena.c (save_malloc_hook): Likewise.
33796 (save_free_hook): Likewise.
33797 * malloc/hooks.c (malloc_hook_ini): Likewise.
33798 (realloc_hook_ini): Likewise.
33799 (memalign_hook_ini): Likewise.
33800 * malloc/malloc.c (malloc_hook_ini): Likewise.
33801 (realloc_hook_ini): Likewise.
33802 (memalign_hook_ini): Likewise.
33803 (__free_hook): Likewise.
33804 (__malloc_hook): Likewise.
33805 (__realloc_hook): Likewise.
33806 (__memalign_hook): Likewise.
33807 (__libc_malloc): Likewise.
33808 (__libc_free): Likewise.
33809 (__libc_realloc): Likewise.
33810 (__libc_memalign): Likewise.
33811 (__libc_valloc): Likewise.
33812 (__libc_pvalloc): Likewise.
33813 (__libc_calloc): Likewise.
33814 (__posix_memalign): Likewise.
33815 * malloc/morecore.c (__sbrk): Likewise.
33816 (__default_morecore): Likewise.
33818 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33820 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33821 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33822 __malloc_ptrdiff_t.
33824 * malloc/malloc.h (__malloc_size_t): Remove macro.
33825 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33827 (old_memalign_hook): Likewise.
33828 (old_realloc_hook): Likewise.
33829 (struct hdr): Likewise.
33831 (mallochook): Likewise.
33832 (memalignhook): Likewise.
33833 (reallochook): Likewise.
33834 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33835 (tr_old_realloc_hook): Likewise.
33836 (tr_old_memalign_hook): Likewise.
33837 (tr_mallochook): Likewise.
33838 (tr_reallochook): Likewise.
33839 (tr_memalignhook): Likewise.
33841 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33843 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33844 default_ldbl_pack and using as default implementation.
33845 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33847 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33848 redundant definition.
33849 (ldbl_insert_mantissa): Likewise.
33850 (ldbl_canonicalize): Likewise.
33851 (ldbl_nearbyint): Likewise.
33852 (ldbl_pack): Rename to ldbl_pack_ppc.
33853 (ldbl_unpack): Rename to ldbl_unpack_ppc.
33854 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33855 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33857 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33860 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33861 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33862 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33864 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33865 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33866 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33868 2013-03-07 Andreas Jaeger <aj@suse.de>
33870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33873 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33875 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33876 Include mpa.h and declare __MPEXP.
33877 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33878 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33879 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33880 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33881 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33882 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33883 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33885 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33886 (__slowpow): Use long double EXPL and LOGL functions to
33888 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33889 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33890 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33891 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33892 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33893 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33896 intermediate variable to calculate exponent.
33898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33902 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33903 [!NO__SQR]: Define __sqr.
33904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33905 and NO__SQR. Remove all code except __mul and __sqr. Include
33906 sysdeps/ieee754/dbl-64/mpa.c.
33907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33910 * posix/Makefile (tests): Add tst-pathconf.
33911 * posix/tst-pathconf.c: New test case.
33912 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33914 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33916 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
33918 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33920 2013-03-06 Andreas Jaeger <aj@suse.de>
33922 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33923 definition via __MAP_ANONYMOUS.
33925 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33926 it's not part of Linux headers.
33928 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33929 (MAP_HUGE_MASK): Define.
33931 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33933 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33934 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33936 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33937 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33939 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33940 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33942 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33944 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33945 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33946 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33947 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33948 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33949 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33951 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33954 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33955 Handle f2fs and efivarfs.
33957 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33960 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33961 (EFIVARFS_MAGIC): Add.
33962 (F2FS_LINK_MAX): Add.
33964 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33966 * stdio-common/vfprintf.c: Replace __builtin_expect with
33969 2013-03-06 Joseph Myers <joseph@codesourcery.com>
33972 * sysdeps/generic/bp-sym.h: Remove file.
33973 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33974 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33975 <bp-sym.h> and <bp-asm.h>.
33976 (__longjmp): Don't use BP_SYM.
33977 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33979 (memcpy): Don't use BP_SYM.
33980 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33981 <bp-sym.h> and <bp-asm.h>.
33982 (memcpy): Don't use BP_SYM.
33983 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33985 (memcpy): Don't use BP_SYM.
33986 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33988 (memset): Don't use BP_SYM.
33989 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33990 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33991 (__bzero): Don't use BP_SYM.
33992 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33993 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33994 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33995 <bp-sym.h> and <bp-asm.h>.
33996 (memcmp): Don't use BP_SYM. Remove comment about bounded
33998 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33999 <bp-sym.h> and <bp-asm.h>.
34000 (memcpy): Don't use BP_SYM.
34001 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34002 <bp-sym.h> and <bp-asm.h>.
34003 (memset): Don't use BP_SYM.
34004 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34005 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34006 (__bzero): Don't use BP_SYM.
34007 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34008 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34009 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34010 <bp-sym.h> and <bp-asm.h>.
34011 (strncmp): Don't use BP_SYM. Remove comment about bounded
34013 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34014 <bp-sym.h> and <bp-asm.h>.
34015 (memcpy): Don't use BP_SYM.
34016 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34017 <bp-sym.h> and <bp-asm.h>.
34018 (memset): Don't use BP_SYM.
34019 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34020 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34021 (__bzero): Don't use BP_SYM.
34022 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34023 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34024 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34025 <bp-sym.h> and <bp-asm.h>.
34026 (__memchr): Don't use BP_SYM.
34027 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34028 <bp-sym.h> and <bp-asm.h>.
34029 (memcmp): Don't use BP_SYM. Remove comment about bounded
34031 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34032 <bp-sym.h> and <bp-asm.h>.
34033 (memcpy): Don't use BP_SYM.
34034 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34035 <bp-sym.h> and <bp-asm.h>.
34036 (__mempcpy): Don't use BP_SYM.
34037 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34038 <bp-sym.h> and <bp-asm.h>.
34039 (__memrchr): Don't use BP_SYM.
34040 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34041 <bp-sym.h> and <bp-asm.h>.
34042 (memset): Don't use BP_SYM.
34043 (__bzero): Likewise.
34044 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34045 <bp-sym.h> and <bp-asm.h>.
34046 (__rawmemchr): Don't use BP_SYM.
34047 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34048 <bp-sym.h> and <bp-asm.h>.
34049 (__STRCMP): Don't use BP_SYM.
34050 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34051 <bp-sym.h> and <bp-asm.h>.
34052 (strchr): Don't use BP_SYM.
34053 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34054 <bp-sym.h> and <bp-asm.h>.
34055 (__strchrnul): Don't use BP_SYM.
34056 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34057 <bp-sym.h> and <bp-asm.h>.
34058 (strlen): Don't use BP_SYM.
34059 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34060 <bp-sym.h> and <bp-asm.h>.
34061 (strncmp): Don't use BP_SYM. Remove comment about bounded
34063 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34064 <bp-sym.h> and <bp-asm.h>.
34065 (__strnlen): Don't use BP_SYM.
34066 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34067 <bp-sym.h> and <bp-asm.h>.
34068 (__GI__setjmp): Don't use BP_SYM.
34069 (_setjmp): Likewise.
34070 (__sigsetjmp): Likewise.
34071 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34072 (L(start_addresses)): Don't use BP_SYM.
34073 (_start): Likewise.
34074 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34076 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34077 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34078 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34079 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34080 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34082 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34083 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
34084 about bounded pointers.
34085 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34086 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34087 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34089 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34090 about bounded pointers. Remove GKM FIXME comments.
34091 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34092 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34094 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34095 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
34096 Remove GKM FIXME comments.
34097 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34098 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34099 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34101 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34102 about bounded pointers. Remove GKM FIXME comment.
34103 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34105 (strncmp): Don't use BP_SYM. Remove comment about bounded
34107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34108 <bp-sym.h> and <bp-asm.h>.
34109 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34111 <bp-sym.h> and <bp-asm.h>.
34112 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34115 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34117 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34120 2013-03-05 David S. Miller <davem@davemloft.net>
34122 * po/es.po: Update from translation team.
34124 2013-03-05 Andreas Jaeger <aj@suse.de>
34126 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34127 <bits/mman-linux.h>.
34128 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34130 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34131 <bits/mman-linux.h> to end of file.
34132 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34134 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34135 <bits/mman-linux.h> to end of file.
34136 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34138 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34139 <bits/mman-linux.h> to end of file.
34141 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34142 (MCL_CURRENT, MCL_FUTURE): Define here.
34144 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34147 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34149 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34151 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34153 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34154 fourth parameter needed for rt_sigprocmask syscall.
34155 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34156 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34157 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34158 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34159 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34160 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34162 2013-03-04 Joseph Myers <joseph@codesourcery.com>
34165 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34166 comment about bounded pointers.
34167 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34168 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34170 2013-03-04 Andreas Jaeger <aj@suse.de>
34172 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34173 common definitions.
34175 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34176 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34177 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34178 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34179 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34180 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34182 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34185 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34186 __ieee754_sqrl instead of __sqrl.
34188 2013-03-01 Joseph Myers <joseph@codesourcery.com>
34190 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34191 * sysdeps/powerpc/fpu_control.h: ... here.
34192 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34193 * sysdeps/powerpc/bits/fenvinline.h: ... here.
34194 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34195 * sysdeps/powerpc/bits/mathinline.h: ... here.
34197 2013-03-01 Roland McGrath <roland@hack.frob.com>
34199 * elf/dl-hwcaps.c (_dl_important_hwcaps):
34200 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34201 to just [NEED_DL_SYSINFO_DSO].
34202 * elf/dl-support.c: Likewise.
34203 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34204 * elf/rtld.c (dl_main): Likewise.
34205 * elf/setup-vdso.h (setup_vdso): Likewise.
34206 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34207 * sysdeps/unix/sysv/linux/dl-sysdep.c
34208 (_dl_discover_osversion): Likewise.
34210 2013-03-01 Carlos O'Donell <carlos@redhat.com>
34212 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34213 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34215 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
34217 * NEWS: Mention libm performance improvements and non-x86 PI
34220 * csu/libc-start.c (__pthread_initialize_minimal): Change
34221 function arguments.
34222 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34224 2013-02-28 Joseph Myers <joseph@codesourcery.com>
34227 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34228 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34229 <bp-sym.h> and <bp-asm.h>.
34230 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34231 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34233 (memcpy): Don't use BP_SYM.
34234 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34236 (__mpn_add_n): Don't use BP_SYM.
34237 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34238 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34240 (__mpn_addmul_1): Don't use BP_SYM.
34241 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34242 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34244 (_setjmp): Don't use BP_SYM.
34245 (__novmx_setjmp): Likewise.
34246 (__GI__setjmp): Likewise.
34247 (__vmx_setjmp): Likewise.
34248 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34250 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34251 (__bzero): Don't use BP_SYM.
34252 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34253 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34254 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34255 <bp-sym.h> and <bp-asm.h>.
34256 (memcpy): Don't use BP_SYM.
34257 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34258 <bp-sym.h> and <bp-asm.h>.
34259 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34260 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34261 <bp-sym.h> and <bp-asm.h>.
34262 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34263 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34265 (__mpn_lshift): Don't use BP_SYM.
34266 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34267 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34269 (memset): Don't use BP_SYM.
34270 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34271 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34272 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34274 (__mpn_mul_1): Don't use BP_SYM.
34275 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34276 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34277 <bp-sym.h> and <bp-asm.h>.
34278 (memcmp): Don't use BP_SYM.
34279 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34280 <bp-sym.h> and <bp-asm.h>.
34281 (memcpy): Don't use BP_SYM.
34282 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34283 <bp-sym.h> and <bp-asm.h>.
34284 (memset): Don't use BP_SYM.
34285 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34286 <bp-sym.h> and <bp-asm.h>.
34287 (strncmp): Don't use BP_SYM.
34288 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34289 <bp-sym.h> and <bp-asm.h>.
34290 (memcpy): Don't use BP_SYM.
34291 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34292 <bp-sym.h> and <bp-asm.h>.
34293 (memset): Don't use BP_SYM.
34294 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34295 <bp-sym.h> and <bp-asm.h>.
34296 (__memchr): Don't use BP_SYM.
34297 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34298 <bp-sym.h> and <bp-asm.h>.
34299 (memcmp): Don't use BP_SYM.
34300 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34301 <bp-sym.h> and <bp-asm.h>.
34302 (memcpy): Don't use BP_SYM.
34303 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34304 <bp-sym.h> and <bp-asm.h>.
34305 (__mempcpy): Don't use BP_SYM.
34306 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34307 <bp-sym.h> and <bp-asm.h>.
34308 (__memrchr): Don't use BP_SYM.
34309 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34310 <bp-sym.h> and <bp-asm.h>.
34311 (memset): Don't use BP_SYM.
34312 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34313 <bp-sym.h> and <bp-asm.h>.
34314 (__rawmemchr): Don't use BP_SYM.
34315 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34316 <bp-sym.h> and <bp-asm.h>.
34317 (__STRCMP): Don't use BP_SYM.
34318 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34319 <bp-sym.h> and <bp-asm.h>.
34320 (strchr): Don't use BP_SYM.
34321 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34322 <bp-sym.h> and <bp-asm.h>.
34323 (__strchrnul): Don't use BP_SYM.
34324 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34325 <bp-sym.h> and <bp-asm.h>.
34326 (strlen): Don't use BP_SYM.
34327 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34328 <bp-sym.h> and <bp-asm.h>.
34329 (strncmp): Don't use BP_SYM.
34330 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34331 <bp-sym.h> and <bp-asm.h>.
34332 (__strnlen): Don't use BP_SYM.
34333 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34335 (__mpn_rshift): Don't use BP_SYM.
34336 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34337 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34338 <bp-sym.h> and <bp-asm.h>.
34339 (__sigsetjmp): Don't use BP_SYM.
34340 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34341 (L(start_addresses)): Don't use BP_SYM.
34342 (_start): Likewise.
34343 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34345 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34346 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34347 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34348 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34350 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34351 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34352 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34353 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34355 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34357 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34358 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34360 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
34362 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34363 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34364 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34366 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34368 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34370 (strncmp): Don't use BP_SYM,
34371 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34373 (__mpn_sub_n): Don't use BP_SYM.
34374 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34375 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34377 (__mpn_submul_1): Don't use BP_SYM.
34378 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34380 <bp-sym.h> and <bp-asm.h>.
34381 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34383 <bp-sym.h> and <bp-asm.h>.
34384 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34387 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34390 Use ZK to minimize writes to Z.
34391 (sub_magnitudes): Simplify code a bit.
34392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34393 Use ZK to minimize writes to Z.
34394 (sub_magnitudes): Simplify code a bit.
34396 2013-02-27 Roland McGrath <roland@hack.frob.com>
34398 * csu/gmon-start.c: Add special exception to license text.
34400 2013-02-27 Richard Henderson <rth@redhat.com>
34402 * scripts/config.guess: Update from config.git.
34403 * scripts/config.sub: Likewise.
34405 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34407 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34409 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34411 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34413 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34415 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34417 2013-02-26 Roland McGrath <roland@hack.frob.com>
34419 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34420 [$(build-shared = yes].
34422 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34424 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34425 (__mul): Reduce iterations for calculating mantissa.
34427 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34429 (__mpranred): Likewise.
34432 * malloc/memusagestat.c (main): Draw graphs for heap and stack
34433 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34435 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
34437 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34438 Define __attribute__.
34440 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34442 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34444 * posix/regex_internal.h (__attribute): Remove.
34445 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34446 (re_string_context_at): Likewise.
34447 (bitset_not): Use __attribute__ and mark function as possibly
34449 (bitset_merge): Likewise.
34450 (bitset_mask): Likewise.
34451 (re_string_char_size_at): Likewise.
34452 (re_string_wchar_at): Likewise.
34453 (re_string_elem_size_at): Likewise.
34455 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34457 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34461 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34465 (denorm): Likewise.
34466 (__dbl_mp): Likewise.
34467 (add_magnitudes): Likewise.
34468 (sub_magnitudes): Likewise.
34472 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34475 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34478 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34482 up changes with default code.
34483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34486 2013-02-24 Allan McRae <allan@archlinux.org>
34488 * manual/socket.texi (The Internet Namespace): Order menu items
34489 to match that in the file.
34491 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34492 node listing of the info page menu.
34494 2013-02-21 Joseph Myers <joseph@codesourcery.com>
34497 * sysdeps/i386/bp-asm.h: Remove file.
34498 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34499 (PARMS): Do not use macros from bp-asm.h.
34503 (__mpn_add_n): Do not use BP_SYM
34504 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34506 (PARMS): Do not use macros from bp-asm.h.
34509 (__mpn_addmul_1): Do not use BP_SYM
34510 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34512 (PARMS): Do not use macros from bp-asm.h.
34513 (SIGMSK): Likewise.
34514 (_setjmp): Likewise. Do not use BP_SYM.
34515 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34517 (PARMS): Do not use macros from bp-asm.h.
34518 (SIGMSK): Likewise.
34519 (setjmp): Likewise. Do not use BP_SYM.
34520 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34522 (PARMS): Do not use macros from bp-asm.h.
34523 (__frexp): Do not use BP_SYM.
34525 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34527 (PARMS): Do not use macros from bp-asm.h.
34528 (__frexpf): Do not use BP_SYM.
34529 (frexpf): Likewise.
34530 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34532 (PARMS): Do not use macros from bp-asm.h.
34533 (__frexpl): Do not use BP_SYM.
34534 (frexpl): Likewise.
34535 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34537 (PARMS): Do not use macros from bp-asm.h.
34538 (__remquo): Do not use BP_SYM.
34539 (remquo): Likewise.
34540 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34542 (PARMS): Do not use macros from bp-asm.h.
34543 (__remquof): Do not use BP_SYM.
34544 (remquof): Likewise.
34545 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34547 (PARMS): Do not use macros from bp-asm.h.
34548 (__remquol): Do not use BP_SYM.
34549 (remquol): Likewise.
34550 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34552 (PARMS): Do not use macros from bp-asm.h.
34555 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
34556 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34558 (PARMS): Do not use macros from bp-asm.h.
34559 (strlen): Do not use BP_SYM.
34560 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34562 (PARMS): Do not use macros from bp-asm.h.
34566 (__mpn_add_n): Do not use BP_SYM.
34567 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34569 (PARMS): Do not use macros from bp-asm.h.
34572 (__mpn_addmul_1): Do not use BP_SYM.
34573 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34576 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34578 (PARMS): Do not use macros from bp-asm.h.
34581 (__mpn_lshift): Do not use BP_SYM.
34582 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34584 (PARMS): Do not use macros from bp-asm.h.
34588 (memcpy): Likewise. Do not use BP_SYM.
34589 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34590 libc_hidden_def and weak_alias.
34591 (mempcpy): Do not use BP_SYM in weak_alias.
34592 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34594 (PARMS): Do not use macros from bp-asm.h.
34597 [!BZERO_P] (CHR): Likewise.
34598 (memset): Likewise. Do not use BP_SYM.
34599 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34601 (PARMS): Do not use macros from bp-asm.h.
34604 (__mpn_mul_1): Do not use BP_SYM.
34605 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34607 (PARMS): Do not use macros from bp-asm.h.
34610 (__mpn_rshift): Do not use BP_SYM.
34611 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34613 (PARMS): Do not use macros from bp-asm.h.
34616 (strchr): Likewise. Do not use BP_SYM.
34617 (index): Do not use BP_SYM in weak_alias.
34618 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34620 (PARMS): Do not use macros from bp-asm.h.
34623 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
34624 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34626 (PARMS): Do not use macros from bp-asm.h.
34627 (strlen): Do not use BP_SYM.
34628 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34630 (PARMS): Do not use macros from bp-asm.h.
34634 (__mpn_sub_n): Do not use BP_SYM.
34635 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34637 (PARMS): Do not use macros from bp-asm.h.
34640 (__mpn_submul_1): Do not use BP_SYM.
34641 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34643 (PARMS): Do not use macros from bp-asm.h.
34647 (__mpn_add_n): Do not use BP_SYM.
34648 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34651 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34653 (PARMS): Do not use macros from bp-asm.h.
34656 (memcmp): Do not use BP_SYM.
34657 (bcmp): Do not use BP_SYM in weak_alias.
34658 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34660 (PARMS): Do not use macros from bp-asm.h.
34664 (memcpy): Likewise. Do not use BP_SYM.
34665 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34667 (PARMS): Do not use macros from bp-asm.h.
34671 (memmove): Likewise. Do not use BP_SYM.
34672 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34674 (PARMS): Do not use macros from bp-asm.h.
34678 (__mempcpy): Likewise. Do not use BP_SYM.
34679 (mempcpy): Do not use BP_SYM in weak_alias.
34680 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34682 (PARMS): Do not use macros from bp-asm.h.
34685 [!BZERO_P] (CHR): Likewise.
34686 (memset): Likewise. Do not use BP_SYM.
34687 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34689 (PARMS): Do not use macros from bp-asm.h.
34691 (strcmp): Do not use BP_SYM.
34692 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34694 (PARMS): Do not use macros from bp-asm.h.
34697 [USE_AS_STRTOK_R] (SAVE): Likewise.
34698 (FUNCTION): Likewise. Do not use BP_SYM.
34699 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34701 (strtok_r): Likewise.
34702 (__GI___strtok_r): Likewise.
34703 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34704 (PARMS): Do not use macros from bp-asm.h.
34707 (__mpn_lshift): Do not use BP_SYM.
34708 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34709 (PARMS): Do not use macros from bp-asm.h.
34712 (__memchr): Do not use BP_SYM.
34713 (memchr): Do not use BP_SYM in weak_alias.
34714 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34715 (PARMS): Do not use macros from bp-asm.h.
34718 (memcmp): Do not use BP_SYM.
34719 (bcmp): Do not use BP_SYM in weak_alias.
34720 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34721 (PARMS): Do not use macros from bp-asm.h.
34724 (__mpn_mul_1): Do not use BP_SYM.
34725 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34727 (PARMS): Do not use macros from bp-asm.h.
34730 (__rawmemchr): Do not use BP_SYM.
34731 (rawmemchr): Do not use BP_SYM in weak_alias.
34732 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34733 (PARMS): Do not use macros from bp-asm.h.
34736 (__mpn_rshift): Do not use BP_SYM.
34737 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34738 (PARMS): Do not use macros from bp-asm.h.
34739 (SIGMSK): Likewise.
34740 (__sigsetjmp): Likewise. Do not use BP_SYM.
34741 * sysdeps/i386/start.S: Do not include "bp-sym.h".
34742 (_start): Do not use BP_SYM.
34743 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34744 (PARMS): Do not use macros from bp-asm.h.
34747 (__stpcpy): Likewise. Do not use BP_SYM.
34748 (stpcpy): Do not use BP_SYM in weak_alias.
34749 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34751 (PARMS): Do not use macros from bp-asm.h.
34755 (__stpncpy): Likewise. Do not use BP_SYM.
34756 (stpncpy): Do not use BP_SYM in weak_alias.
34757 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34758 (PARMS): Do not use macros from bp-asm.h.
34761 (strchr): Likewise. Do not use BP_SYM.
34762 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34764 (PARMS): Do not use macros from bp-asm.h.
34767 (__strchrnul): Likewise. Do not use BP_SYM.
34768 (strchrnul): Do not use BP_SYM in weak_alias.
34769 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34771 (PARMS): Do not use macros from bp-asm.h.
34773 (strcspn): Do not use BP_SYM.
34774 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34776 (PARMS): Do not use macros from bp-asm.h.
34779 (strpbrk): Likewise. Do not use BP_SYM.
34780 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34782 (PARMS): Do not use macros from bp-asm.h.
34785 (strrchr): Likewise. Do not use BP_SYM.
34786 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34787 (PARMS): Do not use macros from bp-asm.h.
34789 (strspn): Do not use BP_SYM.
34790 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34791 (PARMS): Do not use macros from bp-asm.h.
34795 (FUNCTION): Likewise. Do not use BP_SYM.
34796 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34798 (strtok_r): Likewise.
34799 (__GI___strtok_r): Likewise.
34800 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34801 (PARMS): Do not use macros from bp-asm.h.
34805 (__mpn_sub_n): Do not use BP_SYM.
34806 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34808 (PARMS): Do not use macros from bp-asm.h.
34811 (__mpn_submul_1): Do not use BP_SYM.
34812 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34814 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34816 (PARMS): Do not use macros from bp-asm.h.
34821 (__clone): Do not use BP_SYM.
34822 (clone): Do not use BP_SYM in weak_alias.
34823 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34825 (PARMS): Do not use macros from bp-asm.h.
34827 (__mmap64): Do not use BP_SYM.
34828 (mmap64): Do not use BP_SYM in weak_alias.
34829 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34830 <bp-sym.h> and <bp-asm.h>.
34831 (PARMS): Do not use macros from bp-asm.h.
34832 (__posix_fadvise64_l64): Do not use BP_SYM.
34833 * sysdeps/unix/sysv/linux/i386/semtimedop.S
34834 (PARMS): Do not use macros from bp-asm.h.
34836 (semtimedop): Do not use BP_SYM.
34837 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34840 2013-02-21 Allan McRae <allan@archlinux.org>
34842 * manual/message.texi (Charset conversion in gettext):
34843 Move @end statement to beginning of line.
34845 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34852 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34853 (denorm): Likewise.
34854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34857 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34859 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34860 tail-call to the resolved function if pltexit isn't needed.
34862 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34864 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34865 or Y being zero as being unlikely.
34866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34869 2013-02-20 Carlos O'Donell <carlos@redhat.com>
34871 * manual/nss.texi (System Databases and Name Service Switch):
34872 Remove frobnicate @pxref.
34874 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34876 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34877 __attribute__ ((unused)) to __attribute__ ((__unused__)).
34879 2013-02-20 Petr Machata <pmachata@redhat.com>
34881 * elf/elf.h (R_ARM_TARGET1): New macro.
34882 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34883 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34884 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34885 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34886 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34887 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34888 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34889 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34890 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34891 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34892 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34893 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34894 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34895 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34896 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34897 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34898 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34899 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34900 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34901 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34902 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34903 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34904 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34905 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34906 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34907 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34908 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34909 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34910 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34911 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34912 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34913 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34914 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34915 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34916 (R_ARM_THM_GOT_BREL12): Likewise.
34917 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34918 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34919 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34920 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34921 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34922 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34923 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34924 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34925 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34927 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34929 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34930 __attribute_used__ to __attribute__ ((unused)).
34932 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34934 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34937 comment formatting.
34938 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34940 2013-02-19 Joseph Myers <joseph@codesourcery.com>
34943 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34945 (ENTER): Remove both macro definitions.
34947 (CHECK_BOUNDS_LOW): Likewise.
34948 (CHECK_BOUNDS_HIGH): Likewise.
34949 (CHECK_BOUNDS_BOTH): Likewise.
34950 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34951 (RETURN_BOUNDED_POINTER): Likewise.
34952 (RETURN_NULL_BOUNDED_POINTER): Likewise.
34953 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34954 (POP_ERRNO_LOCATION_RETURN): Likewise.
34955 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34956 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34957 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34959 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34960 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34961 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34962 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34963 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34964 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34965 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34966 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34967 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34968 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34969 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34970 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34971 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34972 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34974 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34975 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34977 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34978 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34979 * sysdeps/i386/i586/memset.S (memset): Likewise.
34980 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34981 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34982 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34984 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34985 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34986 Change uses of L(2) to L(out).
34987 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34988 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34989 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34990 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34991 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34993 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34994 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34996 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34997 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34998 (RETURN): Do not use macro LEAVE.
34999 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35000 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35001 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35002 * sysdeps/i386/i686/memset.S (memset): Likewise.
35003 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35004 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35005 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35006 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35008 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35009 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
35010 L(1_2) and L(1_3) into L(1).
35011 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35012 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35013 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35014 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35015 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35016 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35017 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35018 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35019 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35021 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35022 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35023 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35024 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35025 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35026 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35027 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35028 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35029 * sysdeps/i386/strcspn.S (strcspn): Likewise.
35030 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35031 * sysdeps/i386/strrchr.S (strrchr): Likewise.
35032 * sysdeps/i386/strspn.S (strspn): Likewise.
35033 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35035 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35036 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35037 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35038 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
35039 L(1_3) into L(1_1).
35040 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35041 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35042 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35044 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35046 2013-02-19 Jakub Jelinek <jakub@redhat.com>
35048 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35051 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35053 * math/atest-exp.c (exp_mpn): Remove ROUND.
35054 * math/atest-exp2.c (exp_mpn): Likewise.
35055 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35057 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35058 * stdlib/tst-tls-atexit-lib.c: Likewise.
35059 * stdlib/tst-tls-atexit.c: Likewise.
35061 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35063 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35064 and __attribute_alloc_size__.
35066 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35068 * include/programs/xmalloc.h: Change __attribute_alloc_size to
35069 __attribute_alloc_size__.
35070 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35071 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35073 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35075 * include/programs/xmalloc.h: New file.
35076 * catgets/gencat.c: Include it.
35077 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35078 * elf/pldd.c: Likewise.
35079 * iconv/iconv_charmap.c: Likewise.
35080 * iconv/iconvconfig.c: Likewise.
35081 * iconv/strtab.c: Likewise.
35082 * locale/programs/locale.c: Likewise.
35083 * locale/programs/localedef.h: Likewise.
35084 * locale/programs/simple-hash.c: Likewise.
35085 * nscd/nscd.h: Likewise.
35086 * nss/makedb.c: Likewise.
35087 * sysdeps/generic/ldconfig.h: Likewise.
35089 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35091 * Versions.def: Add GLIBC_2.18.
35092 * include/link.h (struct link_map): New member l_tls_dtor_count.
35093 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35094 (__call_tls_dtors): Likewise.
35095 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35096 __cxa_thread_atexit_impl.
35097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35105 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35113 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35114 (tests): Add test case tst-tls-atexit.
35115 (modules-names): Add shared library for tst-tls-atexit.
35116 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35117 (GLIBC_PRIVATE): Add __call_tls_dtors.
35118 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35120 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35121 * stdlib/tst-tls-atexit.c: New test case.
35122 * stdlib/tst-tls-atexit-lib.c: New test case.
35124 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35126 * elf/Versions (ld): Add _dl_find_dso_for_object.
35127 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35128 * elf/dl-open.c (_dl_find_dso_for_object): New function.
35129 (dl_open_worker): Use _dl_find_dso_for_object.
35130 * elf/dl-sym.c (do_sym): Likewise.
35131 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35133 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35135 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35136 Syntactic changes only.
35137 (_dl_runtime_profile): Do a tail-call to the resolved function.
35139 2013-02-17 Joseph Myers <joseph@codesourcery.com>
35142 * sysdeps/x86_64/bp-asm.h: Remove file.
35143 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35144 <bp-sym.h> and <bp-asm.h>.
35145 (__clone): Do not use BP_SYM.
35146 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35147 <bp-sym.h> and <bp-asm.h>.
35148 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35149 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35151 (_setjmp): Do not use BP_SYM.
35152 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35154 (setjmp): Do not use BP_SYM.
35155 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35157 (mempcpy): Do not use BP_SYM in weak_alias.
35158 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35160 (strchr): Do not use BP_SYM.
35161 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35163 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35164 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35165 (_start): Do not use BP_SYM.
35166 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35168 (strcat): Do not use BP_SYM.
35169 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35171 (STRCMP): Do not use BP_SYM.
35172 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35174 (STRCPY): Do not use BP_SYM.
35175 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35177 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35179 (FUNCTION): Do not use BP_SYM.
35180 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35182 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35184 2013-02-17 Andreas Jaeger <aj@suse.de>
35186 * time/Versions: Sort entries.
35187 * string/Versions: Likewise.
35188 * resolv/Versions: Likewise.
35189 * posix/Versions: Likewise.
35190 * iconv/Versions: Likewise.
35191 * elf/Versions: Likewise.
35192 * wcsmbs/Versions: Likewise.
35194 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35196 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35197 loop termination condition.
35199 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35200 variable to calculate EZ.
35203 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35204 the lower precision input.
35206 2013-02-15 Joseph Myers <joseph@codesourcery.com>
35209 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35210 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35211 (run-via-rtld-prefix): Do not handle %-bp tests.
35212 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35213 (all-object-suffixes): Remove .ob.
35214 (bppfx): Remove variable.
35215 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35216 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35217 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35218 [$(build-bounded) = yes] (libtype.ob): Likewise.
35219 * Makerules (elide-routines.ob): Remove variable.
35220 (do-tests-clean): Do not handle *-bp.out.
35221 (common-mostlyclean): Do not handle *-bp and *-bp.out.
35222 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35223 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35224 (tests): Do not include $(tests-bp.out).
35225 (xtests): Do not include $(xtests-bp.out).
35226 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35227 [$(build-bounded) = yes] ($(addprefix
35228 $(objpfx),$(binaries-bounded))): Remove rule.
35229 ($(objpfx)%-bp.out): Remove rule.
35230 * config.make.in (build-bounded): Remove variable.
35231 * crypt/Makefile [$(build-bounded) = yes]
35232 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35233 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35234 append to variable.
35235 [$(build-bounded) = yes] (install-lib): Likewise.
35236 [$(build-bounded) = yes] (generated): Likewise.
35237 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35239 * intl/Makefile [$(build-bounded) = yes]
35240 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35241 * math/Makefile [$(build-bounded) = yes]
35242 ($(tests:%=$(objpfx)%-bp): Likewise.
35243 * misc/Makefile [$(build-bounded) = yes]
35244 ($(objpfx)tst-tsearch-bp): Likewise.
35245 * nptl/Makeconfig (bounded-thread-library): Remove variable.
35246 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35248 * string/Makefile (o-objects.ob): Remove variable.
35249 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35250 (CFLAGS-.ob): Remove variable.
35251 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35252 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35253 both definitions of variable.
35254 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35255 (ASFLAGS-.ob): Remove variable.
35257 2013-02-14 Joseph Myers <joseph@codesourcery.com>
35260 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35261 Remove __BOUNDED_POINTERS__ from condition.
35262 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35263 * string/bits/string2.h [!__NO_STRING_INLINES &&
35264 !__BOUNDED_POINTERS__]: Likewise.
35265 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35267 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35268 Remove conditional code.
35269 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35270 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35271 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35275 * csu/libc-start.c: Do not include <bp-sym.h>.
35276 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35277 * elf/dl-open.c: Do not include <bp-sym.h>.
35278 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35279 * math/fegetenv.c: Do not include <bp-sym.h>.
35280 (fegetenv): Do not use BP_SYM in versioned symbols.
35281 * nptl/sysdeps/pthread/bits/libc-lockP.h
35282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35285 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35287 (__pthread_mutex_destroy): Likewise.
35288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35289 (__pthread_mutex_lock): Likewise.
35290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35291 (__pthread_mutex_trylock): Likewise.
35292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35293 (__pthread_mutex_unlock): Likewise.
35294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35295 (__pthread_mutexattr_init): Likewise.
35296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35297 (__pthread_mutexattr_destroy): Likewise.
35298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35299 (__pthread_mutexattr_settype): Likewise.
35300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35301 (__pthread_rwlock_init): Likewise.
35302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35303 (__pthread_rwlock_destroy): Likewise.
35304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35305 (__pthread_rwlock_rdlock): Likewise.
35306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35307 (__pthread_rwlock_tryrdlock): Likewise.
35308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35309 (__pthread_rwlock_wrlock): Likewise.
35310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35311 (__pthread_rwlock_trywrlock): Likewise.
35312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35313 (__pthread_rwlock_unlock): Likewise.
35314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35315 (__pthread_key_create): Likewise.
35316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35317 (__pthread_setspecific): Likewise.
35318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35319 (__pthread_getspecific): Likewise.
35320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35323 (_pthread_cleanup_push_defer): Likewise.
35324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35325 (_pthread_cleanup_pop_restore): Likewise.
35326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35327 (pthread_setcancelstate): Likewise.
35328 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35330 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35331 (memchr): Do not use BP_SYM in weak_alias.
35332 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35333 (fegetenv): Do not use BP_SYM in versioned symbols.
35334 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35335 (fesetenv): Do not use BP_SYM in versioned symbols.
35336 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35337 (feupdateenv): Do not use BP_SYM in versioned symbols.
35338 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35339 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35340 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35341 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35342 (open64): Do not use BP_SYM in weak_alias.
35343 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35344 (fegetenv): Do not use BP_SYM in versioned symbols.
35345 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35346 (fesetenv): Do not use BP_SYM in versioned symbols.
35347 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35348 (feupdateenv): Do not use BP_SYM in versioned symbols.
35349 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35350 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35351 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35352 (feraiseexcept): Do not use BP_SYM in versioned symbols.
35353 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35354 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35355 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35357 (__libc_start_main): Do not use BP_SYM.
35359 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35362 redundant return line.
35364 (denorm): Likewise.
35365 (dbl_mp): Likewise.
35366 (sub_magnitudes): Likewise.
35372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35374 (denorm): Likewise.
35375 (dbl_mp): Likewise.
35376 (sub_magnitudes): Likewise.
35383 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35385 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35386 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35389 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35390 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35391 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35392 of __mul for squares.
35393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35397 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35398 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35400 2013-02-13 Joseph Myers <joseph@codesourcery.com>
35403 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35405 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35406 prototype or function definition. Rename ubp_* variables and
35407 parameters. Remove argv definitions conditional on
35408 [__BOUNDED_POINTERS__].
35409 * debug/backtrace.c (__backtrace): Do not use __unbounded.
35410 * elf/dl-runtime.c (_dl_fixup): Likewise.
35411 * include/set-hooks.h (RUN_HOOK): Likewise.
35412 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35414 * string/strcpy.c (strcpy): Do not use __unbounded.
35415 * sysdeps/generic/frame.h (struct layout): Likewise.
35416 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35417 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35418 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35419 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35420 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35421 (__backtrace): Likewise.
35422 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35424 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35425 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35426 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35428 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35429 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35430 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35431 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35432 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35433 Do not use __unbounded.
35434 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35435 Rename __unboundedrlimits parameter to rlimits in prototype.
35436 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35437 Do not use __unbounded.
35438 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35439 not use __ptrvalue.
35440 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35441 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35442 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35443 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35444 __ptrvalue or __unbounded.
35445 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35446 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35448 (__new_msgctl): Do not use __ptrvalue.
35449 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35451 (__libc_msgrcv): Do not use __ptrvalue.
35452 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35453 startup_info): Do not use __unbounded.
35454 (__libc_start_main): Likewise. Rename ubp_* variables and
35455 parameters. Remove argv definitions conditional on
35456 [__BOUNDED_POINTERS__].
35457 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35459 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35461 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35463 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35465 (__new_shmctl): Do not use __ptrvalue.
35466 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35467 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35469 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35470 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35471 (__libc_sigaction): Likewise.
35472 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35473 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35475 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35477 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
35479 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35481 * string/mempcpy.c: Implement by calling memcpy.
35483 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35485 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35490 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35491 values in the mantissa.
35493 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35494 minimize writes to Z.
35495 (sub_magnitudes): Simplify code a bit.
35497 2013-02-12 Roland McGrath <roland@hack.frob.com>
35499 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35500 from the message. The linker prefixes all warnings with that already.
35502 2013-02-12 Andreas Schwab <schwab@suse.de>
35505 * posix/regexec.c (extend_buffers): Add parameter min_len.
35506 (check_matching): Pass minimum needed length.
35507 (clean_state_log_if_needed): Likewise.
35508 (get_subexp): Likewise.
35509 * posix/Makefile (tests): Add bug-regex34.
35510 (bug-regex34-ENV): Define.
35511 * posix/bug-regex34.c: New file.
35514 * posix/regcomp.c (parse_bracket_exp): When looking up collating
35515 elements compare against the byte sequence of it, not its name.
35516 * posix/Makefile (tests): Add bug-regex35.
35517 (bug-regex35-ENV): Define.
35518 * posix/bug-regex35.c: New file.
35520 2013-02-11 Tom de Vries <tom@codesourcery.com>
35522 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
35524 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35525 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35526 (CHECK_EOL): Add undef.
35528 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
35530 * bits/stdlib-bsearch.h: New file.
35531 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35532 * stdlib/stdlib.h: Likewise.
35534 2013-02-11 Roland McGrath <roland@hack.frob.com>
35536 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35537 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35539 * manual/search.texi (Array Search Function): Add missing const in
35541 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35542 declaration to use rlim_t.
35543 (Basic Scheduling Functions): Remove erroneous const from
35544 sched_getparam prototype. Remove erroneous * from
35545 sched_get_priority_max and sched_get_priority_min prototypes.
35546 (Resource Usage): Fix summary @comment on vtimes to refer to
35547 sys/vtimes.h rather than vtimes.h.
35548 Add missing *s in vtimes prototype.
35549 (Limits on Resources): Fix ulimit prototype to return long int.
35550 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35551 prototypes to use long int rather than double.
35552 (BSD Random): Fix initstate and setstate to use char *, not void *.
35553 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35554 prototype to make second argument 'struct aiocb64 *const[]'.
35555 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35556 (Status of AIO Operations): Remove erroneous const in aio_return and
35557 aio_return64 prototypes.
35558 (Synchronizing I/O): Fix sync prototype to return void.
35559 * manual/startup.texi (Suboptions): Remove an erroneous const in
35560 getsubopt prototype.
35561 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35562 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35563 use size_t rather than int.
35564 (Scanning All Users): Likewise for getpwent_r.
35565 (Setting Groups): Add missing const to setgroups prototype.
35566 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35567 * manual/socket.texi (Host Names): Fix gethostbyaddr and
35568 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35569 'const void *' rather than 'const char *'.
35570 (Host Address Functions): Likewise for inet_ntop.
35571 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35572 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35573 ssize_t for return value.
35574 (Sending Data): Likewise for send, sendto, sendmsg.
35575 (Socket Option Functions): Add a missing const in setsockopt prototype.
35576 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35577 use wchar_t for the argument.
35578 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35579 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35581 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35582 double/float/long double for second argument.
35583 Fix return types of significand, significandf, significandl.
35584 * manual/filesys.texi (Setting Permissions): Use mode_t for second
35585 argument in fchmod prototype.
35586 (File Owner): Use uid_t and gid_t in fchown prototype.
35587 (File Times): Add const to utimes, futimes, and lutimes prototypes.
35588 (Making Special Files): Use mode_t and dev_t in mknod prototype.
35589 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35590 use 'const struct dirent **' as argument types to CMP function pointer
35592 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35593 (File Times): Fix summary magic @comment for struct utimbuf and utime
35594 to refer to utime.h, not time.h.
35595 * manual/string.texi (Argz Functions): Add missing const in
35596 argz_extract and argz_next prototypes.
35597 (Finding Tokens in a String): Likewise for basename.
35598 (String/Array Comparison): Fix typo in wcscasecmp prototype.
35599 (Copying and Concatenation): Fix typo in wmemmove prototype.
35600 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35601 (Signal Stack): Remove erroneous const in sigstack prototype.
35602 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35604 (Simple Calendar Time): Likewise for stime.
35605 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35607 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35608 say sys/sysctl.h instead.
35609 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35610 and vsyslog prototypes.
35612 2013-02-11 Tom de Vries <tom@codesourcery.com>
35614 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35617 2013-02-11 Roland McGrath <roland@hack.frob.com>
35619 * misc/sys/mman.h: Fix typo in mremap comment.
35621 2013-02-08 Roland McGrath <roland@hack.frob.com>
35623 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35624 the '\0' terminator.
35626 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35629 * debug/segfault.c: Don't include <bp-checks.h>.
35630 * sysdeps/generic/bp-checks.h: Remove file.
35631 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35632 (__GETDENTS): Don't use CHECK_N.
35633 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35634 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35635 (__getgroups): Don't use CHECK_N.
35636 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35637 (setgroups): Don't use CHECK_N.
35638 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35639 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35640 (__libc_msgrcv): Don't use CHECK_N.
35641 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35642 (__libc_msgsnd): Don't use CHECK_N.
35643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35645 (__libc_pread): Don't use CHECK_N.
35646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35647 include <bp-checks.h>.
35648 (__libc_pread64): Don't use CHECK_N.
35649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35650 include <bp-checks.h>.
35651 (__libc_pwrite): Don't use CHECK_N.
35652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35653 include <bp-checks.h>.
35654 (__libc_pwrite64): Don't use CHECK_N.
35655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35657 (__libc_pread): Don't use CHECK_N.
35658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35659 include <bp-checks.h>.
35660 (__libc_pread64): Don't use CHECK_N.
35661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35662 include <bp-checks.h>.
35663 (__libc_pwrite): Don't use CHECK_N.
35664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35665 include <bp-checks.h>.
35666 (__libc_pwrite64): Don't use CHECK_N.
35667 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35668 (do_pread): Don't use CHECK_N.
35669 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35670 (do_pread64): Don't use CHECK_N.
35671 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35672 (do_pwrite): Don't use CHECK_N.
35673 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35674 (do_pwrite64): Don't use CHECK_N.
35675 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35676 (__libc_readv): Don't use CHECK_N.
35677 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35678 (semop): Don't use CHECK_N.
35679 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35681 (semtimedop): Don't use CHECK_N.
35682 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35683 (__libc_pread): Don't use CHECK_N.
35684 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35686 (__libc_pread64): Don't use CHECK_N.
35687 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35689 (__libc_pwrite): Don't use CHECK_N.
35690 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35692 (__libc_pwrite64): Don't use CHECK_N.
35693 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35695 (__libc_msgrcv): Don't use CHECK_N.
35696 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35697 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
35698 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35699 (__libc_writev): Don't use CHECK_N.
35701 2013-02-08 Roland McGrath <roland@hack.frob.com>
35703 * string/strcpy.c: Removed unused variable.
35705 * Makeconfig (+sysdep-includes): Define with := rather than =.
35706 Use an existing include/ subdir of each sysdeps dir before it.
35708 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35710 * nscd/connection.c (register_traced_file): Comment function.
35711 [HAVE_INOTIFY] (union __inev): Define.
35712 [HAVE_INOTIFY] (inotify_check_files): New function.
35713 [HAVE_INOTIFY] (clear_db_cache): Likewise.
35714 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35716 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35718 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35720 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35721 loaded if not already and that a failure is permanent.
35723 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35726 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35727 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35729 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35732 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35733 (CHECK_1_NULL_OK): Likewise.
35734 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35735 (__fxstat): Do not use CHECK_1.
35736 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35738 (___fxstat64): Do not use CHECK_1.
35739 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35741 (__fxstatat): Do not use CHECK_1.
35742 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35744 (__fxstatat64): Do not use CHECK_1.
35745 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35747 (__fxstat): Do not use CHECK_1.
35748 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35750 (__fxstatat): Do not use CHECK_1.
35751 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35753 (__getresgid): Do not use CHECK_1.
35754 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35756 (__getresuid): Do not use CHECK_1.
35757 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35759 (__lxstat): Do not use CHECK_1.
35760 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35762 (__old_msgctl): Do not use CHECK_1.
35763 (__new_msgctl): Likewise.
35764 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35766 (__new_setrlimit): Do not use CHECK_1.
35767 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35769 (__old_shmctl): Do not use CHECK_1.
35770 (__new_shmctl): Likewise.
35771 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35773 (__xstat): Do not use CHECK_1.
35774 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35775 (__lxstat): Do not use CHECK_1.
35776 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35778 (___lxstat64): Do not use CHECK_1.
35779 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35780 (__old_msgctl): Do not use CHECK_1.
35781 (__new_msgctl): Likewise.
35782 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35784 (__gettimeofday): Do not use CHECK_1.
35785 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35786 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35787 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35789 (__gettimeofday): Do not use CHECK_1.
35790 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35791 (__old_shmctl): Do not use CHECK_1_NULL_OK.
35792 (__new_shmctl): Do not use CHECK_1.
35793 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35795 (do_sigtimedwait): Do not use CHECK_1.
35796 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35798 (do_sigwaitinfo): Do not use CHECK_1.
35799 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35801 (msgctl): Do not use CHECK_1.
35802 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35804 (shmctl): Do not use CHECK_1.
35805 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35806 (ustat): Do not use CHECK_1.
35807 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35809 (__fxstat): Do not use CHECK_1.
35810 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35812 (__fxstatat): Do not use CHECK_1.
35813 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35815 (__lxstat): Do not use CHECK_1.
35816 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35818 (__xstat): Do not use CHECK_1.
35819 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35820 (__xstat): Do not use CHECK_1.
35821 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35822 (___xstat64): Do not use CHECK_1.
35825 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35827 (CHECK_BOUNDS_HIGH): Likewise.
35828 * string/strcpy.c: Do not include <bp-checks.h>.
35829 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35831 2013-02-07 Roland McGrath <roland@hack.frob.com>
35833 * nscd/nscd-client.h (__nscd_drop_map_ref):
35834 Add __attribute__ ((unused)).
35835 * nis/nss-nisplus.h (niserr2nss): Likewise.
35837 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35838 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35840 * csu/libc-tls.c (init_static_tls, init_slotinfo):
35841 Remove inline keyword.
35842 * include/rounding-mode.h (round_away): Likewise.
35843 * libio/wfileops.c (adjust_wide_data): Likewise.
35844 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35845 (__m128i_strloadu_tolower): Likewise.
35846 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35847 (__m128i_strloadu_tolower): Likewise.
35848 * time/mktime.c (ydhms_diff): Likewise.
35849 * locale/elem-hash.h (elem_hash): Likewise.
35850 * locale/setlocale.c (setdata): Likewise.
35851 * posix/regex_internal.h (re_string_char_size_at): Likewise.
35852 (re_string_wchar_at): Likewise.
35853 (bitset_not, bitset_merge, bitset_mask): Likewise.
35854 [!(__GNUC__ > 3)] (inline): Remove macro.
35855 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35856 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35857 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35858 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35859 * string/memcmp.c (memcmp_bytes): Likewise.
35860 * locale/programs/locarchive.c (compute_hashval): Likewise.
35861 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35862 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35863 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35864 * nss/getent.c (print_rpc, print_protocols): Likewise.
35865 (print_passwd, print_group, print_aliases): Likewise.
35866 * nis/nss-nisplus.h (niserr2nss): Likewise.
35867 * nscd/connections.c (restart_p): Likewise.
35868 Change return type to bool.
35870 2013-02-05 Roland McGrath <roland@hack.frob.com>
35872 * Makeconfig (all-Depend-files): Add existing
35873 $(sorted-subdirs:=/Depend) files.
35874 (all-subdirs): Remove nss.
35875 * sysdeps/unix/inet/Subdirs: Add it here instead.
35876 * hesiod/Depend: New file.
35878 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35879 instead of calling alloca.
35881 * io/lseek.c (__lseek): Rename to __libc_lseek.
35882 Define __lseek as an alias.
35884 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35886 2013-02-04 Carlos O'Donell <carlos@redhat.com>
35888 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35889 else clause and remove check for non-standard endianness.
35891 2013-02-04 David S. Miller <davem@davemloft.net>
35893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35895 2013-02-04 Joseph Myers <joseph@codesourcery.com>
35898 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35899 (__ubp_memchr): Remove prototype.
35900 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35901 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35902 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35903 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35904 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35906 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35907 (__ubp_memchr): Likewise.
35908 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35909 (__ubp_memchr): Likewise.
35910 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35911 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35912 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35913 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35915 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35916 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35917 (__getcwd): Do not use CHECK_STRING.
35918 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35920 (__real_chown): Do not use CHECK_STRING.
35921 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35923 (fchownat): Do not use CHECK_STRING.
35924 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35926 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35928 (__lchown): Do not use CHECK_STRING.
35929 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35930 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35931 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35932 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35934 include <bp-checks.h>.
35935 (truncate64): Do not use CHECK_STRING.
35936 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35938 (__real_chown): Do not use CHECK_STRING.
35939 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35941 (__lchown): Do not use CHECK_STRING.
35942 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35944 (__chown): Do not use CHECK_STRING.
35945 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35947 (truncate64): Do not use CHECK_STRING.
35948 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35950 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35951 (__xmknod): Do not use CHECK_STRING.
35952 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35954 (__xmknodat): Do not use CHECK_STRING.
35955 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35956 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35958 2013-02-04 Andreas Schwab <schwab@suse.de>
35961 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35962 * include/netdb.h: Likewise for h_errno.
35963 * elf/tst-stackguard1.c: Include <tls.h>.
35965 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
35967 * elf/link.h (struct link_map): Extend the l_addr comment.
35968 * include/link.h (struct link_map): Likewise.
35970 2013-02-01 Joseph Myers <joseph@codesourcery.com>
35973 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35974 (BOUNDED_1): Remove macro.
35975 * debug/backtrace.c: Don't include <bp-checks.h>.
35976 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35977 (__backtrace): Likewise.
35978 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35980 (__backtrace): Don't use BOUNDED_1.
35981 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35983 (__backtrace): Don't use BOUNDED_1.
35984 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35985 (__backtrace): Don't use BOUNDED_1.
35986 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35987 (shmat): Don't use BOUNDED_N.
35989 2013-01-31 Joseph Myers <joseph@codesourcery.com>
35992 * sysdeps/generic/bp-start.h: Remove file.
35993 * csu/libc-start.c: Don't include <bp-start.h>.
35994 (LIBC_START_MAIN): Set up __environ directly instead of using
35995 INIT_ARGV_and_ENVIRON.
35996 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36000 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36002 (CHECK_FCNTL): Likewise.
36003 (CHECK_N_PAGES): Likewise.
36006 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36008 (CHECK_SIGSET_NULL_OK): Likewise.
36009 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36011 (sigpending): Don't use CHECK_SIGSET.
36012 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36014 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36015 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36017 (do_sigsuspend): Don't use CHECK_SIGSET.
36018 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36020 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36021 (do_sigwait): Don't use CHECK_SIGSET.
36022 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36024 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36025 include <bp-checks.h>.
36026 (sigpending): Don't use CHECK_SIGSET.
36027 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36028 include <bp-checks.h>.
36029 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36030 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36032 (sigpending): Don't use CHECK_SIGSET.
36033 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36035 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36038 * sysdeps/generic/bp-semctl.h: Remove file.
36039 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36040 <bp-checks.h> and <bp-semctl.h>.
36041 (__old_semctl): Don't use CHECK_SEMCTL.
36042 (__new_semctl): Likewise.
36043 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36045 (__old_semctl): Don't use CHECK_SEMCTL.
36046 (__new_semctl): Likewise.
36047 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36048 <bp-checks.h> and <bp-semctl.h>.
36049 (__old_semctl): Don't use CHECK_SEMCTL.
36050 (__new_semctl): Likewise.
36051 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36052 <bp-checks.h> and <bp-semctl.h>.
36053 (semctl): Don't use CHECK_SEMCTL.
36056 * Makerules (elide-bp-thunks): Remove variable.
36057 (elide-routines.oS): Don't use $(elide-bp-thunks).
36058 (elide-routines.os): Likewise.
36059 (elide-routines.o): Likewise.
36060 (elide-routines.op): Likewise.
36061 (elide-routines.og): Likewise.
36062 (objects): Don't use $(bp-thunks).
36063 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36065 (common-generated): Do not add s-proto-bp.d.
36066 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36069 Do not generate makefile rules for bounded-pointer thunks.
36070 * sysdeps/generic/bp-thunks.h: Remove file.
36071 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36072 * sysdeps/unix/s-proto-bp.S: Likewise.
36075 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36076 parts of result separately when argument is not close to line from
36077 -i to i and one part of argument is small.
36078 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36079 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36080 * math/libm-test.inc (cacos_test): Add more tests.
36081 (casin_test): Likewise.
36082 (casinh_test): Likewise.
36083 * sysdeps/i386/fpu/libm-test-ulps: Update.
36084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36086 2013-01-31 David S. Miller <davem@davemloft.net>
36088 * po/de.po: Update from translation team.
36090 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
36092 * time/tzfile.c: Include stdint.h for SIZE_MAX.
36094 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
36096 * configure.in (_AC_PROG_CC_C89): New definition.
36097 * configure: Regenerate.
36099 * configure.in (AC_PROG_CPP): New definition.
36100 * configure: Regenerate.
36102 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36104 * debug/tst-backtrace.h: New file.
36105 * debug/tst-backtrace2.c: Include tst-backtrace.h.
36106 (ret): Remove variable.
36108 (FAIL): Remove macro.
36109 (NO_INLINE): Likewise.
36110 (fn1): Use match function instead of strstr.
36111 * debug/tst-backtrace3.c: Include tst-backtrace.h.
36112 (ret): Remove variable.
36114 (FAIL): Remove macro.
36115 (NO_INLINE): Likewise.
36116 (fn): Use match function instead of strstr.
36117 * debug/tst-backtrace4.c: Include tst-backtrace.h.
36118 (ret): Remove variable.
36120 (FAIL): Remove macro.
36121 (NO_INLINE): Likewise.
36122 (handle_signal): Use match function instead of strstr.
36123 * debug/tst-backtrace5.c: Include tst-backtrace.h.
36124 (ret): Remove variable.
36126 (FAIL): Remove macro.
36127 (NO_INLINE): Likewise.
36128 (handle_signal): Use match function instead of strstr.
36130 2013-01-23 Roland McGrath <roland@hack.frob.com>
36132 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36134 2013-01-23 David S. Miller <davem@davemloft.net>
36136 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36137 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36138 argument of CAS if possible.
36139 * sysdeps/sparc/sparc64/bits/atomic.h
36140 (__arch_compare_and_exchange_val_32_acq): Likewise.
36141 (__arch_compare_and_exchange_val_64_acq): Likewise.
36143 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
36145 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36146 * sysdeps/posix/ulimit.c: ... this.
36147 Include <limits.h>.
36148 * sysdeps/unix/bsd/ulimit.c: Remove file.
36150 2013-01-23 Adam Conrad <adconrad@0c3.net>
36152 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36153 (LDFLAGS-tst-array5): Likewise.
36155 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36158 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36159 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36160 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36161 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36163 2013-01-21 David S. Miller <davem@davemloft.net>
36165 * sysdeps/sparc/backtrace.c: New file.
36166 * sysdeps/sparc/sparc32/backtrace.h: New file.
36167 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36168 * sysdeps/sparc/sparc64/backtrace.h: New file.
36169 * sysdeps/sparc/sparc64/backtrace.c: Delete.
36170 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36173 2013-01-21 Andreas Schwab <schwab@suse.de>
36176 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36179 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
36181 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36185 2013-01-18 Joseph Myers <joseph@codesourcery.com>
36186 Mark Mitchell <mark@codesourcery.com>
36187 Tom de Vries <tom@codesourcery.com>
36188 Paul Pluzhnikov <ppluzhnikov@google.com>
36190 * debug/tst-backtrace2.c: New file.
36191 * debug/tst-backtrace3.c: Likewise.
36192 * debug/tst-backtrace4.c: Likewise.
36193 * debug/tst-backtrace5.c: Likewise.
36194 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36195 (CFLAGS-tst-backtrace3.c): Likewise.
36196 (CFLAGS-tst-backtrace4.c): Likewise.
36197 (CFLAGS-tst-backtrace5.c): Likewise.
36198 (LDFLAGS-tst-backtrace2): Likewise.
36199 (LDFLAGS-tst-backtrace3): Likewise.
36200 (LDFLAGS-tst-backtrace4): Likewise.
36201 (LDFLAGS-tst-backtrace5): Likewise.
36202 (tests): Add new tests tst-backtrace2, tst-backtrace3,
36203 tst-backtrace4 and tst-backtrace5.
36205 2013-01-18 Anton Blanchard <anton@samba.org>
36206 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36208 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36209 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36210 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36211 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36213 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36214 "+r" and remove output regs list as redundant. Add explicit inline
36215 asm to specify register of return val to work around compiler codegen
36216 bug. Remove (int) cast on return value. Add return type parameter to
36217 use in macro so that this macro does not truncate return value for
36219 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36220 pass to INTERNAL_VSYSCALL_NCS.
36221 (INLINE_VSYSCALL): Add 'long int' as return type to
36222 INTERNAL_VSYSCALL_NCS macro invocation.
36223 (INTERNAL_VSYSCALL): Add 'long int' as return type to
36224 INTERNAL_VSYSCALL_NCS macro invocation.
36225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36227 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36230 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36231 Fix application of SIMD FP exception mask.
36233 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36234 mp_no from a power of two.
36235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36236 __mpexp_twomm1. Use __pow_mp.
36238 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36241 2013-01-17 David S. Miller <davem@davemloft.net>
36243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36245 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36248 * include/complex.h: Condition contents on [!_COMPLEX_H].
36249 (__kernel_casinhf): New prototype.
36250 (__kernel_casinh): Likewise.
36251 (__kernel_casinhl): Likewise.
36252 * math/Makefile (libm_calls): Add k_casinh.
36253 * math/k_casinh.c: New file.
36254 * math/k_casinhf.c: Likewise.
36255 * math/k_casinhl.c: Likewise.
36256 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36257 finite nonzero arguments.
36258 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36259 finite nonzero arguments.
36260 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36261 finite nonzero arguments.
36262 * math/s_casinh.c: Do not include <float.h>.
36263 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36264 * math/s_casinhf.c: Do not include <float.h>.
36265 (__casinhf): Move code for finite nonzero arguments to
36267 * math/s_casinhl.c: Do not include <float.h>.
36268 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36270 (__casinhl): Move code for finite nonzero arguments to
36272 * math/libm-test.inc (cacos_test): Add more tests.
36273 * sysdeps/i386/fpu/libm-test-ulps: Update.
36274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36276 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
36278 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36279 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36280 [!HAVE_MREMAP]: Remove [defined linux] case.
36281 * malloc/arena.c: Do not include <malloc-sysdep.h>.
36283 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36285 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36287 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
36289 * elf/elf.h (R_386_SIZE32): New relocation.
36290 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36292 (elf_machine_rela): Likewise.
36293 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36294 R_X86_64_SIZE64 and R_X86_64_SIZE32.
36296 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36298 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36299 (FP_FAST_FMA): Do not define.
36300 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36301 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36302 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36303 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36304 !_SOFT_FLOAT]: Likewise.
36305 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36306 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36308 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36309 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36310 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36311 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36312 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36313 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36316 2013-01-16 Andreas Schwab <schwab@suse.de>
36319 * include/stdlib.h (__mktemp): Add declaration.
36320 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36321 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36323 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36325 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36327 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36328 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36329 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36331 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36332 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36334 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36336 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36337 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36338 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36340 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36341 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36343 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36345 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36347 2013-01-15 David S. Miller <davem@davemloft.net>
36349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36350 trunc{,f} to libm-sysdep_routes.
36351 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36361 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36362 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36363 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36364 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36365 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36366 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36369 nearbyint{,f} to libm-sysdep_routes.
36370 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36381 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36383 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36384 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36386 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36387 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36388 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36390 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36391 libc_feholdexcept and libc_fesetenv.
36393 2013-01-15 Mike Frysinger <vapier@gentoo.org>
36395 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36397 2013-01-14 David S. Miller <davem@davemloft.net>
36399 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36400 (SPARC_ASM_VIS2_IFUNC): Likewise.
36401 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36403 use of 'siam' instruction.
36404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36437 routines to libm-sysdep_routines.
36438 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36441 fdim/fdimf to libm-sysdep_routines.
36442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36450 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36451 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36452 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36453 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36455 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36457 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36458 to optimize copies.
36460 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36465 local variable MPTWO.
36466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36469 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36471 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36474 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36476 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36478 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36480 * manual/pattern.texi (glob_t): Document gl_flags.
36481 (glob64_t): Likewise.
36483 2013-01-11 David S. Miller <davem@davemloft.net>
36485 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36486 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36487 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
36488 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36489 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36490 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36491 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36492 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36493 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36494 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36495 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36496 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36497 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36499 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36500 sparc V9 rather than using V8 code.
36501 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36502 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36504 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36506 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36509 2013-01-11 Roland McGrath <roland@hack.frob.com>
36511 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36512 not in the main loop.
36513 * configure: Regenerated.
36515 2013-01-11 Joseph Myers <joseph@codesourcery.com>
36517 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36518 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36520 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
36521 [!__GLIBC_HAVE_LONG_LONG] case.
36522 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36523 condition to just #else.
36524 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36525 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36526 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36527 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36529 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36530 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36531 #elif condition to just #else.
36532 * sysdeps/unix/sysv/linux/sys/sysmacros.h
36533 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36534 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36535 #elif condition to just #else.
36537 2013-01-11 Steve Ellcey <sellcey@mips.com>
36539 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36540 (EF_MIPS_ARCH_64): Fix value.
36541 (EF_MIPS_ARCH_32R2): New.
36542 (EF_MIPS_ARCH_64R2): New.
36544 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
36546 * Makeconfig (+link-pie-before-libc): New.
36547 (+link-pie-after-libc): Likewise.
36548 (+link-pie-tests): Likewise.
36549 (+link-pie): Rewritten.
36550 (link-before-libc): Remove $(config-LDFLAGS).
36551 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36552 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36553 (config-LDFLAGS): Renamed to ...
36554 (rtld-LDFLAGS): This.
36555 (rtld-tests-LDFLAGS): New macro.
36556 (link-libc-rpath-link): Likewise.
36557 (link-libc-tests-rpath-link): Likewise.
36558 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36559 (link-libc): Prepand $(link-libc-rpath-link).
36560 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36561 (test-program-prefix): New macro.
36562 (test-via-rtld-prefix): Likewise.
36563 (test-program-cmd): Likewise.
36564 (host-test-program-cmd): Likewise.
36565 * Makefile ($(common-objpfx)testrun.sh): Replace
36566 $(run-program-prefix) with $(test-program-prefix).
36567 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36569 ($(common-objpfx)shlib.lds): Likewise.
36570 (build-module-helper): Likewise.
36571 ($(common-objpfx)format.lds): Likewise.
36572 * Rules (binaries-pie-tests): New.
36573 (binaries-pie-notests): Likewise.
36574 (binaries-pie): Rewritten.
36575 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36576 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36577 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36578 (make-test-out): Replace $(host-built-program-cmd) with
36579 $(host-test-program-cmd).
36580 * config.make.in (build-hardcoded-path-in-tests): New variable.
36581 * configure.in (--enable-hardcoded-path-in-tests): New configure
36583 (hardcoded_path_in_tests): New AC_SUBST.
36584 * configure: Regenerated.
36585 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36586 $(built-program-cmd) with $(test-program-cmd).
36587 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36588 (test_program_cmd): This.
36589 * elf/Makefile ($(objpfx)order.out): Run test with
36590 $(test-program-prefix).
36591 ($(objpfx)order2.out): Likewise.
36592 ($(objpfx)tst-initorder.out): Likewise.
36593 ($(objpfx)tst-initorder2.out): Likewise.
36594 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36595 $(test-program-cmd).
36596 ($(objpfx)tst-array1-static.out): Likewise.
36597 ($(objpfx)tst-array2.out): Likewise.
36598 ($(objpfx)tst-array3.out): Likewise.
36599 ($(objpfx)tst-array4.out): Likewise.
36600 ($(objpfx)tst-array5.out): Likewise.
36601 ($(objpfx)tst-array5-static.out): Likewise.
36602 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36603 $(test-program-cmd).
36604 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36605 $(run-program-prefix) with $(test-program-prefix).
36606 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36607 (test_program_prefix): This.
36608 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36609 $(run-program-prefix) with $(test-program-prefix).
36610 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36611 (test_program_prefix): This.
36612 * iconvdata/tst-tables.sh: Likewise.
36613 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36614 $(run-program-prefix) with $(test-program-prefix).
36615 ($(objpfx)tst-translit.out): Likewise.
36616 ($(objpfx)tst-gettext2.out): Likewise.
36617 ($(objpfx)tst-gettext4.out): Likewise.
36618 ($(objpfx)tst-gettext6.out): Likewise.
36619 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36620 (test_program_prefix): This.
36621 * intl/tst-gettext2.sh: Likewise.
36622 * intl/tst-gettext4.sh Likewise.
36623 * intl/tst-gettext6.sh: Likewise.
36624 * intl/tst-translit.sh: Likewise.
36625 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36626 with $(test-program-cmd).
36627 * libio/Makefile ($(objpfx)test-freopen.out): Replace
36628 $(run-program-prefix) with $(test-program-prefix).
36629 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36630 (test_program_prefix): This.
36631 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36632 $(run-program-prefix) with $(test-program-prefix).
36633 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36634 (test_program_prefix): This.
36635 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36636 * posix/Makefile ($(objpfx)globtest.out): Replace
36637 $(run-via-rtld-prefix) and $(test-wrapper) with
36638 $(test-program-prefix) and $(test-via-rtld-prefix).
36639 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36640 $(test-program-prefix).
36641 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36642 $(host-test-program-cmd).
36643 (tst-spawn-ARGS): Likewise.
36644 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36645 $(test-program-prefix).
36646 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36647 (test_via_rtld_prefix): This.
36648 (test_wrapper): Renamed to ...
36649 (test_program_prefix): This.
36650 (run_program_prefix): Replaced by test_program_prefix.
36651 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36652 (test_program_prefix): This.
36653 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36654 with $(host-test-program-cmd).
36655 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36656 $(run-program-prefix) with $(test-program-prefix).
36657 ($(objpfx)tst-printf.out): Likewise.
36658 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36659 $(test-program-cmd).
36660 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36661 (test_program_prefix): This.
36662 * stdio-common/tst-unbputc.sh: Likewise.
36663 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36664 $(run-program-prefix) with $(test-program-prefix).
36665 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36666 (test_program_prefix): This.
36667 * string/Makefile ($(objpfx)tst-svc.out): Replace
36668 $(built-program-cmd) with $(test-program-cmd).
36670 2013-01-11 Andreas Jaeger <aj@suse.de>
36673 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36674 value. Sync with Linux 3.7.
36676 2013-01-10 David S. Miller <davem@davemloft.net>
36678 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36679 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36680 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36682 2013-01-10 Roland McGrath <roland@hack.frob.com>
36684 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36686 * configure: Regenerated.
36688 2013-01-10 David S. Miller <davem@davemloft.net>
36690 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36691 sparc V9 rather than using V8 code.
36692 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36693 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36695 2013-01-10 Roland McGrath <roland@hack.frob.com>
36697 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36698 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36699 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36700 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36701 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36702 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36703 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36704 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36705 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36706 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36707 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36708 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36709 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36710 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36711 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36712 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36713 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36714 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36715 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36716 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36717 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36718 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36719 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36720 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36721 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36722 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36723 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36725 2013-01-10 David S. Miller <davem@davemloft.net>
36727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36729 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36731 * posix/Makefile (tests-static): New variable.
36732 (tests): Add $(tests-static).
36733 (tst-exec-static-ARGS): New variable.
36734 (tst-spawn-static-ARGS): Likewise.
36735 * posix/tst-exec-static.c: New file.
36736 * posix/tst-spawn-static.c: Likewise.
36737 * posix/tst-exec.c: Support run directly.
36738 * posix/tst-spawn.c: Likewise.
36740 2013-01-10 Joseph Myers <joseph@codesourcery.com>
36742 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36744 * math/bits/mathcalls.h (llrint): Likewise.
36745 (llround): Likewise.
36746 * stdlib/stdlib.h (struct drand48_data): Likewise.
36747 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36748 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36749 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36751 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36753 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36754 (elf_greg_t): Likewise.
36755 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36756 (__jmp_buf): Likewise.
36757 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36759 (llrint): Likewise, for all definitions.
36760 (llrintl): Likewise.
36762 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36763 Remove [__GNUC__] condition.
36764 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36765 condition to just [__USE_ISOC99].
36766 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36768 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36771 * sysdeps/unix/sysv/linux/x86/bits/environments.h
36772 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36774 (_POSIX_V6_ILP32_OFF32): Likewise.
36775 (_XBS5_ILP32_OFF32): Likewise.
36776 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36777 (__ILP32_OFFBIG_LDFLAGS): Likewise.
36779 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36781 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36783 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36784 doubles __mpexp_twomm1. Adjust usage.
36785 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36788 2013-01-10 Andreas Schwab <schwab@suse.de>
36791 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36792 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36794 2013-01-09 David S. Miller <davem@davemloft.net>
36797 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36798 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36799 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36800 (TCP_FASTOPEN): Define.
36801 (tcp_repair_opt): New structure.
36802 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36804 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36805 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36806 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36807 (tcp_cookie_transactions): New structure.
36809 2013-01-09 Anton Blanchard <anton@samba.org>
36811 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36812 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36813 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36814 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36816 2013-01-09 Joseph Myers <joseph@codesourcery.com>
36818 * include/features.h (__USE_ANSI): Remove.
36820 2013-01-09 Roland McGrath <roland@hack.frob.com>
36822 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36824 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36826 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36828 * sysdeps/s390/fpu/libm-test-ulps: Update.
36830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36832 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36836 (denorm): Likewise.
36837 (__mp_dbl): Likewise.
36838 (__dbl_mp): Likewise.
36839 (add_magnitudes): Likewise.
36840 (sub_magnitudes): Likewise.
36846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36850 (denorm): Likewise.
36851 (__mp_dbl): Likewise.
36852 (__dbl_mp): Likewise.
36853 (add_magnitudes): Likewise.
36854 (sub_magnitudes): Likewise.
36860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36864 (denorm): Likewise.
36865 (__mp_dbl): Likewise.
36866 (__dbl_mp): Likewise.
36867 (add_magnitudes): Likewise.
36868 (sub_magnitudes): Likewise.
36875 2013-01-08 Joseph Myers <joseph@codesourcery.com>
36877 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36878 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36879 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36880 2 && __USE_EXTERN_INLINES]: Likewise.
36882 2013-01-08 Andreas Jaeger <aj@suse.de>
36885 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36887 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36888 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36890 2013-01-07 Anton Blanchard <anton@samba.org>
36892 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36893 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36894 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36895 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36896 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36897 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36898 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36899 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36901 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36902 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36903 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36904 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36905 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36906 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36907 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36908 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36909 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36910 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36911 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36912 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36913 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36914 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36915 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36916 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36917 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36918 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36919 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36920 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36921 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36922 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36924 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36925 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36926 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36927 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36928 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36929 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36930 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36931 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36932 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36933 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36934 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36936 2013-01-07 Joseph Myers <joseph@codesourcery.com>
36938 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36939 (__MALLOC_PMT): Likewise.
36940 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36941 [__GNUC__], only on [_LIBC].
36942 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36943 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36944 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36945 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36946 forward declaration.
36947 (realloc_hook_ini): Likewise.
36948 (memalign_hook_ini): Likewise.
36949 (__libc_memalign): Do not use __MALLOC_PMT in variable
36951 (__libc_valloc): Likewise.
36952 (__libc_pvalloc): Likewise.
36953 (__libc_calloc): Likewise.
36954 (__posix_memalign): Likewise.
36957 * math/s_casinh.c: Include <float.h>.
36958 (__casinh): Do not do computation with squaring and square root
36959 for large arguments.
36960 * math/s_casinhf.c: Include <float.h>.
36961 (__casinhf): Do not do computation with squaring and square root
36962 for large arguments.
36963 * math/s_casinhl.c: Include <float.h>.
36964 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36965 (__casinhl): Do not do computation with squaring and square root
36966 for large arguments.
36967 * math/libm-test.inc (casin_test): Add more tests.
36968 (casinh_test): Likewise.
36969 * sysdeps/i386/fpu/libm-test-ulps: Update.
36970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36972 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
36974 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36975 (__x86_64_raw_data_cache_size): Likewise.
36976 (__x86_64_data_cache_size_half): Likewise.
36977 (__x86_64_raw_data_cache_size_half): Likewise.
36978 (__x86_64_shared_cache_size): Likewise.
36979 (__x86_64_raw_shared_cache_size): Likewise.
36980 (__x86_64_shared_cache_size_half): Likewise.
36981 (__x86_64_raw_shared_cache_size_half): Likewise.
36982 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36984 (__x86_data_cache_size): This.
36985 (__x86_64_raw_data_cache_size): Renamed to ...
36986 (__x86_raw_data_cache_size): This.
36987 (__x86_64_data_cache_size_half): Renamed to ...
36988 (__x86_data_cache_size_half): This.
36989 (__x86_64_raw_data_cache_size_half): Renamed to ...
36990 (__x86_raw_data_cache_size_half): This.
36991 (__x86_64_shared_cache_size): Renamed to ...
36992 (__x86_shared_cache_size): This.
36993 (__x86_64_raw_shared_cache_size): Renamed to ...
36994 (__x86_raw_shared_cache_size): This.
36995 (__x86_64_shared_cache_size_half): Renamed to ...
36996 (__x86_shared_cache_size_half): This.
36997 (__x86_64_raw_shared_cache_size_half): Renamed to ...
36998 (__x86_raw_shared_cache_size_half): This.
36999 * sysdeps/x86_64/memcpy.S: Updated.
37000 * sysdeps/x86_64/memset.S: Likewise.
37001 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37002 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37003 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37005 2013-01-04 David S. Miller <davem@davemloft.net>
37007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37009 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
37011 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37012 1 to avoid redefinition warning.
37013 (__USE_GNU): Don't define.
37014 (init_signaling_nan): Protoize.
37016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37018 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37020 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37022 (__cpymn): Likewise.
37023 (norm): Remove commented code.
37024 (denorm): Likewise.
37025 (__mp_dbl): Likewise.
37027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37028 (__cpymn): Likewise.
37029 (norm): Remove commented code.
37030 (denorm): Likewise.
37031 (__mp_dbl): Likewise.
37034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37035 mp_no value for 1.0 and 2.0.
37036 (norm): Use RADIXI instead of radixi.d.
37037 (denorm): Likewise.
37038 (__mul): Use 0.0 instead of zero.d.
37039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37040 mp_no value for 1.0 and 2.0.
37041 (norm): Use RADIXI instead of radixi.d.
37042 (denorm): Likewise.
37043 (__mul): Use 0.0 instead of zero.d.
37045 2013-01-04 Joseph Myers <joseph@codesourcery.com>
37048 * math/s_casinh.c (__casinh): Reduce finite argument to first
37049 quadrant then set signs of results at the end.
37050 * math/s_casinhf.c (__casinhf): Likewise.
37051 * math/s_casinhl.c (__casinhl): Likewise.
37052 * math/libm-test.inc (casin_test): Add more tests.
37053 (casinh_test): Likewise.
37054 * sysdeps/i386/fpu/libm-test-ulps: Update.
37055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37057 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37059 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37061 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37063 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37065 (denorm): Likewise.
37066 (__mp_dbl): Likewise.
37069 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37070 and adjust the header comment.
37072 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37073 variable name from declaration.
37075 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
37077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37078 Initialize COMMON_CPUID_INDEX_7 element.
37079 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37080 (CPUID_RTM): Likewise.
37081 (HAS_RTM): Likewise.
37082 (COMMON_CPUID_INDEX_7): New enum.
37084 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
37087 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37088 size is zero, record memory as freed.
37090 2013-01-03 Andreas Jaeger <aj@suse.de>
37092 * po/ia.po: Add new Interlingua translation.
37094 2012-01-03 Allan McRae <allan@archlinux.org>
37096 * locale/programs/localedef.c: Fix description of '--posix' flag.
37098 2013-01-02 Joseph Myers <joseph@codesourcery.com>
37100 * NEWS: Update dates in second copyright notice.
37101 * README: Update copyright dates in example.
37102 * manual/libc.texinfo: Update copyright dates.
37103 * scripts/test-installation.pl: Update copyright date in --version
37106 * hurd/ctty-input.c: Fix copyright notice formatting.
37107 * hurd/ctty-output.c: Likewise.
37108 * hurd/dtable.c: Likewise.
37109 * hurd/hurd-raise.c: Likewise.
37110 * hurd/hurdprio.c: Likewise.
37111 * hurd/msgportdemux.c: Likewise.
37112 * misc/sys/file.h: Likewise.
37113 * misc/sys/ioctl.h: Likewise.
37114 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37115 * sysdeps/mach/hurd/chdir.c: Likewise.
37116 * sysdeps/mach/hurd/fchdir.c: Likewise.
37117 * sysdeps/mach/hurd/rename.c: Likewise.
37118 * sysdeps/mach/hurd/rmdir.c: Likewise.
37119 * sysdeps/mach/hurd/seekdir.c: Likewise.
37120 * sysdeps/mach/hurd/setsid.c: Likewise.
37121 * sysdeps/posix/wait3.c: Likewise.
37123 * All files with FSF copyright notices: Update copyright dates
37124 using scripts/update-copyrights.
37125 * intl/plural.c: Regenerated.
37126 * locale/programs/charmap-kw.h: Likewise.
37127 * locale/programs/locfile-kw.h: Likewise.
37129 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37131 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37134 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37135 calculation loop and add branch prediction.
37137 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37138 check access beyond bounds of m1np.
37140 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37142 (__inv): Remove local variable MPTWO to use the global
37144 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37145 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37147 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37148 MP3HALFS static const.
37150 2013-01-01 David S. Miller <davem@davemloft.net>
37152 * po/ca.po: Update from translation team.
37154 2013-01-01 Joseph Myers <joseph@codesourcery.com>
37156 * scripts/update-copyrights: New file.
37157 * Makeconfig: Reformat copyright notice.
37158 * ctype/ctype.h: Likewise.
37159 * debug/swprintf_chk.c: Likewise.
37160 * elf/dl-cache.c: Likewise.
37161 * elf/dl-debug.c: Likewise.
37162 * elf/dl-object.c: Likewise.
37163 * grp/initgroups.c: Likewise.
37164 * hurd/Makefile: Likewise.
37165 * hurd/hurd/signal.h: Likewise.
37166 * hurd/hurdfault.c: Likewise.
37167 * hurd/hurdioctl.c: Likewise.
37168 * hurd/hurdlookup.c: Likewise.
37169 * hurd/intr-msg.c: Likewise.
37170 * iconv/gconv_open.c: Likewise.
37171 * libio/swprintf.c: Likewise.
37172 * locale/lc-ctype.c: Likewise.
37173 * locale/nl_langinfo.c: Likewise.
37174 * mach/Machrules: Likewise.
37175 * mach/Makefile: Likewise.
37176 * malloc/obstack.h: Likewise.
37177 * manual/Makefile: Likewise.
37178 * manual/tsort.awk: Likewise.
37179 * misc/bits/stab.def: Likewise.
37180 * nis/nis_print_group_entry.c: Likewise.
37181 * nis/nis_table.c: Likewise.
37182 * nis/nss_compat/compat-pwd.c: Likewise.
37183 * nis/nss_compat/compat-spwd.c: Likewise.
37184 * po/Makefile: Likewise.
37185 * posix/fnmatch.c: Likewise.
37186 * posix/regex.h: Likewise.
37187 * resolv/Makefile: Likewise.
37188 * resolv/nss_dns/dns-network.c: Likewise.
37189 * resolv/res_hconf.c: Likewise.
37190 * scripts/gen-sorted.awk: Likewise.
37191 * soft-fp/soft-fp.h: Likewise.
37192 * stdio-common/printf.h: Likewise.
37193 * stdlib/monetary.h: Likewise.
37194 * stdlib/random.c: Likewise.
37195 * stdlib/random_r.c: Likewise.
37196 * sysdeps/generic/Makefile: Likewise.
37197 * sysdeps/gnu/Makefile: Likewise.
37198 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37199 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37200 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37201 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37202 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37204 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37205 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37206 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37207 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37208 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37209 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37210 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37211 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37212 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37213 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37214 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37215 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37216 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37217 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37218 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37219 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37220 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37221 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37222 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37223 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37224 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37225 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37226 * sysdeps/mach/hurd/errnos.awk: Likewise.
37227 * sysdeps/mach/hurd/fork.c: Likewise.
37228 * sysdeps/mach/hurd/getcwd.c: Likewise.
37229 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37230 * sysdeps/mach/hurd/mmap.c: Likewise.
37231 * sysdeps/mach/hurd/utimes.c: Likewise.
37232 * sysdeps/mach/hurd/xmknod.c: Likewise.
37233 * sysdeps/posix/profil.c: Likewise.
37234 * sysdeps/posix/readdir_r.c: Likewise.
37235 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37236 * sysdeps/powerpc/bits/setjmp.h: Likewise.
37237 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37238 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37240 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37241 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37242 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37244 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37245 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37246 * sysdeps/pthread/lio_listio.c: Likewise.
37247 * sysdeps/sparc/dl-procinfo.h: Likewise.
37248 * sysdeps/unix/i386/sysdep.S: Likewise.
37249 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37250 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37251 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37252 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37254 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37255 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37256 * sysdeps/unix/sysv/linux/speed.c: Likewise.
37257 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37258 * sysdeps/wordsize-32/divdi3.c: Likewise.
37259 * time/sys/time.h: Likewise.
37260 * wcsmbs/Makefile: Likewise.
37262 2013-01-01 David S. Miller <davem@davemloft.net>
37264 * po/fr.po: Update from translation team.
37266 * catgets/gencat.c: Update copyright year.
37267 * csu/version.c: Likewise.
37268 * debug/catchsegv.sh: Likewise.
37269 * debug/pcprofiledump.c: Likewise.
37270 * debug/xtrace.sh: Likewise.
37271 * elf/ldconfig.c: Likewise.
37272 * elf/ldd.bash.in: Likewise.
37273 * elf/pldd.c: Likewise.
37274 * elf/sotruss.ksh: Likewise.
37275 * elf/sprof.c: Likewise.
37276 * iconv/iconv_prog.c: Likewise.
37277 * iconv/iconvconfig.c: Likewise.
37278 * locale/programs/locale.c: Likewise.
37279 * locale/programs/localedef.c: Likewise.
37280 * login/programs/pt_chown.c: Likewise.
37281 * malloc/memusage.sh: Likewise.
37282 * malloc/memusagestat.c: Likewise.
37283 * malloc/mtrace.pl: Likewise.
37284 * nscd/nscd.c: Likewise.
37285 * nss/getent.c: Likewise.
37286 * nss/makedb.c: Likewise.
37287 * posix/getconf.c: Likewise.
37289 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37291 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37294 2012-12-30 Mike Frysinger <vapier@gentoo.org>
37296 * math/bits/mathcalls.h (modf): Use __nonnull.
37298 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37300 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37301 (split): Use macro CN instead of the bare value.
37302 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37304 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37305 instead of the bare value.
37306 (power1): Likewise.
37308 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37310 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37312 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37314 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37316 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37317 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37318 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37319 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37321 2012-12-28 Andreas Jaeger <aj@suse.de>
37323 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
37324 values are from Linux 3.7.
37326 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37327 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
37329 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37331 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37334 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37336 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37337 variables with preprocessor constants.
37338 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37339 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37340 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37342 2012-12-27 Bruno Haible <bruno@clisp.org>
37345 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37348 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37351 and use variable directly.
37352 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37354 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37356 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37357 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37359 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37361 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37362 include directive. Remove local variable MPONE.
37363 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37364 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37365 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37367 2012-12-25 David S. Miller <davem@davemloft.net>
37369 * version.h (RELEASE): Set to "development".
37370 (VERSION): Set to "2.17.90".
37371 * NEWS: Add 2.18 section.
37373 2012-12-21 David S. Miller <davem@davemloft.net>
37375 * po/hr.po: Update from translation team.
37377 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37379 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37381 2012-12-19 Steve Ellcey <sellcey@mips.com>
37383 * NEWS: Mention new memcpy for MIPS.
37385 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37387 * manual/contrib.texi (Contributors): Spelling correction.
37389 2012-12-15 David S. Miller <davem@davemloft.net>
37391 * po/ru.po: Update from translation team.
37393 2012-12-13 David S. Miller <davem@davemloft.net>
37395 * NEWS: Mention IFUNC testsuite enhancements.
37397 * po/pl.po: Update from translation team.
37398 * po/bg.po: Likewise.
37400 * manual/contrib.texi (Contributors): Update entries for Hongjiu
37401 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
37403 2012-12-11 David S. Miller <davem@davemloft.net>
37405 * po/sv.po: Update from translation team.
37407 * po/vi.po: Update from translation team.
37409 * po/cs.po: Update from translation team.
37411 * po/de.po: Update from translation team.
37412 * po/eo.po: Likewise.
37413 * po/nl.po: Likewise.
37415 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37418 * manual/argp.texi (Argp Helper Functions): Move node to follow
37419 Argp Parsing State.
37422 * manual/conf.texi (Limits on File System Capacity): Mention if
37423 terminating null is included in the max size.
37425 2012-12-10 Andreas Jaeger <aj@suse.de>
37427 * po/cs.po: Update from translation team.
37429 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37431 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37432 void pointer and cast to uintptr_t.
37433 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37435 * sysdeps/s390/s390-64/memcpy.S: Likewise.
37436 * sysdeps/s390/s390-64/memset.S: Likewise.
37438 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
37441 * menual/message.texi (Message Translation): Fix typos.
37442 (Helper programs for gettext): Likewise.
37444 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
37447 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37450 2012-12-07 David S. Miller <davem@davemloft.net>
37452 * po/libc.pot: Update.
37454 2012-12-07 Richard Henderson <rth@redhat.com>
37457 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37458 normal/normal case to before the switch.
37459 (_FP_DIV): Likewise.
37461 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
37462 Mike Frysinger <vapier@gentoo.org>
37464 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37465 check for __NR_fadvise64_64.
37467 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
37469 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37470 0, not just to plain "0" as a statement.
37471 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37474 2012-12-06 Joseph Myers <joseph@codesourcery.com>
37476 * NEWS: Use sourceware.org in Bugzilla URL.
37478 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37481 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37483 * stdio-common/tst-put-error.c (do_test): Add newline to the
37484 padded test to ensure flush.
37486 2012-12-05 Jeff Law <law@redhat.com>
37488 * sunrpc/etc.rpc (fedfs_admin): Add entry.
37490 2012-12-05 Joseph Myers <joseph@codesourcery.com>
37492 * README: Don't refer to ports add-on as distributed separately.
37493 Mention AArch64 in list of systems supported in the ports add-on.
37495 * LICENSES: Add more non-FSF copyright and license notices.
37497 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37500 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37502 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37503 10000 as width of padded output.
37505 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37507 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37509 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37510 variable LX with __attribute__ ((unused)).
37511 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37513 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37514 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37515 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37516 with __attribute__ ((unused)).
37518 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
37520 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37522 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37524 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37525 (CFLAGS-nldbl-acos.c): New variable.
37526 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37527 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37528 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37529 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37530 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37531 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37532 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37533 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37534 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37535 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37536 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37537 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37538 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37539 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37540 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37541 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37542 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37543 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37544 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37545 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37546 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37547 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37548 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37549 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37550 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37551 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37552 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37553 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37554 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37555 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37556 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37557 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37558 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37559 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37560 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37561 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37562 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37563 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37564 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37565 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37566 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37567 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37568 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37569 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37570 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37571 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37572 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37573 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37574 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37575 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37576 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37577 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37578 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37579 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37580 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37581 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37582 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37583 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37584 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37585 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37586 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37587 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37588 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37589 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37590 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37591 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37592 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37593 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37594 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37595 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37596 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37597 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37598 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37599 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37600 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37601 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37602 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37603 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37604 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37605 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37606 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37607 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37608 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37609 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37610 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37611 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37612 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37613 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37614 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37615 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37616 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37617 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37618 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37619 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37620 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37621 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37622 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37625 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37628 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37629 whole low double instead of just low 47 bits when splitting values
37632 2012-12-03 Allan McRae <allan@archlinux.org>
37634 * manual/stdio.texi (Predefined Printf Handlers): Remove
37635 @hsep and @vsep usage.
37637 2012-12-03 Mike Frysinger <vapier@gentoo.org>
37639 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37640 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37642 2012-12-03 Jeff Law <law@redhat.com>
37644 * time/sys/time.h (settimeofday): Do not mark TV argument
37647 2012-12-01 Mike Frysinger <vapier@gentoo.org>
37649 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37650 when currently writing and seek to current position when not.
37651 * libio/Makefile (tests): Remove bug-fclose1.
37652 * libio/bug-fclose1.c: Delete.
37654 2012-12-01 Joseph Myers <joseph@codesourcery.com>
37656 * manual/arith.texi (feenableexcept): Fix typo.
37657 (fedisableexcept): Likewise.
37659 2012-11-30 Roland McGrath <roland@hack.frob.com>
37661 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37662 second, differently-typed declaration, rather than a cast.
37664 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37666 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37667 * include/rpc/svc.h: ... here.
37669 2012-11-30 Aurelien Jarno <aurel32@debian.org>
37672 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37673 depending n and resplen2 to catch cases where answer
37676 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
37678 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37679 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37681 2012-11-29 Mike Frysinger <vapier@gentoo.org>
37683 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37685 2012-11-29 Roland McGrath <roland@hack.frob.com>
37687 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37689 2012-11-28 Jeff Law <law@redhat.com>
37692 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37693 dataset_temporary. Track alloca usage into alloca_used.
37694 If dataset is large allocate and release it via malloc/free.
37696 2012-06-04 Florian Weimer <fweimer@redhat.com>
37699 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37701 2012-11-28 David S. Miller <davem@davemloft.net>
37703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37705 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37708 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37709 of pi/2 rounded to nearest to 64 bits.
37710 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37711 nearest to 64 bits.
37712 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37715 2012-11-28 Jeff Law <law@redhat.com>
37716 Martin Osvald <mosvald@redhat.com>
37719 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37720 * sunrpc/svc.c: Include time.h.
37721 (__svc_accept_failed): New function.
37722 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37723 any reason other than EINTR, call __svc_accept_failed.
37724 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37725 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37727 2012-11-28 Andreas Schwab <schwab@suse.de>
37729 * scripts/abilist.awk: Also handle indirect functions in .opd
37732 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37735 * sysdeps/x86/fpu/powl_helper.c: New file.
37736 * sysdeps/x86/fpu/Makefile: Likewise.
37737 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37739 (__ieee754_powl): Use __powl_helper for finite arguments except
37740 integer exponents below 8.
37741 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37743 (__ieee754_powl): Use __powl_helper for finite arguments except
37744 integer exponents below 8.
37745 * math/libm-test.inc (pow_test): Add more tests and enable some
37746 previously disabled tests.
37747 * sysdeps/i386/fpu/libm-test-ulps: Update.
37748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37750 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37751 Carlos O'Donell <carlos_odonell@mentor.com>
37753 * nss/makedb.c (is_prime): Assert that input is odd and greater
37754 than 4. Note that fact in a comment too.
37755 (next_prime): Add 4 to input.
37757 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37760 * libio/Makefile (tests): Add test case tst-fwrite-error.
37761 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37762 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37763 * libio/tst-fwrite-error.c: New test case.
37765 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
37767 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37768 before casting to void *.
37769 * include/libc-internal.h (__pointer_type): New macro.
37770 (__integer_if_pointer_type_sub): Likewise.
37771 (__integer_if_pointer_type): Likewise.
37772 (cast_to_integer): Likewise.
37773 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37774 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37775 before casting to atomic64_t.
37776 (atomic_exchange_acq): Likewise.
37777 (__arch_exchange_and_add_body): Likewise.
37778 (__arch_add_body): Likewise.
37779 (atomic_add_negative): Likewise.
37780 (atomic_add_zero): Likewise.
37782 2012-11-26 Joseph Myers <joseph@codesourcery.com>
37784 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37785 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37786 (add_fdes): Likewise.
37787 (linear_search_fdes): Likewise.
37788 (binary_search_unencoded_fdes): Likewise.
37790 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
37792 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37794 2012-11-24 Adam Conrad <adconrad@0c3.net>
37796 * configure.in: Autodetect C++ header directories.
37797 * configure: Regenerated.
37799 2012-11-23 Mike Frysinger <vapier@gentoo.org>
37801 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37803 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
37805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37807 2012-11-22 Joseph Myers <joseph@codesourcery.com>
37809 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37810 LDBL_MANT_DIG == 106]: Disable some tests.
37811 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37813 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37817 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37818 input for small inputs. Return +/- pi/2 for large inputs.
37819 * math/libm-test.inc (atan_test): Add more tests.
37821 * sysdeps/generic/unwind-dw2-fde-glibc.c
37822 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37823 __attribute__ ((unused)).
37826 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37827 x * y if x and y are nonzero and z is zero.
37830 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37831 nonzero exponents with absolute value below 0x1p-117 to +/-
37835 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37836 up arguments below 2**-450, not just those below 2**-500.
37837 * math/libm-test.inc (hypot_test): Add another test.
37840 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37841 Return a+b for ratio over 2**120, not 2**60.
37842 * math/libm-test.inc (hypot_test): Add another test.
37844 * math/libm-test.inc (clog_test): Use
37845 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37846 (clog10_test): Likewise.
37849 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37851 2012-11-22 Andreas Schwab <schwab@suse.de>
37853 * sysdeps/i386/fpu/libm-test-ulps: Update.
37855 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
37857 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37858 printf output with newline.
37860 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
37863 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37864 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37865 -z nodlopen, -z initfirst and -z execstack support.
37866 * configure: Regenerated.
37868 * elf/elf.h (DF_1_NODIRECT): New macro.
37869 (DF_1_IGNMULDEF): Likewise.
37870 (DF_1_NOKSYMS): Likewise.
37871 (DF_1_NOHDR): Likewise.
37872 (DF_1_EDITED): Likewise.
37873 (DF_1_NORELOC): Likewise.
37874 (DF_1_SYMINTPOSE): Likewise.
37875 (DF_1_GLOBAUDIT): Likewise.
37876 (DF_1_SINGLETON): Likewise.
37877 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37878 DT_1_SUPPORTED_MASK bits.
37879 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37881 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
37883 * sysdeps/unix/make-syscalls.sh: Document prefixes.
37885 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
37887 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37890 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37891 (sendmmsg): Move declarations...
37892 * socket/sys/socket.h: ... here.
37893 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37894 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37896 * socket/recvmmsg.c: ... this new file.
37897 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37898 (sendmmsg): Rename to __sendmmsg, create weak alias and make
37899 definition of __sendmmsg hidden.
37900 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37901 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37902 Move ENOSYS stub into and include it from...
37903 * socket/sendmmsg.c: ... this new file.
37904 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37905 (sysdep_routines): Move recvmmsg and sendmmsg...
37906 * socket/Makefile (routines): ... here.
37907 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37908 (GLIBC_PRIVATE): Add __sendmmsg.
37909 * include/sys/socket.h (__sendmmsg): Add declarations.
37910 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37913 2012-11-20 Joseph Myers <joseph@codesourcery.com>
37915 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37916 variable I1 with __attribute__ ((unused)).
37917 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37919 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37921 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37922 DUMMY variables with __attribute__ ((unused)).
37924 * bits/byteswap.h: Include <bits/types.h>.
37925 (__bswap_64): Use __uint64_t instead of unsigned long long int.
37927 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37929 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37930 string_t. Do not manually set errno.
37931 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37932 length with __strnlen. Make sure to both set errno and return it on
37935 2012-11-19 David S. Miller <davem@davemloft.net>
37937 With help from Joseph Myers.
37938 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37939 very large arguments properly.
37940 * math/libm-test.inc (atan_test): New tests.
37941 (atan2_test): New tests.
37942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37945 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37948 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37951 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37952 [POSIX] (EADDRNOTAVAIL): Likewise.
37953 [POSIX] (EAFNOSUPPORT): Likewise.
37954 [POSIX] (EALREADY): Likewise.
37955 [POSIX] (ECONNABORTED): Likewise.
37956 [POSIX] (ECONNREFUSED): Likewise.
37957 [POSIX] (ECONNRESET): Likewise.
37958 [POSIX] (EDESTADDRREQ): Likewise.
37959 [POSIX] (EDQUOT): Likewise.
37960 [POSIX] (EHOSTUNREACH): Likewise.
37961 [POSIX] (EIDRM): Likewise.
37962 [POSIX] (EISCONN): Likewise.
37963 [POSIX] (ELOOP): Likewise.
37964 [POSIX] (EMULTIHOP): Likewise.
37965 [POSIX] (ENETDOWN): Likewise.
37966 [POSIX] (ENETUNREACH): Likewise.
37967 [POSIX] (ENOBUFS): Likewise.
37968 [POSIX] (ENODATA): Likewise.
37969 [POSIX] (ENOLINK): Likewise.
37970 [POSIX] (ENOMSG): Likewise.
37971 [POSIX] (ENOPROTOOPT): Likewise.
37972 [POSIX] (ENOSR): Likewise.
37973 [POSIX] (ENOSTR): Likewise.
37974 [POSIX] (ENOTCONN): Likewise.
37975 [POSIX] (ENOTSOCK): Likewise.
37976 [POSIX] (EOPNOTSUPP): Likewise.
37977 [POSIX] (EOVERFLOW): Likewise.
37978 [POSIX] (EPROTO): Likewise.
37979 [POSIX] (EPROTONOSUPPORT): Likewise.
37980 [POSIX] (EPROTOTYPE): Likewise.
37981 [POSIX] (ESTALE): Likewise.
37982 [POSIX] (ETIME): Likewise.
37983 [POSIX] (ETXTBSY): Likewise.
37984 [POSIX] (EWOULDBLOCK): Likewise.
37985 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37986 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37987 [POSIX] (SEEK_CUR): Likewise.
37988 [POSIX] (SEEK_END): Likewise.
37989 [POSIX || UNIX98] (mode_t): Do not require.
37990 [POSIX] (off_t): Likewise.
37991 [POSIX] (pid_t): Likewise.
37992 [POSIX] (sys/stat.h): Do not allow header.
37993 [POSIX] (unistd.h): Likewise.
37994 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37995 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37996 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37997 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37999 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38000 sigevent): Specify elements.
38001 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38003 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38004 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38006 * conform/data/cpio.h-data [POSIX]: Disable whole file.
38007 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38008 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38009 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38010 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38011 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38012 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38013 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38014 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38015 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38016 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38017 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38018 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38019 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38021 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38023 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38025 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38027 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38028 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38029 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38030 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38031 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38032 Specify lower bound on value.
38033 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38034 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38035 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38036 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38037 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38038 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38039 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38040 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38042 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38044 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38045 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38046 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38047 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38048 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38049 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38050 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38051 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38052 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38053 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38054 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38055 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38056 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38057 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38058 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38059 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38061 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38063 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38064 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38065 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38066 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38067 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38068 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38070 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38071 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38072 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38073 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38074 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
38075 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38076 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38078 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38079 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38080 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38081 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38082 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38083 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38084 specify as optional.
38085 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38086 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38087 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38088 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38089 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38090 [XPG3] (NL_LANGMAX): Likewise.
38091 [POSIX || XPG3] (NL_MSGMAX): Likewise.
38092 [POSIX || XPG3] (NL_NMAX): Likewise.
38093 [POSIX || XPG3] (NL_SETMAX): Likewise.
38094 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38095 [XPG3] (NZERO): Likewise.
38096 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38097 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38098 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38099 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38100 (REG_ERANGE): Expect.
38101 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38103 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38104 Use (void) in prototype.
38105 [POSIX] (*_t): Allow.
38106 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38107 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38108 (WRDE_BADVAL): Expect.
38110 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38112 [XPG3 || XPG4] (O_RSYNC): Likewise.
38113 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38115 [XPG3 || XPG4] (pthread_sigmask): Likewise.
38116 [XPG3 || XPG4] (sigqueue): Likewise.
38117 [XPG3 || XPG4] (sigtimedwait): Likewise.
38118 [XPG3 || XPG4] (sigwaitinfo): Likewise.
38119 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38120 [XPG3 || XPG4] (vsnprintf): Likewise.
38121 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38123 [XPG3 || XPG4] (blksize_t): Likewise.
38124 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38126 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38127 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38128 [XPG3 || XPG4] (struct itimerspec): Likewise.
38129 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38130 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38131 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38132 [XPG3 || XPG4] (clockid_t): Likewise.
38133 [XPG3 || XPG4] (timer_t): Likewise.
38134 [XPG3 || XPG4] (clock_getres): Likewise.
38135 [XPG3 || XPG4] (clock_gettime): Likewise.
38136 [XPG3 || XPG4] (clock_settime): Likewise.
38137 [XPG3 || XPG4] (nanosleep): Likewise.
38138 [XPG3 || XPG4] (timer_create): Likewise.
38139 [XPG3 || XPG4] (timer_delete): Likewise.
38140 [XPG3 || XPG4] (timer_gettime): Likewise.
38141 [XPG3 || XPG4] (timer_getoverrun): Likewise.
38142 [XPG3 || XPG4] (timer_settime): Likewise.
38143 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38144 [XPG3 || XPG4] (getlogin_r): Likewise.
38145 [XPG3 || XPG4] (pread): Likewise.
38146 [XPG3 || XPG4] (pthread_atfork): Likewise.
38147 [XPG3 || XPG4] (pwrite): Likewise.
38150 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38153 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38155 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38156 finalizing MALLSTREAM.
38158 * sysdeps/mach/hurd/syncfs.c: New file.
38160 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38163 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38164 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38165 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38166 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38167 (_nss_dns_gethostbyname4_r): Likewise.
38168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38169 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38171 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
38174 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38176 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
38178 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38179 * elf/cache.c (print_entry): Print ",AArch64" for
38182 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38183 * elf/cache.c (print_entry): Print ",hard-float" for
38186 2012-11-18 David S. Miller <davem@davemloft.net>
38188 With help from Joseph Myers.
38189 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38191 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38193 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38194 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38196 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38197 * math/libm-test.inc (y0_test): New tests.
38198 (y1_test): New tests.
38199 * sysdeps/i386/fpu/libm-test-ulps: Update.
38200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38203 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
38205 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38207 * configure: Regenerated.
38209 2012-11-17 David S. Miller <davem@davemloft.net>
38212 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38213 nonzero exponents with absolute value below 0x1p-128 to +/-
38216 2012-11-17 Joseph Myers <joseph@codesourcery.com>
38218 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38220 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38222 * posix/getconf-speclist.c: New file.
38223 * posix/posix-envs.def: Likewise.
38224 * posix/confstr.c (START_ENV_GROUP): New macro.
38225 (END_ENV_GROUP): Likewise.
38226 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38227 (KNOWN_PRESENT_ENV_STRING): Likewise.
38228 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38229 (UNKNOWN_ENVIRONMENT): Likewise.
38230 (confstr): Include posix-envs.def instead of handling
38231 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38232 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38233 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38234 (END_ENV_GROUP): Likewise.
38235 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38236 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38237 (UNKNOWN_ENVIRONMENT): Likewise.
38238 (__sysconf): Include posix-envs.def instead of handling associated
38239 cases directly here.
38240 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38241 preprocessing getconf-speclist.c rather than running getconf or
38242 generating empty file.
38244 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
38246 * scripts/check-local-headers.sh: Ignore 'mach' headers.
38248 2012-11-16 Andrej Lajovic <natrij@gmail.com>
38251 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38253 2012-11-16 David S. Miller <davem@davemloft.net>
38255 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38256 smaller than LDBL_EPSILON/2.0L, just return xm1.
38258 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
38260 * elf/tst-array1.c (init): Set constructor priority to 1000.
38261 (fini): Set destructor priority to 1000.
38262 * elf/tst-array2dep.c: Likewise.
38264 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38267 * libio/fileops.c (_IO_new_file_write): Correctly return error.
38268 (_IO_new_file_xsputn): Also return EOF if none of the input
38269 data was written when overflow failed.
38270 * libio/iopadn.c (_IO_padn): Likewise.
38271 * libio/iowpadn.c (_IO_wpadn): Likewise.
38272 * stdio-common/tst-put-error.c: Add copyright notice.
38273 (do_test): Add case for printing padded string.
38274 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38275 _IO_padn returned error.
38276 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38277 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38280 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38282 * libio/libioP.h: Add comment note that the references to C++
38283 bits are now obsolete.
38285 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38287 * math/libm-test.inc (check_complex): Use asprintf.
38289 2012-11-14 Joseph Myers <joseph@codesourcery.com>
38291 * debug/pcprofiledump.c (print_version): Update copyright year.
38292 * malloc/memusagestat.c (print_version): Likewise.
38294 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
38297 * elf/Makefile (tests): Add tst-audit8.
38298 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38299 ($(objpfx)tst-audit8.out): New target.
38300 (tst-audit8-ENV): New variable.
38301 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38302 audit if l_reloc_result is NULL.
38303 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38304 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38305 * elf/tst-audit8.c: New file.
38307 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38309 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38310 * misc/Makefile (CFLAGS-select.c): Define.
38311 * posix/Makefile (CFLAGS-pause.c): Define.
38313 2012-11-13 David S. Miller <davem@davemloft.net>
38315 * crypt/Makefile: Move test targets after toplevel Rules
38316 inclusion. Grab any necessary sysdep routines when linking.
38317 * crypt/md5.c (md5_process_block): Remove define, we will always
38318 name it __md5_process_block.
38319 (md5_finish_ctx): Update md5_process_block call.
38320 (md5_stream): Likewise.
38321 (md5_process_bytes): Likewise.
38322 (md5_process_block): Rename to __md5_process_block and move to ...
38323 * crypt/md5-block.c: ... here.
38324 * crypt/sha256.c (sha256_process_block): Move to ...
38325 * crypt/sha256-block.c: ... here.
38326 * crypt/sha512.c (sha512_process_block): Move to ...
38327 * crypt/sha512-block.c: ... here.
38328 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38330 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38331 * sysdeps/sparc/sparc64/multiarch/Makefile
38332 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38334 (localedef-aux): Add md5 crypto assembler when in locale subdir.
38335 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38337 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38338 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38339 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38340 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38341 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38342 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38343 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38344 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38345 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38347 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38348 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38350 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38352 2012-11-13 Joseph Myers <joseph@codesourcery.com>
38354 * timezone/tzselect.ksh: Update from tzcode git revision
38355 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38356 * timezone/zdump.c: Likewise.
38357 * timezone/zic.c: Likewise.
38358 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38359 in TZVERSION setting, not $(PKGVERSION).
38360 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
38361 REPORT_BUGS_TO settings.
38364 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38367 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38369 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38370 detection to immediately after _FP_ROUND().
38371 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38374 2012-11-11 David S. Miller <davem@davemloft.net>
38376 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38378 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38379 __close rather than their public counterparts.
38381 2012-11-10 Joseph Myers <joseph@codesourcery.com>
38383 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38385 [UNIX98] (sem_timedwait): Do not expect.
38386 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38387 [XPG4 || UNIX98] (sockatmark): Do not expect.
38388 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38389 (clock_getcpuclockid): Do not expect.
38390 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38391 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38393 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38394 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38395 [UNIX98] (vwscanf): Likewise.
38396 [UNIX98] (vswscanf): Likewise.
38398 2012-11-09 Joseph Myers <joseph@codesourcery.com>
38400 * timezone/version.h: Remove file.
38401 * timezone/README: Do not refer to version.h.
38402 * timezone/Makefile ($(objpfx)zic.o): New dependency on
38403 $(objpfx)version.h.
38404 ($(objpfx)zdump.o): Likewise.
38405 ($(objpfx)version.h): New target.
38407 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38409 * timezone/README: Don't mention modification to tzselect.ksh.
38410 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38411 work on unmodified tzselect.ksh. Substitute version numbers in
38414 * Makefile (format-me): Remove.
38415 (INSTALL): Adjust indentation. Use commands directly instead of
38416 using $(format-me).
38418 * aclocal.m4 (ACX_PKGVERSION): New macro.
38419 (ACX_BUGURL): Likewise.
38420 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38421 (PKGVERSION): New AC_DEFINE_UNQUOTED.
38422 (REPORT_BUGS_TO): Likewise.
38423 * configure: Regenerated.
38424 * config.h.in (PKGVERSION): New macro.
38425 (REPORT_BUGS_TO): Likewise.
38426 * config.make.in (PKGVERSION): New variable.
38427 (PKGVERSION_TEXI): Likewise.
38428 (REPORT_BUGS_TO): Likewise.
38429 (REPORT_BUGS_TEXI): Likewise.
38430 * Makefile (format-me): Use -I$(common-objpfx)manual.
38431 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38432 ($(common-objpfx)manual/%): New target.
38433 (manual/%): Remove target.
38434 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38435 (print_version): Use PKGVERSION.
38436 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38437 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38438 and REPORT_BUGS_TO.
38439 ($(objpfx)xtrace): Likewise.
38440 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38441 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38442 (print_version): Use PKGVERSION.
38443 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38444 (do_version): Use PKGVERSION.
38445 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38447 (common-ldd-rewrite): Likewise.
38448 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38449 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38450 (print_version): Use PKGVERSION.
38451 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38452 * elf/pldd.c (argp_program_bug_address): Remove variable.
38453 (more_help): New function.
38454 (argp): Use more_help.
38455 (print_version): Use PKGVERSION.
38456 * elf/sln.c (main): Use PKGVERSION.
38457 (usage): Use REPORT_BUGS_TO.
38458 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38459 (top level): Use PKGVERSION.
38460 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38461 (print_version): Use PKGVERSION.
38462 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38463 (print_version): Use PKGVERSION.
38464 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38465 (print_version): Use PKGVERSION.
38466 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38467 (print_version): Use PKGVERSION.
38468 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38469 (print_version): Use PKGVERSION.
38470 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38471 (print_version): Use PKGVERSION.
38472 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38474 ($(objpfx)memusage): Likewise.
38475 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38476 (do_version): Use PKGVERSION.
38477 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38478 (print_version): Use PKGVERSION.
38479 * malloc/mtrace.pl ($PACKAGE): Remove variable.
38480 ($PKGVERSION): New variable.
38481 ($REPORT_BUGS_TO): Likewise.
38482 (usage): Use $REPORT_BUGS_TO.
38483 (top level): Use $PKGVERSION.
38484 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38485 ($(objpfx)pkgvers.texi): New rule.
38486 ($(objpfx)stamp-pkgvers): Likewise.
38487 * manual/install.texi: Include pkgvers.texi.
38488 (--with-pkgversion): Document new configure option.
38489 (--with-bugurl): Likewise.
38490 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38491 than necessarily for this particular distribution. Use
38492 REPORT_BUGS_TO for where to report bugs.
38493 * INSTALL: Regenerated.
38494 * manual/libc.texinfo: Include pkgvers.texi.
38495 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38496 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38497 (print_version): Use PKGVERSION.
38498 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38499 (print_version): Use PKGVERSION.
38500 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38501 (print_version): Use PKGVERSION.
38502 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38503 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38505 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38506 (print_version): Use PKGVERSION.
38507 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38508 (print_version): Use PKGVERSION.
38509 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38512 * timezone/checktab.awk: Update from tzcode 2012i.
38513 * timezone/ialloc.c: Likewise.
38514 * timezone/private.h: Likewise.
38515 * timezone/scheck.c: Likewise.
38516 * timezone/tzfile.h: Likewise.
38517 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38518 (TZVERSION): Hardcode tzcode version number.
38519 * timezone/zdump.c: Update from tzcode 2012i.
38520 * timezone/zic.c: Likewise.
38521 * timezone/version.h: New file.
38522 * timezone/README: Describe version.h. Update upstream location.
38525 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38526 (mktemp): Enable declaration.
38527 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38544 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38545 offset in buffer as u_int32_t not u_long. Consistently use memcpy
38546 for copies of such integer values.
38547 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38548 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38550 2012-11-09 Andreas Jaeger <aj@suse.de>
38552 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38553 definitions and declarations that are provided by
38554 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38556 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38558 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38559 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38560 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38563 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38565 * elf/elf.h: Update comment before AArch64 relocations.
38567 2012-11-07 David S. Miller <davem@davemloft.net>
38569 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38570 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38571 (__start_context): Declare.
38572 (__makecontext_ret): Delete.
38573 (__makecontext): Hook up __start_context instead of
38575 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38576 (sysdep_routines): Add __start_context when in stdlib.
38578 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38580 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38581 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38582 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
38584 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
38585 (READELF): New variable. Use it instead of hardcoded "readelf".
38587 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
38589 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38590 * sysdeps/x86/Makefile: Here.
38591 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38592 * sysdeps/x86/tst-xmmymm.sh: This.
38594 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38596 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38598 [UNIX98] (pthread_barrier_t): Do not expect.
38599 [UNIX98] (pthread_barrierattr_t): Likewise.
38600 [UNIX98] (pthread_spinlock_t): Likewise.
38601 [UNIX98] (pthread_barrier_destroy): Likewise.
38602 [UNIX98] (pthread_barrier_init): Likewise.
38603 [UNIX98] (pthread_barrier_wait): Likewise.
38604 [UNIX98] (pthread_barrierattr_destroy): Likewise.
38605 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38606 [UNIX98] (pthread_barrierattr_init): Likewise.
38607 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38608 [UNIX98] (pthread_getcpuclockid): Likewise.
38609 [UNIX98] (pthread_mutex_timedlock): Likewise.
38610 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38611 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38612 [UNIX98] (pthread_sigmask): Likewise.
38613 [UNIX98] (pthread_spin_destroy): Likewise.
38614 [UNIX98] (pthread_spin_init): Likewise.
38615 [UNIX98] (pthread_spin_lock): Likewise.
38616 [UNIX98] (pthread_spin_trylock): Likewise.
38617 [UNIX98] (pthread_spin_unlock): Likewise.
38618 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38620 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38621 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38622 [XPG3 || XPG4] (pthread_cond_t): Likewise.
38623 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38624 [XPG3 || XPG4] (pthread_key_t): Likewise.
38625 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38626 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38627 [XPG3 || XPG4] (pthread_once_t): Likewise.
38628 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38629 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38630 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38631 [XPG3 || XPG4] (pthread_t): Likewise.
38633 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38635 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38637 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38638 Change function return type to int.
38640 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38641 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38642 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38643 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38644 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38645 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38646 [!POSIX] (posix_madvise): Likewise.
38647 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38649 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38650 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38651 (mode_t): Likewise.
38652 (posix_mem_offset): Likewise.
38653 (posix_typed_mem_get_info): Likewise.
38654 (posix_typed_mem_open): Likewise.
38656 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38657 Change condition to [XOPEN2K8].
38659 * conform/conformtest.pl: Preprocess allow-header data with -x c
38660 instead of from stdin.
38661 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38662 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38663 [C99-based standards] (cerfc): Likewise.
38664 [C99-based standards] (cexp2): Likewise.
38665 [C99-based standards] (cexpm1): Likewise.
38666 [C99-based standards] (clog10): Likewise.
38667 [C99-based standards] (clog1p): Likewise.
38668 [C99-based standards] (clog2): Likewise.
38669 [C99-based standards] (clgamma): Likewise.
38670 [C99-based standards] (ctgamma): Likewise.
38671 [C99-based standards] (cerff): Likewise.
38672 [C99-based standards] (cerfcf): Likewise.
38673 [C99-based standards] (cexp2f): Likewise.
38674 [C99-based standards] (cexpm1f): Likewise.
38675 [C99-based standards] (clog10f): Likewise.
38676 [C99-based standards] (clog1pf): Likewise.
38677 [C99-based standards] (clog2f): Likewise.
38678 [C99-based standards] (clgammaf): Likewise.
38679 [C99-based standards] (ctgammaf): Likewise.
38680 [C99-based standards] (cerfl): Likewise.
38681 [C99-based standards] (cerfcl): Likewise.
38682 [C99-based standards] (cexp2l): Likewise.
38683 [C99-based standards] (cexpm1l): Likewise.
38684 [C99-based standards] (clog10l): Likewise.
38685 [C99-based standards] (clog1pl): Likewise.
38686 [C99-based standards] (clog2l): Likewise.
38687 [C99-based standards] (clgammal): Likewise.
38688 [C99-based standards] (ctgammal): Likewise.
38689 * conform/data/inttypes.h-data [C99-based standards]: Include
38690 stdint.h-data. Remove all expectations for stdint.h contents.
38691 [C99-based standards] (PRI*): Do not allow.
38692 [C99-based standards] (SCN*): Likewise.
38693 [C99-based standards] (*_t): Likewise.
38694 [C99-based-standards] (PRId8): Expect macro.
38695 [C99-based-standards] (PRIi8): Likewise.
38696 [C99-based-standards] (PRIo8): Likewise.
38697 [C99-based-standards] (PRIu8): Likewise.
38698 [C99-based-standards] (PRIx8): Likewise.
38699 [C99-based-standards] (PRIX8): Likewise.
38700 [C99-based-standards] (SCNd8): Likewise.
38701 [C99-based-standards] (SCNi8): Likewise.
38702 [C99-based-standards] (SCNo8): Likewise.
38703 [C99-based-standards] (SCNu8): Likewise.
38704 [C99-based-standards] (SCNx8): Likewise.
38705 [C99-based-standards] (PRIdLEAST8): Likewise.
38706 [C99-based-standards] (PRIiLEAST8): Likewise.
38707 [C99-based-standards] (PRIoLEAST8): Likewise.
38708 [C99-based-standards] (PRIuLEAST8): Likewise.
38709 [C99-based-standards] (PRIxLEAST8): Likewise.
38710 [C99-based-standards] (PRIXLEAST8): Likewise.
38711 [C99-based-standards] (SCNdLEAST8): Likewise.
38712 [C99-based-standards] (SCNiLEAST8): Likewise.
38713 [C99-based-standards] (SCNoLEAST8): Likewise.
38714 [C99-based-standards] (SCNuLEAST8): Likewise.
38715 [C99-based-standards] (SCNxLEAST8): Likewise.
38716 [C99-based-standards] (PRIdFAST8): Likewise.
38717 [C99-based-standards] (PRIiFAST8): Likewise.
38718 [C99-based-standards] (PRIoFAST8): Likewise.
38719 [C99-based-standards] (PRIuFAST8): Likewise.
38720 [C99-based-standards] (PRIxFAST8): Likewise.
38721 [C99-based-standards] (PRIXFAST8): Likewise.
38722 [C99-based-standards] (SCNdFAST8): Likewise.
38723 [C99-based-standards] (SCNiFAST8): Likewise.
38724 [C99-based-standards] (SCNoFAST8): Likewise.
38725 [C99-based-standards] (SCNuFAST8): Likewise.
38726 [C99-based-standards] (SCNxFAST8): Likewise.
38727 [C99-based-standards] (PRId16): Likewise.
38728 [C99-based-standards] (PRIi16): Likewise.
38729 [C99-based-standards] (PRIo16): Likewise.
38730 [C99-based-standards] (PRIu16): Likewise.
38731 [C99-based-standards] (PRIx16): Likewise.
38732 [C99-based-standards] (PRIX16): Likewise.
38733 [C99-based-standards] (SCNd16): Likewise.
38734 [C99-based-standards] (SCNi16): Likewise.
38735 [C99-based-standards] (SCNo16): Likewise.
38736 [C99-based-standards] (SCNu16): Likewise.
38737 [C99-based-standards] (SCNx16): Likewise.
38738 [C99-based-standards] (PRIdLEAST16): Likewise.
38739 [C99-based-standards] (PRIiLEAST16): Likewise.
38740 [C99-based-standards] (PRIoLEAST16): Likewise.
38741 [C99-based-standards] (PRIuLEAST16): Likewise.
38742 [C99-based-standards] (PRIxLEAST16): Likewise.
38743 [C99-based-standards] (PRIXLEAST16): Likewise.
38744 [C99-based-standards] (SCNdLEAST16): Likewise.
38745 [C99-based-standards] (SCNiLEAST16): Likewise.
38746 [C99-based-standards] (SCNoLEAST16): Likewise.
38747 [C99-based-standards] (SCNuLEAST16): Likewise.
38748 [C99-based-standards] (SCNxLEAST16): Likewise.
38749 [C99-based-standards] (PRIdFAST16): Likewise.
38750 [C99-based-standards] (PRIiFAST16): Likewise.
38751 [C99-based-standards] (PRIoFAST16): Likewise.
38752 [C99-based-standards] (PRIuFAST16): Likewise.
38753 [C99-based-standards] (PRIxFAST16): Likewise.
38754 [C99-based-standards] (PRIXFAST16): Likewise.
38755 [C99-based-standards] (SCNdFAST16): Likewise.
38756 [C99-based-standards] (SCNiFAST16): Likewise.
38757 [C99-based-standards] (SCNoFAST16): Likewise.
38758 [C99-based-standards] (SCNuFAST16): Likewise.
38759 [C99-based-standards] (SCNxFAST16): Likewise.
38760 [C99-based-standards] (PRId32): Likewise.
38761 [C99-based-standards] (PRIi32): Likewise.
38762 [C99-based-standards] (PRIo32): Likewise.
38763 [C99-based-standards] (PRIu32): Likewise.
38764 [C99-based-standards] (PRIx32): Likewise.
38765 [C99-based-standards] (PRIX32): Likewise.
38766 [C99-based-standards] (SCNd32): Likewise.
38767 [C99-based-standards] (SCNi32): Likewise.
38768 [C99-based-standards] (SCNo32): Likewise.
38769 [C99-based-standards] (SCNu32): Likewise.
38770 [C99-based-standards] (SCNx32): Likewise.
38771 [C99-based-standards] (PRIdLEAST32): Likewise.
38772 [C99-based-standards] (PRIiLEAST32): Likewise.
38773 [C99-based-standards] (PRIoLEAST32): Likewise.
38774 [C99-based-standards] (PRIuLEAST32): Likewise.
38775 [C99-based-standards] (PRIxLEAST32): Likewise.
38776 [C99-based-standards] (PRIXLEAST32): Likewise.
38777 [C99-based-standards] (SCNdLEAST32): Likewise.
38778 [C99-based-standards] (SCNiLEAST32): Likewise.
38779 [C99-based-standards] (SCNoLEAST32): Likewise.
38780 [C99-based-standards] (SCNuLEAST32): Likewise.
38781 [C99-based-standards] (SCNxLEAST32): Likewise.
38782 [C99-based-standards] (PRIdFAST32): Likewise.
38783 [C99-based-standards] (PRIiFAST32): Likewise.
38784 [C99-based-standards] (PRIoFAST32): Likewise.
38785 [C99-based-standards] (PRIuFAST32): Likewise.
38786 [C99-based-standards] (PRIxFAST32): Likewise.
38787 [C99-based-standards] (PRIXFAST32): Likewise.
38788 [C99-based-standards] (SCNdFAST32): Likewise.
38789 [C99-based-standards] (SCNiFAST32): Likewise.
38790 [C99-based-standards] (SCNoFAST32): Likewise.
38791 [C99-based-standards] (SCNuFAST32): Likewise.
38792 [C99-based-standards] (SCNxFAST32): Likewise.
38793 [C99-based-standards] (PRId64): Likewise.
38794 [C99-based-standards] (PRIi64): Likewise.
38795 [C99-based-standards] (PRIo64): Likewise.
38796 [C99-based-standards] (PRIu64): Likewise.
38797 [C99-based-standards] (PRIx64): Likewise.
38798 [C99-based-standards] (PRIX64): Likewise.
38799 [C99-based-standards] (SCNd64): Likewise.
38800 [C99-based-standards] (SCNi64): Likewise.
38801 [C99-based-standards] (SCNo64): Likewise.
38802 [C99-based-standards] (SCNu64): Likewise.
38803 [C99-based-standards] (SCNx64): Likewise.
38804 [C99-based-standards] (PRIdLEAST64): Likewise.
38805 [C99-based-standards] (PRIiLEAST64): Likewise.
38806 [C99-based-standards] (PRIoLEAST64): Likewise.
38807 [C99-based-standards] (PRIuLEAST64): Likewise.
38808 [C99-based-standards] (PRIxLEAST64): Likewise.
38809 [C99-based-standards] (PRIXLEAST64): Likewise.
38810 [C99-based-standards] (SCNdLEAST64): Likewise.
38811 [C99-based-standards] (SCNiLEAST64): Likewise.
38812 [C99-based-standards] (SCNoLEAST64): Likewise.
38813 [C99-based-standards] (SCNuLEAST64): Likewise.
38814 [C99-based-standards] (SCNxLEAST64): Likewise.
38815 [C99-based-standards] (PRIdFAST64): Likewise.
38816 [C99-based-standards] (PRIiFAST64): Likewise.
38817 [C99-based-standards] (PRIoFAST64): Likewise.
38818 [C99-based-standards] (PRIuFAST64): Likewise.
38819 [C99-based-standards] (PRIxFAST64): Likewise.
38820 [C99-based-standards] (PRIXFAST64): Likewise.
38821 [C99-based-standards] (SCNdFAST64): Likewise.
38822 [C99-based-standards] (SCNiFAST64): Likewise.
38823 [C99-based-standards] (SCNoFAST64): Likewise.
38824 [C99-based-standards] (SCNuFAST64): Likewise.
38825 [C99-based-standards] (SCNxFAST64): Likewise.
38826 [C99-based-standards] (PRIdMAX): Likewise.
38827 [C99-based-standards] (PRIiMAX): Likewise.
38828 [C99-based-standards] (PRIoMAX): Likewise.
38829 [C99-based-standards] (PRIuMAX): Likewise.
38830 [C99-based-standards] (PRIxMAX): Likewise.
38831 [C99-based-standards] (PRIXMAX): Likewise.
38832 [C99-based-standards] (SCNdMAX): Likewise.
38833 [C99-based-standards] (SCNiMAX): Likewise.
38834 [C99-based-standards] (SCNoMAX): Likewise.
38835 [C99-based-standards] (SCNuMAX): Likewise.
38836 [C99-based-standards] (SCNxMAX): Likewise.
38837 [C99-based-standards] (PRIdPTR): Likewise.
38838 [C99-based-standards] (PRIiPTR): Likewise.
38839 [C99-based-standards] (PRIoPTR): Likewise.
38840 [C99-based-standards] (PRIuPTR): Likewise.
38841 [C99-based-standards] (PRIxPTR): Likewise.
38842 [C99-based-standards] (PRIXPTR): Likewise.
38843 [C99-based-standards] (SCNdPTR): Likewise.
38844 [C99-based-standards] (SCNiPTR): Likewise.
38845 [C99-based-standards] (SCNoPTR): Likewise.
38846 [C99-based-standards] (SCNuPTR): Likewise.
38847 [C99-based-standards] (SCNxPTR): Likewise.
38848 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38850 * conform/data/stdint.h-data: Update comments to clarify
38852 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
38854 [C99-based standards] (INT8_MAX): Likewise.
38855 [C99-based standards] (INT16_MIN): Likewise.
38856 [C99-based standards] (INT16_MAX): Likewise.
38857 [C99-based standards] (INT32_MIN): Likewise.
38858 [C99-based standards] (INT32_MAX): Likewise.
38859 [C99-based standards] (INT64_MIN): Likewise.
38860 [C99-based standards] (INT64_MAX): Likewise.
38861 [C99-based standards] (UINT8_MAX): Likewise.
38862 [C99-based standards] (UINT16_MAX): Likewise.
38863 [C99-based standards] (UINT32_MAX): Likewise.
38864 [C99-based standards] (UINT64_MAX): Likewise.
38865 [C99-based standards] (INT_LEAST8_MIN): Likewise.
38866 [C99-based standards] (INT_LEAST8_MAX): Likewise.
38867 [C99-based standards] (INT_LEAST16_MIN): Likewise.
38868 [C99-based standards] (INT_LEAST16_MAX): Likewise.
38869 [C99-based standards] (INT_LEAST32_MIN): Likewise.
38870 [C99-based standards] (INT_LEAST32_MAX): Likewise.
38871 [C99-based standards] (INT_LEAST64_MIN): Likewise.
38872 [C99-based standards] (INT_LEAST64_MAX): Likewise.
38873 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38874 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38875 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38876 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38877 [C99-based standards] (INT_FAST8_MIN): Likewise.
38878 [C99-based standards] (INT_FAST8_MAX): Likewise.
38879 [C99-based standards] (INT_FAST16_MIN): Likewise.
38880 [C99-based standards] (INT_FAST16_MAX): Likewise.
38881 [C99-based standards] (INT_FAST32_MIN): Likewise.
38882 [C99-based standards] (INT_FAST32_MAX): Likewise.
38883 [C99-based standards] (INT_FAST64_MIN): Likewise.
38884 [C99-based standards] (INT_FAST64_MAX): Likewise.
38885 [C99-based standards] (UINT_FAST8_MAX): Likewise.
38886 [C99-based standards] (UINT_FAST16_MAX): Likewise.
38887 [C99-based standards] (UINT_FAST32_MAX): Likewise.
38888 [C99-based standards] (UINT_FAST64_MAX): Likewise.
38889 [C99-based standards] (INTPTR_MIN): Likewise.
38890 [C99-based standards] (INTPTR_MAX): Likewise.
38891 [C99-based standards] (UINTPTR_MAX): Likewise.
38892 [C99-based standards] (INTMAX_MIN): Likewise.
38893 [C99-based standards] (INTMAX_MAX): Likewise.
38894 [C99-based standards] (UINTMAX_MAX): Likewise.
38895 [C99-based standards] (PTRDIFF_MIN): Likewise.
38896 [C99-based standards] (PTRDIFF_MAX): Likewise.
38897 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38898 [C99-based standards] (SIZE_MAX): Likewise.
38899 [C99-based standards] (WCHAR_MAX): Likewise.
38900 [C99-based standards] (WINT_MAX): Likewise.
38901 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
38902 constraint on value.
38903 [C99-based standards] (WCHAR_MIN): Likewise.
38904 [C99-based standards] (WINT_MIN): Likewise.
38905 [C99-based standards] (*_t): Allow.
38906 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38907 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38908 Include math.h-data and complex.h-data. Remove all expectations
38909 of math.h and complex.h contents.
38910 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38912 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38913 (struct tm): Expect tag.
38914 [C99-based-standards] (wcstof): Expect function.
38915 [C99-based-standards] (wcstold): Likewise.
38916 [C99-based-standards] (wcstoll): Likewise.
38917 [C99-based-standards] (wcstoull): Likewise.
38918 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38919 macro-int-constant. Specify type.
38920 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
38921 constraint on value.
38922 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38924 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38926 [ISO C standards]: Do not allow headers.
38927 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38928 wcs[abcdefghijklmnopqrstuvwxyz]*.
38929 [ISO C standards] (*_t): Do not allow.
38930 * conform/data/wctype.h-data [C99-based standards] (iswblank):
38932 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38933 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38935 [ISO C standards]: Do not allow headers.
38936 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38937 is[abcdefghijklmnopqrstuvwxyz]*.
38938 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38939 to[abcdefghijklmnopqrstuvwxyz]*.
38940 [ISO C standards] (*_t): Do not allow.
38941 * conform/data/stdalign.h-data: New file.
38942 * conform/data/stdbool.h-data: Likewise.
38943 * conform/data/stdnoreturn.h-data: Likewise.
38945 2012-11-07 Roland McGrath <roland@hack.frob.com>
38948 * manual/filesys.texi (Directory Entries): Typo fix.
38949 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38951 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38953 * elf/elf.h (EM_AARCH64): New macro.
38954 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38955 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38956 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38957 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38958 (R_AARCH64_TLSDESC): Likewise.
38959 (NT_ARM_TLS): Likewise.
38960 (NT_ARM_HW_BREAK): Likewise.
38961 (NT_ARM_HW_WATCH): Likewise.
38963 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38966 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38967 (__ieee754_powl): Saturate nonzero exponents with absolute value
38968 below 0x1p-79 to +/- 0x1p-79.
38969 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38970 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38971 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38972 nonzero exponents with absolute value below 0x1p-32 to +/-
38974 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38975 (__ieee754_powl): Saturate nonzero exponents with absolute value
38976 below 0x1p-79 to +/- 0x1p-79.
38977 * math/libm-test.inc (pow_test): Add more tests.
38979 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38981 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38982 _dl_s390_cap_flags with kernel. Increase string length.
38983 (_dl_s390_platforms): Add z196 and zEC12.
38985 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38987 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38988 Change XOPEN21K to XOPEN2K.
38990 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
38992 * string/memmove.c: Use memcpy when possible.
38994 2012-11-06 Andreas Jaeger <aj@suse.de>
38996 * po/eo.po: Update from translation team.
38998 2012-11-06 Joseph Myers <joseph@codesourcery.com>
39001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39002 exponent and small x and y exponents, scale x or y up. Increase
39003 by 2 the exponent used in scaling up.
39004 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39005 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39006 * math/libm-test.inc (fma_test): Add more tests.
39007 (fma_test_towardzero): Likewise.
39008 (fma_test_downward): Likewise.
39009 (fma_test_upward): Likewise.
39011 2012-11-05 Joseph Myers <joseph@codesourcery.com>
39014 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39018 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39019 namespace for names of struct fields.
39020 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39022 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39023 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39025 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
39028 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39030 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39032 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39036 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39039 2012-11-04 Joseph Myers <joseph@codesourcery.com>
39042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39043 definitely overflow as x * y not x * y + z.
39044 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39045 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39046 * math/libm-test.inc (fma_test): Add more tests.
39047 (fma_test_towardzero): Likewise.
39048 (fma_test_downward): Likewise.
39049 (fma_test_upward): Likewise.
39051 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39055 * include/stub-tag.h: Remove file.
39056 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39058 * manual/maint.texi (Porting): Don't reference it.
39059 * Makerules ($(objpfx)stubs): Likewise.
39060 * dirent/closedir.c: Don't include <stub-tag.h>.
39061 * dirent/dirfd.c: Likewise.
39062 * dirent/fdopendir.c: Likewise.
39063 * dirent/getdents.c: Likewise.
39064 * dirent/getdents64.c: Likewise.
39065 * dirent/opendir.c: Likewise.
39066 * dirent/readdir.c: Likewise.
39067 * dirent/readdir64.c: Likewise.
39068 * dirent/readdir64_r.c: Likewise.
39069 * dirent/readdir_r.c: Likewise.
39070 * dirent/rewinddir.c: Likewise.
39071 * dirent/seekdir.c: Likewise.
39072 * dirent/telldir.c: Likewise.
39073 * gmon/profil.c: Likewise.
39074 * grp/setgroups.c: Likewise.
39075 * inet/if_index.c: Likewise.
39076 * io/access.c: Likewise.
39077 * io/chdir.c: Likewise.
39078 * io/chmod.c: Likewise.
39079 * io/chown.c: Likewise.
39080 * io/close.c: Likewise.
39081 * io/dup.c: Likewise.
39082 * io/dup2.c: Likewise.
39083 * io/dup3.c: Likewise.
39084 * io/euidaccess.c: Likewise.
39085 * io/faccessat.c: Likewise.
39086 * io/fchdir.c: Likewise.
39087 * io/fchmod.c: Likewise.
39088 * io/fchmodat.c: Likewise.
39089 * io/fchown.c: Likewise.
39090 * io/fchownat.c: Likewise.
39091 * io/fcntl.c: Likewise.
39092 * io/flock.c: Likewise.
39093 * io/fstatfs.c: Likewise.
39094 * io/fstatfs64.c: Likewise.
39095 * io/fstatvfs.c: Likewise.
39096 * io/fstatvfs64.c: Likewise.
39097 * io/futimens.c: Likewise.
39098 * io/fxstat.c: Likewise.
39099 * io/fxstat64.c: Likewise.
39100 * io/fxstatat.c: Likewise.
39101 * io/fxstatat64.c: Likewise.
39102 * io/getcwd.c: Likewise.
39103 * io/isatty.c: Likewise.
39104 * io/lchmod.c: Likewise.
39105 * io/lchown.c: Likewise.
39106 * io/link.c: Likewise.
39107 * io/linkat.c: Likewise.
39108 * io/lseek.c: Likewise.
39109 * io/lseek64.c: Likewise.
39110 * io/lxstat64.c: Likewise.
39111 * io/mkdir.c: Likewise.
39112 * io/mkdirat.c: Likewise.
39113 * io/mkfifo.c: Likewise.
39114 * io/mkfifoat.c: Likewise.
39115 * io/open.c: Likewise.
39116 * io/open64.c: Likewise.
39117 * io/openat.c: Likewise.
39118 * io/openat64.c: Likewise.
39119 * io/pipe.c: Likewise.
39120 * io/pipe2.c: Likewise.
39121 * io/poll.c: Likewise.
39122 * io/posix_fadvise.c: Likewise.
39123 * io/posix_fadvise64.c: Likewise.
39124 * io/posix_fallocate.c: Likewise.
39125 * io/posix_fallocate64.c: Likewise.
39126 * io/read.c: Likewise.
39127 * io/readlink.c: Likewise.
39128 * io/readlinkat.c: Likewise.
39129 * io/rmdir.c: Likewise.
39130 * io/sendfile.c: Likewise.
39131 * io/sendfile64.c: Likewise.
39132 * io/statfs.c: Likewise.
39133 * io/statfs64.c: Likewise.
39134 * io/statvfs.c: Likewise.
39135 * io/statvfs64.c: Likewise.
39136 * io/symlink.c: Likewise.
39137 * io/symlinkat.c: Likewise.
39138 * io/ttyname.c: Likewise.
39139 * io/ttyname_r.c: Likewise.
39140 * io/umask.c: Likewise.
39141 * io/unlink.c: Likewise.
39142 * io/unlinkat.c: Likewise.
39143 * io/utime.c: Likewise.
39144 * io/utimensat.c: Likewise.
39145 * io/write.c: Likewise.
39146 * io/xmknod.c: Likewise.
39147 * io/xmknodat.c: Likewise.
39148 * io/xstat.c: Likewise.
39149 * io/xstat64.c: Likewise.
39150 * login/getpt.c: Likewise.
39151 * login/grantpt.c: Likewise.
39152 * login/unlockpt.c: Likewise.
39153 * math/e_acoshl.c: Likewise.
39154 * math/e_acosl.c: Likewise.
39155 * math/e_asinl.c: Likewise.
39156 * math/e_atan2l.c: Likewise.
39157 * math/e_atanhl.c: Likewise.
39158 * math/e_coshl.c: Likewise.
39159 * math/e_expl.c: Likewise.
39160 * math/e_fmodl.c: Likewise.
39161 * math/e_gammal_r.c: Likewise.
39162 * math/e_hypotl.c: Likewise.
39163 * math/e_j0l.c: Likewise.
39164 * math/e_j1l.c: Likewise.
39165 * math/e_jnl.c: Likewise.
39166 * math/e_lgammal_r.c: Likewise.
39167 * math/e_log10l.c: Likewise.
39168 * math/e_log2l.c: Likewise.
39169 * math/e_logl.c: Likewise.
39170 * math/e_powl.c: Likewise.
39171 * math/e_rem_pio2l.c: Likewise.
39172 * math/e_sinhl.c: Likewise.
39173 * math/e_sqrtl.c: Likewise.
39174 * math/fclrexcpt.c: Likewise.
39175 * math/fedisblxcpt.c: Likewise.
39176 * math/feenablxcpt.c: Likewise.
39177 * math/fegetenv.c: Likewise.
39178 * math/fegetexcept.c: Likewise.
39179 * math/fegetround.c: Likewise.
39180 * math/feholdexcpt.c: Likewise.
39181 * math/fesetenv.c: Likewise.
39182 * math/fesetround.c: Likewise.
39183 * math/feupdateenv.c: Likewise.
39184 * math/fgetexcptflg.c: Likewise.
39185 * math/fraiseexcpt.c: Likewise.
39186 * math/fsetexcptflg.c: Likewise.
39187 * math/ftestexcept.c: Likewise.
39188 * math/k_cosl.c: Likewise.
39189 * math/k_rem_pio2l.c: Likewise.
39190 * math/k_sinl.c: Likewise.
39191 * math/k_tanl.c: Likewise.
39192 * math/s_asinhl.c: Likewise.
39193 * math/s_atanl.c: Likewise.
39194 * math/s_cbrtl.c: Likewise.
39195 * math/s_erfl.c: Likewise.
39196 * math/s_expm1l.c: Likewise.
39197 * math/s_log1pl.c: Likewise.
39198 * math/s_tanhl.c: Likewise.
39199 * misc/acct.c: Likewise.
39200 * misc/brk.c: Likewise.
39201 * misc/chflags.c: Likewise.
39202 * misc/chroot.c: Likewise.
39203 * misc/fchflags.c: Likewise.
39204 * misc/fgetxattr.c: Likewise.
39205 * misc/flistxattr.c: Likewise.
39206 * misc/fremovexattr.c: Likewise.
39207 * misc/fsetxattr.c: Likewise.
39208 * misc/fsync.c: Likewise.
39209 * misc/ftruncate.c: Likewise.
39210 * misc/futimes.c: Likewise.
39211 * misc/futimesat.c: Likewise.
39212 * misc/getdomain.c: Likewise.
39213 * misc/getdtsz.c: Likewise.
39214 * misc/gethostid.c: Likewise.
39215 * misc/gethostname.c: Likewise.
39216 * misc/getloadavg.c: Likewise.
39217 * misc/getpagesize.c: Likewise.
39218 * misc/getsysstats.c: Likewise.
39219 * misc/getxattr.c: Likewise.
39220 * misc/gtty.c: Likewise.
39221 * misc/ioctl.c: Likewise.
39222 * misc/lgetxattr.c: Likewise.
39223 * misc/listxattr.c: Likewise.
39224 * misc/llistxattr.c: Likewise.
39225 * misc/lremovexattr.c: Likewise.
39226 * misc/lsetxattr.c: Likewise.
39227 * misc/lutimes.c: Likewise.
39228 * misc/madvise.c: Likewise.
39229 * misc/mincore.c: Likewise.
39230 * misc/mlock.c: Likewise.
39231 * misc/mlockall.c: Likewise.
39232 * misc/mmap.c: Likewise.
39233 * misc/mprotect.c: Likewise.
39234 * misc/msync.c: Likewise.
39235 * misc/munlock.c: Likewise.
39236 * misc/munlockall.c: Likewise.
39237 * misc/munmap.c: Likewise.
39238 * misc/preadv.c: Likewise.
39239 * misc/preadv64.c: Likewise.
39240 * misc/ptrace.c: Likewise.
39241 * misc/pwritev.c: Likewise.
39242 * misc/pwritev64.c: Likewise.
39243 * misc/readv.c: Likewise.
39244 * misc/reboot.c: Likewise.
39245 * misc/remap_file_pages.c: Likewise.
39246 * misc/removexattr.c: Likewise.
39247 * misc/revoke.c: Likewise.
39248 * misc/select.c: Likewise.
39249 * misc/setdomain.c: Likewise.
39250 * misc/setegid.c: Likewise.
39251 * misc/seteuid.c: Likewise.
39252 * misc/sethostid.c: Likewise.
39253 * misc/sethostname.c: Likewise.
39254 * misc/setregid.c: Likewise.
39255 * misc/setreuid.c: Likewise.
39256 * misc/setxattr.c: Likewise.
39257 * misc/sstk.c: Likewise.
39258 * misc/stty.c: Likewise.
39259 * misc/swapoff.c: Likewise.
39260 * misc/swapon.c: Likewise.
39261 * misc/sync.c: Likewise.
39262 * misc/syncfs.c: Likewise.
39263 * misc/syscall.c: Likewise.
39264 * misc/truncate.c: Likewise.
39265 * misc/ualarm.c: Likewise.
39266 * misc/usleep.c: Likewise.
39267 * misc/ustat.c: Likewise.
39268 * misc/utimes.c: Likewise.
39269 * misc/vhangup.c: Likewise.
39270 * misc/writev.c: Likewise.
39271 * posix/_exit.c: Likewise.
39272 * posix/alarm.c: Likewise.
39273 * posix/execve.c: Likewise.
39274 * posix/fexecve.c: Likewise.
39275 * posix/fork.c: Likewise.
39276 * posix/fpathconf.c: Likewise.
39277 * posix/getaddrinfo.c: Likewise.
39278 * posix/getegid.c: Likewise.
39279 * posix/geteuid.c: Likewise.
39280 * posix/getgid.c: Likewise.
39281 * posix/getgroups.c: Likewise.
39282 * posix/getlogin.c: Likewise.
39283 * posix/getlogin_r.c: Likewise.
39284 * posix/getpgid.c: Likewise.
39285 * posix/getpid.c: Likewise.
39286 * posix/getppid.c: Likewise.
39287 * posix/getresgid.c: Likewise.
39288 * posix/getresuid.c: Likewise.
39289 * posix/getsid.c: Likewise.
39290 * posix/getuid.c: Likewise.
39291 * posix/glob64.c: Likewise.
39292 * posix/nanosleep.c: Likewise.
39293 * posix/pathconf.c: Likewise.
39294 * posix/pause.c: Likewise.
39295 * posix/posix_madvise.c: Likewise.
39296 * posix/pread.c: Likewise.
39297 * posix/pread64.c: Likewise.
39298 * posix/pwrite.c: Likewise.
39299 * posix/pwrite64.c: Likewise.
39300 * posix/sched_getaffinity.c: Likewise.
39301 * posix/sched_getp.c: Likewise.
39302 * posix/sched_gets.c: Likewise.
39303 * posix/sched_primax.c: Likewise.
39304 * posix/sched_primin.c: Likewise.
39305 * posix/sched_rr_gi.c: Likewise.
39306 * posix/sched_setaffinity.c: Likewise.
39307 * posix/sched_setp.c: Likewise.
39308 * posix/sched_sets.c: Likewise.
39309 * posix/sched_yield.c: Likewise.
39310 * posix/setgid.c: Likewise.
39311 * posix/setlogin.c: Likewise.
39312 * posix/setpgid.c: Likewise.
39313 * posix/setresgid.c: Likewise.
39314 * posix/setresuid.c: Likewise.
39315 * posix/setsid.c: Likewise.
39316 * posix/setuid.c: Likewise.
39317 * posix/sleep.c: Likewise.
39318 * posix/spawni.c: Likewise.
39319 * posix/sysconf.c: Likewise.
39320 * posix/times.c: Likewise.
39321 * posix/wait.c: Likewise.
39322 * posix/wait3.c: Likewise.
39323 * posix/wait4.c: Likewise.
39324 * posix/waitpid.c: Likewise.
39325 * resolv/gai_sigqueue.c: Likewise.
39326 * resource/getpriority.c: Likewise.
39327 * resource/getrlimit.c: Likewise.
39328 * resource/getrusage.c: Likewise.
39329 * resource/nice.c: Likewise.
39330 * resource/setpriority.c: Likewise.
39331 * resource/setrlimit.c: Likewise.
39332 * resource/ulimit.c: Likewise.
39333 * rt/aio_cancel.c: Likewise.
39334 * rt/aio_fsync.c: Likewise.
39335 * rt/aio_read.c: Likewise.
39336 * rt/aio_sigqueue.c: Likewise.
39337 * rt/aio_suspend.c: Likewise.
39338 * rt/aio_write.c: Likewise.
39339 * rt/clock_getres.c: Likewise.
39340 * rt/clock_gettime.c: Likewise.
39341 * rt/clock_nanosleep.c: Likewise.
39342 * rt/clock_settime.c: Likewise.
39343 * rt/lio_listio.c: Likewise.
39344 * rt/mq_close.c: Likewise.
39345 * rt/mq_getattr.c: Likewise.
39346 * rt/mq_notify.c: Likewise.
39347 * rt/mq_open.c: Likewise.
39348 * rt/mq_receive.c: Likewise.
39349 * rt/mq_send.c: Likewise.
39350 * rt/mq_setattr.c: Likewise.
39351 * rt/mq_timedreceive.c: Likewise.
39352 * rt/mq_timedsend.c: Likewise.
39353 * rt/mq_unlink.c: Likewise.
39354 * rt/shm_open.c: Likewise.
39355 * rt/shm_unlink.c: Likewise.
39356 * rt/timer_create.c: Likewise.
39357 * rt/timer_delete.c: Likewise.
39358 * rt/timer_getoverr.c: Likewise.
39359 * rt/timer_gettime.c: Likewise.
39360 * rt/timer_settime.c: Likewise.
39361 * setjmp/__longjmp.c: Likewise.
39362 * setjmp/setjmp.c: Likewise.
39363 * signal/kill.c: Likewise.
39364 * signal/killpg.c: Likewise.
39365 * signal/raise.c: Likewise.
39366 * signal/sigaction.c: Likewise.
39367 * signal/sigaltstack.c: Likewise.
39368 * signal/sigblock.c: Likewise.
39369 * signal/sigignore.c: Likewise.
39370 * signal/sigintr.c: Likewise.
39371 * signal/signal.c: Likewise.
39372 * signal/sigpause.c: Likewise.
39373 * signal/sigpending.c: Likewise.
39374 * signal/sigqueue.c: Likewise.
39375 * signal/sigreturn.c: Likewise.
39376 * signal/sigset.c: Likewise.
39377 * signal/sigsetmask.c: Likewise.
39378 * signal/sigstack.c: Likewise.
39379 * signal/sigsuspend.c: Likewise.
39380 * signal/sigtimedwait.c: Likewise.
39381 * signal/sigvec.c: Likewise.
39382 * signal/sigwait.c: Likewise.
39383 * signal/sigwaitinfo.c: Likewise.
39384 * signal/sysv_signal.c: Likewise.
39385 * socket/accept.c: Likewise.
39386 * socket/accept4.c: Likewise.
39387 * socket/bind.c: Likewise.
39388 * socket/connect.c: Likewise.
39389 * socket/getpeername.c: Likewise.
39390 * socket/getsockname.c: Likewise.
39391 * socket/getsockopt.c: Likewise.
39392 * socket/isfdtype.c: Likewise.
39393 * socket/listen.c: Likewise.
39394 * socket/recv.c: Likewise.
39395 * socket/recvfrom.c: Likewise.
39396 * socket/recvmsg.c: Likewise.
39397 * socket/send.c: Likewise.
39398 * socket/sendmsg.c: Likewise.
39399 * socket/sendto.c: Likewise.
39400 * socket/setsockopt.c: Likewise.
39401 * socket/shutdown.c: Likewise.
39402 * socket/sockatmark.c: Likewise.
39403 * socket/socket.c: Likewise.
39404 * socket/socketpair.c: Likewise.
39405 * stdio-common/ctermid.c: Likewise.
39406 * stdio-common/cuserid.c: Likewise.
39407 * stdio-common/remove.c: Likewise.
39408 * stdio-common/rename.c: Likewise.
39409 * stdio-common/renameat.c: Likewise.
39410 * stdio-common/tempname.c: Likewise.
39411 * stdlib/getcontext.c: Likewise.
39412 * stdlib/makecontext.c: Likewise.
39413 * stdlib/setcontext.c: Likewise.
39414 * stdlib/swapcontext.c: Likewise.
39415 * stdlib/system.c: Likewise.
39416 * streams/fattach.c: Likewise.
39417 * streams/fdetach.c: Likewise.
39418 * streams/getmsg.c: Likewise.
39419 * streams/getpmsg.c: Likewise.
39420 * streams/putmsg.c: Likewise.
39421 * streams/putpmsg.c: Likewise.
39422 * sysdeps/unix/bsd/getpt.c: Likewise.
39423 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39424 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39425 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39428 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39429 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39430 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39431 * sysvipc/msgctl.c: Likewise.
39432 * sysvipc/msgget.c: Likewise.
39433 * sysvipc/msgrcv.c: Likewise.
39434 * sysvipc/msgsnd.c: Likewise.
39435 * sysvipc/semctl.c: Likewise.
39436 * sysvipc/semget.c: Likewise.
39437 * sysvipc/semop.c: Likewise.
39438 * sysvipc/semtimedop.c: Likewise.
39439 * sysvipc/shmat.c: Likewise.
39440 * sysvipc/shmctl.c: Likewise.
39441 * sysvipc/shmdt.c: Likewise.
39442 * sysvipc/shmget.c: Likewise.
39443 * termios/tcdrain.c: Likewise.
39444 * termios/tcflow.c: Likewise.
39445 * termios/tcflush.c: Likewise.
39446 * termios/tcgetattr.c: Likewise.
39447 * termios/tcgetpgrp.c: Likewise.
39448 * termios/tcsendbrk.c: Likewise.
39449 * termios/tcsetattr.c: Likewise.
39450 * termios/tcsetpgrp.c: Likewise.
39451 * time/adjtime.c: Likewise.
39452 * time/clock.c: Likewise.
39453 * time/getitimer.c: Likewise.
39454 * time/gettimeofday.c: Likewise.
39455 * time/setitimer.c: Likewise.
39456 * time/settimeofday.c: Likewise.
39457 * time/stime.c: Likewise.
39458 * time/time.c: Likewise.
39460 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
39462 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39465 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39467 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39469 2012-11-03 Joseph Myers <joseph@codesourcery.com>
39472 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39473 FE_TONEAREST before applying Dekker multiplication and Knuth
39474 addition. Clear inexact exceptions and check for exact zero
39475 results afterwards.
39476 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39477 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39478 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39479 * math/libm-test.inc (fma_test): Add more tests.
39480 (fma_test_towardzero): Likewise.
39481 (fma_test_downward): Likewise.
39482 (fma_test_upward): Likewise.
39483 * sysdeps/generic/math_private.h (default_libc_fesetround): New
39485 (libc_fesetround): New macro.
39486 (libc_fesetroundf): Likewise.
39487 (libc_fesetroundl): Likewise.
39488 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39490 (libc_fesetround_387): Likewise.
39491 (libc_fesetroundf): New macro.
39492 (libc_fesetround): Likewise.
39493 (libc_fesetroundl): Likewise.
39494 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39496 (libc_fesetroundf): New macro.
39497 (libc_fesetround): Likewise.
39498 (libc_fesetroundl): Likewise.
39499 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39500 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39501 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39503 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39504 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39506 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39507 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39509 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39513 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39514 integer constant usable in #if and use that to give value to enum
39516 (FE_DIVBYZERO): Likewise.
39517 (FE_UNDERFLOW): Likewise.
39518 (FE_OVERFLOW): Likewise.
39519 (FE_INVALID): Likewise.
39520 (FE_INVALID_SNAN): Likewise.
39521 (FE_INVALID_ISI): Likewise.
39522 (FE_INVALID_IDI): Likewise.
39523 (FE_INVALID_ZDZ): Likewise.
39524 (FE_INVALID_IMZ): Likewise.
39525 (FE_INVALID_COMPARE): Likewise.
39526 (FE_INVALID_SOFTWARE): Likewise.
39527 (FE_INVALID_SQRT): Likewise.
39528 (FE_INVALID_INTEGER_CONVERSION): Likewise.
39529 (FE_TONEAREST): Likewise.
39530 (FE_TOWARDZERO): Likewise.
39531 (FE_UPWARD): Likewise.
39532 (FE_DOWNWARD): Likewise.
39533 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39534 (FE_DIVBYZERO): Likewise.
39535 (FE_OVERFLOW): Likewise.
39536 (FE_UNDERFLOW): Likewise.
39537 (FE_INEXACT): Likewise.
39538 (FE_TONEAREST): Likewise.
39539 (FE_DOWNWARD): Likewise.
39540 (FE_UPWARD): Likewise.
39541 (FE_TOWARDZERO): Likewise.
39542 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39543 (FE_UNDERFLOW): Likewise.
39544 (FE_OVERFLOW): Likewise.
39545 (FE_DIVBYZERO): Likewise.
39546 (FE_INVALID): Likewise.
39547 (FE_TONEAREST): Likewise.
39548 (FE_TOWARDZERO): Likewise.
39549 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39550 (FE_OVERFLOW): Likewise.
39551 (FE_UNDERFLOW): Likewise.
39552 (FE_DIVBYZERO): Likewise.
39553 (FE_INEXACT): Likewise.
39554 (FE_TONEAREST): Likewise.
39555 (FE_TOWARDZERO): Likewise.
39556 (FE_UPWARD): Likewise.
39557 (FE_DOWNWARD): Likewise.
39558 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39559 (FE_DIVBYZERO): Likewise.
39560 (FE_OVERFLOW): Likewise.
39561 (FE_UNDERFLOW): Likewise.
39562 (FE_INEXACT): Likewise.
39563 (FE_TONEAREST): Likewise.
39564 (FE_DOWNWARD): Likewise.
39565 (FE_UPWARD): Likewise.
39566 (FE_TOWARDZERO): Likewise.
39568 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
39570 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39572 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
39574 * scripts/cross-test-ssh.sh (command): Use newlines to separate
39575 commands. Quote $PWD.
39576 (blacklist_exports): Don't use remove_newlines. Replace "declare
39578 (remove_newlines): Remove.
39580 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
39582 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39583 * stdlib/stdlib.h (atof): Moved to ...
39584 * include/bits/stdlib-float.h: Here. New file.
39585 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39586 * stdlib/bits/stdlib-float.h: New file.
39587 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39589 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39592 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39594 * conform/conformtest.pl (@headers): Add fenv.h.
39595 * conform/data/fenv.h-data: New file.
39596 * include/fenv.h [_ISOMAC]: Disable all contents of file except
39597 include of <math/fenv.h>.
39599 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39600 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39601 && !UNIX98]. Enables tests for XOPEN2K8.
39602 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39603 POSIX2008]: Likewise.
39605 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39606 (struct rusage): Do not expect type or its members.
39609 * math/math.h (FP_NAN): Define macro to integer constant usable in
39610 #if and use that to give value to enum constant.
39611 (FP_INFINITE): Likewise.
39612 (FP_ZERO): Likewise.
39613 (FP_SUBNORMAL): Likewise.
39614 (FP_NORMAL): Likewise.
39616 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
39618 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39619 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39622 2012-11-02 Roland McGrath <roland@hack.frob.com>
39624 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39625 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39626 autoconf-time if not.
39627 * configure.in: Remove AC_PREREQ.
39629 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39631 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39632 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39633 of the internal implementation.
39635 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39637 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39638 except include of <misc/sys/syslog.h>.
39640 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39643 function returns with a NULL context exit with zero.
39645 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39647 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39649 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
39651 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39652 (run_program_cmd): This.
39653 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39654 (tst_langinfo): New variable. Use it.
39656 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
39658 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39659 floating point opcodes.
39661 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39663 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39666 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39668 * sysdeps/mach/hurd/powerpc: Remove directory.
39669 * sysdeps/mach/powerpc: Likewise.
39671 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39673 * scripts/check-local-headers.sh: Ignore c++ headers.
39675 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39677 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39678 __libc_cleanup_region_start argument.
39680 2012-11-01 Joseph Myers <joseph@codesourcery.com>
39684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39685 x * y using scaling, not as x * y + z.
39686 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39687 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39688 * math/libm-test.inc (fma_test): Add more tests.
39689 (fma_test_towardzero): Likewise.
39690 (fma_test_downward): Likewise.
39691 (fma_test_upward): Likewise.
39693 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39695 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39697 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39699 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39702 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
39704 * rt/tst-shm.c (worker): Correct checking for mmap failure.
39706 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39713 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39716 Fix the order of the list for glibc 2.17.
39717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39720 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39724 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39727 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39728 for low part of x being zero before using __atanl (y).
39729 * math/libm-test.inc (atan2_test): Add another test.
39731 * manual/install.texi (Configuring and compiling): Document
39732 general use of test-wrapper and test-wrapper-env.
39733 * INSTALL: Regenerated.
39735 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39736 (__fma): Do not extract and scale down low bits on after-rounding
39737 systems when result rounded to normal precision would have normal
39739 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39740 (__fmal): Do not extract and scale down low bits on after-rounding
39741 systems when result rounded to normal precision would have normal
39743 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39744 (__fmal): Do not extract and scale down low bits on after-rounding
39745 systems when result rounded to normal precision would have normal
39747 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39749 (fma_test): Add more tests.
39750 (fma_test_towardzero): Likewise.
39751 (fma_test_downward): Likewise.
39752 (fma_test_upward): Likewise.
39754 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
39756 * sysdeps/i386/tininess.h: Renamed to ...
39757 * sysdeps/x86/tininess.h: This.
39758 * sysdeps/x86_64/tininess.h: Removed.
39760 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39762 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39763 input. Use $(build-program-cmd).
39764 ($(objpfx)tst-array1-static.out): Likewise.
39765 ($(objpfx)tst-array2.out): Likewise.
39766 ($(objpfx)tst-array3.out): Likewise.
39767 ($(objpfx)tst-array4.out): Likewise.
39768 ($(objpfx)tst-array5.out): Likewise.
39769 ($(objpfx)tst-array5-static.out): Likewise.
39771 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
39773 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39776 * nss/nsswitch.h (nss_interface_function): Provide new
39777 macro for use with NSS functions.
39778 * grp/initgroups.c: Use new macro.
39779 * nss/getXXbyYY.c: Likewise.
39780 * nss/getXXbyYY_r.c: Likewise.
39781 * nss/getXXent.c: Likewise.
39782 * nss/getXXent_r.c: Likewise.
39783 * sysdeps/posix/getaddrinfo.c: Likewise.
39785 2012-10-30 Andreas Jaeger <aj@suse.de>
39787 * po/ru.po: Update Russion translation from translation project.
39789 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39793 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39794 result and shift together with sticky bit instead of replicating
39795 round-to-nearest rounding.
39796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39798 * math/libm-test.inc (fma_test): Add more tests. Do not permit
39799 missing underflow exceptions.
39800 (fma_test_towardzero): Add more tests.
39801 (fma_test_downward): Likewise.
39802 (fma_test_upward): Likewise.
39805 * sysdeps/generic/tininess.h: New file.
39806 * sysdeps/i386/tininess.h: Likewise.
39807 * sysdeps/sh/tininess.h: Likewise.
39808 * sysdeps/x86_64/tininess.h: Likewise.
39809 * stdlib/tst-strtod-underflow.c: Likewise.
39810 * stdlib/tst-tininess.c: Likewise.
39811 * stdlib/strtod_l.c: Include <tininess.h>.
39812 (round_and_return): Do not set errno for exact underflow cases.
39813 Force an underflow exception when setting errno for underflow.
39814 Determine underflow based on rounding to normal precision if
39815 TININESS_AFTER_ROUNDING.
39816 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39817 ERANGE for exact underflow cases.
39818 * stdlib/Makefile (tests): Add tst-tininess and
39819 tst-strtod-underflow.
39820 ($(objpfx)tst-tininess): Use $(link-libm).
39821 ($(objpfx)tst-strtod-underflow): Likewise.
39823 2012-10-30 Andreas Jaeger <aj@suse.de>
39826 * elf/Makefile (tests): Remove conditional for have-initfini-array
39827 since this is now always required and the variable does not exist
39829 (tests-static): Likewise.
39830 (modules-names): Likewise.
39832 * po/eo.po: Add Esperanto translation from translation project.
39834 * elf/tst-array1.c (fini_array): Make writeable so that it can be
39835 merged with constructor/destructor.
39836 (init_array): Likewise.
39837 * elf/tst-array2dep.c (fini_array): Likewise.
39838 (init_array): Likewise.
39840 2012-10-29 Mike Frysinger <vapier@gentoo.org>
39842 * manual/message.texi: Delete @cartouche tags.
39844 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
39846 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39848 * sysdeps/mach/hurd/fsync.c: Likewise.
39850 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39851 [_POSIX_REALTIME_SIGNALS]: Change condition to
39852 [_POSIX_REALTIME_SIGNALS > 0].
39854 2012-10-27 Andreas Jaeger <aj@suse.de>
39856 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39857 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39858 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39859 [__WORDSIZE != 64]: Likewise.
39861 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
39863 * iconvdata/tst-table.sh: Remove ${SHELL}.
39864 * iconvdata/tst-tables.sh: Likewise.
39866 2012-10-25 David S. Miller <davem@davemloft.net>
39868 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39869 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39872 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39874 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39875 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39876 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39879 2012-10-25 Roland McGrath <roland@hack.frob.com>
39881 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39882 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39885 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39886 Jim Blandy <jimb@codesourcery.com>
39888 * scripts/cross-test-ssh.sh: New file.
39889 * manual/install.texi (Configuring and compiling): Document use of
39891 * INSTALL: Regenerated.
39893 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
39895 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39898 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39900 * Makeconfig (run-program-prefix): Fix comment.
39902 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39903 Jim Blandy <jimb@codesourcery.com>
39905 * Makeconfig (test-wrapper): New variable,
39906 (test-wrapper-env): Likewise.
39907 [$(cross-compiling) = yes && $(test-wrapper) != ""]
39908 (run-built-tests): Define to yes.
39909 (run-program-prefix): Use $(test-wrapper).
39910 (built-program-cmd): Likewise.
39911 * Rules (make-test-out): Use $(test-wrapper-env) and
39912 $(host-built-program-cmd).
39913 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39914 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39916 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39917 $(test-wrapper-env) to tst-rtld-load-self.sh.
39918 ($(objpfx)order2.out): Use $(test-wrapper).
39919 ($(objpfx)tst-initorder.out): Likewise.
39920 ($(objpfx)tst-initorder2.out): Likewise.
39921 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39922 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39923 (test_wrapper_env): New variable. Use it to run ld.so.
39924 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39925 Use it to run ld.so.
39926 (test_wrapper_env): Likewise.
39927 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39928 $(test-wrapper) to run-iconv-test.sh.
39929 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39930 (ICONV): Use $test_wrapper.
39931 * posix/Makefile ($(objpfx)globtest.out): Pass
39932 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39933 globtest.sh, not $(run-program-prefix).
39934 * posix/globtest.sh (run_via_rtld_prefix): New variable.
39935 (test_wrapper): Likewise.
39936 (test_wrapper_env): Likewise. Use it to run globtest with HOME
39937 set together with run_via_rtld_prefix.
39938 (run_program_prefix): Define in terms of test_wrapper and
39939 run_via_rtld_prefix.
39941 2012-10-24 Roland McGrath <roland@hack.frob.com>
39943 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39944 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39948 * include/time.h: Remove librt_hidden_proto (clock_gettime).
39949 Declare __clock_getres, __clock_gettime, __clock_settime,
39950 __clock_nanosleep, and __clock_getcpuclockid.
39951 * rt/clock_gettime.c: Define __clock_gettime as an alias.
39952 Remove librt_hidden_def (clock_gettime).
39953 * sysdeps/unix/clock_gettime.c: Likewise.
39954 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39955 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39956 * rt/clock_getres.c: Define __clock_getres as an alias.
39957 * sysdeps/posix/clock_getres.c: Likewise.
39958 * rt/clock_settime.c: Define __clock_settime as an alias.
39959 * sysdeps/unix/clock_settime.c: Likewise.
39960 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39961 * sysdeps/unix/clock_nanosleep.c: Likewise.
39962 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39963 * rt/clock-compat.c: New file.
39964 * rt/Makefile (librt-routines): Add clock-compat and move
39965 $(clock-routines) to ...
39966 (routines): ... here, new variable.
39967 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39968 Don't add get_clockfreq here.
39969 * rt/Versions (libc: GLIBC_2.17): New version set.
39970 Add clock_* symbols here.
39971 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
39972 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39973 (GLIBC_2.17): Add clock_* symbols.
39974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39976 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39985 * NEWS: Mention the move.
39987 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39988 Use __open, __read, __close rather than their public counterparts.
39989 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39990 (__get_clockfreq_via_cpuinfo): Likewise.
39991 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39992 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39994 * config.h.in (HAVE_IFUNC): New #undef.
39995 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39997 * configure: Regenerated.
39999 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40001 * configure.in: Move READELF check to start of file.
40002 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40003 libc_cv_asm_gnu_indirect_function in the process.
40004 * configure: Regenerated.
40006 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40008 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40009 send the output to /dev/null.
40010 (libc_cv_cc_with_libunwind): Likewise.
40011 (libc_cv_as_noexecstack): Likewise.
40012 * configure: Regenerate.
40014 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40016 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40018 * posix/globtest.sh (TMPDIR): Do not set.
40019 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40020 (testout): Likewise.
40022 2012-10-24 Andreas Jaeger <aj@suse.de>
40024 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40025 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40026 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40027 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40028 posix_fadvise64, posix_fallocate64.
40030 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40031 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40032 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40034 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40036 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40039 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40040 <bits/fcntl-linux.h>.
40041 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40043 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40044 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40045 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40046 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40047 [__WORDSIZE != 64]: Likewise.
40049 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40051 * Makeconfig (run-built-tests): New variable.
40052 * Rules [$(cross-compiling) = yes]: Change condition to
40053 [$(run-built-tests) = no].
40054 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40055 to [$(run-built-tests) = yes].
40056 * elf/Makefile [$(cross-compiling) = no]: Likewise
40057 * grp/Makefile [$(cross-compiling) = no]: Likewise.
40058 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40059 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40060 * intl/Makefile [$(cross-compiling) = no]: Likewise.
40061 * io/Makefile [$(cross-compiling) = no]: Likewise.
40062 * libio/Makefile [$(cross-compiling) = no]: Likewise.
40063 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40064 * misc/Makefile [$(cross-compiling) = no]: Likewise.
40065 * posix/Makefile [$(cross-compiling) = no]: Likewise.
40066 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40067 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40068 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40069 * string/Makefile [$(cross-compiling) = no]: Likewise.
40071 * posix/Makefile ($(objpfx)globtest.out): Pass
40072 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40073 $(rtld-installed-name).
40074 * posix/globtest.sh (elf_objpfx): Remove variable.
40075 (rtld_installed_name): Likewise.
40076 (library_path): Likewise.
40077 (run_program_prefix): New variable. Use for running globtest
40080 2012-10-23 Jim Blandy <jimb@codesourcery.com>
40081 Joseph Myers <joseph@codesourcery.com>
40083 * Makeconfig (host-built-program-cmd): New variable.
40084 * elf/Makefile (tst-stackguard1-ARGS): Use
40085 $(host-built-program-cmd).
40086 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40087 (tst-spawn-ARGS): Likewise.
40088 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40090 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40091 Jim Blandy <jimb@codesourcery.com>
40093 * Makeconfig (run-via-rtld-prefix): New variable.
40094 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40095 (built-program-cmd): Likewise.
40097 2012-10-22 Andreas Jaeger <aj@suse.de>
40099 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40100 __O_RSYNC if it exists, otherwise to O_SYNC.
40102 2012-10-22 Jim Blandy <jimb@codesourcery.com>
40103 Joseph Myers <joseph@codesourcery.com>
40105 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40107 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40109 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40112 2012-10-22 Andreas Jaeger <aj@suse.de>
40114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40116 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40119 bits/fcntl-linux.h.
40121 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40122 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40124 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40126 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40129 2012-10-21 Jim Blandy <jimb@codesourcery.com>
40130 Joseph Myers <joseph@codesourcery.com>
40132 * config.make.in (NM): New variable.
40134 2012-10-21 Andreas Jaeger <aj@suse.de>
40136 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40137 definitions and declarations that are provided by
40138 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40140 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40143 * elf/Makefile (tests-static): Add tst-leaks1-static.
40144 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40145 ($(objpfx)tst-leaks1-static): New rule.
40146 ($(objpfx)tst-leaks1-static-mem): Likewise.
40147 (tst-leaks1-static-ENV): New macro.
40148 * elf/dl-open.c (dl_open_worker): Check the main application
40149 only if SHARED is defined.
40150 * elf/tst-leaks1-static.c: New file.
40152 2012-10-20 Andreas Jaeger <aj@suse.de>
40154 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40155 generic values for Linux.
40156 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40157 and declarations that are provided by <bits/fcntl-linux.h> and
40158 include <bits/fcntl-linux.h>.
40159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40160 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40162 2012-10-20 Roland McGrath <roland@hack.frob.com>
40164 * io/fcntl.h: Move include of <bits/types.h> to the top and
40165 include it unconditionally.
40167 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40169 * wcsmbs/Makefile (tests-ifunc): New variable.
40170 (tests): Add $(tests-ifunc).
40171 * wcsmbs/test-wcschr-ifunc.c: New file.
40172 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40173 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40174 * wcsmbs/test-wcslen-ifunc.c: Likewise.
40175 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40176 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40178 * string/Makefile (tests-ifunc): New variable.
40179 (tests): Add $(tests-ifunc).
40180 * string/test-memccpy.c (TEST_NAME): New macro.
40181 * string/test-memchr.c (TEST_NAME): Likewise.
40182 * string/test-memcmp.c (TEST_NAME): Likewise.
40183 * string/test-memcpy.c (TEST_NAME): Likewise.
40184 * string/test-memmem.c (TEST_NAME): Likewise.
40185 * string/test-memmove.c (TEST_NAME): Likewise.
40186 * string/test-memset.c (TEST_NAME): Likewise.
40187 * string/test-rawmemchr.c (TEST_NAME): Likewise.
40188 * string/test-stpcpy.c (TEST_NAME): Likewise.
40189 * string/test-stpncpy.c (TEST_NAME): Likewise.
40190 * string/test-strcasecmp.c (TEST_NAME): Likewise.
40191 * string/test-strcasestr.c (TEST_NAME): Likewise.
40192 * string/test-strcat.c (TEST_NAME): Likewise.
40193 * string/test-strchr.c (TEST_NAME): Likewise.
40194 * string/test-strcmp.c(TEST_NAME): Likewise.
40195 * string/test-strcpy.c (TEST_NAME): Likewise.
40196 * string/test-strcspn.c (TEST_NAME): Likewise.
40197 * string/test-strlen.c (TEST_NAME): Likewise.
40198 * string/test-strncasecmp.c (TEST_NAME): Likewise.
40199 * string/test-strncmp.c (TEST_NAME): Likewise.
40200 * string/test-strncpy.c (TEST_NAME): Likewise.
40201 * string/test-strnlen.c (TEST_NAME): Likewise.
40202 * string/test-strpbrk.c (TEST_NAME): Likewise.
40203 * string/test-strrchr.c (TEST_NAME): Likewise.
40204 * string/test-strspn.c (TEST_NAME): Likewise.
40205 * string/test-strstr.c (TEST_NAME): Likewise.
40206 * string/test-bcopy-ifunc.c: New file.
40207 * string/test-bzero-ifunc.c: Likewise.
40208 * string/test-memccpy-ifunc.c: Likewise.
40209 * string/test-memchr-ifunc.c: Likewise.
40210 * string/test-memcmp-ifunc.c: Likewise.
40211 * string/test-memcpy-ifunc.c: Likewise.
40212 * string/test-memmem-ifunc.c: Likewise.
40213 * string/test-memmove-ifunc.c: Likewise.
40214 * string/test-mempcpy-ifunc.c: Likewise.
40215 * string/test-memset-ifunc.c: Likewise.
40216 * string/test-rawmemchr-ifunc.c: Likewise.
40217 * string/test-stpcpy-ifunc.c: Likewise.
40218 * string/test-stpncpy-ifunc.c: Likewise.
40219 * string/test-strcasecmp-ifunc.c: Likewise.
40220 * string/test-strcasestr-ifunc.c: Likewise.
40221 * string/test-strcat-ifunc.c: Likewise.
40222 * string/test-strchr-ifunc.c: Likewise.
40223 * string/test-strchrnul-ifunc.c: Likewise.
40224 * string/test-strcmp-ifunc.c: Likewise.
40225 * string/test-strcpy-ifunc.c: Likewise.
40226 * string/test-strcspn-ifunc.c: Likewise.
40227 * string/test-strlen-ifunc.c: Likewise.
40228 * string/test-strncasecmp-ifunc.c: Likewise.
40229 * string/test-strncat-ifunc.c: Likewise.
40230 * string/test-strncmp-ifunc.c: Likewise.
40231 * string/test-strncpy-ifunc.c: Likewise.
40232 * string/test-strnlen-ifunc.c: Likewise.
40233 * string/test-strpbrk-ifunc.c: Likewise.
40234 * string/test-strrchr-ifunc.c: Likewise.
40235 * string/test-strspn-ifunc.c: Likewise.
40236 * string/test-strstr-ifunc.c: Likewise.
40238 * debug/Makefile (tests-ifunc): New variable.
40239 (tests): Add $(tests-ifunc).
40240 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40241 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40242 * debug/test-stpcpy_chk-ifunc.c: New file.
40243 * debug/test-strcpy_chk-ifunc.c: Likewise.
40245 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40248 * elf/dl-load.c (open_verify): Retry read if the entire ELF
40249 header is not read in.
40251 2012-10-19 Joseph Myers <joseph@codesourcery.com>
40253 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
40254 script to $(SHELL) as $<. Pass $(common-objpfx) to script
40255 directly. Pass built executable to script as
40256 $(built-program-cmd).
40257 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
40258 $testprogram without using LD_LIBRARY_PATH and $ldso.
40260 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40261 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40262 $(rtld-installed-name).
40263 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40264 (rtld_installed_name): Likewise.
40265 (library_path): Likewise.
40266 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
40267 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40268 $(run-program-prefix) to tst-tables.sh.
40269 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
40270 it to run tst-table-from and tst-table-to.
40271 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40272 Pass it to tst-table.sh.
40273 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40274 $(run-program-prefix) to tst-gettext.sh.
40275 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40277 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40279 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
40280 to run tst-gettext.
40281 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
40282 to run tst-gettext2.
40283 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
40284 to run tst-translit.
40285 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40286 $(run-program-prefix) to tst-mtrace.sh.
40287 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
40289 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40290 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40291 $(rtld-installed-name).
40292 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40293 (rtld_installed_name): Likewise.
40294 (run_program_prefix): New variable. Use it to run wordexp-test.
40296 * Makeconfig (ARCH): Remove all definitions.
40297 (machine): Likewise.
40298 [ARCH]: Remove conditional code.
40299 [!objdir]: Give error.
40300 [!objdir] (objpfx): Remove.
40301 [!objdir] (common-objpfx): Likewise.
40302 [!objdir] (common-objdir): Likewise.
40303 * configure.in (config_makefile): Remove. Hardcode Makefile in
40304 AC_CONFIG_FILES call.
40305 * configure: Regenerated.
40308 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40310 (testout): Likewise.
40312 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40313 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40314 $(rtld-installed-name).
40315 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40316 (rtld_installed_name): Likwise.
40317 (runit): Remove function.
40318 (run_getconf): New variable, Use it for running getconf binary.
40320 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
40323 * string/test-memmem.c (check_result): New function.
40324 (do_one_test): Use it.
40325 (check1): New function.
40326 (test_main): Use it.
40328 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
40330 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40332 2012-10-18 Joseph Myers <joseph@codesourcery.com>
40334 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40335 (_G_LSEEK64): Likewise.
40336 (_G_MMAP64): Likewise.
40337 (_G_FSTAT64): Likewise.
40338 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40339 (_G_LSEEK64): Likewise.
40340 (_G_MMAP64): Likewise.
40341 (_G_FSTAT64): Likewise.
40342 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40343 unconditional. Call __mmap64 directly.
40344 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40345 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
40346 __lseek64 directly.
40347 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40348 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
40350 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40351 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
40352 __lseek64 directly.
40353 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40354 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
40355 __lseek64 directly.
40356 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40357 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
40358 __lseek64 directly.
40359 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40360 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
40361 __fxstat64 directly.
40362 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40363 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40365 (freopen64) [!_G_OPEN64]: Remove conditional code.
40366 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40368 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40369 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40371 (ftello64) [!_G_LSEEK64]: Remove conditional code.
40372 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40374 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40375 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40377 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40378 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40380 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40381 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40383 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40384 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40386 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40388 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40391 * manual/memory.texi (Malloc Tunable Parameters): Add note
40392 about free list pointers overwriting some perturb bytes.
40393 Wording suggested by Roland McGrath.
40395 2012-10-17 Joseph Myers <joseph@codesourcery.com>
40397 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40398 (lgamma_test): Likewise.
40399 (tgamma_test): Likewise.
40401 2012-10-16 Florian Weimer <fweimer@redhat.com>
40404 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40405 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40407 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
40409 * NEWS: Mention BZ #14716.
40410 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40411 when removing AVAILABLE1_USES_J macro.
40413 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
40415 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40416 (__bswap_64): __uint64_t for unsigned 64-bit int.
40418 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
40420 * include/string.h (memmem): Declare libc hidden alias.
40421 * string/memmem.c (memmem): Define libc hidden alias.
40422 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40423 __read, __close instead of open, read, close.
40425 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
40427 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40428 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40430 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40431 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40432 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40434 (__rawmemchr_sse2): Likewise.
40435 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40436 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40437 (__strchr_sse2): Likewise.
40438 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40439 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40440 (__strcasecmp_sse2): Likewise.
40441 (__strncasecmp_sse2): Likewise.
40442 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40443 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40444 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40445 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40446 (__strrchr_sse2): Likewise.
40447 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40449 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40450 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40451 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40452 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40453 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40454 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40455 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40456 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40457 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40458 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40459 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40460 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40461 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40462 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40463 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40464 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40465 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40466 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40467 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40468 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40469 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40470 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40471 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40472 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40473 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40474 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40475 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40476 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40477 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40478 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40480 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40482 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40483 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40484 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40485 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40487 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40489 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40490 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40491 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40492 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40494 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40495 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40496 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40497 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40498 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40499 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40500 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40501 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40502 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40503 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40504 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40505 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40506 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40507 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40508 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40509 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40510 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40511 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40512 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40513 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40514 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40515 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40516 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40517 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40518 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40519 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40520 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40521 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40522 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40523 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40524 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40525 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40526 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40527 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40528 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40529 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40530 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40531 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40532 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40533 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40534 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40536 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40537 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40538 * include/ifunc-impl-list.h: New file.
40539 * misc/ifunc-impl-list.c: Likewise.
40540 * misc/Makefile (routines): Add ifunc-impl-list.
40541 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40542 * string/test-string.h: Include <ifunc-impl-list.h>.
40543 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40544 TEST_NAME]: New variables.
40545 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40547 (test_init): Call __libc_ifunc_impl_list to initialize
40548 func_list if TEST_IFUNC and TEST_NAME are defined.
40550 * string/Makefile (strop-tests): Add bcopy and bzero.
40551 * string/test-bcopy.c: New file.
40552 * string/test-bzero.c: Likewise.
40553 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40555 * string/test-memset.c: Support bzero test if TEST_BZERO is
40557 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40559 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40561 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40564 2012-10-10 Joseph Myers <joseph@codesourcery.com>
40566 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40567 * configure: Regenerated.
40569 * Makeconfig (+link-static-before-libc): Don't include
40570 $(link-static-libc).
40572 * libio/libio.h (_IO_pos_t): Remove.
40574 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40576 * NEWS: Add note about FIPS mode. Wording suggested by Roland
40579 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40581 * crypt/crypt-entry.c: Include fips-private.h.
40582 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40583 * crypt/md5c-test.c (main): Tolerate disabled MD5.
40584 * sysdeps/unix/sysv/linux/fips-private.h: New file.
40585 * sysdeps/generic/fips-private.h: New file, dummy fallback.
40587 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40589 * crypt/crypt-private.h: Include stdbool.h.
40590 (_ufc_setup_salt_r): Return bool.
40591 * crypt/crypt-entry.c: Include errno.h.
40592 (__crypt_r): Return NULL with EINVAL for bad salt.
40593 * crypt/crypt_util.c (bad_for_salt): New.
40594 (_ufc_setup_salt_r): Check that salt is long enough and within
40595 the specified alphabet.
40596 * crypt/badsalttest.c: New file.
40597 * crypt/Makefile (tests): Add it.
40598 ($(objpfx)badsalttest): New.
40600 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
40602 * NEWS: Add entry for BZ #14602.
40604 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40606 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40608 * math/libm-test.inc: Update comment listing what functions and
40610 (isgreater_test): New function.
40611 (isgreaterequal_test): Likewise.
40612 (isless_test): Likewise.
40613 (islessequal_test): Likewise.
40614 (islessgreater_test): Likewise.
40615 (isunordered_test): Likewise.
40616 (main): Call the new functions.
40618 2012-10-09 Roland McGrath <roland@hack.frob.com>
40620 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40621 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40622 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40623 * sysdeps/i386/configure: Regenerated.
40624 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40625 * sysdeps/mach/configure: Regenerated.
40626 * sysdeps/mach/hurd/configure: Regenerated.
40627 * sysdeps/powerpc/configure: Regenerated.
40628 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40629 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40630 * sysdeps/s390/s390-32/configure: Regenerated.
40631 * sysdeps/s390/s390-64/configure: Regenerated.
40632 * sysdeps/sh/configure: Regenerated.
40633 * sysdeps/sparc/configure: Regenerated.
40634 * sysdeps/unix/sysv/linux/configure: Regenerated.
40635 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40636 * sysdeps/x86_64/configure: Regenerated.
40638 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40639 defined. Don't check if MAP is NULL.
40641 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40643 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40644 (_G_stat64): Likewise.
40645 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40646 (_G_stat64): Likewise.
40647 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40648 instead of struct _G_stat64.
40649 * libio/fileops.c (mmap_remap_check): Likewise.
40650 (decide_maybe_mmap): Likewise.
40651 (_IO_new_file_seekoff): Likewise.
40652 (_IO_file_stat): Likewise.
40653 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40655 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40656 instead of struct _G_stat64.
40657 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40659 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
40662 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40664 (CHECK_EOL): New macro.
40665 (two_way_short_needle): Check beginning of haystack for EOL. Use
40667 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40668 Replace with CHECK_EOL.
40669 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40670 Replace with CHECK_EOL.
40672 2012-10-08 Joseph Myers <joseph@codesourcery.com>
40674 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40676 * math/libm-test.inc: Update comment listing what functions and
40678 (finite_test): New function.
40679 (isinf_test): Likewise.
40680 (isnan_test): Likewise.
40681 (fpclassify_test): Test subnormal input.
40682 (isfinite_test): Likewise.
40683 (isnormal_test): Likewise.
40684 (main): Call the new functions.
40686 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
40689 * Makerules (%.dynsym): Force C locale when running
40690 $(OBJDUMP) --dynamic-syms.
40692 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
40694 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40697 2012-10-06 David S. Miller <davem@davemloft.net>
40699 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40700 upper 32-bits of the length value in %o2 since we use branch-on-register
40701 tests which consider the entire 64-bit register.
40703 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
40705 * string/test-strstr.c (check2): Add a test for page boundary.
40707 2012-10-05 David S. Miller <davem@davemloft.net>
40709 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40710 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40712 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40714 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40715 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40716 and bzero when HWCAP_SPARC_CRYPTO is present.
40718 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
40721 * string/test-strstr.c (check2): New function.
40722 (test_main): Call check2.
40724 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40726 * string/bug-strcasestr1.c (do_test): Moved to ...
40727 * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
40733 * string/test-strchr.c (check1): Here. New function.
40734 (do_one_test): Break out result checking code into ...
40735 (check_result): This. New function.
40736 (do_one_test): Call check_result.
40737 (test_main): Call check1.
40738 * string/bug-strstr1.c (main): Moved to ...
40739 * string/test-strstr.c (check1): Here. New function.
40740 (do_one_test): Break out result checking code into ...
40741 (check_result): This. New function.
40742 (do_one_test): Call check_result.
40743 (test_main): Call check1.
40744 * string/bug-strcasestr1.c: Removed.
40745 * string/bug-strchr1.c: Likewise.
40746 * string/bug-strstr1.c: Likewise.
40748 * elf/Makefile (dl-routines): Add hwcaps.
40749 * elf/dl-support.c (_dl_important_hwcaps): Removed.
40750 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40751 (_dl_important_hwcaps): Moved to ...
40752 * elf/dl-hwcaps.c: Here. New file.
40753 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40756 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40757 if IS_IN_rtld isn't defined.
40759 * elf/dl-support.c (_dl_sysinfo_map): New.
40760 Include "get-dynamic-info.h" and "setup-vdso.h".
40761 (_dl_non_dynamic_init): Call setup_vdso.
40762 * elf/dynamic-link.h: Don't include <assert.h>.
40763 (elf_get_dynamic_info): Moved to ...
40764 * elf/get-dynamic-info.h: Here. New file.
40765 * elf/dynamic-link.h: Include "get-dynamic-info.h".
40766 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40767 * elf/setup-vdso.h: Here. New file.
40768 * elf/rtld.c: Include "setup-vdso.h".
40769 (dl_main): Call setup_vdso.
40771 2012-10-05 Joseph Myers <joseph@codesourcery.com>
40773 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40774 creal in comment listing functions tested. List finite, isinf,
40775 isnan, isless, islessequal, isgreater, isgreaterequal,
40776 islessgreater, isunordered, lgamma_r and pow10 as functions and
40777 macros not tested. Mention which functions not tested are aliases
40778 for other functions. Fix typo. Note that signs of NaNs are not
40781 * scripts/config.guess: Update from config.git.
40782 * scripts/config.sub: Likewise.
40784 2012-10-04 Roland McGrath <roland@hack.frob.com>
40786 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40787 * misc/madvise.c (madvise): Renamed to __madvise.
40788 Make madvise a weak alias.
40789 * include/sys/mman.h: Declare __madvise.
40790 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40791 * sysdeps/unix/syscalls.list
40792 (madvise): Make __madvise the strong name, and madvise a weak alias.
40793 * sysdeps/unix/sysv/linux/syscalls.list
40794 (madvise, mmap): Remove redundant entries.
40795 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40796 * malloc/malloc.c (mtrim): Likewise.
40797 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40799 2012-10-03 Roland McGrath <roland@hack.frob.com>
40801 * sysdeps/mach/hurd/dl-cache.c: File removed.
40802 * config.h.in (USE_LDCONFIG): New #undef.
40803 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40804 * configure: Regenerated.
40805 * elf/Makefile (dl-routines): Add dl-cache only under
40806 [$(use-ldconfig) = yes].
40807 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40808 cache on [USE_LDCONFIG].
40809 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40811 * elf/rtld.c (dl_main): Likewise.
40813 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
40815 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40816 _SC_LEVEL4_CACHE_LINESIZE.
40818 2012-10-03 Roland McGrath <roland@hack.frob.com>
40820 * sysdeps/unix/bsd/confstr.h: File removed.
40822 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
40824 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40827 2012-10-02 Roland McGrath <roland@hack.frob.com>
40829 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40830 Make 'mapoff' field ElfW(Off) rather than off_t.
40832 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
40834 * nscd/Makefile: Remove nscd-cflags and all its users.
40835 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40836 (CFLAGS-nonlib): Add compiler flags for nscd modules.
40839 * malloc.c (malloc_printerr): Clarify error message.
40841 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
40844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40845 Set bit_FMA_Usable if FMA is supported.
40846 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40848 (bit_FMA4_Usable): Updated.
40849 (index_FMA_Usable): New macro.
40850 (CPUID_FMA): Likewise
40851 (HAS_FMA): Defined with bit_FMA_Usable.
40853 2012-10-01 Roland McGrath <roland@hack.frob.com>
40855 * bits/types.h (__swblk_t): Type removed.
40856 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40857 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40858 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40859 (__SWBLK_T_TYPE): Likewise.
40860 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40861 (__SWBLK_T_TYPE): Likewise.
40862 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40863 (__SWBLK_T_TYPE): Likewise.
40864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40865 (__SWBLK_T_TYPE): Likewise.
40867 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
40868 Honza Horak <hhorak@redhat.com>
40870 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40871 (xdr_mapname): Use YPMAXMAP as maxsize.
40872 (xdr_peername): Use YPMAXPEER as maxsize.
40873 (xdr_keydat): Use YPAXRECORD as maxsize.
40874 (xdr_valdat): Use YPMAXRECORD as maxsize.
40876 2012-10-01 Roland McGrath <roland@hack.frob.com>
40878 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40880 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40881 * csu/init-first.c: ... here.
40882 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40883 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40884 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40885 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40886 * sysdeps/i386/init-first.c: File removed.
40887 * sysdeps/sh/init-first.c: File removed.
40889 2012-10-01 Joseph Myers <joseph@codesourcery.com>
40892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40893 if x * y might underflow to zero and z is zero.
40894 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40895 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40896 * math/libm-test.inc (min_subnorm_value): New variable.
40897 (fma_test): Add more tests.
40898 (fma_test_towardzero): Likewise.
40899 (fma_test_downward): Likewise
40900 (fma_test_upward): Likewise.
40901 (initialize): Set min_subnorm_value.
40903 2012-09-29 Joseph Myers <joseph@codesourcery.com>
40906 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40908 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40909 mode for addition resulting in exact zero.
40910 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40911 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40913 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40914 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40915 * math/libm-test.inc (fma_test): Add more tests.
40916 (fma_test_towardzero): New function.
40917 (fma_test_downward): Likewise.
40918 (fma_test_upward): Likewise.
40919 (main): Call the new functions.
40921 2012-09-28 David S. Miller <davem@davemloft.net>
40923 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40925 2012-09-28 Roland McGrath <roland@hack.frob.com>
40927 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40928 instead of SIGALRM.
40930 * sysdeps/gnu/_G_config.h: Moved to ...
40931 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40932 * sysdeps/mach/hurd/_G_config.h: Moved to ...
40933 * sysdeps/generic/_G_config.h: ... here.
40935 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
40937 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40939 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40940 Conditionalize target on [libnss_test1.so-version].
40942 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40944 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40945 (elfobjdir): Move out of conditionals.
40947 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40948 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40949 (__nss_lookup_function): Conditionalize label remove_from_tree on
40950 [!DO_STATIC_NSS || SHARED], matching its only use.
40952 2012-09-28 David S. Miller <davem@davemloft.net>
40954 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40955 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40957 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40959 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40960 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40961 when HWCAP_SPARC_CRYPTO is present.
40963 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40965 * io/tst-mknodat.c: Create a FIFO instead of a socket.
40967 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
40970 * stdio-common/vfprintf.c (process_string_arg): Revert
40973 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
40975 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40977 * stdio-common/tst-sprintf.c: Include <locale.h>
40978 (main): Test sprintf's handling of incomplete multibyte
40981 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
40983 * elf/dl-runtime.c (VERSYMIDX): Removed.
40984 * elf/dl-version.c (VERSYMIDX): Likewise.
40985 * elf/do-rel.h (VERSYMIDX): Likewise.
40986 (VALIDX): Likewise.
40987 * elf/dynamic-link.h (VERSYMIDX): Likewise.
40988 * elf/rtld.c (VALIDX): Likewise.
40989 (ADDRIDX): Likewise.
40990 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40991 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40992 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40993 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40994 (VALIDX): Likewise.
40995 (ADDRIDX): Likewise.
40997 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40999 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41001 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
41004 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41006 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41007 addresses are in the same scope as 192.0.2/24.
41008 * posix/gai.conf: Document new scope table defaults.
41010 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41013 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41014 for ftell. Compute offsets from write pointers instead.
41015 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41017 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41020 * libio/Makefile (tests): New test case tst-fseek.
41021 * libio/tst-fseek.c: New test case to verify that fseek/ftell
41022 combination works in wide mode.
41023 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41024 state when the external buffer state changes.
41026 2012-09-27 David S. Miller <davem@davemloft.net>
41029 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41030 pass reloc->r_addend in as the 'high' argument to
41031 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41035 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41037 * rt/tst-aio2.c: Include <pthread.h>.
41038 * rt/tst-aio3.c: Likewise.
41040 2012-09-27 Steve Ellcey <sellcey@mips.com>
41042 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41044 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
41046 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41047 contents on [SHARED].
41049 2012-09-26 Marek Polacek <polacek@redhat.com>
41053 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41054 for C++ and GCC <4.3 as well as for non GCC compilers.
41056 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
41058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41060 2012-09-25 Roland McGrath <roland@hack.frob.com>
41062 * Makefile.in (all, install): Declare with .PHONY.
41063 Reported by Michael Hope <michael.hope@linaro.org>.
41065 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41067 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41068 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41070 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41072 (sydep_routines): Add the new and the internal functions.
41073 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41074 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41076 (GLIBC_2.17): Add the new function.
41077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41078 (GLIBC_2.17): Likewise.
41079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41080 (GLIBC_2.17): Likewise.
41081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41082 (GLIBC_2.17): Likewise.
41083 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41085 2012-09-25 Alan Modra <amodra@gmail.com>
41087 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41088 Add release barrier before setting once_control to say
41089 initialisation is done. Add hints on lwarx. Use macro in
41091 (clear_once_control): Add release barrier.
41093 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41096 * math/s_clog.c (__clog): Handle more values close to |z| = 1
41098 * math/s_clog10.c (__clog10): Likewise.
41099 * math/s_clog10f.c (__clog10f): Likewise.
41100 * math/s_clog10l.c (__clog10l): Likewise.
41101 * math/s_clogf.c (__clogf): Likewise.
41102 * math/s_clogl.c (__clogl): Likewise.
41103 * math/Makefile (libm-calls): Add x2y2m1.
41104 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41105 (__x2y2m1): Likewise.
41106 (__x2y2m1l): Likewise.
41107 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41108 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41109 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41110 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41111 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41112 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41113 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41114 * sysdeps/i386/fpu/libm-test-ulps: Update.
41115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41118 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41119 int as type of variable DEPTH.
41120 (glob): Use size_t instead of int as type of variables NEWCOUNT
41123 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41125 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41126 Add s_sincosf-sse2.
41127 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41128 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41129 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41130 macros for using routine as __sincosf_ia32.
41131 Use macro for function declaration and weak_alias.
41132 * sysdeps/i386/fpu/libm-test-ulps: Update.
41134 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41137 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41138 subnormal argument.
41139 * math/s_cexpf.c (__cexpf): Likewise.
41140 * math/s_csinf.c (__csinf): Likewise.
41141 * math/s_csinhf.c (__csinhf): Likewise.
41142 * math/s_ctanf.c (__ctanf): Likewise.
41143 * math/s_ctanhf.c (__ctanhf): Likewise.
41144 * math/s_ccosh.c (__ccoshf): Likewise.
41145 * math/s_cexp.c (__cexpl): Likewise.
41146 * math/s_csin.c (__csin): Likewise.
41147 * math/s_csinh.c (__csinh): Likewise.
41148 * math/s_ctan.c (__ctan): Likewise.
41149 * math/s_ctanh.c (ctanh): Likewise.
41150 * math/s_ccoshl.c (__ccoshl): Likewise.
41151 * math/s_cexpl.c (__cexpl): Likewise.
41152 * math/s_csinl.c (__csinl): Likewise.
41153 * math/s_csinhl.c (__csinhl): Likewise.
41154 * math/s_ctanl.c (__ctanl): Likewise.
41155 * math/s_ctanhl.c (__ctanhl): Likewise.
41157 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41159 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41160 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41161 (_IO_off_t): Define to __off_t, not _G_off_t.
41162 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41163 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41164 (_IO_wint_t): Define to wint_t, not _G_wint_t.
41165 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41166 type of __dummy and __dummy2 fields.
41167 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41168 (_G_ssize_t): Likewise.
41169 (_G_off_t): Likewise.
41170 (_G_pid_t): Likewise.
41171 (_G_uid_t): Likewise.
41172 (_G_wchar_t): Likewise.
41173 (_G_wint_t): Likewise.
41174 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41175 (_G_ssize_t): Likewise.
41176 (_G_off_t): Likewise.
41177 (_G_pid_t): Likewise.
41178 (_G_uid_t): Likewise.
41179 (_G_wchar_t): Likewise.
41180 (_G_wint_t): Likewise.
41181 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41182 (_G_ssize_t): Likewise.
41183 (_G_off_t): Likewise.
41184 (_G_pid_t): Likewise.
41185 (_G_uid_t): Likewise.
41186 (_G_wchar_t): Likewise.
41187 (_G_wint_t): Likewise.
41189 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41191 * malloc/arena.c: Include malloc-sysdep.h.
41192 (shrink_heap): Use check_may_shrink_heap to decide if madvise
41193 is sufficient to shrink the heap or an unmap is needed.
41194 * sysdeps/generic/malloc-sysdep.h: New file. Define
41195 new function check_may_shrink_heap.
41196 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
41197 new function check_may_shrink_heap.
41199 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41201 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41204 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
41206 * catgets/test-gencat.sh: Add "set -e".
41207 * elf/tst-pathopt.sh: Likewise.
41208 * grp/tst_fgetgrent.sh: Likewise.
41209 * iconvdata/run-iconv-test.sh: Likewise.
41210 * intl/tst-gettext.sh: Likewise.
41211 * intl/tst-gettext2.sh: Likewise.
41212 * intl/tst-gettext4.sh: Likewise.
41213 * intl/tst-gettext6.sh: Likewise.
41214 * intl/tst-translit.sh: Likewise.
41215 * io/ftwtest-sh: Likewise.
41216 * libio/test-freopen.sh: Likewise.
41217 * malloc/tst-mtrace.sh: Likewise.
41218 * posix/globtest.sh: Likewise.
41219 * posix/tst-getconf.sh: Likewise.
41220 * posix/wordexp-tst.sh: Likewise.
41221 * stdio-common/tst-printf.sh: Likewise.
41222 * stdio-common/tst-unbputc.sh: Likewise.
41223 * stdlib/tst-fmtmsg.sh: Likewise.
41224 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41225 * catgets/Makefile: Do not specify -e option when running
41226 testsuite shell scripts.
41227 * elf/Makefile: Likewise.
41228 * grp/Makefile: Likewise.
41229 * iconvdata/Makefile: Likewise.
41230 * intl/Makefile: Likewise.
41231 * io/Makefile: Likewise.
41232 * libio/Makefile: Likewise.
41233 * malloc/Makefile: Likewise.
41234 * posix/Makefile: Likewise.
41235 * stdio-common/Makefile: Likewise.
41236 * stdlib/Makefile: Likewise.
41237 * sysdeps/x86_64/Makefile: Likewise.
41239 * io/ftwtest-sh: Add copyright header.
41240 * posix/globtest.sh: Likewise.
41241 * posix/tst-getconf.sh: Likewise.
41242 * posix/wordexp-tst.sh: Likewise.
41243 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41245 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
41248 * Makeconfig (+link): Defined as $(+link-static) if
41249 $(build-shared) isn't yes.
41250 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41252 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41254 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41257 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41258 new chunk size with MALLOC_ALIGN_MASK.
41260 2012-09-24 Joseph Myers <joseph@codesourcery.com>
41263 * stdio-common/printf_fphex.c: Include <stdbool.h> and
41265 (__printf_fphex): Determine rounding using get_rounding_mode and
41267 * stdio-common/tst-printf-round.c (struct hex_test): New
41269 (hex_tests): New variable.
41270 (test_hex_in_one_mode): New function.
41271 (do_test): Also run tests for hex float output.
41273 2012-09-21 Joseph Myers <joseph@codesourcery.com>
41275 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41276 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41277 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41278 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41279 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41280 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41281 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41282 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41284 2012-09-20 Joseph Myers <joseph@codesourcery.com>
41286 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41287 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41288 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41289 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41291 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
41294 * elf/rtld.c (dl_main): Limit the check for self loading to normal
41296 * elf/tst-rtld-load-self.sh: New test.
41297 * elf/Makefile: Run it.
41299 2012-09-18 Joseph Myers <joseph@codesourcery.com>
41301 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41302 (tst-writev-ENV): Remove.
41303 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41305 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
41307 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41309 2012-09-17 Joseph Myers <joseph@codesourcery.com>
41311 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41313 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41315 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41316 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41317 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41320 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
41323 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41324 * config.make.in (have-cpp-asm-debuginfo): Removed.
41325 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41326 * configure: Regenerated.
41328 2012-09-14 Joseph Myers <joseph@codesourcery.com>
41331 * stdio-common/printf_fp.c: Include <stdbool.h> and
41333 (___printf_fp): Determine rounding using get_rounding_mode and
41335 * stdio-common/tst-printf-round.c: New file.
41336 * stdio-common/Makefile (tests): Add tst-printf-round.
41337 (link-libm): New variable.
41338 ($(objpfx)tst-printf-round): Depend in $(link-libm).
41340 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
41343 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41344 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41346 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41349 2012-09-13 Joseph Myers <joseph@codesourcery.com>
41351 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41352 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41353 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41354 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41356 2012-09-12 Joseph Myers <joseph@codesourcery.com>
41359 * include/rounding-mode.h: New file.
41360 * sysdeps/generic/get-rounding-mode.h: Likewise.
41361 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41362 * stdlib/strtod_l.c: Include <rounding-mode.h>.
41363 (MAX_VALUE): New macro.
41364 (MIN_VALUE): Likewise.
41365 (overflow_value): New function.
41366 (underflow_value): Likewise.
41367 (round_and_return): Use overflow_value and underflow_value to
41368 determine return values in overflow and underflow cases. Use
41369 round_away to determine rounding depending on rounding mode.
41370 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41371 determine return values in overflow and underflow cases.
41372 * stdlib/tst-strtod-round.c: Include <fenv.h>.
41373 (struct test_results): New structure.
41374 (struct test): Use struct test_results to store expected results
41375 for all rounding modes.
41376 (TEST): Include expected results for all rounding modes.
41377 (test_in_one_mode): New function.
41378 (do_test): Use test_in_one_mode to compute and check results.
41379 Check results for all rounding modes.
41380 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41383 2012-12-09 Allan McRae <allan@archlinux.org>
41385 * sysdeps/i386/fpu/libm-test-ulps: Update
41387 2012-09-11 Joseph Myers <joseph@codesourcery.com>
41389 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41390 (_G_int32_t): Likewise.
41391 (_G_uint16_t): Likewise.
41392 (_G_uint32_t): Likewise.
41393 (_G_HAVE_BOOL): Likewise.
41394 (_G_HAVE_ATEXIT): Likewise.
41395 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41396 (_G_HAVE_IO_FILE_OPEN): Likewise.
41397 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41398 (_G_int32_t): Likewise.
41399 (_G_uint16_t): Likewise.
41400 (_G_uint32_t): Likewise.
41401 (_G_HAVE_BOOL): Likewise.
41402 (_G_HAVE_ATEXIT): Likewise.
41403 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41404 (_G_HAVE_IO_FILE_OPEN): Likewise.
41405 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41406 (_G_int32_t): Likewise.
41407 (_G_uint16_t): Likewise.
41408 (_G_uint32_t): Likewise.
41409 (_G_HAVE_BOOL): Likewise.
41410 (_G_HAVE_ATEXIT): Likewise.
41411 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41412 (_G_HAVE_IO_FILE_OPEN): Likewise.
41414 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
41416 * csu/libc-tls.c: Update copyright years.
41418 2012-09-10 Joseph Myers <joseph@codesourcery.com>
41420 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41421 [!_G_USING_THUNKS]: Remove conditional code.
41422 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41423 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41425 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41426 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41427 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41428 (_G_VTABLE_LABEL_PREFIX): Likewise.
41429 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41430 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41431 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41432 (_G_VTABLE_LABEL_PREFIX): Likewise.
41433 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41434 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41435 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41436 (_G_VTABLE_LABEL_PREFIX): Likewise.
41437 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41439 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
41441 * libio/Makefile: Include ../Makeconfig before tests.
41442 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41443 only if $(build-shared) is yes.
41445 * iconv/gconv_db.c: Update copyright years.
41447 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41449 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41450 unwind info if defined PIC. Fix special cases description.
41451 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41453 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41455 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41457 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
41459 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41461 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41464 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41465 (LDLIBS-tst-chk4): This.
41466 (LDFLAGS-tst-chk5): Renamed to ...
41467 (LDLIBS-tst-chk5): This.
41468 (LDFLAGS-tst-chk6): Renamed to ...
41469 (LDLIBS-tst-chk6): This.
41470 (LDFLAGS-tst-lfschk4): Renamed to ...
41471 (LDLIBS-tst-lfschk4): This.
41472 (LDFLAGS-tst-lfschk5): Renamed to ...
41473 (LDLIBS-tst-lfschk5): This.
41474 (LDFLAGS-tst-lfschk6): Renamed to ...
41475 (LDLIBS-tst-lfschk6): This.
41477 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41478 on $(common-objpfx)soversions.mk.
41480 2012-09-07 Joseph Myers <joseph@codesourcery.com>
41483 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41486 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
41488 * malloc/arena.c (arena_get_retry): New function that gets
41489 another arena for the caller to try its request on.
41490 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41491 current arena cannot fulfill the request.
41492 (__libc_memalign): Likewise.
41493 (__libc_memalign): Likewise.
41494 (__libc_pvalloc): Likewise.
41495 (__libc_calloc): Likewise.
41497 2012-09-05 John Tobey <john.tobey@gmail.com>
41500 * manual/arith.texi (Operations on Complex): Fix description
41501 of carg branch cut.
41503 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41506 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41510 * manual/memory.texi (Memory): Make order of menu items match
41513 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41515 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41516 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
41517 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41519 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41521 * csu/libc-tls.c (static_dtv): Renamed to ...
41522 (_dl_static_dtv): This. Make it global.
41523 (_dl_initial_dtv): Removed.
41524 (__libc_setup_tls): Updated.
41525 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41526 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41529 2012-09-06 Petr Machata <pmachata@redhat.com>
41531 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41532 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41533 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41534 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41536 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41539 * csu/libc-tls.c (_dl_initial_dtv): New variable.
41540 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41543 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41546 * Makeconfig (link-static-before-libc): Replace $(+prector)
41548 (link-static-after-libc): Replace $(+postctor) with
41550 (link-bounded): Replace $(+prector)/$(+postctor) with
41551 $(+prectorT)/$(+postctorT).
41552 (+prectorT): New macro.
41553 (+postctorT): Likewise.
41555 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41557 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41558 (round_str): Handle values above the maximum for IBM long double
41560 * stdlib/tst-strtod-round.c (tests): Regenerated.
41562 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41564 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41566 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41567 zarch_nohighgprs around the zarch optimized routines.
41568 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41569 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41570 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41573 2012-09-05 David S. Miller <davem@davemloft.net>
41575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41577 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41578 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41579 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41580 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41583 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41585 * malloc/arena.c: Fold copyright years.
41586 * malloc/mcheck.c, malloc/memusage.c: Likewise.
41588 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41590 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41592 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41594 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
41596 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41598 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41599 change internal state upon failure.
41601 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41603 * malloc/mcheck.c (mcheck_check_all): Fix typo.
41604 * malloc/memusage.c (mmap): Likewise.
41605 (mmap64, mremap): Likewise. Adjust name in comment.
41607 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41609 * libio/fileops.c: Fix typos in comments.
41610 * libio/oldfileops.c: Likewise.
41611 * libio/wfileops.c: Likewise.
41613 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41616 * malloc/Makefile (tests): Add tst-malloc-usable test case.
41617 (tst-malloc-usable-ENV): Set environment for test case.
41618 * malloc/hooks.c (malloc_check_get_size): New function to get
41620 * malloc/malloc.c (musable): Use malloc_check_get_size.
41621 * malloc/tst-malloc-usable.c: New test case.
41623 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41625 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41627 2012-09-05 Allan McRae <allan@archlinux.org>
41630 * configure.in (CXX_SYSINCLUDES): Use compiler output to
41631 determine header location.
41632 * configure: Regenerated.
41634 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41636 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41638 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41639 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41641 (test): Regenerate.
41643 2012-09-04 David S. Miller <davem@davemloft.net>
41645 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41646 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41647 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41649 2012-09-04 Florian Weimer <fweimer@redhat.com>
41651 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41654 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41656 2012-09-04 Joseph Myers <joseph@codesourcery.com>
41659 * libio/iogetdelim.c: Include <limits.h>.
41660 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41661 + len + 1 would overflow.
41663 2012-09-03 Andreas Jaeger <aj@suse.de>
41665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41666 * sysdeps/i386/fpu/libm-test-ulps: Update.
41668 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41670 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41671 Add s_sinf-sse2, s_conf-sse2.
41673 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41674 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41675 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41676 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41678 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41679 for using routine as __sinf_ia32.
41680 Use macro for function declaration and weak_alias.
41681 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41682 for using routine as __cosf_ia32.
41683 Use macro for function declaration and weak_alias.
41685 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41686 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41688 * sysdeps/x86_64/fpu/s_sinf.S: New file.
41689 * sysdeps/x86_64/fpu/s_cosf.S: New file.
41690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41692 * math/libm-test.inc (cos_test): Add more test cases.
41693 (sin_test): Likewise.
41694 (sincos_test): Likewise.
41696 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41698 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41699 (IFUNC_RESOLVE): Make pointers to the specialized implementations
41701 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41703 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
41706 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41707 first element of the GOT.
41708 (elf_machine_load_address): Return the difference between
41709 the runtime address of _DYNAMIC and elf_machine_dynamic ().
41711 2012-09-01 Allan McRae <allan@archlinux.org>
41714 * configure.in (AWK): Require gawk version 3.0 or later.
41715 * configure: Regenerated.
41717 2012-09-01 Joseph Myers <joseph@codesourcery.com>
41719 * sysdeps/unix/sysv/linux/kernel-features.h
41720 (__ASSUME_POSIX_CPU_TIMERS): Remove.
41721 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41722 [__NR_clock_getres]: Make code unconditional.
41723 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41724 (clock_getcpuclockid): Remove code left unreachable by removal of
41726 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41727 code unconditional.
41728 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41729 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41730 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41731 Make code unconditional.
41732 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41733 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41734 * sysdeps/unix/sysv/linux/clock_settime.c
41735 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41737 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41738 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41740 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
41743 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41744 scripts/test-installation.pl.
41746 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41747 and $ld_so_version if it is set.
41749 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41752 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41753 failure if reading from procfs failed.
41754 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41756 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41758 * sysdeps/unix/sysv/linux/kernel-features.h
41759 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41760 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41761 Remove conditional code.
41762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41763 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41764 Remove conditional code.
41765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41766 * sysdeps/unix/sysv/linux/i386/fxstat.c
41767 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41768 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41769 * sysdeps/unix/sysv/linux/i386/fxstatat.c
41770 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41771 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41772 * sysdeps/unix/sysv/linux/i386/lxstat.c
41773 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41774 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41775 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41776 Remove conditional code.
41777 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41778 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41779 Remove conditional code.
41780 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41781 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41782 <kernel-features.h>.
41783 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41785 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41786 Remove conditional code.
41787 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41788 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41789 Remove conditional.
41791 2012-08-27 Mike Frysinger <vapier@gentoo.org>
41794 * NEWS: Add fixed bug number.
41796 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41799 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41800 underflowing exponent in case of negative sign.
41801 * stdlib/tst-strtod-round-data: Add more tests.
41802 * stdlib/tst-strtod-round.c (tests): Regenerated.
41805 * stdlib/strtod_l.c (NDIG): Remove.
41806 (HEXNDIG): Likewise.
41807 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41808 smallest representable value.
41809 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41810 lie within an exact representation of 1/2 ulp of the result.
41811 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41813 (TENS_P9_IDX): Define unconditionally.
41814 (TENS_P9_SIZE): Likewise.
41815 (TENS_P10_IDX): Likewise.
41816 (TENS_P10_SIZE): Likewise.
41817 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41818 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41819 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41820 entries for 10^2^13 and 10^2^14.
41821 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41822 (TENS_P13_IDX): Define.
41823 (TENS_P13_SIZE): Likewise.
41824 (TENS_P14_IDX): Likewise.
41825 (TENS_P14_SIZE): Likewise.
41826 (_fpioconst_pow10): Change array size to
41827 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
41829 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41830 1024]: Add entries for 10^2^13 and 10^2^14.
41831 [LAST_POW10 > _LAST_POW10]: Remove #error.
41832 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41833 (_fpioconst_pow10): Change array size to
41834 FPIOCONST_POW10_ARRAY_SIZE.
41835 * stdlib/gen-fpioconst.c: New file.
41836 * stdlib/gen-tst-strtod-round.c: Likewise.
41837 * stdlib/tst-strtod-round-data: Likewise.
41838 * stdlib/tst-strtod-round.c: Likewise.
41839 * stdlib/Makefile (tests): Add tst-strtod-round.
41842 * stdlib/strtod_l.c: Include <stdint.h>.
41843 (NDEBUG): Do not define.
41844 (round_and_return): Change EXPONENT parameter to type intmax_t.
41845 Rearrange calculations to avoid internal overflow possibilities.
41846 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41847 Rearrange calculations to avoid internal overflow possibilities.
41848 Assert that number fits inside MPNSIZE limbs.
41849 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41850 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
41851 calculations and add assertions to avoid internal overflow
41852 possibilities. Add casts to avoid signed/unsigned operations.
41853 * stdlib/tst-strtod-overflow.c: New file.
41854 * stdlib/Makefile (tests): Add tst-strtod-overflow.
41856 2012-08-25 Marek Polacek <polacek@redhat.com>
41858 * time/time.h: Fix some typos in comments.
41860 2012-08-23 Roland McGrath <roland@hack.frob.com>
41862 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41863 * posix/tst-rfc3484-2.c: Likewise.
41864 * posix/tst-rfc3484-3.c: Likewise.
41866 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
41868 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41869 (EF_ARM_ABI_FLOAT_HARD): Likewise.
41871 2012-08-23 Joseph Myers <joseph@codesourcery.com>
41873 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41874 #include of fxstatat64.c.
41876 2012-08-22 Roland McGrath <roland@hack.frob.com>
41878 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41879 * shadow/getspent_r.c: Likewise.
41880 * shadow/getspnam.c: Likewise.
41881 * shadow/getspnam_r.c: Likewise.
41882 * gshadow/getsgent.c: Likewise.
41883 * gshadow/getsgent_r.c: Likewise.
41884 * gshadow/getsgnam.c: Likewise.
41885 * gshadow/getsgnam_r.c: Likewise.
41886 * inet/getnetbyad.c: Likewise.
41887 * inet/getnetbyad_r.c: Likewise.
41888 * inet/getnetbynm.c: Likewise.
41889 * inet/getnetbynm_r.c: Likewise.
41890 * inet/getnetent.c: Likewise.
41891 * inet/getnetent_r.c: Likewise.
41892 * inet/getproto.c: Likewise.
41893 * inet/getproto_r.c: Likewise.
41894 * inet/getprtent.c: Likewise.
41895 * inet/getprtent_r.c: Likewise.
41896 * inet/getprtname.c: Likewise.
41897 * inet/getprtname_r.c: Likewise.
41898 * inet/getrpcbyname.c: Likewise.
41899 * inet/getrpcbyname_r.c: Likewise.
41900 * inet/getrpcbynumber.c: Likewise.
41901 * inet/getrpcbynumber_r.c: Likewise.
41902 * inet/getrpcent.c: Likewise.
41903 * inet/getrpcent_r.c: Likewise.
41904 * inet/getaliasent.c: Likewise.
41905 * inet/getaliasent_r.c: Likewise.
41906 * inet/getaliasname.c: Likewise.
41907 * inet/getaliasname_r.c: Likewise.
41908 * nscd/getgrgid_r.c: Likewise.
41909 * nscd/getgrnam_r.c: Likewise.
41910 * nscd/gethstbyad_r.c: Likewise.
41911 * nscd/gethstbynm3_r.c: Likewise.
41912 * nscd/getpwnam_r.c: Likewise.
41913 * nscd/getpwuid_r.c: Likewise.
41914 * nscd/getsrvbynm_r.c: Likewise.
41915 * nscd/getsrvbypt_r.c: Likewise.
41916 * nscd/gai.c: Likewise.
41918 * configure.in (build_nscd): New substituted variable, set
41919 by --disable-build-nscd and defaults to $use_nscd.
41920 * configure: Regenerated.
41921 * config.make.in (build-nscd): New substituted variable.
41922 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41923 Change conditional to require [$(build-nscd) = yes] as well.
41924 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41927 * configure.in (use_nscd): New substituted variable, set by
41928 --disable-nscd. If enabled, define USE_NSCD.
41929 * configure: Regenerated.
41930 * config.h.in: Add USE_NSCD.
41931 * config.make.in (use-nscd): New substituted variable.
41932 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41933 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41934 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41935 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41936 (CFLAGS-getgrnam_r.c): Likewise.
41937 (CFLAGS-initgroups.c): Likewise.
41938 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41939 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41941 * inet/getnetgrent_r.c
41942 (nscd_setnetgrent): New function, broken out of ...
41943 (setnetgrent): ... here. Call it.
41944 (innetgr): Conditionalize nscd bits on [USE_NSCD].
41945 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41946 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41947 * nscd/Makefile (routines, aux): Move definitions after include of
41948 Makeconfig. Conditionalize on [$(use-nscd) != no].
41949 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41950 Conditionalize on [USE_NSCD].
41951 (is_nscd, nscd_init_cb): Likewise.
41952 (nss_load_library): Conditionalize init callback on [USE_NSCD].
41953 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41954 * nss/nss_db/db-init.c: Likewise.
41955 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41957 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41958 (make_request): Use it.
41959 (cache_valid_p): New function.
41960 (__check_pf): Use it.
41961 * NEWS: Add item for --disable-nscd.
41963 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
41965 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41966 to support sed >= 4.2.1-20-ga9bf076.
41967 * configure: Regenerated.
41969 2012-08-22 Roland McGrath <roland@hack.frob.com>
41971 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41972 Conditionalize whole body on [IREL].
41974 2012-08-22 Jeff Law <law@redhat.com>
41977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41978 if the family is PF_UNSPEC.
41980 2012-08-22 Mike Frysinger <vapier@gentoo.org>
41982 * Makerules (lib-version): Rename from V.
41983 (install-lib-nosubdir): Change V to lib-version.
41985 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
41988 * powerpc32/power6/wcschr.c: New file.
41989 * powerpc32/power6/wcscpy.c: New file.
41990 * powerpc32/power6/wcsrchr.c: New file.
41991 * powerpc64/power6/wcschr.c: New file.
41992 * powerpc64/power6/wcscpy.c: New file.
41993 * powerpc64/power6/wcsrchr.c: New file.
41995 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41997 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41998 (two_way_short_needle): Use it.
41999 * string/strstr.c (AVAILABLE1_USES_J): Define.
42000 * string/strcasestr.c: Likewise.
42002 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42004 * string/strcasestr.c (TOLOWER): Make side-effect safe.
42007 * NEWS: Add an entry.
42008 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42009 define their defaults.
42010 (two_way_short_needle): Detect end-of-string on-the-fly.
42011 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42012 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42013 * string/bug-strcasestr1.c: New test.
42014 * string/Makefile: Run it.
42016 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42019 * string/str-two-way.h (two_way_short_needle): Optimize matching of
42020 the first character.
42022 2012-08-21 Roland McGrath <roland@hack.frob.com>
42024 * csu/elf-init.c (__libc_csu_irel): Function removed.
42025 * csu/libc-start.c (apply_irel): New function.
42026 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42028 2012-08-21 Joseph Myers <joseph@codesourcery.com>
42030 * sysdeps/unix/sysv/linux/kernel-features.h
42031 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42032 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42033 <kernel-features.h>.
42034 [__NR_fadvise64_64]: Make code unconditional.
42035 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42036 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42037 !__NR_fadvise64_64)]: Likewise.
42038 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42039 !__NR_fadvise64_64))]: Likewise.
42040 [__NR_fadvise64]: Make code unconditional.
42041 [!__NR_fadvise64]: Remove conditional code.
42042 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42043 <kernel-features.h>.
42044 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42046 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42049 not include <kernel-features.h>.
42050 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42052 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42054 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42055 include <kernel-features.h>.
42056 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42058 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42061 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42063 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42064 slight instruction rearrangements per scrollpipe analysis.
42065 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42067 2012-08-20 Roland McGrath <roland@hack.frob.com>
42069 * manual/syslog.texi (syslog; vsyslog, closelog):
42070 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42071 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42073 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42074 DSOCAPS to match condition on defining it.
42076 2012-08-20 Joseph Myers <joseph@codesourcery.com>
42078 * sysdeps/unix/sysv/linux/kernel-features.h
42079 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42081 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42082 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42084 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42085 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42087 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42088 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42090 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42091 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42093 * sysdeps/unix/sysv/linux/kernel-features.h
42094 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42095 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42097 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42098 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42099 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42100 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42101 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42102 Make code unconditional.
42103 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42104 (__mmap64) [!__NR_mmap2]: Likewise.
42105 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42106 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42107 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42108 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42109 [__NR_mmap2]: Make code unconditional.
42110 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42111 (__mmap64) [!__NR_mmap2]: Likewise.
42113 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42115 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42117 2012-08-18 Andreas Jaeger <aj@suse.de>
42119 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42121 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42123 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42124 * include/unistd.h (__have_sock_cloexec): Likewise.
42125 (__have_pipe2): Likewise.
42126 (__have_dup3): Likewise.
42128 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42131 * include/unistd.h (__have_pipe2): Change define into an extern int.
42132 (__have_dup3): Likewise.
42133 * socket/have_sock_cloexec.c: Include fcntl.h.
42134 (__have_pipe2): New variable.
42135 (__have_dup3): Likewise.
42137 2012-08-17 Mike Frysinger <vapier@gentoo.org>
42139 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42141 2012-08-17 Marek Polacek <polacek@redhat.com>
42143 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42144 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42146 2012-08-17 Roland McGrath <roland@hack.frob.com>
42148 * configure.in: Add AC_SUBST for sysheaders.
42149 * configure: Regenerated.
42150 * config.make.in (sysheaders): New substituted variable.
42152 * sysdeps/unix/mkfifo.c: Moved ...
42153 * sysdeps/posix/mkfifo.c: ... here.
42154 * sysdeps/unix/mkfifoat.c: Moved ...
42155 * sysdeps/posix/mkfifoat.c: ... here.
42157 * sysdeps/unix/utime.c: Moved ...
42158 * sysdeps/posix/utime.c: ... here.
42160 * sysdeps/unix/time.c: Moved ...
42161 * sysdeps/posix/time.c: ... here.
42162 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42163 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42165 * sysdeps/unix/nice.c: Moved ...
42166 * sysdeps/posix/nice.c: ... here.
42168 * sysdeps/unix/alarm.c: Moved ...
42169 * sysdeps/posix/alarm.c: ... here.
42171 * intl/Makefile ($(codeset_mo)): Depend on the input file.
42173 2012-08-17 Jeff Law <law@redhat.com>
42175 * intl/Makefile (codeset_mo): New variable.
42176 ($(codeset_mo)): New target.
42177 (tst-codeset.out): Depend on that. Remove explicit rule.
42178 (tst-gettext3.out, tst-gettext5.out): Likewise.
42179 (LOCPATH-ENV, tst-codeset-ENV): New variables.
42180 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42181 * intl/tst-codeset.sh: Remove.
42182 * intl/tst-gettext3.sh: Likewise.
42183 * intl/tst-gettext5.sh: Likewise.
42185 2012-08-17 Roland McGrath <roland@hack.frob.com>
42187 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
42188 * sysdeps/unix/syscalls.list: ... here.
42190 * sysdeps/posix/getaddrinfo.c
42191 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42192 (gaiconf_init, gaiconf_reload): Use them.
42193 [!_STATBUF_ST_NSEC]
42194 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42195 Define using time_t rather than struct timespec.
42197 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42198 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42200 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42202 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42203 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42206 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42207 __libc_cleanup_push argument.
42209 * bits/param.h: New file.
42210 * misc/sys/param.h: New file.
42211 * include/sys/param.h: New file.
42212 * misc/Makefile (headers): Add bits/param.h.
42213 * sysdeps/generic/sys/param.h: File removed.
42214 * sysdeps/unix/sysv/linux/bits/param.h: New file.
42215 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42216 * sysdeps/mach/hurd/bits/param.h: New file.
42217 * sysdeps/mach/hurd/sys/param.h: File removed.
42219 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42222 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42224 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42225 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42228 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42229 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42230 rather than -D_IO_MTSAFE_IO conditionally.
42231 * stdio-common/Makefile (CPPFLAGS): Likewise.
42232 * wcsmbs/Makefile (CPPFLAGS): Likewise.
42233 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42234 Use $(libio-mtsafe).
42235 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42236 of -D_IO_MTSAFE_IO.
42237 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42238 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42239 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42240 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42241 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42242 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42243 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42244 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42245 (CFLAGS-fread_u_chk.c): Likewise.
42246 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42247 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42248 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42249 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42250 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42251 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42252 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42253 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42254 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42256 * libio/Makefile: Test [$(libc-reentrant) = yes]
42257 instead of [$(filter %REENTRANT, $(defines)) nonempty].
42260 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42261 * sysdeps/pthread/configure: File removed.
42262 * sysdeps/pthread/Makeconfig: New file.
42263 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42264 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42266 2012-08-16 Gary Benson <gbenson@redhat.com>
42268 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42269 unmapping the first object in a namespace.
42271 2012-08-16 Roland McGrath <roland@hack.frob.com>
42273 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42274 (__internal_setnetgrent): ... this. Add internal_function to
42275 definition. Add libc_hidden_def.
42276 (setnetgrent): Update caller.
42277 (internal_endnetgrent): Renamed to ...
42278 (__internal_endnetgrent): ... this. Add internal_function to
42279 definition. Add libc_hidden_def.
42280 (endnetgrent): Update caller.
42281 (internal_getnetgrent_r): Renamed to ...
42282 (__internal_getnetgrent_r): ... this. Add internal_function to
42283 definition. Add libc_hidden_def.
42284 (__getnetgrent_r): Update caller.
42285 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
42287 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42289 * stdlib/longlong.h: Update from GCC.
42291 2012-08-16 Roland McGrath <roland@hack.frob.com>
42293 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42294 on _QL, which is set by umul_ppmm but never used.
42295 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42296 variables, which are set by GMP macros but never used.
42297 * stdio-common/_itowa.c (_itowa): Likewise.
42298 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42299 * stdlib/mod_1.c (mpn_mod_1): Likewise.
42301 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
42303 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42304 struct La_sh_regs is not constant.
42305 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42306 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42307 and struct La_sparc64_regs are not constant.
42309 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42311 * sysdeps/unix/sysv/linux/kernel-features.h
42312 (__ASSUME_POSIX_TIMERS): Remove.
42313 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42314 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42315 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42316 Make code unconditional.
42317 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42318 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42319 Make code unconditional.
42320 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42321 * sysdeps/unix/sysv/linux/clock_nanosleep.c
42322 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42323 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42324 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42325 Make code unconditional.
42326 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42327 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42328 (__libc_missing_posix_timers): Remove.
42330 2012-08-15 Roland McGrath <roland@hack.frob.com>
42332 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42333 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42335 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42337 * elf/dl-sym.c: Include <stdlib.h>.
42339 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42340 constants, which avoids warnings in 32-bit builds.
42342 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42343 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42345 * misc/lseek.c: File moved to ...
42346 * io/lseek.c: ... here.
42348 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42350 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42351 shifting LEN more than 31 bits at once.
42353 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42356 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42357 segmentation fault for a case of two empty input strings.
42358 * string/test-strncasecmp.c (check1): Renamed to...
42359 (bz12205): ...this.
42360 (bz14195): Add new testcase for two empty input strings and N > 0.
42361 (test_main): Call new testcase, adapt for renamed function.
42363 2012-08-15 Andreas Jaeger <aj@suse.de>
42366 * crypt/md5test2.c: New test, based on test supplied by Serge
42367 Belyshev <belyshev@depni.sinp.msu.ru>.
42368 * crypt/Makefile (xtests): Add md5test-giant..
42369 * crypt/Makefile ($(objpfx)md5test-giant): Add.
42371 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
42374 * crypt/md5.c (md5_process_block): Don't assume the buffer
42375 length is less than 2**32.
42376 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42377 length is less than 2**64.
42379 2012-08-15 Roland McGrath <roland@hack.frob.com>
42381 * string/str-two-way.h: Include <sys/param.h>.
42382 (MAX): Macro removed.
42384 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42385 Move #define and #undef of memmove to just before and after
42386 including <string.h>.
42388 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42389 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42390 and after including <string.h>. Move declarations of
42391 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42392 to before #include "string/memmove.c".
42394 * include/dirent.h: Declare __getdirentries.
42396 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42397 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42399 2012-08-14 Mike Frysinger <vapier@gentoo.org>
42401 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42402 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42403 * sysdeps/i386/configure: Regenerated.
42404 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42405 STABS_CURRENT_FILE, and STABS_FUN.
42406 (END): Remove call to STABS_FUN_END.
42407 (STABS_CURRENT_FILE1): Delete.
42408 (STABS_CURRENT_FILE): Likewise.
42409 (STABS_FUN): Likewise.
42410 (STABS_FUN_END): Likewise.
42411 (STABS_FUN2): Likewise.
42412 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42413 * sysdeps/x86_64/configure: Regenerated.
42415 2012-08-14 Roland McGrath <roland@hack.frob.com>
42417 * elf/dl-open.c: Include <atomic.h>.
42418 * elf/dl-lookup.c: Likewise.
42420 2012-08-14 Joseph Myers <joseph@codesourcery.com>
42422 * sysdeps/unix/sysv/linux/kernel-features.h
42423 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42424 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42426 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42428 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42429 condition on __ASSUME_CLONE_THREAD_FLAGS.
42431 2012-08-14 Andreas Jaeger <aj@suse.de>
42433 * sysdeps/i386/fpu/libm-test-ulps: Update.
42435 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
42437 * include/atomic.h (atomic_exchange_and_add): Split into ...
42438 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42441 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
42443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42445 2012-08-13 Jeff Law <law@redhat.com>
42447 * manual/stdio.texi (snprintf): Clarify handling of the trailing
42448 null byte in the output string.
42450 2012-08-10 Joseph Myers <joseph@codesourcery.com>
42452 * sysdeps/unix/sysv/linux/kernel-features.h
42453 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42454 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42455 (__ASSUME_ARG_MAX_STACK_BASED): Define.
42456 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42457 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42458 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
42459 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42461 2012-08-09 Jeff Law <law@redhat.com>
42464 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42465 When avoid_arena is set, don't retry in the that arena. Pick the
42466 next one, whatever it might be.
42467 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42468 (arena_lock): Pass in new parameter to arena_get2.
42469 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42471 (__libc_malloc): Unify retrying after main arena failure with
42472 __libc_memalign version.
42473 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42475 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
42478 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42479 to __redirect_strstr.
42480 (__strstr_sse42): Use typeof __redirect_strstr.
42481 (__strstr_ia32): Likewise.
42482 (__libc_strstr): New prototype.
42483 (strstr): Renamed to ...
42484 (__libc_strstr): This.
42485 (strstr): New strong alias of __libc_strstr.
42486 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42487 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42490 (__libc_time): New prototype.
42491 (time_ifunc): Replace time with __libc_time.
42492 (time): New strong alias and hidden definition of __libc_time.
42493 (__GI_time): Remove strong alias.
42494 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42495 Include <stddef.h>.
42496 (memmove): Redefined to __redirect_memmove.
42497 (__memmove_sse2): Use typeof __redirect_memmove.
42498 (__memmove_ssse3): Likewise.
42499 (__memmove_ssse3_back): Likewise.
42500 (__libc_memmove): New prototype.
42501 (memmove): Renamed to ...
42502 (__libc_memmove): This.
42503 (memmove): New strong alias of __libc_memmove.
42505 2012-08-08 Mark Salter <msalter@redhat.com>
42508 (R_MN10300_TLS_GD): Define.
42509 (R_MN10300_TLS_LD): Likewise.
42510 (R_MN10300_TLS_LDO): Likewise.
42511 (R_MN10300_TLS_GOTIE): Likewise.
42512 (R_MN10300_TLS_IE): Likewise.
42513 (R_MN10300_TLS_LE): Likewise.
42514 (R_MN10300_TLS_DTPMOD): Likewise.
42515 (R_MN10300_TLS_DTPOFF): Likewise.
42516 (R_MN10300_TLS_TPOFF): Likewise.
42517 (R_MN10300_SYM_DIFF): Likewise.
42518 (R_MN10300_ALIGN): Likewise.
42519 (R_MN10300_NUM): Update.
42521 2012-08-08 Joseph Myers <joseph@codesourcery.com>
42523 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42526 2012-08-08 Roland McGrath <roland@hack.frob.com>
42528 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42530 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42531 sysdeps/unix -> sysdeps/posix move.
42532 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42534 2012-08-07 Allan McRae <allan@archlinux.org>
42537 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42538 (SUNOS_CPP): Likewise.
42539 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42541 (open_input): Call CPP using execvp.
42543 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42545 * sysdeps/unix/sysv/linux/kernel-features.h
42546 (__ASSUME_PROT_GROWSUPDOWN): Remove.
42547 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42548 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42549 (__ASSUME_WAITID_SYSCALL): Likewise.
42550 * sysdeps/unix/sysv/linux/dl-execstack.c
42551 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42552 code unconditional.
42553 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42555 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42556 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42557 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42559 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42561 [__ASSUME_WAITID_SYSCALL]: Likewise.
42562 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42564 2012-08-07 Roland McGrath <roland@hack.frob.com>
42566 * sysdeps/unix/closedir.c: Renamed to ...
42567 * sysdeps/posix/closedir.c: ... here.
42568 * sysdeps/unix/dirfd.c: Renamed to ...
42569 * sysdeps/posix/dirfd.c: ... here.
42570 * sysdeps/unix/dirstream.h: Renamed to ...
42571 * sysdeps/posix/dirstream.h: ... here.
42572 * sysdeps/unix/fdopendir.c: Renamed to ...
42573 * sysdeps/posix/fdopendir.c: ... here.
42574 * sysdeps/unix/opendir.c: Renamed to ...
42575 * sysdeps/posix/opendir.c: ... here.
42576 * sysdeps/unix/readdir.c: Renamed to ...
42577 * sysdeps/posix/readdir.c: ... here.
42578 * sysdeps/unix/readdir_r.c: Renamed to ...
42579 * sysdeps/posix/readdir_r.c: ... here.
42580 * sysdeps/unix/rewinddir.c: Renamed to ...
42581 * sysdeps/posix/rewinddir.c: ... here.
42582 * sysdeps/unix/seekdir.c: Renamed to ...
42583 * sysdeps/posix/seekdir.c: ... here.
42584 * sysdeps/unix/telldir.c: Renamed to ...
42585 * sysdeps/posix/telldir.c: ... here.
42586 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42587 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42588 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42589 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42591 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42592 * bits/fcntl.h: ... here.
42594 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42596 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42597 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42598 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42599 (struct flock): Move l_start, l_len to the beginning.
42600 Use __pid_t for l_pid.
42601 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42602 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42603 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42604 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42605 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42606 [__USE_LARGEFILE64] (struct flock64): New type.
42607 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42609 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42610 * bits/dirent.h: ... here.
42612 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42613 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42615 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42617 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42618 Change from 2.6.0 to 2.6.16.
42619 * sysdeps/unix/sysv/linux/configure: Regenerated.
42620 * sysdeps/unix/sysv/linux/kernel-features.h
42621 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42622 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42624 (__ASSUME_UTIMES): Likewise.
42625 (__ASSUME_CLONE_STOPPED): Remove.
42626 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42627 architectures, not kernel version.
42628 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42629 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42630 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42631 (__ASSUME_WAITID_SYSCALL): Likewise.
42632 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42633 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42634 * README: State 2.6.16 as minimum Linux kernel version. Do not
42635 refer to older versions.
42637 2012-08-06 Roland McGrath <roland@hack.frob.com>
42639 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42640 Define alphasort64 as an alias.
42641 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42642 Define versionsort64 as an alias.
42643 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42644 Define scandir64 as an alias.
42645 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42646 Define scandirat64 as an alias.
42647 * dirent/alphasort64.c (alphasort64):
42648 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42649 * dirent/versionsort64.c: Likewise.
42650 * dirent/scandir64.c: Likewise.
42651 * dirent/scandirat64.c: Likewise.
42652 * sysdeps/wordsize-64/alphasort.c: File removed.
42653 * sysdeps/wordsize-64/alphasort64.c: File removed.
42654 * sysdeps/wordsize-64/scandir.c: File removed.
42655 * sysdeps/wordsize-64/scandir64.c: File removed.
42656 * sysdeps/wordsize-64/scandirat.c: File removed.
42657 * sysdeps/wordsize-64/scandirat64.c: File removed.
42658 * sysdeps/wordsize-64/versionsort.c: File removed.
42659 * sysdeps/wordsize-64/versionsort64.c: File removed.
42660 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42661 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42662 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42663 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42664 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42665 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42666 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42667 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42669 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42670 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42671 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42672 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42673 [defined __arch64__ || defined __sparcv9]
42674 (__INO_T_MATCHES_INO64_T): New macro.
42675 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42676 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42677 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42678 * sysdeps/unix/sysv/linux/bits/dirent.h
42679 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42680 (_DIRENT_MATCHES_DIRENT64): New macro.
42682 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42683 Define lockf64 as an alias.
42684 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42685 Define fseeko64 as an alias.
42686 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42687 Define ftello64 as an alias.
42688 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42689 Define _IO_fgetpos64 and fgetpos64 as aliases.
42690 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42691 Define _IO_fsetpos64 and fsetpos64 as aliases.
42692 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42693 Conditionalize body on this.
42694 * libio/fseeko64.c: Likewise.
42695 * libio/ftello64.c: Likewise.
42696 * libio/iofgetpos64.c: Likewise.
42697 * libio/iofsetpos64.c: Likewise.
42698 * sysdeps/wordsize-64/lockf.c: File removed.
42699 * sysdeps/wordsize-64/lockf64.c: File removed.
42700 * sysdeps/wordsize-64/fseeko.c: File removed.
42701 * sysdeps/wordsize-64/fseeko64.c: File removed.
42702 * sysdeps/wordsize-64/ftello.c: File removed.
42703 * sysdeps/wordsize-64/ftello64.c: File removed.
42704 * sysdeps/wordsize-64/iofgetpos.c: File removed.
42705 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42706 * sysdeps/wordsize-64/iofsetpos.c: File removed.
42707 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42708 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42709 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42710 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42711 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42712 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42713 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42714 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42715 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42716 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42717 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42719 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42720 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42721 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42722 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42723 [defined __arch64__ || defined __sparcv9]
42724 (__OFF_T_MATCHES_OFF64_T): New macro.
42725 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42726 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42727 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42728 (__OFF_T_MATCHES_OFF64_T): New macro.
42730 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42732 * stdlib/secure-getenv.c (__secure_getenv): Replace
42733 GLIBC_2_16 with GLIBC_2_17.
42735 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42737 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42738 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42740 2012-08-03 David S. Miller <davem@davemloft.net>
42742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42744 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42746 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42748 (__ASSUME_CORRECT_SI_PID): Likewise.
42749 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42750 (__ASSUME_TMPFS_NAME): Likewise.
42751 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42752 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42753 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42754 (HAVE_AUX_SECURE): Make definition unconditional.
42755 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42756 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42758 2012-08-03 Roland McGrath <roland@hack.frob.com>
42760 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42761 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42762 * sysdeps/mach/hurd/eloop-threshold.h: New file.
42763 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42764 __eloop_threshold instead of SYMLOOP_MAX.
42766 * sysdeps/generic/eloop-threshold.h: New file.
42767 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42769 * elf/chroot_canon.c (chroot_canon): Likewise.
42771 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42774 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42775 Change to 2.6.0 everywhere.
42776 * sysdeps/unix/sysv/linux/configure: Regenerated.
42777 * sysdeps/unix/sysv/linux/kernel-features.h
42778 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42779 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42781 (__ASSUME_POSIX_TIMERS): Define unconditionally.
42782 (__ASSUME_FUTEX_REQUEUE): Remove.
42783 (__ASSUME_STATFS64): Define unconditionally.
42784 (__ASSUME_AT_SECURE): Likewise.
42785 (__ASSUME_CORRECT_SI_PID): Likewise.
42786 (__ASSUME_TGKILL): Define without depending on kernel version for
42788 (__ASSUME_UTIMES): Likewise.
42789 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42791 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42792 (__ASSUME_TMPFS_NAME): Likewise.
42793 * README: Update reference to Linux kernel versions.
42795 2012-08-02 Marek Polacek <polacek@redhat.com>
42798 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
42799 libc_cv_asm_type_prefix with %.
42800 * configure: Regenerated.
42801 * include/libc-symbols.h: Remove comment about
42802 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42803 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42804 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42805 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42806 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42807 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42808 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42809 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42810 * elf/tst-unique2mod1.c: Likewise.
42811 * elf/tst-unique1mod2.c: Likewise.
42812 * elf/tst-unique1mod1.c: Likewise.
42813 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42814 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42815 Replace ASM_TYPE_DIRECTIVE with .type.
42816 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42817 * sysdeps/i386/sysdep.h: Likewise.
42818 * sysdeps/x86_64/sysdep.h: Likewise.
42819 * sysdeps/sh/sysdep.h: Likewise.
42820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42821 Do not define ASM_TYPE_DIRECTIVE.
42822 * sysdeps/powerpc/sysdep.h: Likewise.
42823 * sysdeps/powerpc/powerpc32/sysdep.h:
42824 Replace ASM_TYPE_DIRECTIVE with .type.
42825 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42826 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42827 * sysdeps/i386/fpu/e_powf.S: Likewise.
42828 * sysdeps/i386/fpu/e_expl.S: Likewise.
42829 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42830 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42831 * sysdeps/i386/fpu/e_pow.S: Likewise.
42832 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42833 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42834 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42835 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42836 * sysdeps/i386/fpu/e_log2.S: Likewise.
42837 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42838 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42839 * sysdeps/i386/fpu/e_powl.S: Likewise.
42840 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42841 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42842 * sysdeps/i386/fpu/e_logl.S: Likewise.
42843 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42844 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42845 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42846 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42847 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42848 * sysdeps/i386/fpu/e_log.S: Likewise.
42849 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42850 * sysdeps/i386/fpu/e_logf.S: Likewise.
42851 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42852 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42853 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42854 * sysdeps/i386/fpu/e_log10.S: Likewise.
42855 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42856 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42857 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42858 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42859 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42860 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42861 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42862 * sysdeps/i386/i686/strtok.S: Likewise.
42863 * sysdeps/i386/i386-mcount.S: Likewise.
42864 * sysdeps/i386/strtok.S: Likewise.
42865 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42866 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42867 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42868 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42869 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42870 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42871 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42872 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42873 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42874 * sysdeps/x86_64/_mcount.S: Likewise.
42875 * sysdeps/x86_64/strtok.S: Likewise.
42876 * sysdeps/sh/_mcount.S: Likewise.
42878 2012-08-01 Roland McGrath <roland@hack.frob.com>
42880 * libio/iofopen.c: Include <fcntl.h>.
42881 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42882 (_IO_fopen64, fopen64): Define as aliases.
42883 * libio/iofopen64.c: Include <fcntl.h>.
42884 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42885 Conditionalize body on this.
42886 * sysdeps/wordsize-64/iofopen.c: File removed.
42887 * sysdeps/wordsize-64/iofopen64.c: File removed.
42889 2012-08-01 Marek Polacek <polacek@redhat.com>
42891 * libc/Makeconfig: Use elf in place of binfmt-subdir.
42892 Use dlfcn directly instead of a variable.
42893 (binfmt-subdir): Do not define.
42896 2012-08-01 Joseph Myers <joseph@codesourcery.com>
42898 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42899 Remove all definitions.
42900 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42901 <kernel-features.h>.
42902 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42903 (miss_F_GETOWN_EX): Remove all definitions.
42904 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42906 [!__ASSUME_FCNTL64]: Remove conditional code.
42907 [__ASSUME_FCNTL64]: Make code unconditional.
42908 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42909 <kernel-features.h>.
42910 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42911 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42912 (lockf64) [__NR_fcntl64]: Make code unconditional.
42913 (lockf64) [__ASSUME_FCNTL64]: Likewise.
42915 * sysdeps/unix/sysv/linux/kernel-features.h
42916 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42917 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42918 Make code unconditional.
42919 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42920 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42922 [__NR_vfork]: Make code unconditional.
42923 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42924 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42926 [__NR_vfork]: Make code unconditional.
42927 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42928 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42930 2012-08-01 Roland McGrath <roland@hack.frob.com>
42932 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42933 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42935 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42936 Define mkstemp64 as an alias.
42937 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42938 Define mkstemps64 as an alias.
42939 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42940 Define mkostemp64 as an alias.
42941 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42942 Define mkostemps64 as an alias.
42943 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42944 Conditionalize body on this.
42945 * misc/mkostemp64.c: Likewise.
42946 * misc/mkostemps64.c: Likewise.
42947 * misc/mkstemps64.c: Likewise.
42948 * sysdeps/wordsize-64/mkstemp64.c: File removed.
42949 * sysdeps/wordsize-64/mkostemp64.c: File removed.
42950 * sysdeps/wordsize-64/mkostemp.c: File removed.
42951 * sysdeps/wordsize-64/mkstemp.c: File removed.
42952 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42953 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42954 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42955 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42958 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42959 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42960 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42961 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42963 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42964 compat_symbol macros from <shlib-compat.h> rather than the underlying
42965 default_symbol_version and symbol_version macros, so that DEFAULT
42966 lines in shlib-versions are respected.
42967 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42969 2012-08-01 Florian Weimer <fweimer@redhat.com>
42971 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42972 Declare with warn_unused_result.
42973 (setgid, setregid, setegid, setresgid): Likewise.
42974 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42976 * WUR-REPORT: Remove set*id functions.
42978 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
42980 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42982 2012-07-31 Roland McGrath <roland@hack.frob.com>
42985 * include/sys/socket.h (__libc_accept, __libc_accept4):
42986 Add attribute_hidden.
42987 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42989 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42991 * inet/getnetgrent_r.c (setup): Likewise.
42993 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42995 2012-07-31 David S. Miller <davem@davemloft.net>
42997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42999 2012-07-31 Joseph Myers <joseph@codesourcery.com>
43002 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43003 value between 1.0 and 2.0 and smaller part has absolute value less
43005 * math/s_clog10.c (__clog10): Likewise.
43006 * math/s_clog10f.c (__clog10f): Likewise.
43007 * math/s_clog10l.c (__clog10l): Likewise.
43008 * math/s_clogf.c (__clogf): Likewise.
43009 * math/s_clogl.c (__clogl): Likewise.
43010 * math/libm-test.inc (clog_test): Add more tests.
43011 (clog10_test): Likewise.
43012 * sysdeps/i386/fpu/libm-test-ulps: Update.
43013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43015 2012-07-31 Florian Weimer <fweimer@redhat.com>
43017 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43018 Exit with zero in case no suitable GID is found, and write a
43019 message to standard error.
43021 2012-07-30 Roland McGrath <roland@hack.frob.com>
43023 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43025 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43026 (MAXPATHLEN): Removed.
43027 (NOGROUP, NODEV): New macros.
43028 (setbit, clrbit, isset, isclr): New macros.
43029 (howmany, roundup, powerof2): New macros.
43030 (DEV_BSIZE): New macro.
43032 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43033 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43035 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43036 definition on [!__NO_LONG_DOUBLE_MATH].
43038 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43039 PTR_MANGLE and PTR_DEMANGLE.
43041 * socket/accept4.c (accept4): Rename to __libc_accept4.
43042 Define accept4 as a weak alias.
43044 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43045 on [_DIRENT_HAVE_D_TYPE].
43046 * io/ftw.c (ftw_dir): Likewise.
43048 * io/xmknod.c (__xmknod): Don't check PATH for being null.
43050 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43052 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43053 Use the BSD numbers rather than the arbitrary ones we had.
43054 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43055 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43056 (SIGXCPU, SIGXFSZ): New macros.
43059 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43060 initializer on [_LIBC_REENTRANT].
43062 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43063 definitions inside [_POSIX_MAPPED_FILES].
43065 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43067 * dirent/opendir.c: Include <fcntl.h>.
43069 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43070 (__libc_getspecific): Likewise.
43071 (__libc_key_create): Likewise.
43073 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43074 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43075 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43076 (tmpfile64): Define as alias.
43077 * sysdeps/wordsize-64/tmpfile.c: File removed.
43078 * sysdeps/wordsize-64/tmpfile64.c: File removed.
43079 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43080 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43082 * stdio-common/vfscanf.c: Include <stdbool.h>.
43083 * nss/makedb.c: Likewise.
43084 * stdio-common/_i18n_number.h: Likewise.
43085 * argp/argp-help.c: Likewise.
43086 * posix/wordexp.c: Likewise.
43087 * sysdeps/posix/spawni.c: Likewise.
43088 * nss/nss_files/files-initgroups.c: Likewise.
43089 * stdio-common/reg-modifier.c: Include <stdlib.h>.
43090 * nss/nss_files/files-initgroups.c: Likewise.
43091 * nss/nss_db/db-netgrp.c: Likewise.
43092 * nss/nss_db/db-initgroups.c: Likewise.
43093 * io/fchmodat.c: Include <sys/stat.h>.
43095 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43096 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43098 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43101 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43102 Add multiple inclusion protection.
43104 2012-07-27 David S. Miller <davem@davemloft.net>
43106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43108 2012-07-27 Gary Benson <gbenson@redhat.com>
43111 * elf/rtld.c: Include <stap-probe.h>.
43112 (dl_main): Added static probes "init_start" and "init_complete".
43113 * elf/dl-load.c: Include <stap-probe.h>.
43114 (lose): Take new parameter "nsid".
43115 Added static probe "map_failed".
43116 (_dl_map_object_from_fd): Pass namespace id to lose.
43117 Added static probe "map_start".
43118 (open_verify): Pass namespace id to lose.
43119 * elf/dl-open.c: Include <stap-probe.h>.
43120 (dl_open_worker) Added static probes "map_complete", "reloc_start"
43121 and "reloc_complete".
43122 * elf/dl-close.c: Include <stap-probe.h>.
43123 (_dl_close_worker): Added static probes "unmap_start" and
43125 * elf/rtld-debugger-interface.txt: New file documenting the above.
43127 2012-07-26 Roland McGrath <roland@hack.frob.com>
43129 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43130 rather than a string variable.
43131 * sunrpc/rpc_main.c (h_output): Likewise.
43132 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43134 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
43136 * inet/check_native.c: New file.
43138 2012-07-26 Joseph Myers <joseph@codesourcery.com>
43141 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43142 if larger part has absolute value 1.0.
43143 * math/s_clog10.c (__clog10): Likewise.
43144 * math/s_clog10f.c (__clog10f): Likewise.
43145 * math/s_clog10l.c (__clog10l): Likewise.
43146 * math/s_clogf.c (__clogf): Likewise.
43147 * math/s_clogl.c (__clogl): Likewise.
43148 * math/libm-test.inc (clog_test): Add more tests.
43149 (clog10_test): Likewise.
43150 * sysdeps/i386/fpu/libm-test-ulps: Update.
43151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43153 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43154 (pltexit): Likewise.
43155 (La_regs): Likewise.
43156 (La_retval): Likewise.
43157 (int_retval): Likewise.
43158 Update #error for removed macros to refer only to definitions in
43160 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43162 (pltexit): Likewise.
43163 (La_regs): Likewise.
43164 (La_retval): Likewise.
43165 (int_retval): Likewise.
43166 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43168 (pltexit): Likewise.
43169 (La_regs): Likewise.
43170 (La_retval): Likewise.
43171 (int_retval): Likewise.
43172 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43174 (pltexit): Likewise.
43175 (La_regs): Likewise.
43176 (La_retval): Likewise.
43177 (int_retval): Likewise.
43178 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43180 (pltexit): Likewise.
43181 (La_regs): Likewise.
43182 (La_retval): Likewise.
43183 (int_retval): Likewise.
43184 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43186 (pltexit): Likewise.
43187 (La_regs): Likewise.
43188 (La_retval): Likewise.
43189 (int_retval): Likewise.
43190 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43192 (pltexit): Likewise.
43193 (La_regs): Likewise.
43194 (La_retval): Likewise.
43195 (int_retval): Likewise.
43196 * sysdeps/generic/tst-audit.h: Update comment to refer only to
43197 macro definitions in tst-audit.h.
43198 * sysdeps/i386/tst-audit.h: New file.
43199 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43200 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43201 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43202 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43203 * sysdeps/sh/tst-audit.h: Likewise.
43204 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43205 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43206 * sysdeps/x86_64/tst-audit.h: Likewise.
43208 2012-07-26 Andreas Jaeger <aj@suse.de>
43210 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43213 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43214 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43215 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43217 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43218 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43219 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43221 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43224 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43226 (si_call_addr, si_syscall, si_arch): Define new macro.
43227 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43229 (si_call_addr, si_syscall, si_arch): Define new marcro.
43230 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43232 (si_call_addr, si_syscall, si_arch): Define new macro.
43233 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43235 (si_call_addr, si_syscall, si_arch): Define new macro.
43237 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43240 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43241 Change to 2.4.21 where previously 2.4.1.
43242 * sysdeps/unix/sysv/linux/configure: Regenerated.
43243 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43244 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43245 Linux kernel version.
43246 (__ASSUME_STD_AUXV): Remove.
43247 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43249 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43250 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43251 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43252 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43253 (__ASSUME_NETLINK_SUPPORT): Likewise.
43254 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43255 (__no_netlink_support): Remove conditional definition.
43256 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43258 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43259 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43260 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43261 (if_nameindex_ioctl): Remove.
43262 (if_nameindex_netlink): Do not handle __no_netlink_support.
43263 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43265 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43266 Remove conditional code.
43267 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43269 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43271 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43272 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43273 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43275 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43276 [!__ASSUME_STD_AUXV]: Remove conditional code.
43277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43278 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43279 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43281 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43282 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43284 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43286 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43287 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43289 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43291 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43294 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43297 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43298 code unconditional.
43299 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43301 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43303 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43306 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43308 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43311 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43312 code unconditional.
43313 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43315 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43317 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43320 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43321 code unconditional.
43322 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43324 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43326 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43329 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
43331 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43332 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43333 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43334 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43335 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43336 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43337 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43338 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43339 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43340 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43341 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43342 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43343 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43344 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43345 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43346 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43347 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43348 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43349 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43351 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43352 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43353 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43355 2012-07-25 Florian Weimer <fweimer@redhat.com>
43357 * Versions.def: Add GLIBC_2.17.
43358 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43359 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43360 Introduce __libc_secure_getenv.
43361 * stdlib/Versions (2.17): Add secure_getenv
43362 (GLIBC_PRIVATE): Add __libc_secure_getenv.
43363 * stdlib/secure-getenv.c: Rename __secure_getenv to
43364 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
43365 symbol __secure_getenv for GLIBC_2.0.
43366 * stdlib/tst-secure-getenv.c: New.
43367 * stdlib/Makefile (tests): Add testcase.
43368 * manual/startup.texi (Environment Access): Document
43370 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43371 __libc_secure_getenv.
43372 * inet/ruserpass.c (ruserpass): Likewise.
43373 * malloc/mtrace.c (mtrace): Likewise.
43374 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43375 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43376 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43377 * sysdeps/posix/tempname.c: Likewise. Evaluate
43378 HAVE_SECURE_GETENV.
43379 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43380 __secure_getenv to __libc_secure_getenv.
43381 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43388 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43394 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43396 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43397 (struct La_i86_retval): Likewise.
43398 (struct La_x86_64_regs): Likewise.
43399 (struct La_x86_64_retval): Likewise.
43400 (struct La_x32_regs): Likewise.
43401 (struct La_x32_retval): Likewise.
43402 (struct La_ppc32_regs): Likewise.
43403 (struct La_ppc32_retval): Likewise.
43404 (struct La_ppc64_regs): Likewise.
43405 (struct La_ppc64_retval): Likewise.
43406 (struct La_sh_regs): Likewise.
43407 (struct La_sh_retval): Likewise.
43408 (struct La_s390_32_regs): Likewise.
43409 (struct La_s390_32_retval): Likewise.
43410 (struct La_s390_64_regs): Likewise.
43411 (struct La_s390_64_retval): Likewise.
43412 (struct La_sparc32_regs): Likewise.
43413 (struct La_sparc32_retval): Likewise.
43414 (struct La_sparc64_regs): Likewise.
43415 (struct La_sparc64_retval): Likewise.
43416 (struct audit_ifaces): Remove architecture-specific pltenter and
43418 * sysdeps/i386/ldsodefs.h: New file.
43419 * sysdeps/powerpc/ldsodefs.h: Likewise.
43420 * sysdeps/s390/ldsodefs.h: Likewise.
43421 * sysdeps/sh/ldsodefs.h: Likewise.
43422 * sysdeps/sparc/ldsodefs.h: Likewise.
43423 * sysdeps/x86_64/ldsodefs.h: Likewise.
43425 2012-07-25 Marek Polacek <polacek@redhat.com>
43428 * math/libm-test.inc (yn_test): Add another test.
43429 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43430 to ERANGE when the result is +-Inf.
43431 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43432 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43433 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43434 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43436 2012-07-24 Joseph Myers <joseph@codesourcery.com>
43438 * conform/data/time.h-data (NULL): Use macro-constant. Require
43440 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
43442 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
43444 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
43446 * configure.in <sysdeps resolving>: Correct printing
43448 * configure: Regenerate.
43450 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
43452 * math/w_ilogb.c: Include <limits.h>.
43453 * math/w_ilogbl.c: Likewise.
43455 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43457 * manual/lang.texi (__va_copy): Document primarily as ISO C99
43458 va_copy. Document allowing for unavailable va_copy only as
43459 pre-C99 compatibility.
43460 * manual/string.texi (Copying and Concatenation): Use va_copy
43461 instead of __va_copy in concat example.
43463 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
43465 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43466 (__sendto): Use create_address_port. Initialize APORT and deallocate
43469 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43470 with O_NOLINK passed to __file_name_lookup.
43472 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43473 with O_NOLINK passed to __file_name_lookup.
43475 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43476 negative N or less than NGIDS.
43478 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43479 type to string_t. Set ERANGE as errno and return it if NAME is not big
43480 enough. Use memcpy instead of strncpy.
43482 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43484 * elf/Makefile (check-data): Remove.
43485 (localplt.data): New vpath directive.
43486 ($(objpfx)check-localplt.out): Use localplt.data from vpath
43487 instead of $(check-data).
43488 * scripts/data/localplt-generic.data: Move to ...
43489 * sysdeps/generic/localplt.data: ... here.
43490 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43491 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43492 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43495 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43498 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43501 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43504 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43507 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43511 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43513 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43514 PPC32 and PPC64 files.
43515 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43516 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43518 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43520 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43521 __makecontext_ret to ...
43522 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43523 ... here and call exit if uc_link is NULL. New file.
43524 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43525 __makecontext_ret.S.
43526 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43527 __makecontext_ret to ...
43528 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43529 ... here and call exit if uc_link is NULL. New file.
43530 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43531 __makecontext_ret.S.
43533 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43535 * elf/elf.h (R_390_IRELATIVE): New definition.
43536 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43537 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
43538 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43539 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43540 (elf_machine_lazy_rel): Likewise.
43541 * sysdeps/s390/dl-irel.h: New file.
43542 * sysdeps/s390/s390-64/memcpy.S: New asm code.
43543 * sysdeps/s390/s390-64/memset.S: New asm code.
43544 * sysdeps/s390/s390-64/memcmp.S: New asm code.
43545 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43546 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43547 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43548 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43549 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43550 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43551 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43552 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43553 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43554 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43555 * sysdeps/s390/s390-32/memcpy.S: New asm code.
43556 * sysdeps/s390/s390-32/memset.S: New asm code.
43557 * sysdeps/s390/s390-32/memcmp.S: New asm code.
43559 2012-07-17 Marek Polacek <polacek@redhat.com>
43562 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43563 * sysdeps/s390/s390-64/configure.in: Likewise.
43564 * sysdeps/sparc/configure.in: Likewise.
43565 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43566 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43567 * sysdeps/i386/configure.in: Likewise.
43568 * sysdeps/x86_64/configure.in: Likewise.
43569 * sysdeps/sh/configure.in: Likewise.
43570 * sysdeps/s390/s390-32/configure: Regenerated.
43571 * sysdeps/s390/s390-64/configure: Likewise.
43572 * sysdeps/x86_64/configure: Likewise.
43573 * sysdeps/sh/configure: Likewise.
43574 * sysdeps/powerpc/powerpc64/configure: Likewise.
43575 * sysdeps/powerpc/powerpc32/configure: Likewise.
43576 * sysdeps/sparc/configure: Likwise.
43577 * sysdeps/i386/configure: Likewise.
43579 * elf/dl-open.c: Comment fixes.
43581 2012-07-17 Joseph Myers <joseph@codesourcery.com>
43583 * Makefile [CXX] (check-data): Remove.
43584 [CXX] (c++-types.data): New vpath directive.
43585 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43586 vpath. Do not allow for C++ type data being missing.
43587 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43588 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43589 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43590 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43591 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43592 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43593 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43596 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43599 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43602 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43605 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43608 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43611 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43614 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43617 * elf/tls-macros.h (TLS_LE): Move architecture-specific
43618 definitions to architecture-specific files.
43619 (TLS_IE): Likewise.
43620 (TLS_LD): Likewise.
43621 (TLS_GD): Likewise.
43622 * sysdeps/i386/tls-macros.h: New file.
43623 * sysdeps/powerpc/tls-macros.h: Likewise.
43624 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43625 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43626 * sysdeps/sh/tls-macros.h: Likewise.
43627 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43628 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43629 * sysdeps/x86_64/tls-macros.h: Likewise.
43631 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43633 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43634 zero value for regular exit case.
43636 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43637 (__start_context): Preserve zero value for regular exit case.
43639 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43640 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43642 * manual/setjmp.texi (setcontext): Clarify normal process
43643 termination when uc_link is the null pointer.
43644 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43647 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
43649 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43650 preprocessor. Test for each exception mask separately.
43652 2012-07-16 Andreas Jaeger <aj@suse.de>
43654 * po/ru.po: Update from translation team.
43656 2012-07-15 Joseph Myers <joseph@codesourcery.com>
43658 * conform/data/string.h-data (NULL): Use macro-constant. Require
43660 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43661 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43662 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43663 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43664 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43666 2012-07-13 Andreas Jaeger <aj@suse.de>
43668 * po/fr.po: Update from translation team.
43670 2012-07-12 Marek Polacek <polacek@redhat.com>
43673 * math/libm-test.inc (yn_test): Add test for BZ #14173.
43674 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43677 2012-07-12 Joseph Myers <joseph@codesourcery.com>
43680 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43681 Change to 2.4.1 where previously 2.4.0.
43682 * sysdeps/unix/sysv/linux/configure: Regenerated.
43683 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43684 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43686 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43687 (__ASSUME_AT_CLKTCK): Remove.
43688 (__ASSUME_AT_PAGESIZE): Likewise.
43689 (__ASSUME_AT_XID): Likewise.
43690 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43691 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43692 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43694 (HAVE_AUX_PAGESIZE): Likewise.
43695 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43696 [__ASSUME_AT_CLKTCK]: Make code unconditional.
43697 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43699 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
43702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43703 the temporary buffer used to invoke __gethostbyname2_r,
43704 __gethostbyaddr_r and gethostbyname4_r to make room for struct
43705 host_data / struct gaih_addrtuple.
43706 * resolv/nss_dns/dns-host.c (global scope): Move definition of
43707 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43708 header file nss/nsswitch.h.
43709 * nss/nsswitch.h (global scope): Add definition of implementation
43710 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43711 resolv/nss_dns/dns-host.c).
43713 2012-07-11 Andreas Jaeger <aj@suse.de>
43715 * po/fr.po: Update from translation team.
43717 * po/sv.po: Update from translation team
43718 * po/fr.po: Another update from translation team.
43720 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43722 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43723 for subnormals or multiply small sinh result by itself.
43724 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43727 2012-07-11 David S. Miller <davem@davemloft.net>
43729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43731 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
43734 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43735 (INTERNAL_MARK): Shift it here.
43737 2012-07-10 Marek Polacek <polacek@redhat.com>
43740 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
43741 libc_cv_asm_global_directive with .globl.
43742 * configure: Regenerated.
43743 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43745 * sysdeps/i386/configure: Regenerated.
43746 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43748 * sysdeps/x86_64/configure: Regenerated.
43749 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43750 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43751 * elf/tst-unique2mod2.c: Likewise.
43752 * elf/tst-unique2mod1.c: Likewise.
43753 * elf/tst-unique1mod2.c: Likewise.
43754 * elf/tst-unique1mod1.c: Likewise.
43755 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43756 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43757 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43758 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43759 * sysdeps/mach/sysdep.h: Likewise.
43760 * sysdeps/i386/sysdep.h: Likewise.
43761 * sysdeps/i386/i386-mcount.S: Likewise.
43762 * sysdeps/x86_64/_mcount.S: Likewise.
43763 * sysdeps/x86_64/sysdep.h: Likewise.
43764 * sysdeps/sh/_mcount.S: Likewise.
43765 * sysdeps/sh/sysdep.h: Likewise.
43766 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43767 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43768 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43769 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43770 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43771 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43772 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43773 * locale/localeinfo.h: Likewise.
43774 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43775 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43777 2012-07-09 Roland McGrath <roland@hack.frob.com>
43780 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43782 * manual/message.texi (The Uniforum approach): Likewise.
43783 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43784 (glibc iconv Implementation): Likewise.
43786 2012-07-09 Joseph Myers <joseph@codesourcery.com>
43789 * math/s_clog.c (__clog): Avoid scaling a value down where that
43790 could result in underflow.
43791 * math/s_clog10.c (__clog10): Likewise.
43792 * math/s_clog10f.c (__clog10f): Likewise.
43793 * math/s_clog10l.c (__clog10l): Likewise.
43794 * math/s_clogf.c (__clogf): Likewise.
43795 * math/s_clogl.c (__clogl): Likewise.
43796 * math/libm-test.inc (clog_test): Add more tests.
43797 (clog10_test): Likewise.
43798 * sysdeps/i386/fpu/libm-test-ulps: Update.
43799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43801 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
43804 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43805 by 7 not 8 to examine high bit of fractional part.
43808 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43809 for call to __mcount_internal.
43810 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43811 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43812 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43814 2012-07-06 Joseph Myers <joseph@codesourcery.com>
43817 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43818 approximation for values within 0x1p-13f of an odd multiple of
43820 * math/libm-test.inc (tan_test): Do not allow spurious underflow
43821 exception. Add more tests.
43822 * sysdeps/i386/fpu/libm-test-ulps: Update.
43825 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43826 inputs and return -1 for them. Do not check for +Inf in case not
43827 reachable for +Inf.
43828 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43829 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43830 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43831 and return -1 for them. Do not check for +Inf in case not
43832 reachable for +Inf.
43833 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43835 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43836 and return -1 for them. Do not check for +Inf in case not
43837 reachable for +Inf.
43838 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
43839 spurious underflow.
43840 * sysdeps/i386/fpu/libm-test-ulps: Update.
43841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43843 2012-07-06 Mike Frysinger <vapier@gentoo.org>
43845 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43847 2012-07-05 Joseph Myers <joseph@codesourcery.com>
43851 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43852 could result in spurious underflow. Scale down values above
43853 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43854 * math/s_csqrtf.c (__csqrtf): Likewise.
43855 * math/s_csqrtl.c (__csqrtl): Likewise.
43856 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
43857 spurious underflow.
43858 * sysdeps/i386/fpu/libm-test-ulps: Update.
43859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43861 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
43863 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43865 * catgets/xopen-msg.awk: New file.
43866 * catgets/xopen-msg.sed: Removed.
43868 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43870 * intl/po2test.awk: New file.
43871 * intl/po2test.sed: Removed.
43873 2012-07-04 Joseph Myers <joseph@codesourcery.com>
43876 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43877 or multiply small sinh result by itself.
43878 * math/s_ctanf.c (__ctanf): Likewise.
43879 * math/s_ctanh.c (__ctanh): Likewise.
43880 * math/s_ctanhf.c (__ctanhf): Likewise.
43881 * math/s_ctanhl.c (__ctanhl): Likewise.
43882 * math/s_ctanl.c (__ctanl): Likewise.
43883 * math/libm-test.inc (ctan_test_tonearest): New function.
43884 (ctan_test_towardzero): Likewise.
43885 (ctan_test_downward): Likewise.
43886 (ctan_test_upward): Likewise.
43887 (ctanh_test_tonearest): Likewise.
43888 (ctanh_test_towardzero): Likewise.
43889 (ctanh_test_downward): Likewise.
43890 (ctanh_test_upward): Likewise.
43891 (main): Call these new functions.
43892 * sysdeps/i386/fpu/libm-test-ulps: Update.
43893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43895 2012-07-03 Mike Frysinger <vapier@gentoo.org>
43897 * .gitignore: Delete /ports entry.
43899 2012-07-03 Andreas Jaeger <aj@suse.de>
43901 * po/bg.po: Update from translation team.
43902 * po/cs.po: Likewise.
43903 * po/de.po: Likewise.
43904 * po/hr.po: Likewise.
43905 * po/nl.pl: Likewise.
43906 * po/pl.po: Likewise.
43907 * po/vi.po: Likewise.
43909 2012-07-03 Joseph Myers <joseph@codesourcery.com>
43911 * Makeconfig [!+link] (+link-before-libc): New variable.
43912 [!+link] (+link-after-libc): Likewise.
43913 [!+link] (+link-tests): Likewise.
43914 [!+link] (+link): Define in terms of $(+link-before-libc) and
43915 $(+link-after-libc).
43916 [!+link-static] (+link-static-before-libc): New variable.
43917 [!+link-static] (+link-static-after-libc): Likewise.
43918 [!+link-static] (+link-static-tests): Likewise.
43919 [!+link-static] (+link-static): Define in terms of
43920 $(+link-static-before-libc) and $(+link-static-after-libc).
43921 [build-shared] (link-libc-before-gnulib): New variable.
43922 [build-shared] (link-libc-tests): Likewise.
43923 [build-shared] (link-libc): Define in terms of
43924 $(link-libc-before-gnulib).
43925 [!build-shared] (link-libc-tests): New variable.
43926 (link-libc-static-tests): New variable.
43927 [!gnulib] (gnulib-arch): New variable.
43928 [!gnulib] (gnulib-tests): Likewise.
43929 [!gnulib] (static-gnulib-arch): Likewise.
43930 [!gnulib] (static-gnulib-tests): Likewise.
43931 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
43932 Define with "=" instead of ":=".
43933 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
43934 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
43935 * Rules (binaries-all-notests): New variable.
43936 (binaries-all-tests): Likewise.
43937 (binaries-static-notests): Likewise.
43938 (binaries-static-tests): Likewise.
43939 (binaries-all): Define using $(binaries-all-notests) and
43940 $(binaries-all-tests).
43941 (binaries-static): Define using $(binaries-static-notests) and
43942 $(binaries-static-tests).
43943 (binaries-shared-tests): New variable.
43944 (binaries-shared-notests): Likewise.
43945 (binaries-shared): Remove variable.
43946 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43947 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43948 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43949 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43950 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43951 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43952 * elf/Makefile (sln-modules): New variable.
43953 (extra-objs): Add $(sln-modules:=.o).
43954 (ldconfig-modules): Add static-stubs.
43955 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43956 * elf/static-stubs.c: New file.
43959 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43960 by 7 not 8 to examine high bit of fractional part. Use volatile
43961 variables when splitting into final array of floats if
43962 __FLT_EVAL_METHOD__ != 0.
43963 * math/libm-test.inc (cos_test): Add another test.
43964 (sin_test): Likewise.
43965 * sysdeps/i386/fpu/libm-test-ulps: Update.
43968 * math/libm-test.inc (cosh_test): Add more tests.
43970 * version.h (RELEASE): Set to "development".
43971 (VERSION): Set to "2.16.90".
43973 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
43975 * NEWS: Update copyright. Remove last-updated date.
43976 Mention math library bug fixes and timezone data changes.
43977 * README: Mention GNU/Hurd, x32, and HPPA support status.
43979 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
43981 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43983 2012-06-27 Andreas Jaeger <aj@suse.de>
43985 * manual/contrib.texi (Contributors): Add Samuel Thibault.
43987 2012-06-25 Andreas Jaeger <aj@suse.de>
43989 * sysdeps/s390/fpu/libm-test-ulps: Update.
43991 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
43992 Thomas Schwinge <thomas@codesourcery.com>
43994 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43995 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43996 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43999 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
44001 * sysdeps/mach/start.c: Remove file.
44002 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44003 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44004 * sysdeps/sh/init-first.c: Likewise.
44006 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44007 registers for frame unwinding purposes, add CFI directives.
44008 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44009 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44010 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44013 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44014 __fortify_fail returning.
44015 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44017 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44018 sysdeps/sh/____longjmp_chk.S.
44019 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44020 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44021 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44022 (gen-as-const-headers): Append sigaltstack-offsets.sym.
44024 * sysdeps/sh/abort-instr.h: New file.
44025 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44026 process in case exit returns.
44028 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44029 initialize the GOT register before use.
44031 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44032 calculation of ARGC > 4.
44034 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44035 meaningful names to some local labels.
44037 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44038 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44040 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44041 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44042 (__arch_compare_and_exchange_val_16_acq): Likewise.
44043 (__arch_compare_and_exchange_val_32_acq): Likewise.
44044 (atomic_exchange_and_add): Fix gUSA sequence.
44045 (atomic_add): Likewise.
44046 (atomic_add_negative): Likewise.
44047 (atomic_add_zero): Likewise.
44048 (atomic_bit_test_set): Likewise.
44050 2012-06-22 Andreas Schwab <schwab@redhat.com>
44053 * include/link.h (struct link_map): Add l_free_initfini.
44054 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44056 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44057 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44058 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44061 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
44063 * configure.in: Use AC_LANG_SOURCE.
44064 * configure: Regenerate.
44066 2012-06-22 Roland McGrath <roland@hack.frob.com>
44068 * configure.in (libc_cv_localstatedir): New substituted variable.
44069 * configure: Regenerated.
44070 * config.make.in (localstatedir): New variable, substituted from
44071 libc_cv_localstatedir.
44072 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44073 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44074 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44075 * sysdeps/gnu/configure: Regenerated.
44077 2012-06-21 Jeff Law <law@redhat.com>
44080 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44081 free. Simplify list management for _LIBC case.
44083 2012-06-21 Joseph Myers <joseph@codesourcery.com>
44086 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44087 Clear sign bit of 64-bit integer value before comparing against
44090 * sysdeps/mach/configure: Regenerated.
44092 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
44095 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44097 2012-06-21 Jeff Law <law@redhat.com>
44100 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
44101 uint16_t for elements in the "seen" array to avoid char overflows.
44102 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44103 * elf/dl-open.c (dl_open_worker): Likewise.
44105 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
44107 * scripts/list-sources.sh: Scan PORTS for translations.
44108 * po/libc.pot: Regenerated.
44110 2012-06-21 Andreas Jaeger <aj@suse.de>
44113 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44115 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44116 * bits/byteswap-16.h (__bswap_16): Likewise.
44117 * bits/byteswap.h (__bswap_constant_16): Likewise.
44119 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
44122 * sysdeps/i386/fpu_control.h: Removed.
44123 * sysdeps/x86_64/fpu_control.h: Moved to ...
44124 * sysdeps/x86/fpu_control.h: Here.
44126 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44127 (_FPU_SETCW): Likewise.
44129 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
44132 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44133 * sysdeps/x86/fpu/bits/mathinline.h: This.
44134 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44138 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44139 functions if __x86_64__ is defined.
44141 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
44143 * string/endian.h: Add !__ASSEMBLER__ condition for including
44144 conversion interfaces.
44146 2012-06-15 Joseph Myers <joseph@codesourcery.com>
44149 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44150 of ABS(x) in calculating zero to negative powers other than odd
44152 * math/libm-test.inc (pow_test): Add more tests.
44154 2012-06-15 Andreas Jaeger <aj@suse.de>
44156 * manual/contrib.texi (Contributors): Update entry of Liubov
44157 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44160 2012-06-15 Cyril Hrubis <metan@ucw.cz>
44162 * string/string.h: Add __wur to GNU version of strerror_r.
44164 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
44167 * string/Makefile (tests): Add tst-strtok_r.
44168 * string/tst-strtok_r.c: New file.
44169 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44170 RAX_LP/RDX_LP on SAVE_PTR.
44172 2012-06-14 Roland McGrath <roland@hack.frob.com>
44174 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44176 2012-06-14 Joseph Myers <joseph@codesourcery.com>
44178 * libm_test.inc (csqrt_test): Allow more spurious underflow
44180 (j0_test): Likewise.
44181 (j1_test): Likewise.
44182 (y0_test): Likewise.
44183 (y1_test): Likewise.
44185 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
44187 * po/Makefile (libc.pot): Use UTF-8 charset.
44189 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
44192 Suppress sign-conversion warning from FD_SET.
44193 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44194 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44195 not unsigned long int.
44196 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44198 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
44202 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44203 __extern_always_inline instead of __extern_inline.
44204 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44205 (__signbit): Likewise.
44206 (__signbitl): Support C++ namespace.
44207 (lrintf): New inline function.
44209 (llrintf): Likewise.
44210 (llrint): Likewise.
44220 (floorf): Likewise.
44221 (nearbyint): Likewise.
44222 (nearbyintf): Likewise.
44224 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
44226 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44227 non-default versions.
44229 2012-06-11 Roland McGrath <roland@hack.frob.com>
44232 * manual/argp.texi (Argp): Reword argp_parse description slightly.
44234 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
44236 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44237 (FE_UPWARD, FE_DOWNWARD): Don't define.
44238 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44239 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44241 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44243 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44244 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44246 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44248 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44250 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44251 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44253 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
44256 * sysdeps/i386/fpu/bits/fenv.h: Removed.
44257 * sysdeps/i386/fpu/Implies: New file.
44258 * sysdeps/x86_64/fpu/Implies: Likewise.
44259 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44260 * sysdeps/x86/fpu/bits/fenv.h: This.
44262 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44265 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
44268 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44269 character 0xffff that matches the last element of the
44272 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44274 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44277 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44279 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44280 values higher than 25.6283.
44282 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44284 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44285 subnormal exponent extraction and add some __builtin_expect.
44286 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44287 Fix for subnormal mantissa calculation.
44289 2012-06-04 Mike Frysinger <vapier@gentoo.org>
44291 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44292 cpu2 is -1 and errno is not ENOSYS.
44294 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
44297 * sysdeps/i386/i486/bits/string.h: Renamed to ...
44298 * sysdeps/x86/bits/string.h: This.
44299 * sysdeps/x86_64/bits/string.h: Removed.
44301 * sysdeps/i386/i486/bits/string.h: Define inline functions only
44302 if not compiling for x86-64, but compiling for >= i486.
44304 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44305 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44307 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44308 New macro from Linux kernel 3.4.0.
44309 (FP_XSTATE_MAGIC2): Likewise.
44310 (FP_XSTATE_MAGIC2_SIZE): Likewise.
44311 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44312 (struct _fpx_sw_bytes): New struct.
44313 (struct _xsave_hdr): Likewise.
44314 (struct _ymmh_state): Likewise.
44315 (struct _xstate): Likewise.
44317 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44318 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44319 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44320 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44321 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44322 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44324 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44325 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44326 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44327 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44328 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44329 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44331 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44334 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44335 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44336 (sysdep_headers): Include sys/platform/ppc.h.
44337 * sysdeps/powerpc/test-gettimebase.c: Test for
44338 __ppc_get_timebase() to catch future ISA opcode/insn changes.
44339 * manual/Makefile (appendices): Include platform.texi.
44340 * manual/contrib.texi (Contributors): Update @node pointers.
44341 * manual/maint.texi (Maintenance): Likewise.
44342 (Platform): New node.
44343 * manual/platform.texi: New file. Document the new features.
44345 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44346 Jakub Jelinek <jakub@redhat.com>
44349 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44350 where __builtin_expect is unavailable.
44352 2012-06-03 David S. Miller <davem@davemloft.net>
44354 * stdlib/longlong.h: Updated from GCC.
44356 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
44359 * sysdeps/powerpc/powerpc32/mcount.c: New file.
44360 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44363 (GLIBC_2.16): Likewise.
44365 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44367 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44369 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44372 (default-abi): New variable.
44373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44374 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44376 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44378 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44380 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44383 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44384 definition. Document in comment.
44386 2012-06-01 David S. Miller <davem@davemloft.net>
44388 * stdlib/longlong.h: Updated from GCC.
44390 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44393 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44394 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44395 sys/debugreg.h sys/io.h here.
44396 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44397 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44399 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44400 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44401 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44402 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44403 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44404 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44406 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44407 Define only if __x86_64__ is defined.
44409 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44412 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44413 Use int64_t for variable i.
44414 * math/libm-test.inc (fmod_test): Add more tests.
44416 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44417 z computation is not scheduled after fetestexcept.
44418 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44419 Use math_force_eval instead of asm to ensure calculation scheduled
44420 before exception test.
44421 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44422 Ensure a1 + u.d computation is not scheduled after fetestexcept.
44424 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
44426 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44427 computation is not scheduled after fetestexcept.
44429 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44432 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44433 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44435 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44437 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44438 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44440 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44443 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44445 (__WCHAR_MIN): Support __WORDSIZE == 64.
44446 (__WCHAR_MAX): Likewise.
44448 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44449 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44452 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44453 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44456 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44457 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44459 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44460 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44462 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44463 Defined to 1 if __x86_64__ isn't defined.
44464 (_STAT_VER_LINUX_OLD): New.
44465 (st_atime): Remove duplicate.
44466 (st_mtime): Likewise.
44467 (st_ctime): Likewise.
44469 2012-05-31 David S. Miller <davem@davemloft.net>
44471 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44474 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
44476 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44480 * elf/dl-reloc.c: Include <_itoa.h>.
44481 (_dl_reloc_bad_type): Remove use of INTUSE.
44482 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44483 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44484 * stdio-common/psiginfo.c (psiginfo): Likewise.
44485 * stdio-common/psignal.c (psignal): Likewise.
44486 * string/strsignal.c (strsignal): Likewise.
44487 * include/signal.h (_sys_siglist): Declare hidden proto.
44488 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
44489 INTVARDEF with libc_hidden_data_def.
44490 * stdio-common/itoa-udigits.c: Likewise.
44491 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44492 (_itoa_lower_digits_internal): Remove declaration.
44493 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44494 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44495 (_sys_sigabbrev_internal): Remove aliases.
44496 (_sys_siglist): Define hidden alias.
44498 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
44500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44503 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44506 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44507 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44509 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44510 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44511 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44512 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44513 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44514 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44516 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44517 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44518 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44520 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44528 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44529 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44530 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44532 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44533 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44534 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44535 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44536 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44537 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44539 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44540 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44542 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44543 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44545 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44546 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44547 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44549 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44550 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44552 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44554 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44555 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44556 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44558 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44560 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44562 2012-05-31 Joseph Myers <joseph@codesourcery.com>
44564 * math/math.h (M_El): Use two more decimal places.
44565 (M_LOG2El): Likewise.
44566 (M_LOG10El): Likewise.
44567 (M_LN2l): Likewise.
44568 (M_LN10l): Likewise.
44570 (M_PI_2l): Likewise.
44571 (M_PI_4l): Likewise.
44572 (M_1_PIl): Likewise.
44573 (M_2_PIl): Likewise.
44574 (M_2_SQRTPIl): Likewise.
44575 (M_SQRT2l): Likewise.
44576 (M_SQRT1_2l): Likewise.
44578 2012-05-31 David S. Miller <davem@davemloft.net>
44580 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44581 values between float registers.
44582 * sysdeps/sparc/sparc64/memset.S: Likewise.
44583 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44585 2012-05-31 Mike Frysinger <vapier@gentoo.org>
44587 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44588 -D_FORTIFY_SOURCE=1.
44589 (CPPFLAGS-tst-longjmp_chk.c): Define.
44590 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44591 (CPPFLAGS-tst-longjmp_chk2.c): Define.
44592 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44593 CFLAGS-tst-wchar-h.c.
44595 2012-05-31 Marek Polacek <polacek@redhat.com>
44598 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44599 __endmntent_internal): Remove declaration.
44600 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44601 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44602 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44604 2012-05-30 David S. Miller <davem@davemloft.net>
44606 * sysdeps/sparc/sparc32/soft-fp/q_util.c
44607 (___Q_simulate_exceptions): Use real FP ops rather than writing
44609 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44612 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44615 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44616 * sysdeps/x86/bits/xtitypes.h: This.
44618 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44619 * sysdeps/x86/bits/wordsize.h: This.
44621 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44622 * sysdeps/x86/bits/huge_vall.h: This.
44624 * sysdeps/i386/bits/select.h: Removed.
44625 * sysdeps/x86_64/bits/select.h: Renamed to ...
44626 * sysdeps/x86/bits/select.h: This.
44628 * sysdeps/i386/bits/setjmp.h: Removed.
44629 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44630 * sysdeps/x86/bits/setjmp.h: This.
44632 * sysdeps/i386/bits/mathdef.h: Removed.
44633 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44634 * sysdeps/x86/bits/mathdef.h: This.
44636 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
44639 * include/sys/socket.h (__connect_internal)
44640 (__libc_sa_len_internal): Remove declaration.
44641 (__connect, __libc_sa_len): Declare hidden_proto.
44642 (SA_LEN): Remove use of INTUSE.
44643 * socket/connect.c: Add libc_hidden_def.
44644 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44645 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44646 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44648 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44649 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44650 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44651 of adding _internal alias.
44653 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44656 * sysdeps/i386/bits/link.h: Removed.
44657 * sysdeps/i386/bits/linkmap.h: Likewise.
44658 * sysdeps/x86_64/bits/link.h: Renamed to ...
44659 * sysdeps/x86/bits/link.h: This.
44660 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44661 * sysdeps/x86/bits/linkmap.h: This.
44663 * sysdeps/i386/bits/endian.h: Removed.
44664 * sysdeps/x86_64/bits/endian.h: Renamed to ...
44665 * sysdeps/x86/bits/endian.h: This.
44667 * sysdeps/i386/bits/byteswap.h: Removed.
44668 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44669 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44670 * sysdeps/x86/bits/byteswap.h: This.
44671 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44672 * sysdeps/x86/bits/byteswap-16.h: This.
44673 * sysdeps/i386/Implies: Add x86.
44674 * sysdeps/x86_64/Implies: Likewise.
44676 2012-05-30 David S. Miller <davem@davemloft.net>
44678 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44679 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44680 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44681 (FP_TRAPPING_EXCEPTIONS): Define.
44682 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44683 (FP_TRAPPING_EXCEPTIONS): Define.
44684 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44685 subnormals only when inexact has been signalled or underflow
44686 exceptions are enabled.
44687 (_FP_PACK_CANONICAL): Likewise.
44689 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44692 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44693 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44695 2012-05-30 Richard Henderson <rth@twiddle.net>
44697 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44698 with #ifndef NOT_IN_libc.
44700 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
44701 marked to avoid plt entry.
44703 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44706 * Makeconfig (default-abi): New macro.
44707 (abi-includes): Likewise.
44708 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
44709 $(abi-$(default-abi)-lib-soname) for soname if defined.
44710 ($(common-objpfx)gnu/lib-names.stmp): Generate from
44712 * Makefile (installed-stubs): Likewise.
44713 * include/stubs-biarch.h: Removed.
44714 * scripts/lib-names.awk: Only handle one library at a time.
44715 * scripts/soversions.awk: Remove WORDSIZE support.
44716 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44718 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44720 (syscall-list-default-condition): Likewise.
44721 (syscall-list-default-condition): Likewise.
44722 (syscall-list-includes): Likewise.
44723 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44724 syscall-list-* with abi-*. Handle undefined abi-variants.
44725 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44726 * sysdeps/unix/sysv/linux/i386/Implies: New file.
44727 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44728 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44729 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44730 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44732 (syscall-list-32-options): Likewise.
44733 (syscall-list-32-condition): Likewise.
44734 (syscall-list-64-options): Likewise.
44735 (syscall-list-64-condition): Likewise.
44736 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44738 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44741 (abi-64-ld-soname): New macro.
44742 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44743 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44746 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44747 * sysdeps/x86_64/x32/shlib-versions: Likewise.
44749 2012-05-30 Joseph Myers <joseph@codesourcery.com>
44751 * sysdeps/unix/sysv/linux/kernel-features.h
44752 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44753 * sysdeps/unix/sysv/linux/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/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.
44765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44766 include <kernel-features.h>.
44767 [!__NR_ftruncate64]: Remove conditional code.
44768 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44769 [__NR_ftruncate64]: Make code unconditional.
44770 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44772 include <kernel-features.h>.
44773 [!__NR_ftruncate64]: Remove conditional code.
44774 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44775 [__NR_ftruncate64]: Make code unconditional.
44776 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44778 * configure.in (libc_cv_fpie): Weaken to a compile test using
44779 LIBC_TRY_CC_OPTION.
44780 * configure: Regenerated.
44782 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44797 2012-05-27 David S. Miller <davem@davemloft.net>
44799 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44801 (__Q_simulate_exceptions): Return void. Change to simulate
44802 exceptions by writing into the %fsr.
44803 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44804 (__Qp_handle_exceptions): Likewise.
44806 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44807 __Qp_handle_exceptions.
44808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44809 __Qp_handle_exceptions.
44810 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44811 as unused and give dummy FP_RND_NEAREST initializer.
44812 (FP_INHIBIT_RESULTS): Define.
44813 (___Q_simulate_exceptions): Update declaration.
44814 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44816 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44817 as unused and give dummy FP_RND_NEAREST initializer.
44818 (__Qp_handle_exceptions): Update declaration.
44819 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44822 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
44824 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44825 the temporary FPU control word.
44826 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44827 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44828 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44829 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44830 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44831 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44832 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44833 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44834 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44835 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44836 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44838 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44840 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44843 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
44845 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44846 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44847 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44848 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44850 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44851 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44854 2012-05-27 Ulrich Drepper <drepper@gmail.com>
44856 * po/h.po: Update from translation team.
44858 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
44860 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44862 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44863 handling of denormals.
44864 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44865 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44866 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44867 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44868 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44869 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44870 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44873 2012-05-26 Marek Polacek <polacek@redhat.com>
44876 * math/libm-test.inc (fma_test): Don't always expect underflow
44879 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44882 * elf/tst-execstack.c: Include stackinfo.h.
44883 (do_test): Adjust test case to ensure that pthread_getattr_np
44884 behaviour remains the same after marking stack executable.
44886 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44888 * sysdeps/unix/sysv/linux/kernel-features.h
44889 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44890 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44892 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44893 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44894 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44896 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44897 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44899 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
44901 * configure.in: Define the default includes to being none.
44902 * configure: Regenerated.
44904 2012-05-25 Roland McGrath <roland@hack.frob.com>
44906 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44907 * sysdeps/x86_64/setjmp.S: Likewise.
44908 * sysdeps/i386/bsd-setjmp.S: Likewise.
44909 * sysdeps/i386/bsd-_setjmp.S: Likewise.
44910 * sysdeps/i386/setjmp.S: Likewise.
44911 * sysdeps/i386/__longjmp.S: Likewise.
44912 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44913 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44915 * include/stap-probe.h: New file.
44916 * configure.in: Handle --enable-systemtap.
44917 * configure: Regenerated.
44918 * config.h.in (USE_STAP_PROBE): New #undef.
44919 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44920 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44921 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44923 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44926 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44927 to 2.4.0 where earlier.
44928 * sysdeps/unix/sysv/linux/configure: Regenerated.
44929 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44930 <kernel-features.h>.
44931 [__ASSUME_32BITUIDS]: Make code unconditional.
44932 [!__ASSUME_32BITUIDS]: Remove conditional code.
44933 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44934 <kernel-features.h>.
44935 [__ASSUME_32BITUIDS]: Make code unconditional.
44936 [!__ASSUME_32BITUIDS]: Remove conditional code.
44937 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44938 [__ASSUME_32BITUIDS]: Make code unconditional.
44939 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44940 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.c: Do not include
44969 <kernel-features.h>.
44970 [__ASSUME_32BITUIDS]: Make code unconditional.
44971 [!__ASSUME_32BITUIDS]: Remove conditional code.
44972 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44973 <kernel-features.h>.
44974 [__ASSUME_32BITUIDS]: Make code unconditional.
44975 [!__ASSUME_32BITUIDS]: Remove conditional code.
44976 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44977 <kernel-features.h>.
44978 [__ASSUME_32BITUIDS]: Make code unconditional.
44979 [!__ASSUME_32BITUIDS]: Remove conditional code.
44980 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44981 <kernel-features.h>.
44982 [__NR_setresgid] (__setresgid): Do not declare.
44983 [__ASSUME_32BITUIDS]: Make code unconditional.
44984 [!__ASSUME_32BITUIDS]: Remove conditional code.
44985 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44986 <kernel-features.h>.
44987 [__NR_setresuid] (__setresuid): Do not declare.
44988 [__ASSUME_32BITUIDS]: Make code unconditional.
44989 [!__ASSUME_32BITUIDS]: Remove conditional code.
44990 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/i386/setreuid.c: Do not include
45019 <kernel-features.h>.
45020 [__ASSUME_32BITUIDS]: Make code unconditional.
45021 [!__ASSUME_32BITUIDS]: Remove conditional code.
45022 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45023 <kernel-features.h>.
45024 [__ASSUME_32BITUIDS]: Make code unconditional.
45025 [!__ASSUME_32BITUIDS]: Remove conditional code.
45026 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45027 <kernel-features.h>.
45028 [__ASSUME_32BITUIDS]: Make code unconditional.
45029 [!__ASSUME_32BITUIDS]: Remove conditional code.
45030 * sysdeps/unix/sysv/linux/kernel-features.h
45031 (__ASSUME_SETRESUID_SYSCALL): Remove.
45032 (__ASSUME_SETRESGID_SYSCALL): Likewise.
45033 (__ASSUME_32BITUIDS): Likewise.
45034 (__ASSUME_LDT_WORKS): Likewise.
45035 (__ASSUME_O_DIRECTORY): Likewise.
45036 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45037 architecture but not kernel version.
45038 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45039 (__ASSUME_MMAP2_SYSCALL): Likewise.
45040 (__ASSUME_STAT64_SYSCALL): Likewise.
45041 (__ASSUME_IPC64): Likewise.
45042 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45043 <kernel-features.h>.
45044 [__ASSUME_32BITUIDS]: Make code unconditional.
45045 [!__ASSUME_32BITUIDS]: Remove conditional code.
45046 * sysdeps/unix/sysv/linux/opendir.c: Do not include
45047 <kernel-features.h>.
45048 [__ASSUME_O_DIRECTORY]: Make code unconditional.
45049 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45050 132096]: Remove conditional code.
45051 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45052 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45053 <kernel-features.h>.
45054 [__ASSUME_32BITUIDS]: Make code unconditional.
45055 [!__ASSUME_32BITUIDS]: Remove conditional code.
45056 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45057 <kernel-features.h>.
45058 [__ASSUME_32BITUIDS]: Make code unconditional.
45059 [!__ASSUME_32BITUIDS]: Remove conditional code.
45060 * sysdeps/unix/sysv/linux/setegid.c: Do not include
45061 <kernel-features.h>.
45062 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45064 (__setresgid): Do not declare.
45065 [__ASSUME_32BITUIDS]: Make code unconditional.
45066 [!__ASSUME_32BITUIDS]: Remove conditional code.
45067 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45068 <kernel-features.h>.
45069 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45071 (__setresuid): Do not declare.
45072 [__ASSUME_32BITUIDS]: Make code unconditional.
45073 [!__ASSUME_32BITUIDS]: Remove conditional code.
45074 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45075 <kernel-features.h>.
45076 [__ASSUME_32BITUIDS]: Make code unconditional.
45077 [!__ASSUME_32BITUIDS]: Remove conditional code.
45078 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45079 <kernel-features.h>.
45080 [__ASSUME_32BITUIDS]: Make code unconditional.
45081 [!__ASSUME_32BITUIDS]: Remove conditional code.
45083 2012-05-25 Richard Henderson <rth@twiddle.net>
45085 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45086 dl_hwcap to ifunc resolver.
45087 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45089 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45090 dl_hwcap to ifunc resolver.
45091 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45093 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45096 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45097 for |x| <= 2**-26, not 2**-57.
45098 * math/libm-test.inc (acos_test): Do not allow spurious underflow
45101 2012-05-24 Jeff Law <law@redhat.com>
45103 * stdio-common/Makefile (tests): Add bug25.
45104 * stdio-common/bug25.c: New test.
45106 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45109 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45110 multiple of MALLOC_ALIGNMENT in size.
45111 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45113 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45115 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45117 (FILENAME_MAX): Use macro-int-constant.
45118 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
45119 (_IOFBF): Use macro-int-constant.
45120 (_IOLBF): Likewise.
45121 (_IONBF): Likewise.
45122 (SEEK_CUR): Likewise.
45123 (SEEK_END): Likewise.
45124 (SEEK_SET): Likewise.
45125 (TMP_MAX): Likewise.
45126 (EOF): Use macro-int-constant. Require < 0.
45127 (NULL): Use macro-constant. Require == 0.
45128 (stdin): Require type to be FILE *.
45129 (stdout): Likewise.
45130 (stderr): Likewise.
45131 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45132 macro-int-constant.
45133 (EXIT_SUCCESS): Likewise.
45134 (NULL): Use macro-constant. Require == 0.
45135 (RAND_MAX): Use macro-int-constant.
45136 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45137 [C99-based standards] (strtof): Require function.
45138 [C99-based standards] (strtold): Likewise.
45139 [C99-based standards] (strtoll): Likewise.
45140 [C99-based standards] (strtoull): Likewise.
45141 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45142 [ISO || ISO99 || ISO11] (limits.h): Likewise.
45143 [ISO || ISO99 || ISO11] (math.h): Likewise.
45144 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45145 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45146 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45148 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
45151 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45152 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45153 * intl/dgettext.c (DCGETTEXT): Likewise.
45154 * intl/gettext.c (DCGETTEXT): Likewise.
45155 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45156 * posix/regex_internal.h (gettext): Likewise.
45157 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45158 Remove declaration.
45159 * include/argz.h (__argz_count_internal)
45160 (__argz_stringify_internal): Remove declaration.
45161 (__argz_count, __argz_stringify): Declare hidden proto.
45162 * intl/dcgettext.c: Remove use of INTDEF.
45163 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45164 * string/argz-stringify.c: Likewise.
45165 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45166 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45167 Declare hidden proto.
45168 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45169 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45170 Declare hidden proto.
45171 * include/stdio.h (__asprintf_internal): Don't declare.
45172 (__asprintf): Don't define as macro. Declare hidden proto.
45173 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45174 (__fsetlocking): Declare hidden proto.
45175 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45176 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45178 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45179 (_IO_setlinebuf): Remove use of INTUSE.
45180 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45181 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45182 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45183 Remove declaration.
45184 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45185 (_IO_do_flush): Remove use of INTUSE.
45186 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45187 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45188 (_IO_adjust_column, _IO_least_wmarker)
45189 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45190 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45191 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45192 (_IO_default_doallocate, _IO_wdefault_doallocate)
45193 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45194 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45195 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45196 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45197 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45198 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45199 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45200 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45201 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45202 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45203 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45204 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45205 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45207 (_IO_flush_all_internal, _IO_adjust_column_internal)
45208 (_IO_default_uflow_internal, _IO_default_finish_internal)
45209 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45210 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45211 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45212 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45213 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45214 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45215 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45216 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45217 (_IO_file_close_internal, _IO_file_close_it_internal)
45218 (_IO_file_underflow_internal, _IO_file_overflow_internal)
45219 (_IO_file_init_internal, _IO_file_attach_internal)
45220 (_IO_file_fopen_internal, _IO_file_read_internal)
45221 (_IO_file_sync_internal, _IO_file_seek_internal)
45222 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45223 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45224 (_IO_str_underflow_internal, _IO_str_overflow_internal)
45225 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45226 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45227 (_IO_list_all_internal, _IO_link_in_internal)
45228 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45229 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45230 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45231 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45232 (_IO_do_write_internal, _IO_padn_internal)
45233 (_IO_getline_info_internal, _IO_getline_internal)
45234 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45235 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45236 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45237 (_IO_vfscanf_internal, _IO_vfprintf_internal)
45238 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45239 (_IO_init_internal, _IO_un_link_internal): Don't declare.
45240 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45241 with libc_hidden_ver, remove use of INTUSE.
45242 * libio/genops.c: Likewise.
45243 * libio/freopen.c: Likewise.
45244 * libio/freopen64.c: Likewise.
45245 * libio/iofclose.c: Likewise.
45246 * libio/iofdopen.c: Likewise.
45247 * libio/iofflush.c: Likewise.
45248 * libio/iofflush_u.c: Likewise.
45249 * libio/iofgets.c: Likewise.
45250 * libio/iofgets_u.c: Likewise.
45251 * libio/iofopen.c: Likewise.
45252 * libio/iofopncook.c: Likewise.
45253 * libio/iofread.c: Likewise.
45254 * libio/iofread_u.c: Likewise.
45255 * libio/ioftell.c: Likewise.
45256 * libio/iofwrite.c: Likewise.
45257 * libio/iogetline.c: Likewise.
45258 * libio/iogets.c: Likewise.
45259 * libio/iogetwline.c: Likewise.
45260 * libio/iopadn.c: Likewise.
45261 * libio/iopopen.c: Likewise.
45262 * libio/ioseekoff.c: Likewise.
45263 * libio/ioseekpos.c: Likewise.
45264 * libio/iosetbuffer.c: Likewise.
45265 * libio/iosetvbuf.c: Likewise.
45266 * libio/ioungetc.c: Likewise.
45267 * libio/ioungetwc.c: Likewise.
45268 * libio/iovdprintf.c: Likewise.
45269 * libio/iovsprintf.c: Likewise.
45270 * libio/iovsscanf.c: Likewise.
45271 * libio/memstream.c: Likewise.
45272 * libio/obprintf.c: Likewise.
45273 * libio/oldfileops.c: Likewise.
45274 * libio/oldiofclose.c: Likewise.
45275 * libio/oldiofdopen.c: Likewise.
45276 * libio/oldiofopen.c: Likewise.
45277 * libio/oldiopopen.c: Likewise.
45278 * libio/oldstdfiles.c: Likewise.
45279 * libio/putc.c: Likewise.
45280 * libio/setbuf.c: Likewise.
45281 * libio/setlinebuf.c: Likewise.
45282 * libio/stdfiles.c: Likewise.
45283 * libio/strops.c: Likewise.
45284 * libio/vasprintf.c: Likewise.
45285 * libio/vscanf.c: Likewise.
45286 * libio/vsnprintf.c: Likewise.
45287 * libio/vswprintf.c: Likewise.
45288 * libio/wfiledoalloc.c: Likewise.
45289 * libio/wfileops.c: Likewise.
45290 * libio/wgenops.c: Likewise.
45291 * libio/wmemstream.c: Likewise.
45292 * libio/wstrops.c: Likewise.
45293 * libio/__fpurge.c: Likewise.
45294 * libio/__fsetlocking.c: Likewise.
45295 * assert/assert.c: Likewise.
45296 * debug/fgets_chk.c: Likewise.
45297 * debug/fgets_u_chk.c: Likewise.
45298 * debug/fread_chk.c: Likewise.
45299 * debug/fread_u_chk.c: Likewise.
45300 * debug/gets_chk.c: Likewise.
45301 * debug/obprintf_chk.c: Likewise.
45302 * debug/vasprintf_chk.c: Likewise.
45303 * debug/vdprintf_chk.c: Likewise.
45304 * debug/vsnprintf_chk.c: Likewise.
45305 * debug/vsprintf_chk.c: Likewise.
45306 * malloc/mtrace.c: Likewise.
45307 * misc/error.c: Likewise.
45308 * misc/syslog.c: Likewise.
45309 * stdio-common/asprintf.c: Likewise.
45310 * stdio-common/fxprintf.c: Likewise.
45311 * stdio-common/getw.c: Likewise.
45312 * stdio-common/isoc99_fscanf.c: Likewise.
45313 * stdio-common/isoc99_scanf.c: Likewise.
45314 * stdio-common/isoc99_vfscanf.c: Likewise.
45315 * stdio-common/isoc99_vscanf.c: Likewise.
45316 * stdio-common/isoc99_vsscanf.c: Likewise.
45317 * stdio-common/printf-prs.c: Likewise.
45318 * stdio-common/printf_fp.c: Likewise.
45319 * stdio-common/printf_fphex.c: Likewise.
45320 * stdio-common/printf_size.c: Likewise.
45321 * stdio-common/putw.c: Likewise.
45322 * stdio-common/scanf.c: Likewise.
45323 * stdio-common/sprintf.c: Likewise.
45324 * stdio-common/tmpfile.c: Likewise.
45325 * stdio-common/vfprintf.c: Likewise.
45326 * stdio-common/vfscanf.c: Likewise.
45327 * stdlib/strfmon_l.c: Likewise.
45328 * sunrpc/openchild.c: Likewise.
45329 * sunrpc/xdr_stdio.c: Likewise.
45330 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45331 * sysdeps/mach/hurd/tmpfile.c: Likewise.
45333 2012-05-24 Roland McGrath <roland@hack.frob.com>
45335 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45337 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45338 in the third column, to generate for the shared library an IFUNC
45339 that uses _dl_vdso_vsym.
45340 * Makerules (COMPILE.c, compile-stdin.c): New variables.
45341 * Makeconfig (object-suffixes-noshared): New variable.
45343 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45344 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45345 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45346 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45349 * include/sys/time.h (__gettimeofday): Remove macro.
45350 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45351 * time/gettimeofday.c (__gettimeofday): Remove #undef.
45353 (__gettimeofday): Add libc_hidden_def.
45354 (gettimeofday): Add libc_hidden_weak.
45355 * sysdeps/mach/gettimeofday.c: Likewise.
45356 * sysdeps/posix/gettimeofday.c: Likewise.
45357 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45358 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45359 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45360 (__gettimeofday_internal): Remove strong_alias.
45361 (__gettimeofday): Add libc_hidden_def.
45362 (gettimeofday): Add libc_hidden_weak.
45363 * sysdeps/unix/syscalls.list (gettimeofday):
45364 Remove __gettimeofday_internal alias.
45366 2012-05-24 Daniel Jacobowitz <drow@false.org>
45367 H.J. Lu <hongjiu.lu@intel.com>
45370 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45371 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45372 (largebin_index_32_big): New.
45373 (largebin_index): Use it for 16-byte alignment.
45374 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
45375 correction with front_misalign.
45377 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45405 * scripts/data/c++-types-x32-linux-gnu.data: New file.
45406 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45408 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45412 * math/libm-test.inc (exp_test): Add test from bug 14036.
45413 (pow_test): Add test from bug 10846.
45415 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45417 (special_function): Do not include flags in test name.
45418 (parse_args): Likewise.
45419 * sysdeps/i386/fpu/libm-test-ulps: Update.
45420 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45421 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45422 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45425 * math/gen-libm-test.pl (%beautify): Add entries for underflow
45427 * math/libm-test.inc ("Philosophy"): Update comment about
45429 (UNDERFLOW_EXCEPTION): New macro.
45430 (UNDERFLOW_EXCEPTION_OK): Likewise.
45431 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45432 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45433 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45434 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45435 (INVALID_EXCEPTION_OK): Update value.
45436 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45437 (OVERFLOW_EXCEPTION_OK): Likewise.
45438 (IGNORE_ZERO_INF_SIGN): Likewise.
45439 (test_exceptions): Handle underflow exceptions.
45440 (acos_test): Update for underflow exception expectations.
45441 (cexp_test): Likewise.
45442 (clog_test): Likewise.
45443 (clog10_test): Likewise.
45444 (csqrt_test): Likewise.
45445 (ctan_test): Likewise.
45446 (ctanh_test): Likewise.
45447 (exp_test): Likewise.
45448 (exp10_test): Likewise.
45449 (exp2_test): Likewise.
45450 (expm1_test): Likewise.
45451 (fma_test): Likewise.
45452 (j0_test): Likewise.
45453 (jn_test): Likewise.
45454 (nexttoward_test): Likewise.
45455 (pow_test): Likewise.
45456 (scalbn_test): Likewise.
45457 (scalbln_test): Likewise.
45458 (tan_test): Likewise.
45459 (y1_test): Likewise.
45460 * sysdeps/i386/fpu/libm-test-ulps: Update.
45461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45463 2012-05-23 David S. Miller <davem@davemloft.net>
45465 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45466 (__libc_sigaction): Remove unused local variables.
45468 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45470 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45472 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
45474 mktime: avoid signed integer overflow
45475 * time/mktime.c (__mktime_internal): Do not mishandle the case
45476 where diff == INT_MIN.
45478 mktime: simplify computation of average
45479 * time/mktime.c (ranged_convert): Use new time_t_avg function
45480 instead of rolling our own (probably-slower) code.
45482 mktime: do not assume signed right shift propagates sign bit
45483 * time/mktime.c (isdst_differ): New static function.
45484 (__mktime_internal): No need to normalize tm_isdst now.
45485 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45488 mktime: merge another wrapv change from gnulib
45489 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45490 from some compilers.
45492 mktime: remove incorrect attempt at unusual arithmetics
45493 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45494 The code didn't really work on such machines anyway.
45495 (TYPE_MINIMUM): Assume two's complement.
45496 (twos_complement_arithmetic): Verify that long_int and time_t
45497 are two's complement (or unsigned, in the latter case).
45499 mktime: check signed shifts on long_int and time_t, too
45500 * time/mktime.c (SHR): Check that shifts work as desired
45501 on the types long_int and time_t too, as SHR is used on
45504 mktime: do not assume 'long' is wide enough
45505 * time/mktime.c (verify): Move decl up.
45506 (long_int): New type.
45507 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45508 to remove assumption in the code that 'long' is wide enough to
45509 store year values. This assumption is not true on x32 and on
45510 some non-glibc platforms.
45512 mktime: merge wrapv change from gnulib
45513 * time/mktime.c (WRAPV): New macro.
45514 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45515 (guess_time_tm, __mktime_internal): Do not assume that signed
45516 integer overflow wraps around; modern compilers generate code
45517 where this assumption is no longer valid.
45519 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45521 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45522 Replace "jmp L(pseudo_end)" with "ret".
45523 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45526 2012-05-23 Andreas Jaeger <aj@suse.de>
45528 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45529 * sysdeps/unix/sysv/linux/poll.c: Remove file.
45531 2012-05-23 Andreas Jaeger <aj@suse.de>
45532 Maximilian Attems <max@stro.at>
45534 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45537 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45539 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45540 code so that pseudo_end is just ret and the stack pointer is
45541 correct also for static library in error case.
45543 2012-05-23 Joseph Myers <joseph@codesourcery.com>
45545 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45546 move to syscalls.list.
45547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45552 * manual/install.texi (Running make install): Do not mention Linux
45553 kernel version for which pt_chown is not needed.
45554 (Linux): Do not mention problems with nscd with 2.0 kernels.
45555 * INSTALL: Regenerated.
45557 2012-05-23 Andreas Jaeger <aj@suse.de>
45559 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45560 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45562 * sysdeps/unix/sysv/linux/s390/bits/mman.h
45563 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45564 * sysdeps/unix/sysv/linux/sh/bits/mman.h
45565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45566 * sysdeps/unix/sysv/linux/i386/bits/mman.h
45567 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45568 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45569 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45570 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45571 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45572 * sysdeps/unix/sysv/linux/bits/in.h
45573 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45575 2012-05-22 Roland McGrath <roland@hack.frob.com>
45577 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45578 (PREPARE_VERSION): Just use assert instead, it will be elided
45579 under [NDEBUG] anyway.
45581 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45583 * sysdeps/unix/sysv/linux/Makefile: Include
45584 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45585 (sysdep_routines): Remove sysctl.
45586 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45587 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45588 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45589 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45590 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45592 2012-05-22 Andreas Jaeger <aj@suse.de>
45594 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45595 that pseudo_end is just ret and the stack pointer is correct also
45596 for static library in error case.
45598 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
45601 * nss/nsswitch.c (defconfig_entries): New variable.
45602 (__nss_database_lookup): Don't leak defconfig entries.
45603 (nss_parse_service_list): Don't leak on error paths.
45604 (free_database_entries): New function.
45605 (free_defconfig): New function.
45606 (free_mem): Move common code to free_database_entries.
45608 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45610 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45612 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45614 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45615 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45616 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45618 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45619 (INTERNAL_SYSCALL_TYPES): Likewise.
45620 (LOAD_ARGS_TYPES_[1-6]): Likewise.
45621 (LOAD_REGS_TYPES_[1-6]): Likewise.
45622 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45623 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45625 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45627 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45628 copysignl for GLIBC_2_0.
45629 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45630 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45631 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45632 logbl for GLIBC_2_0.
45633 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45634 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45636 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45638 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45639 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45641 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45644 * time/mktime.c: Update copyright years.
45646 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
45648 mktime: merge comment-quoting-style change from gnulib
45649 * time/mktime.c: Quote 'like this' in comments.
45650 The GNU coding standards suggest that we no longer quote `like this',
45651 as "`" and "'" are typically rendered asymmetrically nowadays.
45652 The typical gnulib style is to quote 'like this' when quoting
45653 code, and "like this" when quoting English.
45655 * time/mktime.c (compile-command): Add "-I.".
45657 mktime: merge mktime-internal.h change from gnulib
45658 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45660 mktime: merge time_r change from gnulib
45661 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45663 mktime: merge DEBUG change from gnulib
45664 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45665 case system <time.h> has a #define.
45667 mktime: merge <sys/types.h> change from gnulib
45668 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45669 since <time.t> is now guaranteed to define time_t.
45671 mktime: merge HAVE_CONFIG_H change from gnulib
45672 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45674 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45676 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45679 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45681 (struct rusage): Use anonymous union to pad each field to
45684 2012-05-21 David S. Miller <davem@davemloft.net>
45686 * Makefules (o-iterator): Remove .s cases.
45687 (compile-command.s): Delete.
45688 (COMPILE.s): Delete.
45689 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45691 2012-05-21 Joseph Myers <joseph@codesourcery.com>
45693 * configure.in (libc_cv_predef_stack_protector): Only consider
45694 "foobar" and "__stack_chk_fail" lines in libc_undefs.
45695 * configure: Regenerated.
45697 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45699 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45700 New macro. Use R*LP on int and pointer.
45701 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45702 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45703 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45704 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45706 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45707 [__WORDSIZE_TIME64_COMPAT32] instead of
45708 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45709 (struct utmp): Likewise.
45710 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45711 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45713 (__WORDSIZE_TIME64_COMPAT32): This.
45714 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45715 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45716 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45717 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45718 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45719 (__WORDSIZE_TIME64_COMPAT32): New macro.
45721 2012-05-21 Andreas Jaeger <aj@suse.de>
45723 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45724 only if [SHARED]. Add prototype for __wcschr_ia32.
45726 2012-05-21 Roland McGrath <roland@hack.frob.com>
45728 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45729 of %rbp unmolested in the jmp_buf while mangling the low bits.
45730 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45731 unmolested high bits of %rbp while demangling the low bits.
45732 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45734 2012-05-21 Andreas Jaeger <aj@suse.de>
45736 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45737 * sunrpc/svc_simple.c: Use it for registerrpc.
45738 * sunrpc/xcrypt.c: Use it for passwd2des.
45740 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45742 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45744 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45745 Don't define if [__SYSCALL_WORDSIZE != 32].
45746 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45749 2012-05-21 Bruno Haible <bruno@clisp.org>
45750 Andreas Jaeger <aj@suse.de>
45752 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45753 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45754 inptr and inend for must_buffer_ch.
45755 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45756 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45757 * stdio-common/Makefile (tests): Remove bug15.
45758 (bug15-ENV): Remove macro.
45759 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45762 2012-05-19 Andreas Jaeger <aj@suse.de>
45763 Roland McGrath <roland@hack.frob.com>
45765 * manual/contrib.texi: Completely rewritten. It contains now an
45766 alphabetical list of contributors and their contributions.
45768 2012-05-21 Richard Henderson <rth@twiddle.net>
45770 * misc/getauxval.c (__getauxval): Use unsigned long int.
45771 * misc/sys/auxv.h: Include <sys/cdefs.h>.
45772 (getauxval): Use unsigned long int.
45774 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45776 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45778 2012-05-21 Roland McGrath <roland@hack.frob.com>
45780 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45781 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45782 __alignof__ (long double).
45784 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45788 2012-05-20 Richard Henderson <rth@twiddle.net>
45790 * misc/getauxval.c: New file.
45791 * misc/sys/auxv.h: New file.
45792 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45793 (routines): Add getauxval.
45794 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45795 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45796 * elf/dl-sysdep.c (_dl_auxv): Remove.
45797 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45798 * elf/dl-support.c (_dl_auxv): New variable.
45799 (_dl_aux_init): Initialize it.
45800 * manual/startup.texi (Auxiliary Vector): New node.
45801 * sysdeps/generic/bits/hwcap.h: New file.
45802 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45803 * sysdeps/powerpc/sysdep.h: ... here. Include it.
45804 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45805 * sysdeps/sparc/sysdep.h: ... here. Include it.
45806 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45807 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45813 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45819 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45823 2012-05-19 David S. Miller <davem@davemloft.net>
45825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45827 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45830 * math/s_ccosh.c: Include <float.h>
45831 (__ccosh): Avoid internal overflow calculating sinh and cosh
45832 values before multiplying by sin and cos values.
45833 * math/s_ccoshf.c: Likewise.
45834 * math/s_ccoshl.c: Likewise.
45835 * math/s_csin.c: Likewise.
45836 * math/s_csinf.c: Likewise.
45837 * math/s_csinl.c: Likewise.
45838 * math/s_csinh.c: Likewise.
45839 * math/s_csinhf.c: Likewise.
45840 * math/s_csinhl.c: Likewise.
45841 * math/libm-test.inc (ccos_test): Add more tests.
45842 (ccosh_test): Likewise.
45843 (csin_test): Likewise.
45844 (csinh_test): Likewise.
45845 * sysdeps/i386/fpu/libm-test-ulps: Update.
45846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45848 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
45850 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45851 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45853 * sysdeps/x86_64/x32/_itoa.h: Add comment.
45855 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45857 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45858 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45859 * sysdeps/powerpc/soft-fp/Versions: Likewise.
45860 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45861 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45862 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45863 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45864 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45865 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45866 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45867 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45868 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45869 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45870 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45871 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45872 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45873 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45874 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45875 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45876 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45877 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45878 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45879 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45880 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45881 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45882 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45883 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45884 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45885 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45886 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45887 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45889 2012-05-18 Andreas Jaeger <aj@suse.de>
45891 * csu/.gitignore: Delete.
45893 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45895 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45896 (timex): Use __syscall_slong_t.
45898 2012-05-18 Andreas Jaeger <aj@suse.de>
45899 Carlos O'Donell <carlos_odonell@mentor.com>
45901 * manual/install.texi (Configuring and compiling): Update
45902 description about files modified in the source directory.
45903 * INSTALL: Regenerated.
45905 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45907 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45908 value. Use "or" to set return value to -1.
45909 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45910 negate return value.
45912 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45914 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45915 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45916 failure if the compiler has Graphite support disabled.
45917 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45919 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45920 (CFLAGS-memmove.c): Likewise.
45921 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45924 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45926 * sysdeps/x86_64/x32/_itoa.h: New file.
45928 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45929 getdents system call only if kernel and user dirents have the
45930 same d_ino and d_off.
45932 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45933 LLONG_MAX != LONG_MAX.
45934 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45935 (_fitoa_word): Likewise.
45937 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45939 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45940 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45941 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45943 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45944 include <bits/wordsize.h>. Check __x86_64__ instead of
45946 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45947 if __x86_64__ is defined. Use anonymous union on fpstate.
45949 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45952 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
45954 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45955 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45956 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45957 Refer to _rtld_local_ro instead of _rtld_global_ro.
45958 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45960 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45962 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45964 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45965 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45966 of _rtld_global, and rtld_progname instead of _dl_argv[0].
45968 * sysdeps/powerpc/powerpc32/dl-machine.c
45969 (__elf_machine_runtime_setup) [PROF]: Don't reference
45972 2012-05-18 Andreas Jaeger <aj@suse.de>
45974 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45975 function only available for GCCs before 3.4 since GCC 3.4
45976 introduced a builtin.
45978 (llrintf): Likewise.
45979 (llrint): Likewise.
45986 (nearbyint): Likewise.
45987 (nearbyintf): Likewise.
45991 (floorf): Likewise.
45993 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45995 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45996 on both fields and cast pointer to __syscall_ulong_t.
45998 * bits/types.h (__fsword_t): New type.
45999 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46000 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46001 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46002 (__FSWORD_T_TYPE): Likewise.
46003 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46004 (__FSWORD_T_TYPE): Likewise.
46005 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46006 (__FSWORD_T_TYPE): Likewise.
46007 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46008 (__FSWORD_T_TYPE): Likewise.
46009 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46010 __SWORD_TYPE with __fsword_t.
46011 (statfs64): Likewise.
46013 2012-05-17 David S. Miller <davem@davemloft.net>
46015 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46017 2012-05-17 Andreas Jaeger <aj@suse.de>
46019 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46022 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46024 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46026 2012-05-17 Andreas Jaeger <aj@suse.de>
46028 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46031 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46033 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46035 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46037 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46038 * sysdeps/x86_64/tst-mallocalign1.c: New file.
46040 2012-05-17 Andreas Jaeger <aj@suse.de>
46041 Carlos O'Donell <carlos_odonell@mentor.com>
46044 * sysdeps/x86_64/multiarch/init-arch.h
46045 (bit_YMM_Usable): Rename to...
46046 (bit_AVX_Usable): ... this.
46047 (bit_FMA4_Usable): New macro.
46048 (bit_XMM_state): New macro.
46049 (bit_YMM_state): New macro.
46050 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46051 [__ASSEMBLER__] (index_AVX_Usable): ... this.
46052 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46053 (CPUID_OSXSAVE): New macro.
46054 (CPUID_AVX): New macro.
46055 (CPUID_FMA4): New macro.
46056 (index_YMM_Usable): Rename to...
46057 (index_AVX_Usable): ... this.
46058 (HAS_AVX): Use HAS_ARCH_FEATURE.
46059 (HAS_FMA4): Likewise.
46060 (HAS_YMM_USABLE): Remove.
46061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46062 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46064 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46065 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46066 * sysdeps/x86_64/multiarch/Makefile: Likewise.
46067 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46068 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46070 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46072 * math/libm-test.c: Support platforms without multiple rounding modes.
46073 * math/bug-nextafter.c: Support platforms without FP exceptions.
46074 * math/bug-nexttoward.c: Likewise.
46075 * math/test-fenv.c: Likewise.
46076 * math/test-misc.c: Likewise.
46077 * stdlib/bug-getcontext.c: Likewise.
46079 2012-05-17 Andreas Jaeger <aj@suse.de>
46081 * manual/examples/search.c (critter_cmp): Change signature to
46083 * manual/string.texi (Collation Functions): Likewise.
46085 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46087 * bits/types.h: Fold copyright years.
46088 * bits/typesizes.h: Likewise.
46089 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46090 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46091 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46092 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46093 * time/time.h: Likewise.
46095 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
46098 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46099 in instead of returning them. Return void.
46100 (__libc_mallinfo): Accumulate over all arenas.
46101 (__malloc_stats): Adjust for change in int_mallinfo interface.
46103 2012-05-16 Roland McGrath <roland@hack.frob.com>
46106 * configure.in (NM): Add AC_CHECK_TOOL for it.
46107 (libc_extra_cflags): New substituted variable.
46108 Check for -fstack-protector being used implicitly.
46109 * configure: Regenerated.
46110 * config.make.in (config-extra-cflags): New variable,
46111 gets @libc_extra_cflags@.
46112 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46115 * configure.in: Check for _FORTIFY_SOURCE being predefined.
46116 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46117 * configure: Regenerated.
46118 * config.make.in (CPPUNDEFS): New substituted variable.
46119 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46120 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46121 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46123 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46125 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46126 (mq_attr): Use __syscall_slong_t.
46128 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46130 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46131 Check __x86_64__ instead of __WORDSIZE.
46132 (_STAT_VER_LINUX): Likewise.
46133 (stat): Check __x86_64__ instead of __WORDSIZE. Use
46134 __syscall_ulong_t and __syscall_slong_t.
46135 (stat64): Likewise.
46137 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46139 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46141 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46143 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46145 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46147 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46150 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46151 include <bits/wordsize.h>. Check __x86_64__ instead of
46153 (greg_t): Use "__extension__ long long int" if __x86_64__ is
46155 (mcontext_t): Replace "unsigned long" with "unsigned long long".
46157 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46158 include <bits/wordsize.h>. Check __x86_64__ instead of
46160 (user_regs_struct): Use "__extension__ unsigned long long"
46161 instead of "unsigned long" if __x86_64__ is defined.
46162 (user): Likewise. Pad after pointer field if __ILP32__ is
46165 2012-05-16 Joseph Myers <joseph@codesourcery.com>
46167 * configure.in (makeinfo): Require version 4.5 or later. Allow
46169 * configure: Regenerated.
46170 * manual/install.texi (texinfo): Increase version requirement to
46172 * INSTALL: Regenerated.
46174 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46176 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46178 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46180 * sysdeps/x86_64/x32/ffs.c: New file.
46182 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46184 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46185 defined. Use __syscall_ulong_t.
46186 (shminfo): Use __syscall_ulong_t.
46187 (shm_info): Likewise.
46189 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46192 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46194 (msgqnum_t): Use __syscall_ulong_t.
46195 (msglen_t): Likewise.
46196 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
46199 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46200 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46202 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46204 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46205 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46207 * sysvipc/sys/msg.h (msgbuf): Replace long int with
46210 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46211 include <bits/wordsize.h>. Check __x86_64__ instead of
46214 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46215 "unsigned long long int" if __x86_64__ is defined.
46216 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46218 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46219 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46220 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46222 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46224 (GET_PC): Cast to uintptr_t first.
46225 (GET_FRAME): Likewise.
46226 (GET_STACK): Likewise.
46228 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46229 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46230 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46231 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46232 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46233 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46234 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46235 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46236 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46237 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46238 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46239 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46240 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46241 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46242 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46243 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46244 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46245 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46246 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46247 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46248 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46249 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46250 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46251 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46252 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46253 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46254 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46255 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46256 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46258 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
46260 * Makerules (+depfiles): Also collect depfiles from .oS in
46262 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46263 .oS, $(libnldbl-routines)).
46265 * Makerules (native-compile-mkdep-flags): Define.
46266 * sunrpc/Makefile (extra-objs): Add $(addprefix
46267 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46268 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46269 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
46270 calling $(make-target-directory).
46272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46274 * bits/types.h (__snseconds_t): Removed.
46275 * time/time.h (struct timespec): Replace __snseconds_t with
46277 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46278 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46280 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46281 (__SNSECONDS_T_TYPE): Likewise.
46282 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46283 (__SNSECONDS_T_TYPE): Likewise.
46284 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46285 (__SNSECONDS_T_TYPE): Likewise.
46287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46289 * sysdeps/mach/hurd/bits/typesizes.h
46290 (__SYSCALL_SLONG_TYPE): New macro.
46291 (__SYSCALL_ULONG_TYPE): Likewise.
46293 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46295 * bits/types.h (__syscall_slong_t): New type.
46296 (__syscall_ulong_t): Likewise.
46298 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46299 (__SYSCALL_ULONG_TYPE): Likewise.
46300 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46301 (__SYSCALL_SLONG_TYPE): Likewise.
46302 (__SYSCALL_ULONG_TYPE): Likewise.
46303 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46304 (__SYSCALL_SLONG_TYPE): Likewise.
46305 (__SYSCALL_ULONG_TYPE): Likewise.
46306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46307 (__SYSCALL_SLONG_TYPE): Likewise.
46308 (__SYSCALL_ULONG_TYPE): Likewise.
46310 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46312 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46313 Add sigaltstack-offsets.sym.
46314 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46315 <sigaltstack-offsets.h>.
46316 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
46317 longjmp_msg pointer.
46318 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
46319 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46321 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46323 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46325 * elf/stackguard-macros.h: Remove file.
46326 * sysdeps/generic/stackguard-macros.h: New file.
46327 * sysdeps/i386/stackguard-macros.h: Likewise.
46328 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46329 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46330 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46331 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46332 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46333 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46334 * sysdeps/x86_64/stackguard-macros.h: Likewise.
46335 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46336 <elf/stackguard-macros.h>.
46339 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46340 __aligned__ in attribute.
46341 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46342 (gregset_t): Likewise.
46344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46346 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46347 * sysdeps/x86_64/64/Implies-after: Here. New file.
46348 * sysdeps/x86_64/x32/Implies-after: New file.
46350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46352 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46353 and access return value for _dl_profile_fixup. Use R10_LP to
46356 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46358 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46360 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46362 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46363 * sysdeps/x86_64/x32/sysdep.h: New file.
46365 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46367 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46368 * sysdeps/x86_64/setjmp.S: Likewise.
46370 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46372 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46373 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46374 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46375 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46376 remove unused global constant.
46378 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
46380 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46381 include of <not-cancel.h>.
46383 2012-05-15 Roland McGrath <roland@hack.frob.com>
46385 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46387 2012-05-15 Jeff Law <law@redhat.com>
46388 Andreas Jaeger <aj@suse.de>
46391 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46393 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46394 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46395 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46396 code changing __hst_map_handle.map.
46398 2012-05-15 Roland McGrath <roland@hack.frob.com>
46400 * configure.in (sysnames): Look for Implies-before and Implies-after
46402 * configure: Regenerated.
46404 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46406 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46407 8-byte data alignment with LP_SIZE alignment.
46409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46411 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46416 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46420 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46421 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46422 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46424 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46426 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46428 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46429 (stackinfo_sub_sp): Likewise.
46431 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46433 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46438 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46443 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46446 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46448 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46452 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46453 into R11_LP and load __x86_64_shared_cache_size_half into
46456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46458 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46461 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46469 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46470 powerpc32/power7/fpu/s_logb.c via #include.
46471 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46472 powerpc32/power7/fpu/s_logbf.c via #include.
46473 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46474 powerpc32/power7/fpu/s_logbl.c via #include.
46476 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46478 * README.libm: Remove file.
46480 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46482 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46483 count for x32. Use R*_LP and omit operand-size suffix.
46485 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46487 * shlib-versions: Move x86_64-.*-linux.* entries to ...
46488 * sysdeps/x86_64/64/shlib-versions: Here. New file.
46489 * sysdeps/x86_64/x32/shlib-versions: New file.
46491 2012-05-14 Roland McGrath <roland@hack.frob.com>
46493 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46494 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46495 Use _dl_fatal_printf instead.
46497 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46499 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46500 set if not set by the user. Do not allow for being unset.
46501 * sysdeps/unix/sysv/linux/configure: Regenerated.
46503 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46505 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46506 the `q' suffix from lea and replace .quad with ASM_ADDR.
46508 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46511 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
46513 (PTR_DEMANGLE): Likewise.
46515 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46517 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46519 (ASM_ADDR): Likewise.
46520 (RAX_LP): Likewise.
46521 (RBP_LP): Likewise.
46522 (RBX_LP): Likewise.
46523 (RCX_LP): Likewise.
46524 (RDI_LP): Likewise.
46525 (RSI_LP): Likewise.
46526 (RSP_LP): Likewise.
46529 (R10_LP): Likewise.
46530 (R10_LP): Likewise.
46531 (R11_LP): Likewise.
46532 (R12_LP): Likewise.
46533 (R13_LP): Likewise.
46534 (R14_LP): Likewise.
46535 (R15_LP): Likewise.
46537 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46539 * sysdeps/x86_64/x32/dl-machine.h: New file.
46541 2012-05-14 Andreas Jaeger <aj@suse.de>
46543 * manual/Makefile (subdir): Remove export of subdir.
46544 (all): Remove target.
46545 (.PHONY): Remove all from list.
46546 (mkinstalldirs): Remove.
46547 (.PHONY): Remove installdirs from list.
46548 ($(inst_infodir)/libc.info): Use make-target-directory.
46549 (installdirs): Remove.
46550 (subdir_%): Remove.
46551 (glibc-targets): Remove.
46554 ($(objpfx)stubs ../po/manual.pot): Remove.
46555 ($(objpfx)stamp%): Remove.
46556 (make-target-directory): Remove.
46557 (subdir_install): Remove.
46558 (routines): Remove.
46565 * manual/.gitignore: Remove, it's not needed anymore.
46566 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46568 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46570 (texis): Renamed to $(objpfx)texis.
46571 (texis-path): New, contains path to generated files.
46572 (chapters.%): Use texis-path for complete path, add extra argument
46574 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46575 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46576 (summary,texi, stamp-summary): Use complete path of
46577 files. Generate files in build dir.
46578 (dir-add.texi): Build in build dir.
46579 (libm-err.texi,stamp-libm-err): Likewise.
46580 (version.texi, stamp-version): Likewise.
46581 (.%c.texi): Likewise.
46582 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46583 (mostlyclean): Remove target.
46584 (realclean): Remove target.
46585 (generated): Add new variable with contents from mostlyclean and
46586 realclean, remove entries duplicated in common-mostlyclean, add
46587 stamp-libm-err and stamp-version.
46588 (generated-dirs): Add libc directory.
46589 ($(inst_infodir)/libc.info): Install files from build dir.
46591 * manual/install.texi (Configuring and compiling): Adjust since
46592 the info files are not part of the tar ball anymore.
46594 2012-05-14 Andreas Jaeger <aj@suse.de>
46596 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46599 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46602 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46603 to 2.2.0 where earlier.
46604 * sysdeps/unix/sysv/linux/configure: Regenerated.
46605 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46606 Remove conditional code.
46607 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46608 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46609 Remove conditional code.
46610 [!__NR_lchown]: Likewise.
46611 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46612 [__NR_lchown]: Likewise.
46613 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46614 comment referencing __ASSUME_LCHOWN_SYSCALL.
46615 * sysdeps/unix/sysv/linux/i386/sigaction.c
46616 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46617 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46618 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46619 Remove conditional code.
46620 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46621 (__protocol_available): Remove #if 0 code.
46622 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46624 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46625 * sysdeps/unix/sysv/linux/kernel-features.h
46626 (__ASSUME_GETCWD_SYSCALL): Don't define.
46627 (__ASSUME_REALTIME_SIGNALS): Likewise.
46628 (__ASSUME_PREAD_SYSCALL): Likewise.
46629 (__ASSUME_PWRITE_SYSCALL): Likewise.
46630 (__ASSUME_POLL_SYSCALL): Likewise.
46631 (__ASSUME_LCHOWN_SYSCALL): Likewise.
46632 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46634 (__ASSUME_SIOCGIFNAME): Don't define.
46635 (__ASSUME_MSG_NOSIGNAL): Likewise.
46636 (__ASSUME_SENDFILE): Define unconditionally.
46637 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46638 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46640 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46641 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46642 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46643 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46644 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46645 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46646 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46648 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46649 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46651 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46654 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46655 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46657 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46658 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46660 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46661 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46663 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46664 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46666 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46667 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46669 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46670 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46671 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46672 Remove conditional code.
46673 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46674 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46675 Remove conditional code.
46676 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46677 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46678 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46679 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46680 Remove conditional code.
46681 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46682 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46683 Remove conditional code.
46684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46685 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46686 Remove conditional code.
46687 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46688 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46689 Remove conditional code.
46690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46691 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46692 Remove conditional code.
46693 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46694 * sysdeps/unix/sysv/linux/sh/pwrite64.c
46695 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46697 * sysdeps/unix/sysv/linux/sigaction.c
46698 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46699 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46700 * sysdeps/unix/sysv/linux/sigpending.c
46701 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46702 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46703 * sysdeps/unix/sysv/linux/sigprocmask.c
46704 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46705 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46706 * sysdeps/unix/sysv/linux/sigsuspend.c
46707 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46708 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46709 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46710 (__libc_missing_rt_sigs): Remove.
46711 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46712 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46713 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46714 Remove conditional code.
46715 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46716 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46718 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46719 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46720 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46721 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46723 2012-05-14 Andreas Jaeger <aj@suse.de>
46725 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46726 it's not used in glibc.
46727 (__coshm1): Likewise.
46728 (__acosh1p): Likewise.
46731 * manual/string.texi (Copying and Concatenation): Add missing
46732 variable in concat example.
46733 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46735 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46738 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46739 __builtin_clzl with __builtin_clzll.
46741 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46744 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46747 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46749 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46750 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46751 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46752 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46754 2012-05-14 Mike Frysinger <vapier@gentoo.org>
46756 * NEWS: Update ia64 info.
46758 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
46760 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46763 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
46765 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46766 * sysdeps/unix/syscalls.list (dup3): Likewise.
46767 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46768 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46770 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46772 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46773 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46775 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46777 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46779 (TLS_IE): Use mov/add instead of movq/addq to load thread
46781 (TLS_GD_PREFIX): New.
46784 2012-05-11 David S. Miller <davem@davemloft.net>
46786 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46787 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46788 (_FPU_SETCW): Likewise.
46790 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46792 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46793 is 32-byte aligned.
46795 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
46798 * iconvdata/gb18030.c: Update tables.
46799 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
46800 characters specially.
46801 (BODY for TO_LOOP): Add encoding of missing ranges.
46803 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
46806 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46807 * sysdeps/mach/hurd/dup3.c: Likewise.
46808 * sysdeps/mach/hurd/readlinkat.c: Likewise.
46809 * sysdeps/powerpc/memmove.c:: Likewise.
46811 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46813 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46814 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46816 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46818 * elf/elf.h (R_X86_64_RELATIVE64): New.
46819 (R_X86_64_NUM): Updated.
46820 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46821 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
46822 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46823 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46824 tst-quad1pie tst-quad2pie
46825 (modules-names): Add tst-quadmod1 tst-quadmod2.
46826 ($(objpfx)tst-quad1): New dependency.
46827 ($(objpfx)tst-quad2): Likewise.
46828 ($(objpfx)tst-quad1pie): Likewise.
46829 ($(objpfx)tst-quad2pie): Likewise.
46830 * sysdeps/x86_64/tst-quad1.c: New file.
46831 * sysdeps/x86_64/tst-quad1pie.c: New file.
46832 * sysdeps/x86_64/tst-quad2.c: Likewise.
46833 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46834 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46835 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46836 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46837 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46839 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46841 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46842 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46843 * streams/stropts.h (t_scalar_t): Define type.
46845 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46846 (_PATH_PRESERVE): Set to "/var/lib".
46847 (_PATH_RWHODIR): Set to "/var/spool/rwho".
46849 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46852 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46853 if __dir_mkfile succeeded.
46855 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46856 checking for _hurd_dtablesize. Unlock it right after having
46857 finished _hurd_dtable allocation.
46859 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46861 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46862 * sysdeps/mach/hurd/configure: Regenerated.
46863 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46864 special-casing to...
46865 * sysdeps/gnu/configure.in: ... this new file.
46866 * sysdeps/unix/sysv/linux/configure: Regenerated.
46867 * sysdeps/gnu/configure: New generated file.
46869 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46870 for Linux: use nsec instead of usec, as well as:
46871 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46872 members of type struct timespec.
46873 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46875 (struct stat64): Likewise.
46876 (_STATBUF_ST_NSEC): New macro.
46877 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46879 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46880 __strtoul_internal rather than strtoul.
46882 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46884 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46887 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46889 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46890 which preserves existing values.
46891 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46893 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46895 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46896 TIMEOUT values. Return EINVAL for NFDS values either negative or
46897 greater than FD_SETSIZE.
46899 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46901 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46902 allocated, call __vm_protect to finish enabling the existing space, and
46903 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46904 allocate the remainder.
46906 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46908 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46909 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
46911 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46913 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46914 sysdeps/mach/hurd/readlink.c.
46916 * posix/tst-sysconf.c (posix_options): Only use
46917 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46918 _POSIX_SYNCHRONIZED_IO when they are defined
46919 * sysdeps/mach/hurd/bits/posix_opt.h:
46920 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46921 (_XOPEN_REALTIME): Undefine macro.
46922 (_XOPEN_REALTIME_THREADS): Undefine macro.
46923 (_XOPEN_SHM): Undefine macro.
46924 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46926 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46928 (_POSIX_ASYNC_IO): Undefine macro.
46929 (_POSIX_PRIORITIZED_IO): Undefine macro.
46930 (_POSIX_SPIN_LOCKS): Define macro to -1.
46932 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46933 SA_NODEFER, SA_RESETHAND.
46934 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46935 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46938 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46940 * elf/Makefile (pldd-modules): Define unconditionally.
46942 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46944 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46946 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46948 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46949 Return ENOENT when name is empty.
46950 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46952 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46954 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46956 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46958 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46960 Fix mlock in all cases except non-readable pages.
46961 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46962 instead of VM_PROT_ALL as parameter to __vm_wire function.
46964 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46965 (__mkdir): When path is `/', just fail with EEXIST.
46966 * sysdeps/mach/hurd/mkdirat.c: Likewise.
46968 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46970 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46971 <sys/uio.h> (for writev).
46972 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46973 and <sys/param.h> (for MIN).
46975 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46977 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46978 REQUESTED_TIME. Properly set the remaining time and return EINTR
46981 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46983 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46984 Depend on against $(link-rpcuserlibs).
46986 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46988 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46989 (__libc_stack_end): Do not use attribute_relro.
46990 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46991 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46992 to libthread-provided value.
46993 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46996 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46999 * bits/libc-lock.h (__libc_once_get): New macro.
47000 * sysdeps/mach/bits/libc-lock.h: Likewise.
47001 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47002 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47003 instead of using implementation details.
47005 * libio/fileops.c: Unconditionally include <kernel-features.h>.
47006 * libio/freopen.c: Likewise.
47007 * libio/freopen64.c: Likewise.
47008 * misc/syslog.c: Likewise.
47009 * nscd/connections.c: Likewise.
47010 * nscd/netgroupcache.c: Likewise.
47011 * sysdeps/posix/getcwd.c: Likewise.
47013 2012-05-10 Roland McGrath <roland@hack.frob.com>
47015 * math/w_ilogbf.c: Add #include <limits.h>.
47017 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47019 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47020 path instead of returning without unlocking.
47022 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47023 immediate-write ioctls.
47024 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47026 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47028 * sysdeps/mach/hurd/i386/init-first.c (init): Use
47029 __builtin_frame_address instead of making assumptions about the
47030 location of the return address relative to DATA. Force early load of
47031 the return address.
47032 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47033 __builtin_frame_address.
47036 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47037 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
47038 implement dup3 and do some further code clean-ups.
47039 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47040 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47042 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47044 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47046 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47047 HURD_CRITICAL_END around holding _hurd_dtable_lock.
47048 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47049 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47050 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47053 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47054 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
47055 when handler == SIG_ERR, not when handler != SIG_ERR.
47057 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47059 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47060 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47063 accept4 for GNU Hurd.
47064 * include/sys/socket.h (__libc_accept4): New prototype.
47065 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
47066 to implement __libc_accept4.
47067 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47069 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47071 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47072 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47073 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47074 signal-defines.sym.
47076 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47078 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47080 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47082 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47083 assertion on O_CLOEXEC flag.
47084 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47085 * hurd/intern-fd.c: Likewise.
47086 * hurd/port2fd.c: Likewise.
47088 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47091 * bits/in.h (IPV6_PKTINFO): Define new macro.
47092 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47094 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47099 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47100 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47101 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47102 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47103 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47104 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47105 * math/libm-test.inc (logb_test) : Additional logb tests.
47107 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
47108 Andreas Jaeger <aj@suse.de>
47110 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47111 * configure: Regenerated.
47112 * config.h.in (LINK_OBSOLETE_RPC): New macro.
47113 * config.make.in (link-obsolete-rpc): New substituted variable.
47114 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47115 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47116 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47117 (shared-only-routines): Don't set it under [link-obsolete-rpc],
47118 so that libc.a contains the symbols.
47119 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47120 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47121 * sunrpc/auth_none.c: Likewise.
47122 * sunrpc/auth_unix.c: Likewise.
47123 * sunrpc/authdes_prot.c: Likewise.
47124 * sunrpc/authuxprot.c: Likewise.
47125 * sunrpc/clnt_gen.c: Likewise.
47126 * sunrpc/clnt_perr.c: Likewise.
47127 * sunrpc/clnt_raw.c: Likewise.
47128 * sunrpc/clnt_simp.c: Likewise.
47129 * sunrpc/clnt_tcp.c: Likewise.
47130 * sunrpc/clnt_udp.c: Likewise.
47131 * sunrpc/clnt_unix.c: Likewise.
47132 * sunrpc/des_crypt.c: Likewise.
47133 * sunrpc/des_soft.c: Likewise.
47134 * sunrpc/get_myaddr.c: Likewise.
47135 * sunrpc/key_call.c: Likewise.
47136 * sunrpc/key_prot.c: Likewise.
47137 * sunrpc/netname.c: Likewise.
47138 * sunrpc/pm_getmaps.c: Likewise.
47139 * sunrpc/pm_getport.c: Likewise.
47140 * sunrpc/pmap_clnt.c: Likewise.
47141 * sunrpc/pmap_prot.c: Likewise.
47142 * sunrpc/pmap_prot2.c: Likewise.
47143 * sunrpc/pmap_rmt.c: Likewise.
47144 * sunrpc/publickey.c: Likewise.
47145 * sunrpc/rpc_cmsg.c: Likewise.
47146 * sunrpc/rpc_common.c: Likewise.
47147 * sunrpc/rpc_dtable.c: Likewise.
47148 * sunrpc/rpc_prot.c: Likewise.
47149 * sunrpc/rpc_thread.c: Likewise.
47150 * sunrpc/rtime.c: Likewise.
47151 * sunrpc/svc.c: Likewise.
47152 * sunrpc/svc_auth.c: Likewise.
47153 * sunrpc/svc_raw.c: Likewise.
47154 * sunrpc/svc_run.c: Likewise.
47155 * sunrpc/svc_tcp.c: Likewise.
47156 * sunrpc/svc_udp.c: Likewise.
47157 * sunrpc/svc_unix.c: Likewise.
47158 * sunrpc/svcauth_des.c: Likewise.
47159 * sunrpc/xcrypt.c: Likewise.
47160 * sunrpc/xdr.c: Likewise.
47161 * sunrpc/xdr_array.c: Likewise.
47162 * sunrpc/xdr_float.c: Likewise.
47163 * sunrpc/xdr_intXX_t.c: Likewise.
47164 * sunrpc/xdr_mem.c: Likewise.
47165 * sunrpc/xdr_rec.c: Likewise.
47166 * sunrpc/xdr_ref.c: Likewise.
47167 * sunrpc/xdr_sizeof.c: Likewise.
47168 * sunrpc/xdr_stdio.c: Likewise.
47170 2012-05-10 Roland McGrath <roland@hack.frob.com>
47172 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47173 change. Update copyright years.
47175 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47177 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47179 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
47180 Joseph Myers <joseph@codesourcery.com>
47181 Paul Pluzhnikov <ppluzhnikov@google.com>
47184 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47186 [cross-compiling] (extra-libs): Likewise.
47187 [cross-compiling] (extra-libs-others): Likewise.
47188 [cross-compiling] (librpcsvc-routines): Likewise.
47189 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47190 [cross-compiling] (omit-deps): Likewise.
47191 (sunrpc-CPPFLAGS): New variable.
47192 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47193 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47194 (cross-rpcgen-objs): New variable.
47195 (extra-objs): Append $(cross-rpcgen-objs).
47196 ($(cross-rpcgen-objs)): New rule.
47197 ($(objpfx)cross-rpcgen): Likewise.
47198 (rpcgen-cmd): Define to use $(built-program-file). Expand
47200 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47201 ($(objpfx)x%.stmp): Likewise.
47202 * sunrpc/proto.h [IS_IN_build] (_): Define.
47203 [IS_IN_build] (_libc_intl_domainname): Likewise.
47205 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47207 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47208 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47209 and R_X86_64_TPOFF64.
47211 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47213 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47214 sysdeps/unix/sysv/syscalls.list.
47217 * sysdeps/unix/sysv/syscalls.list: Remove file.
47219 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
47222 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47223 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47224 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47225 (__LC_IDENTIFICATION): Make these macros useful in #if
47226 expressions, as required by C99.
47228 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
47230 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47231 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
47234 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
47236 * stdlib/longlong.h: Updated from GCC.
47238 2012-05-09 Andreas Jaeger <aj@suse.de>
47240 * nscd/nscd.c (run_modes): Make named enum, reorder so that
47241 default is first entry.
47242 (run_mode): Set type.
47243 (main): Remove informal message about syslog.
47244 (options): Fix typo.
47247 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47250 (llrintf): Likewise.
47251 (llrint): Likewise.
47254 (nearbyint): Likewise.
47255 (nearbyintf): Likewise.
47257 2012-05-09 Andreas Jaeger <aj@suse.de>
47258 Pedro Alves <palves@redhat.com>
47260 * nscd/nscd.c (run_mode): Use enum.
47261 (main): Cleanup coding style issue.
47263 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
47264 Andreas Jaeger <aj@suse.de>
47266 * nscd/nscd.c (go_background): Replaced with...
47267 (run_mode): ... this.
47268 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47269 (options): Add -F --foreground.
47270 (main): Implement it.
47271 (parse_opt): Parse it.
47273 2012-05-09 Andreas Jaeger <aj@suse.de>
47276 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47277 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47278 -Wconversion warning.
47279 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47282 2012-05-09 Joseph Myers <joseph@codesourcery.com>
47284 * conform/data/locale.h-data (NULL): Use macro-constant. Require
47286 (LC_ALL): Use macro-int-constant.
47287 (LC_COLLATE): Likewise.
47288 (LC_CTYPE): Likewise.
47289 (LC_MESSAGES): Likewise.
47290 (LC_MONETARY): Likewise.
47291 (LC_NUMERIC): Likewise.
47292 (LC_TIME): Likewise.
47293 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47294 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47295 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47296 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47298 [C99-based standards] (float_t): Expect type.
47299 [C99-based standards] (double_t): Expect type.
47300 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
47302 [C99-based standards] (HUGE_VALL): Likewise.
47303 [C99-based standards] (INFINITY): Likewise.
47304 [C99-based standards] (NAN): Likewise.
47305 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47306 [C99-based standards] (FP_NAN): Likewise.
47307 [C99-based standards] (FP_NORMAL): Likewise.
47308 [C99-based standards] (FP_SUBNORMAL): Likewise.
47309 [C99-based standards] (FP_ZERO): Likewise.
47310 [C99-based standards] (FP_FAST_FMA): Use
47311 optional-macro-int-constant. Specify type. Require == 1.
47312 [C99-based standards] (FP_FAST_FMAF): Likewise.
47313 [C99-based standards] (FP_FAST_FMAL): Likewise.
47314 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47315 [C99-based standards] (FP_ILOGBNAN): Likewise.
47316 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47318 [C99-based standards] (MATH_ERREXCEPT): Likewise.
47319 [C99-based standards] (math_errhandling): Specify type.
47320 [ISO99 || ISO11] (signgam): Do not allow.
47321 [non-C99-based standards] (copysignf): Do not allow.
47322 [non-C99-based standards] (exp2f): Likewise.
47323 [non-C99-based standards] (log2f): Likewise.
47324 [non-C99-based standards] (modff): Allow.
47325 [non-C99-based standards] (erff): Do not allow.
47326 [non-C99-based standards] (erfcf): Likewise.
47327 [non-C99-based standards] (gammaf): Likewise.
47328 [non-C99-based standards] (hypotf): Likewise.
47329 [non-C99-based standards] (j0f): Likewise.
47330 [non-C99-based standards] (j1f): Likewise.
47331 [non-C99-based standards] (jnf): Likewise.
47332 [non-C99-based standards] (lgammaf): Likewise.
47333 [non-C99-based standards] (tgammaf): Likewise.
47334 [non-C99-based standards] (y0f): Likewise.
47335 [non-C99-based standards] (y1f): Likewise.
47336 [non-C99-based standards] (ynf): Likewise.
47337 [non-C99-based standards] (isnanf): Likewise.
47338 [non-C99-based standards] (acoshf): Likewise.
47339 [non-C99-based standards] (asinhf): Likewise.
47340 [non-C99-based standards] (atanhf): Likewise.
47341 [non-C99-based standards] (cbrtf): Likewise.
47342 [non-C99-based standards] (expm1f): Likewise.
47343 [non-C99-based standards] (ilogbf): Likewise.
47344 [non-C99-based standards] (log1pf): Likewise.
47345 [non-C99-based standards] (logbf): Likewise.
47346 [non-C99-based standards] (nextafterf): Likewise.
47347 [non-C99-based standards] (remainderf): Likewise.
47348 [non-C99-based standards] (rintf): Likewise.
47349 [non-C99-based standards] (scalbf): Likewise.
47350 [non-C99-based standards] (copysignl): Likewise.
47351 [non-C99-based standards] (exp2l): Likewise.
47352 [non-C99-based standards] (log2l): Likewise.
47353 [non-C99-based standards] (modfl): Allow.
47354 [non-C99-based standards] (erfl): Do not allow.
47355 [non-C99-based standards] (erfcl): Likewise.
47356 [non-C99-based standards] (gammal): Likewise.
47357 [non-C99-based standards] (hypotl): Likewise.
47358 [non-C99-based standards] (j0l): Likewise.
47359 [non-C99-based standards] (j1l): Likewise.
47360 [non-C99-based standards] (jnl): Likewise.
47361 [non-C99-based standards] (lgammal): Likewise.
47362 [non-C99-based standards] (tgammal): Likewise.
47363 [non-C99-based standards] (y0l): Likewise.
47364 [non-C99-based standards] (y1l): Likewise.
47365 [non-C99-based standards] (ynl): Likewise.
47366 [non-C99-based standards] (isnanl): Likewise.
47367 [non-C99-based standards] (acoshl): Likewise.
47368 [non-C99-based standards] (asinhl): Likewise.
47369 [non-C99-based standards] (atanhl): Likewise.
47370 [non-C99-based standards] (cbrtl): Likewise.
47371 [non-C99-based standards] (expm1l): Likewise.
47372 [non-C99-based standards] (ilogbl): Likewise.
47373 [non-C99-based standards] (log1pl): Likewise.
47374 [non-C99-based standards] (logbl): Likewise.
47375 [non-C99-based standards] (nextafterl): Likewise.
47376 [non-C99-based standards] (remainderl): Likewise.
47377 [non-C99-based standards] (rintl): Likewise.
47378 [non-C99-based standards] (scalbl): Likewise.
47379 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47380 [non-C99-based standards] (FP_*): Do not allow.
47381 [C99-based standards] (FP_*): Change to
47382 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47383 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47385 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47386 (SIG_ERR): Likewise.
47387 [X/Open-based standards] (SIG_HOLD): Likewise.
47388 (SIG_IGN): Likewise.
47389 (SIGABRT): Use macro-int-constant. Specify type. Require
47391 (SIGFPE): Likewise.
47392 (SIGILL): Likewise.
47393 (SIGINT): Likewise.
47394 (SIGSEGV): Likewise.
47395 (SIGTER): Likewise.
47396 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47397 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47398 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47399 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47400 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47401 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47402 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47403 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47404 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47405 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47406 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47407 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47408 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47409 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47410 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47411 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47412 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47413 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47414 [X/Open-based standards] (SIGTRAP): Likewise.
47415 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47416 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47417 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47418 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47419 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47422 2012-05-08 Ian Wienand <ianw@vmware.com>
47425 * time/tzset.c (__tzset_parse_tz): Update default rules for
47426 daylight time changes in the Energy Policy Act of 2005.
47428 2012-05-09 Andreas Jaeger <aj@suse.de>
47431 * elf/ldconfig.c (parse_conf): Change string to make clear that
47432 ldconfig only issued a warning if ld.so.conf does not exist.
47434 2012-05-08 David S. Miller <davem@davemloft.net>
47436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47437 movxtod instead of popping the value on the stack.
47439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47441 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
47443 * config.h.in: Add HAVE_ARM_PCS_VFP.
47445 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
47448 * include/features.h: Warn if user requests __FORTIFY_SOURCE
47449 checking but the checks are disabled for any reason.
47451 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
47453 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47454 and ELF64_R_TYPE with ELFW(R_TYPE).
47456 2012-05-08 Joseph Myers <joseph@codesourcery.com>
47458 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47459 (ulimit): Likewise.
47461 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47462 (settimeofday): Likewise.
47464 2012-05-08 Mike Frysinger <vapier@gentoo.org>
47466 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
47467 a struct th_u2 inside the union, and move tu_block/tu_code into
47468 a new th_u3 union of tu_block/tu_code inside of that. Move
47469 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
47470 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
47471 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47472 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47473 (th_stuff): Change to th_u1.tu_stuff.
47475 (th_msg): Change to th_u1.th_u2.tu_data.
47477 2012-05-07 David S. Miller <davem@davemloft.net>
47479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47482 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47483 (SETUP_PIC_REG): Use it.
47484 (SETUP_PIC_REG_LEAF): Use it.
47486 2012-05-07 Joseph Myers <joseph@codesourcery.com>
47490 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47492 (EXPL_FINITE): Likewise.
47493 (FLDLOG): Likewise.
47494 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47495 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47497 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47499 (EXPL_FINITE): Likewise.
47500 (FLDLOG): Likewise.
47501 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47502 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47504 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
47505 test of -max_value argument for long double.
47506 * sysdeps/i386/fpu/libm-test-ulps: Update.
47507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47509 2012-05-06 David S. Miller <davem@davemloft.net>
47511 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47512 quad soft-float symbols whose references which are compiler
47514 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47516 2012-05-06 Joseph Myers <joseph@codesourcery.com>
47520 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47522 (EXPL_FINITE): Likewise.
47523 (FLDLOG): Likewise.
47526 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47527 Adjust comments for base varying.
47528 (__expl_finite): Change alias to EXPL_FINITE.
47529 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47531 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47532 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47533 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47534 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47535 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47537 (EXPL_FINITE): Likewise.
47538 (FLDLOG): Likewise.
47541 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47542 Adjust comments for base varying.
47543 (__expl_finite): Change alias to EXPL_FINITE.
47544 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
47546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47549 * math/libm-test.inc (check_float_internal): Correct ulp
47550 calculation for subnormal expected results.
47552 2012-05-06 Andreas Jaeger <aj@suse.de>
47554 * Makeconfig (+math-flags): New, set to -frounding-math.
47555 (+cflags): Add +math-flags so that all of glibc gets compiled with
47558 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47560 2012-05-05 Joseph Myers <joseph@codesourcery.com>
47562 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47568 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47569 (__ieee754_expl): Allow for and saturate large arguments.
47570 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47571 (u_threshold): Likewise.
47572 (__exp): Call __ieee754_exp before checking for overflow and
47574 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47575 (u_threshold): Likewise.
47576 (__expf): Call __ieee754_expf before checking for overflow and
47578 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47579 (u_threshold): Likewise.
47580 (__expl): Call __ieee754_expl before checking for overflow and
47582 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47583 (__ieee754_expl): Allow for and saturate large arguments.
47584 * math/libm-test.inc (exp_test): Add another test. Do not allow
47585 missing overflow exception on overflow.
47586 (expm1_test): Do not allow missing overflow exception on overflow.
47588 * sysdeps/i386/fpu/e_expl.c: Move to ...
47589 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
47590 rather than using inline asm.
47591 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47592 * sysdeps/x86_64/fpu/e_expl.S: Copy from
47593 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47595 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47598 (signal): Likewise.
47602 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47604 * sysdeps/unix/syscalls.list (adjtime): Add entry from
47605 sysdeps/unix/common/syscalls.list.
47606 (fchmod): Likewise.
47607 (fchown): Likewise.
47608 (ftruncate): Likewise.
47609 (getrusage): Likewise.
47610 (gettimeofday): Likewise.
47611 (setpgid): Likewise.
47612 (setregid): Likewise.
47613 (setreuid): Likewise.
47614 (sigaction): Likewise.
47615 (truncate): Likewise.
47616 (vhangup): Likewise.
47617 * sysdeps/unix/common/syscalls.list: Remove file.
47618 * sysdeps/unix/bsd/Implies: Don't include unix/common.
47619 * sysdeps/unix/sysv/linux/Implies: Likewise.
47621 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
47623 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47625 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47629 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47632 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47635 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47638 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47641 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47644 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47647 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47651 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47655 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47658 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47662 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47666 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47668 * sysdeps/unix/common/bits/dirent.h: Remove file.
47669 * sysdeps/unix/common/bits/fcntl.h: Likewise.
47671 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47672 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47673 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47674 * sysdeps/unix/bsd/isatty.c: Likewise.
47675 * sysdeps/unix/bsd/tcdrain.c: Likewise.
47676 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47677 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47679 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47682 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47683 long double comparison inaccuracies.
47684 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47687 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
47689 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47690 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47692 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47695 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47696 nonzero digits before rounding a hex value.
47697 * stdlib/tst-strtod.c (tests): Add another test.
47699 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47701 * sysdeps/s390/fpu/libm-test-ulps: Update.
47703 2012-05-03 Andreas Jaeger <aj@suse.de>
47705 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47706 does not get optimized out.
47707 (malloc_opt_barrier): New.
47709 2012-05-03 Andreas Jaeger <aj@suse.de>
47710 Roland McGrath <roland@hack.frob.com>
47712 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47713 intermediate file deletion.
47714 (generated): Add .symlist files.
47716 2012-05-03 Joseph Myers <joseph@codesourcery.com>
47719 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47720 Redirect under this condition.
47721 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47722 [__USE_GNU] (__dprintf_chk): Not under this condition.
47723 [__USE_GNU] (__vdprintf_chk): Likewise.
47724 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47725 under this condition.
47726 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47727 [__USE_XOPEN2K8] (dprintf): Define under this condition.
47728 [__USE_XOPEN2K8] (vdprintf): Likewise.
47729 [__USE_GNU] (__dprintf_chk): Not under this condition.
47730 [__USE_GNU] (__vdprintf_chk): Likewise.
47731 [__USE_GNU] (dprintf): Likewise.
47732 [__USE_GNU] (vdprintf): Likewise.
47734 2012-05-03 Roland McGrath <roland@hack.frob.com>
47736 * elf/Makefile (common-generated): Set this instead of generated for
47737 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
47738 $(all-built-dso)-derived lists.
47740 2012-05-03 Andreas Jaeger <aj@suse.de>
47742 * sysdeps/i386/fpu/libm-test-ulps: Update.
47745 * FAQ.in: Likewise.
47746 * scripts/gen-FAQ.pl: Likewise.
47747 * manual/install.texi (Installation): Point to online location of
47749 * Makefile (files-for-dist): Remove FAQ.
47752 2012-05-02 Allan McRae <allan@archlinux.org>
47754 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47755 (LDFLAGS-reldepmod5.so): Likewise.
47756 (LDFLAGS-reldep6mod1.so): Likewise.
47757 (LDFLAGS-reldep6mod4.so): Likewise.
47758 (LDFLAGS-reldep8mod3.so): Likewise.
47759 (LDFLAGS-unload4mod1.so): Likewise.
47760 (LDFLAGS-unload4mod2.so): Likewise.
47761 (LDFLAGS-tst-initorder): Likewise.
47762 (LDFLAGS-tst-initordera2.so): Likewise.
47763 (LDFLAGS-tst-initordera3.so): Likewise.
47764 (LDFLAGS-tst-initordera4.so): Likewise.
47765 (LDFLAGS-tst-initorderb2.so): Likewise.
47766 (LDFLAGS-noload): Likewise.
47767 (LDFLAGS-next): Likewise.
47768 (LDFLAGS-order2mod1.so): Likewise.
47769 (LDFLAGS-order2mod2.so): Likewise.
47770 (LDFLAGS-tst-initorder2): Likewise.
47771 (LDFLAGS-tst-initorder2a.so): Likewise.
47772 (LDFLAGS-tst-initorder2b.so): Likewise.
47773 (LDFLAGS-tst-initorder2c.so): Likewise.
47774 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47776 2012-05-02 David S. Miller <davem@davemloft.net>
47778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47780 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
47783 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47785 2012-05-02 Andreas Jaeger <aj@suse.de>
47787 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47788 since we manipulate rounding mode.
47789 (CPPFLAGS-test-idouble.c): Likewise.
47790 (CPPFLAGS-test-ifloat.c): Likewise.
47791 (CFLAGS-test-ldouble.c): Likewise.
47792 (CFLAGS-test-double.c): Likewise.
47793 (CFLAGS-test-float.c): Likewise.
47794 (CFLAGS-test-misc.c): Likewise.
47795 (CFLAGS-test-test-fenv.c): Likewise.
47797 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47801 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47802 comparisons to determine direction to adjust input.
47804 2012-05-01 Roland McGrath <roland@hack.frob.com>
47806 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47807 output to the target.
47809 * scripts/localplt.awk: New file.
47810 * elf/Makefile ($(objpfx)check-localplt): Target removed.
47811 (check-localplt-CFLAGS): Variable removed.
47812 ($(all-built-dso:=.jmprel)): New static pattern rule.
47813 (generated): Add those targets.
47814 (localplt-built-dso): New variable.
47815 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47817 * elf/check-localplt.c: File removed.
47819 * scripts/check-execstack.awk: New file.
47820 * elf/Makefile ($(objpfx)check-execstack): Target removed.
47821 (check-execstack-CFLAGS): Variable removed.
47822 ($(objpfx)check-execstack.h): Target removed.
47823 ($(objpfx)execstack-default): New target.
47824 (generated): Add that instead of check-execstack.h.
47825 ($(all-built-dso:=.phdr)): New static pattern rule.
47826 (generated): Add those targets.
47827 * elf/check-execstack.c: File removed.
47829 * scripts/check-textrel.awk: New file.
47830 * elf/Makefile ($(objpfx)check-textrel): Target removed.
47831 (check-textrel-CFLAGS): Variable removed.
47832 (all-built-dso): Use := to define.o
47833 ($(all-built-dso:=.dyn)): New static pattern rule.
47834 (generated): Add those targets.
47835 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47836 * config.make.in (READELF): New substituted variable.
47837 * elf/check-textrel.c: File removed.
47839 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47841 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47843 * conform/data/ctype.h-data [C99-based standards] (isblank):
47845 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47846 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47847 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47848 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47849 Specify type. Require positive value.
47850 (EILSEQ): Likewise.
47851 (ERANGE): Likewise.
47852 [ISO || POSIX] (EILSEQ): Do not expect.
47853 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47854 Specify type. Require positive value.
47855 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47856 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47857 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47858 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47859 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47860 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47861 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47862 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47863 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47864 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47865 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47866 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47867 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47868 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47869 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47870 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47871 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47872 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47873 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47874 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47875 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47876 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47877 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47878 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47879 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47880 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47881 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47882 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47883 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47884 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47885 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47886 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47887 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47888 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47889 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47890 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47891 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47892 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47893 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47894 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47895 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47896 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47897 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47898 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47899 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47900 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47901 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47902 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47903 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47904 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47905 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47906 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47907 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47908 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47909 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47910 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47911 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47912 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47913 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47914 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47915 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47916 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47917 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47918 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47919 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47920 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47921 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47922 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47923 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47924 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47925 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47926 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47927 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47928 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47929 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47930 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47931 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47933 (FLT_ROUNDS): Expect as macro, not constant.
47934 (FLT_MANT_DIG): Use macro-int-constant.
47935 (DBL_MANT_DIG): Likewise.
47936 (LDBL_MANT_DIG): Likewise.
47937 (FLT_DIG): Likewise.
47938 (DBL_DIG): Likewise.
47939 (LDBL_DIG): Likewise.
47940 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
47941 (DBL_MIN_EXP): Likewise.
47942 (LDBL_MIN_EXP): Likewise.
47943 (FLT_MAX_EXP): Use macro-int-constant.
47944 (DBL_MAX_EXP): Likewise.
47945 (LDBL_MAX_EXP): Likewise.
47946 (FLT_MAX_10_EXP): Likewise.
47947 (DBL_MAX_10_EXP): Likewise.
47948 (LDBL_MAX_10_EXP): Likewise.
47949 (FLT_MAX): Use macro-constant.
47950 (DBL_MAX): Likewise.
47951 (LDBL_MAX): Likewise.
47952 (FLT_EPSILON): Use macro-constant. Give upper bound.
47953 (DBL_EPSILON): Likewise.
47954 (LDBL_EPSILON): Likewise.
47955 (FLT_MIN): Likewise.
47956 (DBL_MIN): Likewise.
47957 (LDBL_MIN): Likewise.
47958 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47959 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47960 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47961 [ISO11] (FLT_HAS_SUBNORM): Likewise.
47962 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47963 [ISO11] (DBL_DECIMAL_DIG): Likewise.
47964 [ISO11] (FLT_DECIMAL_DIG): Likewise.
47965 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47966 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47967 [ISO11] (FLT_TRUE_MIN): Likewise.
47968 [ISO11] (LDBL_TRUE_MIN): Likewise.
47969 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47970 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47971 (SCHAR_MIN): Use macro-int-constant. Specify type.
47972 (SCHAR_MAX): Likewise.
47973 (UCHAR_MAX): Likewise.
47974 (CHAR_MIN): Likewise.
47975 (CHAR_MAX): Likewise.
47976 (MB_LEN_MAX): Use macro-int-constant.
47977 (SHRT_MIN): Use macro-int-constant. Specify type.
47978 (SHRT_MAX): Likewise.
47979 (USHRT_MAX): Likewise.
47980 (INT_MAX): Likewise.
47981 (INT_MIN): Use macro-int-constant. Specify type. Make upper
47983 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
47985 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47987 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
47988 bound negative. Suffix upper bound with "L".
47989 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47991 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47993 [C99-based standards] (LLONG_MAX): Likewise.
47994 [C99-based standards] (ULLONG_MAX): Likewise.
47995 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
47997 [ISO11] (max_align_t): Require type.
47998 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48000 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48001 from $CFLAGS, without defining away __attribute__ calls.
48002 (checknamespace): Use $CFLAGS_namespace.
48004 * conform/conformtest.pl (@keywords): Only include C99 keywords
48005 for standards based on C99 or C11.
48007 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48009 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48012 * conform/conformtest.pl: Handle "macro-int-constant" and test for
48013 usability of symbols in #if.
48015 * conform/conformtest.pl: If macro or constant types start
48016 "promoted:", expect the symbol to be of the following type
48017 promoted by the integer promotions.
48019 * conform/conformtest.pl: Parse all "constant" and "macro" lines
48020 in one place. Also handle "macro-constant".
48022 * conform/conformtest.pl: Only accept expected macro values with
48023 "==". Parse all "macro" lines in one place.
48024 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48026 * conform/conformtest.pl: Handle braced types on "constant" lines
48027 instead of handling "typed-constant".
48028 * conform/data/signal.h-data: Use "constant" instead of
48031 * conform/conformtest.pl: Handle "optional-" at start of lines in
48032 one place rather than duplicating several cases. Handle each
48033 format of "macro" line with initial "optional-".
48035 * conform/conformtest.pl: Only accept expected constant or
48036 optional-constant values with "==". Parse all "constant" lines in
48037 one place. Parse all "optional-constant" lines in one place.
48038 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48039 * conform/data/fmtmsg.h-data: Likewise.
48040 * conform/data/netinet/in.h-data: Likewise.
48041 * conform/data/tar.h-data: Likewise.
48042 * conform/data/limits.h-data: Use "==" form on "constant" and
48043 "optional-constant" lines.
48045 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48046 Use -std=c99 for XOPEN2K.
48047 (@knownproblems): Remove.
48048 (newtoken): Don't check %isknown.
48050 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48051 Do not expect macro.
48052 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48053 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48054 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48055 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48056 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48057 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48058 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48059 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48060 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48061 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48062 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48063 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48064 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48065 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48066 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48067 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48068 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48069 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48070 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48071 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48072 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48073 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48074 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48075 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48076 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48077 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48078 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48079 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48080 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48081 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48082 [XPG3] (acosh): Likewise.
48083 [XPG3] (asinh): Likewise.
48084 [XPG3] (atanh): Likewise.
48085 [XPG3] (cbrt): Likewise.
48086 [XPG3] (expm1): Likewise.
48087 [XPG3] (ilogb): Likewise.
48088 [XPG3] (log1p): Likewise.
48089 [XPG3] (logb): Likewise.
48090 [XPG3] (nextafter): Likewise.
48091 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48092 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48093 [XPG3] (remainder): Likewise.
48094 [XPG3] (rint): Likewise.
48095 [XPG3 || XPG4 || UNIX98] (round): Likewise.
48096 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48097 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48098 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48099 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48100 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48101 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48102 [UNIX98 || XOPEN2K] (scalb): Expect.
48103 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48104 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48105 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48106 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48107 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48108 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48109 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48110 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48111 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48112 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48113 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48114 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48115 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48116 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48117 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48118 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48119 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48120 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48121 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48122 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48123 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48124 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48125 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48126 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48127 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48128 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48129 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48130 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48131 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48132 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48133 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48134 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48135 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48136 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48137 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48138 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48139 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48140 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48141 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48142 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48143 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48144 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48145 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48146 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48147 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48148 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48149 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48150 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48151 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48152 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48153 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48154 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48155 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48156 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48157 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48158 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48159 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48160 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48161 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48162 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48163 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48164 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48165 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48166 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48167 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48168 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48169 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48170 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48171 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48172 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48173 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48174 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48175 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48176 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48177 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48178 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48179 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48180 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48181 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48182 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48183 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48184 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48185 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48186 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48187 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48188 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48189 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48190 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48191 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48192 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48193 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48194 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48195 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48196 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48197 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48198 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48199 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48200 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48201 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48202 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48203 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48204 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48205 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48206 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48207 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48208 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48209 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48210 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48211 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48212 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48213 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48214 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48215 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48216 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48217 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48218 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48219 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48220 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48221 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48222 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48223 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48224 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48225 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48226 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48227 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48228 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48229 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48230 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48231 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48232 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48233 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48234 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48235 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48236 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48237 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48238 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48239 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48241 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48242 _XOPEN_SOURCE_EXTENDED for XPG4.
48244 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48246 * Makeconfig (localtime): Remove variable.
48247 (inst_localtime-file): Likewise.
48249 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48270 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48274 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48275 comparisons to determine direction to adjust input.
48276 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48277 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48278 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48280 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48282 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48284 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48285 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48287 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48289 * math/libm-test.inc (nexttoward_test): Add more tests.
48291 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48294 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48295 in version GLIBC_2.1, not GLIBC_2.0.
48296 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48299 2012-04-30 Joseph Myers <joseph@codesourcery.com>
48302 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48304 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48305 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48306 * math/libm-test.inc (acos_test): Add more tests.
48307 (asin_test): Likewise.
48308 * sysdeps/i386/fpu/libm-test-ulps: Update.
48309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48312 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48314 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48315 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48316 * math/libm-test.inc (acos_test_tonearest): New function.
48317 (acos_test_towardzero): Likewise.
48318 (acos_test_downward): Likewise.
48319 (acos_test_upward): Likewise.
48320 (asin_test_tonearest): Likewise.
48321 (asin_test_towardzero): Likewise.
48322 (asin_test_downward): Likewise.
48323 (asin_test_upward): Likewise.
48324 (main): Call the new functions.
48325 * sysdeps/i386/fpu/libm-test-ulps: Update.
48326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48330 * math/e_exp10.c: Include <float.h>.
48331 (__ieee754_exp10): Handle underflow here rather than multiplying
48332 large negative argument by M_LN10.
48333 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48335 * math/e_exp10l.c: Include <float.h>.
48336 (__ieee754_exp10l): Handle underflow here rather than multiplying
48337 large negative argument by M_LN10l.
48338 * math/libm-test.inc (exp10_test): Add another test. Do not allow
48339 spurious overflow exception on underflow.
48341 2012-04-29 Marek Polacek <polacek@redhat.com>
48343 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48344 (__fortify_function): New macro.
48345 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48346 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48347 __extern_always_inline.
48348 * libio/bits/stdio2.h: Likewise.
48349 * libio/bits/stdio.h: Likewise.
48350 * string/string.h: Likewise.
48351 * string/bits/string3.h: Likewise.
48352 * include/stdio.h: Likewise.
48353 * stdlib/bits/stdlib.h: Likewise.
48354 * stdlib/stdlib.h: Likewise.
48355 * rt/bits/mqueue2.h: Likewise.
48356 * rt/mqueue.h: Likewise.
48357 * posix/bits/unistd.h: Likewise.
48358 * posix/unistd.h: Likewise.
48359 * io/bits/poll2.h: Likewise.
48360 * io/bits/fcntl2.h: Likewise.
48361 * io/fcntl.h: Likewise.
48362 * io/sys/poll.h: Likewise.
48363 * misc/bits/syslog.h: Likewise.
48364 * misc/bits/syslog-ldbl.h: Likewise.
48365 * misc/sys/syslog.h: Likewise.
48366 * socket/bits/socket2.h: Likewise.
48367 * socket/sys/socket.h: Likewise.
48368 * debug/tst-chk1.c: Likewise.
48369 * wcsmbs/bits/wchar2.h: Likewise.
48370 * wcsmbs/bits/wchar-ldbl.h: Likewise.
48371 * wcsmbs/wchar.h: Likewise.
48373 2012-04-29 Andreas Jaeger <aj@suse.de>
48375 * Makerules (tests): Remove enable-check-abi protection.
48376 (check-abi-warn): Remove.
48377 (check-abi-%): Remove check-abi-warn usage.
48379 * configure.in: Remove check-abi configure option.
48380 * configure: Regenerated.
48381 * config.make.in (enable-check-abi): Remove.
48383 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
48386 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48387 double functions to double *_finite functions.
48390 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48391 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48393 * stdio-common/Makefile (tests): Add tst-sprintf3.
48394 * stdio-common/tst-sprintf3.c: New file.
48396 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48397 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48399 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48401 * conform/conformtest.pl: Remove duplicate typed-constant
48404 2012-04-28 David S. Miller <davem@davemloft.net>
48406 * Makerules (%.abilist): Add vpath on sysdep_dirs.
48407 (check-abi-%): Remove AWK script prerequisite and explicit
48409 (check-abi): Rewrite to just diff the symlist with the abilist.
48410 (config-tls, config-abi-config): Delete, no longer used.
48411 (update-abi-%): Remove AWK script and explicit abilist directory.
48412 (update-abi): Rewrite to simply compare and conditionally copy the
48413 symlist and the sysdep abilist file. Remove update-abi-config
48415 * abilist/ld.abilist: Remove.
48416 * abilist/libBrokenLocale.abilist: Remove.
48417 * abilist/libanl.abilist: Remove.
48418 * abilist/libcrypt.abilist: Remove.
48419 * abilist/libdl.abilist: Remove.
48420 * abilist/librt.abilist: Remove.
48421 * abilist/libthread_db.abilist: Remove.
48422 * abilist/libutil.abilist: Remove.
48423 * scripts/extract-abilist.awk: Remove.
48424 * scripts/merge-abilist.awk: Remove.
48425 * sysdeps/generic/libcidn.abilist: New file.
48426 * sysdeps/generic/libnss_compat.abilist: New file.
48427 * sysdeps/generic/libnss_db.abilist: New file.
48428 * sysdeps/generic/libnss_dns.abilist: New file.
48429 * sysdeps/generic/libnss_files.abilist: New file.
48430 * sysdeps/generic/libnss_hesiod.abilist: New file.
48431 * sysdeps/generic/libnss_nis.abilist: New file.
48432 * sysdeps/generic/libnss_nisplus.abilist: New file.
48433 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48434 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48435 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48437 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48438 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48439 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48440 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48441 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48442 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48443 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48444 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48445 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48447 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48448 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48449 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48450 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48452 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48453 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48454 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48455 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48456 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48457 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48459 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48460 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48461 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48463 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48566 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48567 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48568 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48570 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48571 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48572 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48573 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48574 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48575 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48576 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48577 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48578 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48579 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48631 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48633 * conform/conformtest.pl: Fix typo in handling typed-constant from
48636 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48638 * README: Cut down references to pre-2.6 Linux kernels and
48639 Linuxthreads. Update lists of configurations in libc and ports
48640 and sort alphabetically. Say "or newer" with Linux kernel version
48643 * config.h.in [IS_IN_build]: Allow compiling without optimization.
48645 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48648 * math/libm-test.inc (logb_test_downward): New test to expose
48649 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48652 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48655 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48657 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48658 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48660 2012-04-26 Joseph Myers <joseph@codesourcery.com>
48662 * sysdeps/unix/i386/brk.S: Remove file.
48663 * sysdeps/unix/i386/dl-brk.S: Likewise.
48664 * sysdeps/unix/i386/pipe.S: Likewise.
48665 * sysdeps/unix/i386/sigreturn.S: Likewise.
48666 * sysdeps/unix/i386/syscall.S: Likewise.
48667 * sysdeps/unix/i386/vfork.S: Likewise.
48668 * sysdeps/unix/i386/wait.S: Likewise.
48670 * sysdeps/unix/common/tcsendbrk.c: Move to ...
48671 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48673 * configure.in (arm*-none*): Do not allow without
48674 --enable-hacker-mode.
48675 (netbsd*): Remove case setting base_os.
48676 (386bsd*): Likewise.
48677 (freebsd*): Likewise.
48680 (sunos*): Likewise.
48681 (ultrix*): Likewise.
48682 (newsos*): Likewise.
48683 (dynix*): Likewise.
48689 (minix*): Likewise.
48690 (irix4*): Likewise.
48691 (irix6*): Likewise.
48692 (solaris[2-9]*): Likewise.
48694 * configure: Regenerated.
48696 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48699 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48700 overflow or cancellation in calculating denominator.
48701 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48702 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48703 down expression to avoid unexpected rounding in newer GCCs.
48704 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48706 2012-04-26 David S. Miller <davem@davemloft.net>
48708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48709 long-double compat symbols.
48710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48724 2012-04-25 David S. Miller <davem@davemloft.net>
48726 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48727 HWCAP_* values only after the memory barriers have been defined.
48728 (atomic_full_barrier): Define.
48729 (atomic_read_barrier): Define.
48730 (atomic_write_barrier): Define.
48732 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48734 * shlib-versions: Add libgcc_s version information.
48735 * sysdeps/generic/libgcc_s.h: Remove.
48736 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48738 * sysdeps/gnu/unwind-resume.c: Likewise.
48739 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48741 2012-04-25 David S. Miller <davem@davemloft.net>
48743 * sysdeps/unix/sparc/brk.S: Delete.
48744 * sysdeps/unix/sparc/dl-brk.S: Delete.
48745 * sysdeps/unix/sparc/pipe.S: Delete.
48746 * sysdeps/unix/sparc/sysdep.S: Delete.
48747 * sysdeps/unix/sparc/sysdep.h: Delete.
48748 * sysdeps/unix/sparc/vfork.S: Delete.
48749 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48750 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48751 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48752 (ret_ERRVAL, r0, r1, MOVE): Define.
48753 (JUMPTARGET): Remove.
48754 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48755 sysdeps/unix/sparc/sysdep.h
48756 (ENTRY, END): Remove.
48757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48759 2012-04-25 Joseph Myers <joseph@codesourcery.com>
48761 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48762 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48765 * timezone/README: Update upstream location and email address for
48767 * timezone/zdump.c: Update from tzcode 2012b.
48768 * timezone/zic.c: Likewise.
48770 * configure.in (libc_cv_as_needed): Remove test.
48771 * configure: Regenerated.
48772 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48773 conditional definition.
48774 [$(have-as-needed) != yes] (no-as-needed): Likewise.
48775 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48776 * config.make.in (have-as-needed): Remove variable.
48778 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48779 Paul Pluzhnikov <ppluzhnikov@google.com>
48781 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48784 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
48786 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48787 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48788 * sysdeps/sh/strlen.S: Likewise.
48790 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48792 * sysdeps/unix/fork.S: Remove file.
48793 * sysdeps/unix/i386/fork.S: Likewise.
48794 * sysdeps/unix/sparc/fork.S: Likewise.
48796 * sysdeps/unix/system.c: Remove file.
48797 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48799 * sysdeps/unix/getegid.S: Remove file.
48800 * sysdeps/unix/geteuid.S: Likewise.
48802 2012-04-24 Roland McGrath <roland@hack.frob.com>
48804 * scripts/check-localplt.awk: New file.
48805 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48807 * scripts/data/localplt-generic.data: Add a comment.
48809 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48810 NODE when __dir_mkfile failed.
48811 * sysdeps/mach/hurd/symlinkat.c: Likewise.
48812 Reported by Ludovic Courtès <ludo@gnu.org>.
48814 2012-04-24 Andreas Jaeger <aj@suse.de>
48816 * Makerules (common-clean): Also remove gen-as-const-headers
48819 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48821 * Makerules (native-compile): Do not change working directory for
48822 build. Use $(OUTPUT_OPTION) in command.
48823 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48825 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48828 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48829 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48830 * math/libm-test.inc (floor_test): Add more tests.
48831 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48833 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48835 * sysdeps/unix/getdents.c: Remove file.
48836 * sysdeps/unix/sysv/getdents.c: Likewise.
48837 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48839 * sysdeps/unix/syscalls.list (madvise): Add syscall from
48840 sysdeps/unix/mman/syscalls.list.
48842 (mprotect): Likewise.
48844 (munmap): Likewise.
48845 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48846 * sysdeps/unix/mman/syscalls.list: Remove.
48847 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48849 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48850 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48851 * configure: Regenerated.
48852 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48853 $(libgcc_s_suffix).
48854 * config.make.in (libgcc_s_suffix): Remove variable.
48856 2012-04-23 Joseph Myers <joseph@codesourcery.com>
48858 * sysdeps/unix/sysv/gethostname.c: Move to ...
48859 * sysdeps/posix/gethostname.c: ... here.
48861 * sysdeps/unix/execve.S: Remove file.
48863 * sysdeps/unix/_exit.S: Remove file.
48865 2012-04-23 Andreas Jaeger <aj@suse.de>
48868 * manual/Makefile: Remove make dist support, there's no
48869 need for a stand-alone documentation tar ball.
48870 (TEXI2DVI): Define always, it's not in Makeconfig.
48873 (edition): Removed.
48874 (glibc-doc-$(edition).tar): Removed
48878 (ETAGS): Remove, it's in Makeconfig.
48879 (move-if-change): Remove, it's in Makeconfig.
48881 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
48884 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48885 (strtod, strtof, strtold, strtol, strtoul, strtoq)
48886 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48887 (strtod_l, strtof_l, strtold_l): Remove __wur.
48888 It is not necessarily an error to ignore strtol's return value.
48889 One can reliably look at the stored endptr to decide whether
48890 the number had valid syntax.
48892 2012-04-21 Andreas Jaeger <aj@suse.de>
48895 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48897 2012-04-21 Joseph Myers <joseph@codesourcery.com>
48899 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48900 * sysdeps/unix/sysv/Versions: Remove file.
48902 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
48905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48907 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
48910 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48911 version from __vm86.
48913 2012-04-20 Joseph Myers <joseph@codesourcery.com>
48915 * sysdeps/unix/common/lxstat.c: Remove file.
48916 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48918 * sysdeps/unix/sysv/Makefile: Remove file.
48920 * sysdeps/unix/sysv/direct.h: Remove file.
48922 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48923 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48924 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48925 * sysdeps/unix/sysv/bits/signum.h: Likewise.
48926 * sysdeps/unix/sysv/bits/stat.h: Likewise.
48927 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48928 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48930 * sysdeps/unix/sysv/setrlimit.c: Remove file.
48932 * sysdeps/unix/xmknod.c: Remove file.
48933 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48935 * sysdeps/unix/sysv/settimeofday.c: Remove file.
48937 * sysdeps/unix/sysv/i386/time.S: Remove file.
48939 * sysdeps/unix/fxstat.c: Remove file.
48940 * sysdeps/unix/xstat.c: Likewise.
48941 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48943 * sysdeps/unix/sysv/sigaction.c: Remove file.
48945 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48946 (sysdep_headers): Remove variable.
48947 [termio.h not in sysdep_headers] (generated): Likewise.
48948 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48949 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48950 * sysdeps/unix/sysv/tcdrain.c: Likewise.
48951 * sysdeps/unix/sysv/tcflow.c: Likewise.
48952 * sysdeps/unix/sysv/tcflush.c: Likewise.
48953 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48954 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48955 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48956 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48957 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48959 * sysdeps/unix/siglist.c: Remove file.
48961 * sysdeps/unix/getppid.S: Remove file.
48963 * sysdeps/unix/mkdir.c: Remove file.
48964 * sysdeps/unix/rmdir.c: Likewise.
48966 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
48968 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48970 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48971 errlist-compat value.
48973 2012-04-18 David S. Miller <davem@davemloft.net>
48975 * sysdeps/generic/memcopy.h (reg_char): Delete.
48976 * debug/strcat_chk.c: Use char, not reg_char.
48977 * debug/strcpy_chk.c: Likewise.
48978 * debug/strncat_chk.c: Likewise.
48979 * debug/strncpy_chk.c: Likewise.
48980 * string/memchr.c: Likewise.
48981 * string/memrchr.c: Likewise.
48982 * string/rawmemchr.c: Likewise.
48983 * string/strcat.c: Likewise.
48984 * string/strchr.c: Likewise.
48985 * string/strchrnul.c: Likewise.
48986 * string/strcmp.c: Likewise.
48987 * string/strcpy.c: Likewise.
48988 * string/strncat.c: Likewise.
48989 * string/strncmp.c: Likewise.
48990 * string/strncpy.c: Likewise.
48992 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48994 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48995 __builtin_memcopy is called when src and dest ranges are known to not
48998 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49000 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49001 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49002 fwd_align_merge macro call.
49003 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49004 bwd_align_merge macro call.
49005 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49007 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49009 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49010 bwd_align_merge macros.
49011 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49012 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49013 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49015 2012-04-18 David S. Miller <davem@davemloft.net>
49017 * sysdeps/sparc/sparc64/memcopy.h: Delete.
49019 2012-04-18 Andreas Jaeger <aj@suse.de>
49022 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49023 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49024 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49026 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49027 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49028 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49030 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49031 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49032 Adjust for changed ldbl-128 files.
49034 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49035 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49036 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49038 2012-04-17 David S. Miller <davem@davemloft.net>
49040 * sysdeps/sparc/sparc32/memcopy.h: Delete.
49042 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
49044 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49045 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49046 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49047 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49048 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49049 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49051 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49054 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49055 * math/libm-test.inc: Add ilogb errno and exception tests.
49056 * math/w_ilogb.c: New file: ilogb wrapper.
49057 * math/w_ilogbf.c: New file: ilogbf wrapper.
49058 * math/w_ilogbl.c: New file: ilogbl wrapper.
49059 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49060 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49061 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49062 exception being thrown with 0.0 as argument.
49063 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49064 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49065 exception being thrown with 0.0 as argument.
49066 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49067 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49068 exception being thrown with 0.0 as argument.
49069 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49070 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49071 exception being thrown with 0.0 as argument.
49072 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49073 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49074 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49075 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49076 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49077 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49078 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49079 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49080 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49082 2012-04-17 Petr Baudis <pasky@ucw.cz>
49084 * include/sys/uio.h: Change __vector to __iovec to avoid clash
49087 2012-04-16 Marek Polacek <polacek@redhat.com>
49089 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49091 2012-04-16 Marek Polacek <polacek@redhat.com>
49093 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49094 operands of fdivp instruction.
49096 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49098 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49099 * elf/tst-auditmod3b.c: Likewise.
49100 * elf/tst-auditmod4b.c: Likewise.
49101 * elf/tst-auditmod5b.c: Likewise.
49102 * elf/tst-auditmod6b.c: Likewise.
49103 * elf/tst-auditmod6c.c: Likewise.
49104 * elf/tst-auditmod7b.c: Likewise.
49105 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49106 * sysdeps/x86_64/preconfigure.in: Likewise.
49107 * sysdeps/x86_64/preconfigure: Regenerated.
49109 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49111 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49114 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
49116 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49117 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49119 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
49122 * locale/iso-639.def: Fix gl language name. Spotted by
49125 2012-04-12 Roland McGrath <roland@hack.frob.com>
49128 * libio/libio.h (__io_write_fn): Update comment.
49130 2012-04-12 Petr Baudis <pasky@ucw.cz>
49133 * stdio.texi (Hook Functions): The user provided writer function
49134 is not allowed to return -1.
49136 2012-04-11 David S. Miller <davem@davemloft.net>
49138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49140 2012-04-11 Mike Frysinger <vapier@gentoo.org>
49142 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49143 Add a leading slash to rtkaio.
49145 2012-04-11 Jim Meyering <meyering@redhat.com>
49148 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49149 It is not necessarily an error to ignore fwrite's return
49150 value. One can reliably use ferror to test for errors after
49153 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49155 * bits/types.h (__snseconds_t): New type.
49156 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49158 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49160 (__SNSECONDS_T_TYPE): Likewise.
49161 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49162 (__SNSECONDS_T_TYPE): Likewise.
49163 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49164 (__SNSECONDS_T_TYPE): Likewise.
49166 2012-04-10 Andreas Jaeger <aj@suse.de>
49169 * manual/time.texi (Processor Time): Return type of times is
49170 elapsed real time since an arbitrary point in the past.
49171 (CPU Time): Move CLK_TCK from here...
49172 (Processor Time): ...to here. Correct description.
49173 * manual/conf.texi (Constants for Sysconf): Correct description of
49176 2012-04-10 David S. Miller <davem@davemloft.net>
49179 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49180 where the is a gap between DT_REL(A) and DT_JMPREL.
49182 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49184 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49185 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49186 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49188 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49190 * elf/dl-support.c (_dl_inhibit_cache): New variable.
49191 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49192 (dl_main): Handle --inhibit-cache.
49193 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49195 * elf/dl-load.c (_dl_map_object): Use it.
49196 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49198 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49201 * sysdeps/i386/fpu/e_powl.S (p78): New object.
49202 (__ieee754_powl): Saturate large exponents rather than testing for
49203 overflow of y*log2(x).
49204 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49205 * math/libm-test.inc (pow_test): Do not permit spurious overflow
49209 * math/s_ctan.c: Include <float.h>.
49210 (__ctan): Avoid internal overflow or cancellation in calculating
49212 * math/s_ctanf.c: Likewise.
49213 * math/s_ctanl.c: Likewise.
49214 * math/s_ctanh.c: Likewise.
49215 * math/s_ctanhf.c: Likewise.
49216 * math/s_ctanhl.c: Likewise.
49217 * math/libm-test.inc (ctan_test): Add more tests.
49218 (ctanh_test): Likewise.
49219 * sysdeps/i386/fpu/libm-test-ulps: Update.
49220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49222 2012-04-09 Andreas Jaeger <aj@suse.de>
49225 * manual/filesys.texi (Directory Entries): Mention that d_namlen
49226 is an optional BSD extension.
49229 * manual/stdio.texi (Opening Streams): Document additional fopen
49232 2012-04-09 Roland McGrath <roland@hack.frob.com>
49234 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49235 %eax without telling the compiler.
49237 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
49240 * manual/install.texi: Use sourceware.org.
49242 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49245 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49246 (__ieee754_pow): Generate overflow and underflow using huge*huge
49247 and tiny*tiny rather than just returning constant infinity or zero
49248 for large exponents.
49249 * math/libm-test.inc (pow_test): Require overflow exceptions for
49250 applicable cases of large exponents.
49253 * sysdeps/i386/fpu/e_pow.S (p10): New object.
49254 (__ieee754_pow): Use iterative multiplication algorithm only for
49255 integer exponents with absolute value below 1024. Check for odd
49256 integer exponents when using algorithm for real exponents.
49257 * math/libm-test.inc (pow_test): Add more tests.
49258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49260 2012-04-08 Joseph Myers <joseph@codesourcery.com>
49263 * math/libm-test.inc (exp_test): Do not allow overflow exception
49266 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
49269 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49270 instead of __kernel_standard_f.
49272 2012-04-08 Mike Frysinger <vapier@gentoo.org>
49274 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49275 * sysdeps/x86_64/memset_chk.S: Likewise.
49277 2012-04-08 Andreas Jaeger <aj@suse.de>
49280 * manual/startup.texi (Environment Access): Describe return value
49281 for putenv and setenv.
49284 * manual/filesys.texi (Directory Entries): Add description for
49288 * manual/filesys.texi (Directory Entries): Clarify that it's file
49289 system not operating system in the description of DT_UNKNOWN.
49292 * manual/syslog.texi (closelog): Fix reference, it's openlog.
49294 2012-04-08 Stephen Compall <s11@member.fsf.org>
49297 * manual/llio.texi (Opening and Closing Files): Add cross
49298 reference to explain mode argument.
49300 2012-04-07 Mike Frysinger <vapier@gentoo.org>
49302 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49303 * sysdeps/x86_64/memset_chk.S: Likewise.
49305 2012-04-07 David S. Miller <davem@davemloft.net>
49307 * elf/elf.h (R_SPARC_WDISP10): Define.
49308 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49310 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49311 R_SPARC_SIZE64 and R_SPARC_H34.
49313 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
49315 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49316 conditions and remove no longer applicable assertion.
49318 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49320 * bits/byteswap.h: Include <features.h>.
49321 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49322 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49324 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49326 * bits/byteswap.h (__bswap_16): Removed.
49327 Include <bits/byteswap-16.h> to get __bswap_16.
49328 * sysdeps/i386/bits/byteswap.h: Likewise.
49329 * sysdeps/s390/bits/byteswap.h: Likewise.
49330 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49331 * bits/byteswap-16.h: New file.
49332 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49333 * sysdeps/s390/bits/byteswap-16.h: Likewise.
49334 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49335 * string/Makefile (headers): Add bits/byteswap-16.h.
49337 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49340 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49342 * nss/Makefile (tests-static, tests): Add tst-nss-static.
49343 * nss/tst-nss-static.c: New.
49345 2012-04-06 Robert Millan <rmh@gnu.org>
49348 * manual/llio.texi (File Position Primitive): lseek
49349 refers to WHENCE when it really means OFFSET.
49351 2012-04-06 Andreas Jaeger <aj@suse.de>
49353 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49354 strncmp declarations.
49356 * abilist/libc.abilist: Add __poll and __ppoll.
49358 2012-04-05 David S. Miller <davem@davemloft.net>
49360 * scripts/check-local-headers.sh: Accept a host triplet in the
49361 path matched by the exclude regexp.
49363 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49365 * sysdeps/powerpc/powerpc32/dl-machine.h
49366 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49367 * sysdeps/s390/s390-32/dl-machine.h
49368 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49369 * sysdeps/sparc/sparc32/dl-machine.h
49370 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49371 * sysdeps/sparc/sparc64/dl-machine.h
49372 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49374 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49376 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49377 undefined symbol errors.
49379 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49382 2012-04-05 Michael Matz <matz@suse.de>
49385 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49387 2012-04-05 Andreas Jaeger <aj@suse.de>
49390 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49393 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49395 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49396 which ROUND is no valid rounding mode.
49398 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49400 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49402 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49404 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49406 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49407 an exception using FPU order intentionally.
49409 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49411 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49412 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49413 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49414 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49416 2012-04-05 Simon Josefsson <simon@josefsson.org>
49419 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49420 EINVAL when BUFLEN is too smal.
49422 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
49425 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49426 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49428 2012-04-03 Andreas Jaeger <aj@suse.de>
49431 * manual/setjmp.texi (System V contexts): Fix sentence.
49434 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49435 New macro for this case.
49436 [!__GNUC__] (__bswap_64): New inline function for this case.
49437 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49438 * bits/byteswap.h: Likewise.
49439 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49440 ull, guard with __GLIBC_HAVE_LONG_LONG.
49442 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49443 __GLIBC_HAVE_LONG_LONG.
49445 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49446 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49448 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49451 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49452 inptr and inend, rather than using last_ch.
49454 2012-04-02 David S. Miller <davem@davemloft.net>
49456 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49457 * stdio-common/printf-parse.h (read_int): Change return type to
49458 'int', return -1 on INT_MAX overflow.
49459 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49460 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
49461 overflows INT_MAX. Check for overflow of in-format-string precision
49462 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
49463 SIZE_MAX not INT_MAX for integer overflow test.
49464 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49465 skip the construct in the format string but do not record anything.
49466 * stdio-common/bug22.c: Adjust to test both width/prevision
49467 INT_MAX overflow as well as total length INT_MAX overflow. Check
49468 explicitly for proper errno values.
49470 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
49472 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49474 * string/test-strcmp.c [! WIDE]: Likewise.
49475 * time/tst-mktime2.c: Likewise for INT_MAX.
49476 * string/test-string.h: #include <sys/param.h> for MIN.
49478 * csu/init-first.c (__libc_init_first): Call __ctype_init.
49479 * sysdeps/i386/init-first.c (init): Likewise.
49480 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49481 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49482 * sysdeps/sh/init-first.c (init): Likewise.
49484 2012-04-01 Ulrich Drepper <drepper@gmail.com>
49486 * po/ru.po: Update from translation team.
49487 * po/vi.po: Likewise.
49489 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
49491 * resolv/nss_dns/dns-host.c: Merge copyright years.
49493 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49495 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49496 Optimize memcpy with prefetch if
49497 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
49498 src, dst pointers have unequal 16 byte alignments.
49500 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49503 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49504 from a CNAME entry and return the minimum ttl for the query.
49505 (gaih_getanswer_slice): Likewise.
49507 2012-03-30 Jeff Law <law@redhat.com>
49509 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49511 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49512 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49514 * resolv/nss_dns/dns-host.c: Update copyright year.
49516 2012-03-30 Ulrich Drepper <drepper@gmail.com>
49518 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49519 requests to save a system call. Fix check that all bytes are sent.
49521 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49522 comments for sendmmsg.
49524 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49527 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49528 with only 1 character between 0x0041 and 0x01b0.
49529 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49530 * wcsmbs/tst-mbsnrtowcs.c: New file.
49532 2012-03-29 David S. Miller <davem@davemloft.net>
49534 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49535 small copies by hand.
49537 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49540 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49541 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49544 2012-03-28 David S. Miller <davem@davemloft.net>
49546 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49547 that branches into memcpy.
49548 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49549 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49550 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49551 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49554 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49555 implementation too.
49556 * sysdeps/sparc/mempcpy.S: New file.
49558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49559 the IFUNC routine in the libc case.
49560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49562 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49563 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49564 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49565 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49566 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49567 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49568 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49569 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49571 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49572 loop to 256 bytes instead of 64 bytes and fix test signedness.
49574 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49575 * sysdeps/sparc/sparc32/Makefile: rather than here...
49576 * sysdeps/sparc/sparc64/Makefile: and here.
49578 2012-03-28 Ulrich Drepper <drepper@gmail.com>
49580 * malloc/mallocbug.c: Avoid warnings about unused variables.
49582 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49585 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49586 in the right place. Discard and retry query if response is
49587 larger than input buffer size.
49589 2012-03-28 Joseph Myers <joseph@codesourcery.com>
49594 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49595 x for large integer exponent.
49596 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49597 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
49598 sign of result as needed afterwards.
49599 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49600 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49601 result for underflowing pow the same as for overflow.
49602 (__kernel_standard_l): Handle powl overflow and underflow here
49603 rather than calling __kernel_standard.
49604 * math/libm-test.inc (pow_test): Add more tests.
49619 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49620 * sysdeps/ieee754/k_standard.c: Include <float.h>.
49621 (__kernel_standard_l): New function.
49622 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49624 * math/w_acosl.c (__acosl): Likewise.
49625 * math/w_asinl.c (__asinl): Likewise.
49626 * math/w_atan2l.c (__atan2l): Likewise.
49627 * math/w_atanhl.c (__atanhl): Likewise.
49628 * math/w_coshl.c (__coshl): Likewise.
49629 * math/w_exp10l.c (__exp10l): Likewise.
49630 * math/w_exp2l.c (__exp2l): Likewise.
49631 * math/w_fmodl.c (__fmodl): Likewise.
49632 * math/w_hypotl.c (__hypotl): Likewise.
49633 * math/w_j0l.c (__j0l, __y0l): Likewise.
49634 * math/w_j1l.c (__j1l, __y1l): Likewise.
49635 * math/w_jnl.c (__jnl, __ynl): Likewise.
49636 * math/w_lgammal.c (__lgammal): Likewise.
49637 * math/w_log10l.c (__log10l): Likewise.
49638 * math/w_log2l.c (__log2l): Likewise.
49639 * math/w_logl.c (__logl): Likewise.
49640 * math/w_powl.c (__powl): Likewise.
49641 * math/w_remainderl.c (__remainderl): Likewise.
49642 * math/w_scalbl.c (sysv_scalbl): Likewise.
49643 * math/w_sinhl.c (__sinhl): Likewise.
49644 * math/w_sqrtl.c (__sqrtl): Likewise.
49645 * math/w_tgammal.c (__tgammal): Likewise.
49646 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49647 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49648 * math/libm-test.inc (acos_test): Add more tests.
49649 (acosh_test): Likewise.
49650 (asin_test): Likewise.
49651 (atanh_test): Likewise.
49652 (exp_test): Likewise.
49653 (exp10_test): Likewise.
49654 (exp2_test): Likewise.
49655 (expm1_test): Likewise.
49656 (lgamma_test): Likewise.
49657 (log_test): Likewise.
49658 (log10_test): Likewise.
49659 (log1p_test): Likewise.
49660 (log2_test): Likewise.
49661 (pow_test): Do not allow some spurious overflow exceptions.
49662 (sqrt_test): Add more tests.
49663 (tgamma_test): Likewise.
49664 (y0_test): Likewise.
49665 (y1_test): Likewise.
49666 (yn_test): Likewise.
49668 2012-03-27 Anton Blanchard <anton@samba.org>
49670 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49672 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49673 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49674 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49676 2012-03-27 David S. Miller <davem@davemloft.net>
49678 * conform/Makefile: Run run-conformtest.sh using $(BASH).
49680 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49681 have-as-vis3 check.
49683 2012-03-27 Andreas Jaeger <aj@suse.de>
49685 * sysdeps/x86_64/elf/configure.in: Moved to ...
49686 * sysdeps/x86_64/configure.in: ... here.
49687 * sysdeps/x86_64/elf/start.S: Moved to ...
49688 * sysdeps/x86_64/start.S: ... here.
49689 * sysdeps/x86_64/elf/configure: Delete.
49691 * sysdeps/x86_64/configure.in: Merge contents from
49692 sysdeps/i386/configure.in (without i686 check).
49694 * sysdeps/i386/elf/Versions: Merge into ...
49695 * sysdeps/i386/Versions: ... this.
49696 * sysdeps/i386/elf/Versions: Delete file.
49697 * sysdeps/i386/elf/start.S: Moved to ...
49698 * sysdeps/i386/start.S: ...here.
49699 * sysdeps/i386/elf/configure.in: Merge into...
49700 * sysdeps/i386/configure.in: ...here.
49701 * sysdeps/i386/elf/configure.in: Delete file.
49702 * sysdeps/i386/elf/configure: Delete file.
49704 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49705 * debug/backtracesyms.c: ... here.
49706 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49707 * debug/backtracesymsfd.c: ... here.
49708 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49709 * sysdeps/generic/ifunc-sel.h: ... here.
49711 * sysdeps/unix/i386/start.c: Delete file.
49712 * sysdeps/unix/sparc/start.c: Delete file.
49713 * sysdeps/unix/start.c: Delete file.
49715 * sysdeps/sh/elf/configure.in: Moved to ...
49716 * sysdeps/sh/configure.in: ... here.
49717 * sysdeps/sh/elf/start.S: Moved to ...
49718 * sysdeps/sh/start.S: ... here.
49719 * sysdeps/sh/elf/configure: Delete file.
49721 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49722 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49723 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49724 * sysdeps/powerpc/powerpc64/entry.h: ... here.
49725 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49726 * sysdeps/powerpc/powerpc64/start.S: here.
49727 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49728 * sysdeps/powerpc/powerpc64/Makefile: ... this.
49729 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49730 * sysdeps/powerpc/powerpc64/configure.in: ... this.
49731 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49733 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49734 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49735 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49736 * sysdeps/powerpc/powerpc32/start.S: ... here.
49737 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49738 * sysdeps/powerpc/powerpc32/configure.in: ... this.
49739 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49741 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49742 * sysdeps/powerpc/ifunc-sel.h: ... here.
49743 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49744 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49746 * sysdeps/sparc/elf/configure.in: Moved to ...
49747 * sysdeps/sparc/configure.in: ... here.
49748 * sysdeps/sparc/elf/configure: Delete file.
49749 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49750 * sysdeps/sparc/sparc32/start.S: ... here.
49751 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49752 * sysdeps/sparc/sparc64/start.S: ... here.
49753 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49754 * sysdeps/sparc/sparc32/Makefile: ... this.
49755 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49756 * sysdeps/sparc/sparc64/Makefile: ... this.
49758 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49759 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49760 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49761 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49762 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49763 * sysdeps/s390/s390-32/setjmp.S: ... here.
49764 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49765 * sysdeps/s390/s390-32/configure.in: ... here.
49766 * sysdeps/s390/s390-32/elf/configure: Delete file.
49767 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49768 * sysdeps/s390/s390-32/start.S: ... here.
49770 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49771 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49772 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49773 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49774 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49775 * sysdeps/s390/s390-64/setjmp.S: ... here.
49776 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49777 * sysdeps/s390/s390-64/configure.in: ... here
49778 * sysdeps/s390/s390-64/elf/configure: Delete file.
49779 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49780 * sysdeps/s390/s390-64/start.S: ... here.
49781 * sysdeps/s390/s390-64/elf/configure: Delete.
49783 * configure.in: Remove support for elf directories in sysdeps.
49785 * configure: Regenerated.
49786 * sysdeps/i386/configure: Regenerated.
49787 * sysdeps/powerpc/powerpc32/configure: Regenerated.
49788 * sysdeps/powerpc/powerpc64/configure: Regenerated.
49789 * sysdeps/s390/s390-32/configure: Regenerated.
49790 * sysdeps/s390/s390-64/configure: Regenerated.
49791 * sysdeps/sh/configure: Regenerated.
49792 * sysdeps/sparc/configure: Regenerated.
49793 * sysdeps/x86_64/configure: Regenerated.
49795 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
49797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49799 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49800 denormal result into account.
49802 2012-03-25 Roland McGrath <roland@hack.frob.com>
49804 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49805 Reported by Allan McRae <allan@archlinux.org>.
49807 2012-03-23 Jeff Law <law@redhat.com>
49809 * nss/getnssent.c (__nss_getent): Fix typo.
49811 2012-03-23 David S. Miller <davem@davemloft.net>
49813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49815 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
49817 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49818 to pad to uint64_t for each field.
49819 (dl_tls_index): Replace unsigned long with uint64_t.
49821 2012-03-23 Daniel Jacobowitz <dmj@google.com>
49822 Paul Pluzhnikov <ppluzhnikov@google.com>
49825 * grp/Makefile (otherlibs): Don't set it.
49826 * inet/Makefile (otherlibs): Likewise.
49827 * login/Makefile (otherlibs): Likewise.
49828 * nscd/Makefile (otherlibs): Likewise.
49829 * posix/Makefile (otherlibs): Likewise.
49830 * pwd/Makefile (otherlibs): Likewise.
49831 * rt/Makefile (otherlibs): Likewise.
49832 * sunrpc/Makefile (otherlibs): Likewise.
49833 * nss/Makefile (otherlibs): Likewise.
49834 Add libnss_files to routines and static-only-routines.
49835 ($(objpfx)getent): Remove rule.
49836 * resolv/Makefile: Add libnss_dns and libresolv to routines and
49837 static-only-routines.
49839 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49842 * math/s_cexp.c: Include <float.h>.
49843 (__cexp): Handle exp result overflowing not necessarily
49844 overflowing both real and imaginary parts of result.
49845 * math/s_cexpf.c: Likewise.
49846 * math/s_cexpl.c: Likewise.
49847 * math/libm-test.inc (cexp_test): Add more tests.
49848 * sysdeps/i386/fpu/libm-test-ulps: Update.
49849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49851 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49853 * include/link.h (ELFW): New macro.
49854 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49855 Replace ELF64_R_TYPE with ELFW(R_TYPE).
49857 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49859 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49862 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49864 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49866 (struct La_x32_retval): Likewise.
49868 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49870 * sysdeps/x86_64/preconfigure.in: New file.
49871 * sysdeps/x86_64/preconfigure: New generated file.
49873 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49876 * math/e_exp2l.c: Include <float.h>.
49877 (__ieee754_exp2l): Handle overflow and underflow cases
49878 separately. Only pass fractional part of argument to
49880 * math/libm-test.inc (exp2_test): Add more tests.
49882 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49883 negating x to take absolute value.
49884 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49886 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49887 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49889 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49890 computing low part if x was negated.
49891 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49893 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49895 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49896 la_x32_gnu_pltexit.
49897 (pltexit): Cast int_retval to ptrdiff_t.
49898 * elf/tst-auditmod3b.c: Likewise.
49899 * elf/tst-auditmod4b.c: Likewise.
49900 * elf/tst-auditmod5b.c: Likewise.
49901 * elf/tst-auditmod6b.c: Likewise.
49902 * elf/tst-auditmod6c.c: Likewise.
49903 * elf/tst-auditmod7b.c: Likewise.
49905 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49906 and x32_gnu_pltexit.
49908 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49909 __ELF_NATIVE_CLASS.
49910 (La_x32_regs): New macro.
49911 (La_x32_retval): Likewise.
49912 (la_x32_gnu_pltenter): New function prototype.
49913 (la_x32_gnu_pltexit): Likewise.
49915 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
49917 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49922 * configure.in (libc_cv_cc_nofma): Check for option to disable
49923 generation of FMA instructions.
49924 * configure: Regenerate.
49925 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49926 * sysdeps/ieee754/dbl-64/Makefile: New file.
49927 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49928 Remove brandred-fma4.
49929 (CFLAGS-brandred-fma4.c): Remove.
49930 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49931 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49933 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49936 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49938 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49939 LLONG_MAX != LONG_MAX.
49940 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49941 (_fitoa_word): Likewise.
49942 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49943 LLONG_MAX != LONG_MAX.
49944 * stdio-common/_itowa.h: Include <_itoa.h>.
49945 (_itowa_word): Use _ITOA_WORD_TYPE on value.
49946 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
49947 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
49948 only if not defined.
49949 (_ITOA_WORD_TYPE): Likewise.
49950 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49951 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49953 2012-03-21 David S. Miller <davem@davemloft.net>
49955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49957 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49959 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49960 of x86_64 when setting libc_cv_slibdir, libdir and
49962 * sysdeps/unix/sysv/linux/configure: Regenerated.
49964 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49966 * manual/lang.texi (Old Varargs): Remove section.
49967 (How Variadic): Update menu.
49968 (va_start): Do not mention varargs.h.
49970 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49971 Joseph Myers <joseph@codesourcery.com>
49973 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49975 * configure: Regenerated.
49977 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49979 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49980 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49983 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49986 * Makefile (files-for-dist): Remove NOTES.
49987 (NOTES): Remove rule.
49988 * README: Don't refer to NOTES.
49989 * manual/creature.texi: Don't include macros.texi.
49990 * manual/intro.texi (creature.texi): Remove comment referring to
49993 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49994 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49995 * configure: Regenerated.
49996 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49997 LIBC_TRY_CC_OPTION.
49998 (libc_cv_as_i686): Likewise.
49999 (libc_cv_cc_avx): Likewise.
50000 (libc_cv_cc_sse2avx): Likewise.
50001 (libc_cv_cc_fma4): Likewise.
50002 (libc_cv_cc_novzeroupper): Likewise.
50003 * sysdeps/i386/configure: Regenerated.
50006 * sysdeps/i386/fpu/s_cexp.S: Remove.
50007 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50008 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50009 * math/libm-test.inc (cexp_test): Add more tests.
50010 * sysdeps/i386/fpu/libm-test-ulps: Update.
50011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50013 2012-03-21 Allan McRae <allan@archlinux.org>
50015 * timezone/Makefile: Do not install iso3166.tab and zone.tab
50017 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50020 * math/w_exp2.c: Do not include <float.h>.
50021 (o_threshold, u_threshold): Remove.
50022 (__exp2): Calculate result before checking finiteness and calling
50024 * math/w_exp2f.c: Likewise.
50025 * math/w_exp2l.c: Likewise.
50026 * math/libm-test.inc (exp2_test): Require overflow exception for
50030 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50031 range of signed 64-bit integers before using fistpll. Remove
50032 checks for whether integers fit in mantissa bits.
50033 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50034 the range of signed 32-bit integers before using fistpl. Remove
50035 checks for whether integers fit in mantissa bits.
50036 * sysdeps/i386/fpu/e_powl.S (p64): New object.
50037 (__ieee754_powl): Test for y outside the range of signed 64-bit
50038 integers before using fistpll. Reduce 64-bit values to 63-bit
50040 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50041 divide-by-zero is raised for zero to large negative powers.
50042 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50043 (__ieee754_powl): Test for y outside the range of signed 64-bit
50044 integers before using fistpll. Reduce 64-bit values to 63-bit
50046 * math/libm-test.inc (pow_test): Add more tests.
50048 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50050 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50051 <stdio-common/_itoa.h>.
50052 * debug/segfault.c: Likewise.
50053 * elf/dl-cache.c: Likewise.
50054 * elf/dl-minimal.c: Likewise.
50055 * elf/dl-misc.c: Likewise.
50056 * elf/dl-sysdep.c: Likewise.
50057 * elf/dl-version.c: Likewise.
50058 * elf/rtld.c: Likewise.
50059 * hurd/hurdsock.c: Likewise.
50060 * hurd/lookup-retry.c: Likewise.
50061 * malloc/malloc.c: Likewise.
50062 * malloc/mtrace.c: Likewise.
50063 * nscd/nscd_getgr_r.c: Likewise.
50064 * nscd/nscd_getpw_r.c: Likewise.
50065 * nscd/nscd_getserv_r.c: Likewise.
50066 * posix/getopt_init.c: Likewise.
50067 * posix/wordexp.c: Likewise.
50068 * stdio-common/_itoa.c: Likewise.
50069 * stdio-common/printf_fphex.c: Likewise.
50070 * stdio-common/vfprintf.c: Likewise.
50071 * string/_strerror.c: Likewise.
50072 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50073 * sysdeps/i386/i686/hp-timing.h: Likewise.
50074 * sysdeps/mach/_strerror.c: Likewise.
50075 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50076 * sysdeps/mach/hurd/sethostid.c: Likewise.
50077 * sysdeps/mach/hurd/xmknodat.c: Likewise.
50078 * sysdeps/mach/xpg-strerror.c: Likewise.
50079 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50080 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50081 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50082 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50083 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50084 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50085 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50086 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50087 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50088 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50089 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50090 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50091 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50092 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50093 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50094 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50095 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50096 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50097 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50098 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50099 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50101 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50103 * stdio-common/_itoa.h: Moved to ...
50104 * sysdeps/generic/_itoa.h: Here.
50106 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50108 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50109 instead of "_itoa.h" and "_itowa.h".
50110 * stdio-common/vfprintf.: Likewise.
50112 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50114 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50116 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50117 (__signbit): Likwise.
50118 (llrintf): Likwise.
50121 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50123 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50126 2012-03-20 Joseph Myers <joseph@codesourcery.com>
50128 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50129 OVERFLOW_EXCEPTION_OK.
50130 * math/libm-test.inc ("Philosophy"): Update comment about
50132 (OVERFLOW_EXCEPTION): Define.
50133 (OVERFLOW_EXCEPTION_OK): Likewise.
50134 (INVALID_EXCEPTION_OK): Renumber.
50135 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50136 (IGNORE_ZERO_INF_SIGN): Likewise.
50137 (test_exceptions): Handle FE_OVERFLOW.
50138 (exp10_test): Expect overflow exceptions.
50139 (exp2_test): Likewise.
50140 (expm1_test): Likewise.
50141 (nextafter_test): Likewise.
50142 (pow_test): Likewise.
50143 (scalbn_test): Likewise.
50144 (scalbln_test): Likewise.
50146 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50148 * sysdeps/x86_64/bits/atomic.h
50149 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50151 (atomic_exchange_acq): Likewise.
50152 (__arch_exchange_and_add_body): Likewise.
50153 (__arch_add_body): Likewise.
50154 (atomic_add_negative): Likewise.
50155 (atomic_add_zero): Likewise.
50157 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50159 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50160 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50162 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50164 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50165 Check __x86_64__ instead of __WORDSIZE.
50167 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50169 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50171 2012-03-19 David S. Miller <davem@davemloft.net>
50173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50175 * sysdeps/sparc/fpu/fenv_private.h: New file.
50176 * sysdeps/sparc/fpu/math_private.h: Use it.
50177 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50179 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50180 (libc_feholdexcept_setroundl): Remove.
50181 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50183 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50184 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50186 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50188 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50189 int64_t instead of long int.
50190 (INSERT_WORDS64): Likwise.
50192 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50194 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50195 _Unwind_GetCFA return to _Unwind_Ptr first.
50197 2012-03-19 Joseph Myers <joseph@codesourcery.com>
50200 * math/s_clog.c: Include <float.h>.
50201 (__clog): Scale large or subnormal inputs.
50202 * math/s_clogf.c: Likewise.
50203 * math/s_clogl.c: Likewise.
50204 * math/s_clog10.c: Include <float.h>.
50205 (M_LOG10_2): Define.
50206 (__clog10): Scale large or subnormal inputs.
50207 * math/s_clog10f.c: Likewise.
50208 * math/s_clog10l.c: Likewise.
50209 * math/libm-test.inc (clog_test): Add more tests.
50210 (clog10_test): Likewise.
50211 * sysdeps/i386/fpu/libm-test-ulps: Update.
50212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50215 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50217 * math/libm-test.inc (atan2_test): Add another test.
50219 * Makerules (common-objdir-compile): Remove.
50220 * sysdeps/unix/Makefile (config-generated): Do not add
50221 $(unix-generated) to variable.
50222 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50223 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50225 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50227 [generic bits/local_lim.h] (before-compile): Do not append to
50229 [generic bits/local_lim.h] (common-generated): Likewise.
50230 [generic sys/param.h] (before-compile): Do not append to variable.
50231 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50232 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50233 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50234 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50236 [generic sys/param.h] (sys/param.h-includes): Remove variable.
50237 [generic sys/param.h] (sys/param.h-includes): Remove rule.
50238 [generic sys/param.h] ($(addprefix
50239 $(common-objpfx),$(sys/param.h-includes))): Likewise.
50240 [generic sys/param.h] (common-generated): Do not append to
50242 [generic sys/param.h] (sysdep_headers): Likewise.
50243 [generic bits/errno.h] (before-compile): Do not append to
50245 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50247 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50248 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50249 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50250 [generic bits/errno.h] (common-generated): Do not append to
50252 [generic bits/ioctls.h] (before-compile): Do not append to
50254 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50256 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50257 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50258 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50260 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50261 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50262 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50263 [generic bits/ioctls.h] (common-generated): Do not append to
50265 [generic sys/syscall.h] (syscall.h): Remove variable.
50266 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50268 [generic sys/syscall.h] (before-compile): Do not append to
50270 [generic sys/syscall.h] (common-generated): Likewise.
50271 * sysdeps/unix/errnos-tmpl.c: Remove file.
50272 * sysdeps/unix/errnos.awk: Likewise.
50273 * sysdeps/unix/ioctls-tmpl.c: Likewise.
50274 * sysdeps/unix/ioctls.awk: Likewise.
50275 * sysdeps/unix/mk-local_lim.c: Likewise.
50276 * sysdeps/unix/snarf-ioctls: Likewise.
50278 2012-03-19 Richard Henderson <rth@twiddle.net>
50280 * sysdeps/i386/fpu/fenv_private.h: New file.
50281 * sysdeps/i386/fpu/math_private.h: Use it.
50282 (math_opt_barrier, math_force_eval): Remove.
50283 (libc_feholdexcept_setround_53bit): Remove.
50284 (libc_feupdateenv_53bit): Remove.
50285 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50286 (math_opt_barrier, math_force_eval): Remove.
50287 (libc_feholdexcept): Remove.
50288 (libc_feholdexcept_setround): Remove.
50289 (libc_fetestexcept, libc_fesetenv): Remove.
50290 (libc_feupdateenv_test): Remove.
50291 (libc_feupdateenv, libc_feholdsetround): Remove.
50292 (libc_feresetround): Remove.
50294 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50295 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50297 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50298 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50299 (libc_feupdateenv_testl): New.
50300 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50301 (libc_feupdateenv_testf): New.
50302 (libc_feupdateenv): Use libc_feupdateenv_test.
50303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50304 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50306 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50307 (libc_feholdsetroundf, libc_feholdsetroundl): New.
50308 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50309 (libc_feresetround_noex): New.
50310 (libc_feresetround_noexf): New.
50311 (libc_feresetround_noexl): New.
50312 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50313 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50314 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50315 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50317 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50318 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50320 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50321 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50322 SET_RESTORE_ROUND_NOEX.
50323 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50324 SET_RESTORE_ROUND_NOEXF.
50325 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50326 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50327 (libc_feholdsetroundf): New.
50328 (libc_feresetround, libc_feresetroundf): New.
50330 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50331 (libc_feholdexcept_setround_53bit): Convert from macro to function.
50332 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
50334 * sysdeps/generic/math_private.h: Include <fenv.h>.
50335 (default_libc_feholdexcept): New.
50336 (default_libc_feholdexcept_setround): New.
50337 (default_libc_fesetenv, default_libc_feupdateenv): New.
50338 (libc_feholdexcept): Only define if undefined.
50339 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50340 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50341 (libc_feholdexcept_setroundl): Likewise.
50342 (libc_feholdexcept_setround_53bit): Likewise.
50343 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50344 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50345 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50346 (libc_feupdateenv_53bit): Likewise.
50347 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50348 (libc_feholdexcept): Convert from macro to inline function.
50349 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50350 (libc_fesetenv, libc_feupdateenv): Likewise.
50352 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50353 not previously defined.
50354 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50355 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50356 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50357 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50358 * sysdeps/ieee754/flt-32/math_private.h: New file.
50359 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50360 math_private.h below SET_FLOAT_WORD.
50361 (__isnan, __isinf_ns, __finite): Remove.
50362 (__isnanf, __isinf_nsf, __finitef): Remove.
50364 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
50366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50368 2012-03-17 David S. Miller <davem@davemloft.net>
50371 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50374 2012-03-16 David S. Miller <davem@davemloft.net>
50376 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50380 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50382 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50383 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50384 sysdep_routines when subdir is sysvipc.
50385 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50386 __getshmlba helper.
50388 * sysdeps/sparc/fpu/libm-test/ulps: Update.
50390 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50392 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50395 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50397 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50398 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50399 (__lround): Renamed to ...
50400 (__llround): This. Replace long int with long long int.
50401 Define lround functions as aliases of llround functions.
50402 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50404 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50406 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50407 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
50408 adresses to uintptr_t. Replace "long int" and "unsigned long
50409 int" with "greg_t" on va_arg.
50411 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50413 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50414 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50416 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50417 Move e_machine check before EI_CLASS check. Handle x32
50418 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50419 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50420 SKIP_EM_IA_64 and include
50421 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50423 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50424 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50425 (add_system_dir): New macro.
50427 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50428 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50430 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50441 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50443 * math/w_j0f.c (j0f): Likewise.
50445 * math/w_j0l.c (__j0l): Likewise.
50447 * math/w_j1.c (j1): Likewise.
50449 * math/w_j1f.c (j1f): Likewise.
50451 * math/w_j1l.c (__j1l): Likewise.
50453 * math/w_jn.c (jn): Likewise.
50455 * math/w_jnf.c (jnf): Likewise.
50457 * math/w_jnl.c (__jnl): Likewise.
50459 * math/libm-test.inc (j0_test): Add more tests.
50460 (j1_test): Likewise.
50461 (jn_test): Likewise. Add trailing semicolon to existing test.
50462 (y0_test): Likewise.
50463 (y1_test): Likewise.
50464 * sysdeps/i386/fpu/libm-test-ulps: Update.
50465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50469 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50470 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50471 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50472 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50473 (__tanl): Set errno for infinite argument.
50474 * sysdeps/i386/fpu/mptan.c: Remove.
50475 * sysdeps/i386/fpu/s_tan.S: Likewise.
50476 * sysdeps/i386/fpu/s_tanl.S: Likewise.
50477 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50478 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50479 * math/libm-test.inc (tan_test): Add more tests and enable more
50480 tests for double and long double.
50481 * sysdeps/i386/fpu/libm-test-ulps: Update.
50482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50484 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
50486 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50487 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50489 2012-03-16 Roland McGrath <roland@hack.frob.com>
50491 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50492 * configure.in: Use it for both main tree and add-ons.
50493 * configure: Regenerated.
50495 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50497 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50499 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50501 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50505 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50506 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50507 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50508 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50509 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50511 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50512 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50513 != 0 for prec == 2.
50514 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50515 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50516 * sysdeps/i386/fpu/s_cosl.S: Likewise.
50517 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50518 * sysdeps/i386/fpu/s_sinl.S: Likewise.
50519 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50520 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50521 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50522 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50523 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50524 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50525 * math/libm-test.inc (cos_test): Add more tests and enable more
50526 tests for long double.
50527 (sin_test): Likewise.
50528 (sincos_test): Likewise.
50529 * sysdeps/i386/fpu/libm-test-ulps: Update.
50530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50532 2012-03-16 David S. Miller <davem@davemloft.net>
50534 * sysdeps/sparc/fpu/math_private.h: New file.
50536 2012-03-15 David S. Miller <davem@davemloft.net>
50538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50548 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50552 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50553 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50555 * sysdeps/sparc/sparc-ifunc.h: New file.
50556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50582 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50583 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50594 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50595 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50596 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50597 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50598 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50599 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50601 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50603 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50607 2012-03-15 Andreas Jaeger <aj@suse.de>
50610 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50611 ieee754/flt-32 implementation for sin, cos and sincos.
50612 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50613 * sysdeps/i386/fpu/s_cosf.S: Likewise.
50614 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50615 * sysdeps/i386/fpu/s_sinf.S: Likewise.
50616 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50617 ieee754/flt-32 implementation for tan.
50619 * math/libm-test.inc (cos_test): Enable some large input tests for
50621 (sin_test): Likewise.
50622 (sincos_test): Likewise.
50623 (tan_test): Add tests for large input.
50625 * sysdeps/i386/fpu/libm-test-ulps: Update.
50627 2012-03-15 Andreas Jaeger <aj@suse.de>
50630 * math/libm-test.inc (cos_test): Add more test cases.
50631 (sin_test): Likewise.
50632 (sincos_test): Likewise.
50634 2012-03-15 Andreas Jaeger <aj@suse.de>
50637 * math/libm-test.inc (cos_test): Add a test case for large input
50639 (sin_test): Likewise.
50640 (sincos_test): Likewise.
50642 2012-03-15 Andreas Jaeger <aj@suse.de>
50643 Joseph Myers <joseph@codesourcery.com>
50646 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50647 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50648 * sysdeps/i386/fpu/branred.c: Likewise.
50649 * sysdeps/i386/fpu/dosincos.c: Likewise.
50650 * sysdeps/i386/fpu/mpa.c: Likewise.
50651 * sysdeps/i386/fpu/s_cos.S: Likewise.
50652 * sysdeps/i386/fpu/s_sin.S: Likewise.
50653 * sysdeps/i386/fpu/s_sincos.S: Likewise.
50654 * sysdeps/i386/fpu/sincos32.c: Likewise.
50656 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50658 (libc_feupdateenv_53bit): Define.
50659 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50661 (libc_feupdateenv_53bit): Define.
50663 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50664 53 bit (without extend i386 double precision).
50666 * math/libm-test.inc (sincos_test): Add tests for large input.
50670 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50672 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50676 2012-03-15 David S. Miller <davem@davemloft.net>
50678 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50679 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50680 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50681 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50705 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50706 fmin/fmax sysdep routines.
50707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50709 2012-03-14 David S. Miller <davem@davemloft.net>
50711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50715 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50716 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50735 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50736 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50739 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50783 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50788 * sysdeps/sparc/configure.in: New file.
50789 * sysdeps/sparc/configure: Generate.
50790 * configure.in (libc_cv_sparc_as_vis3): Substitute.
50791 * configure: Regenerate.
50792 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50793 * config.make.in (have-as-vis3): New.
50794 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50795 available use -Av9d instead of -Av9a.
50796 * sysdeps/sparc/sparc64/Makefile: Likewise.
50797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50806 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50807 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50808 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50812 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50813 fzeros/fnegs to load 0x80000000 into a float register instead of
50815 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50817 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50821 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50822 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50823 ($(inst_includedir)/bits/syscall.h): Remove rule.
50824 ($(objpfx)bits/syscall.d): Include instead of
50825 $(objpfx)syscall-list.d.
50826 (generated): Change syscall-list.h and syscall-list.d to
50827 bits/syscall.h and bits/syscall.d.
50829 2012-03-14 Roland McGrath <roland@hack.frob.com>
50832 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50834 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50837 * math/s_csqrt.c: Include <float.h>.
50838 (__csqrt): Scale large or subnormal inputs.
50839 * math/s_csqrtf.c: Likewise.
50840 * math/s_csqrtl.c: Likewise.
50841 * math/libm-test.inc (csqrt_test): Add more tests.
50842 * sysdeps/i386/fpu/libm-test-ulps: Update.
50843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50846 * math/libm-test.inc (hypot_test): Add more tests.
50848 2012-03-13 David S. Miller <davem@davemloft.net>
50851 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50852 double-precision for the calculation instead of scaling.
50854 2012-03-13 Joseph Myers <joseph@codesourcery.com>
50856 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50857 manipulate bits before adding and subtracting TWO52[sx].
50858 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50859 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50861 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50863 2012-03-13 David S. Miller <davem@davemloft.net>
50865 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50866 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50867 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50868 rtld-global-offsets.h
50869 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50871 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50874 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50876 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50877 'err' in the ifdef scope in which it is actually used.
50879 * nss/nss_db/db-init.c: Include string.h
50881 2012-03-12 David S. Miller <davem@davemloft.net>
50883 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50884 masking out of the most significant byte of random value used.
50885 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50886 Fix coding style in previous change.
50888 * sysdeps/unix/sysv/linux/kernel-features.h
50889 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50890 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50892 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50895 2012-03-11 David S. Miller <davem@davemloft.net>
50897 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50898 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50899 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50900 for 'resultvar' otherwise things get truncated on 64-bit.
50902 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50903 Fix masking out of the most significant byte of random value used.
50905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50907 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
50909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50911 2012-03-09 David S. Miller <davem@davemloft.net>
50913 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50914 variables with appropriate CPP guards.
50915 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50916 from the frame pointer, not the stack pointer. Correct layout
50917 comments. Fix test on resulting framesize and the management of
50918 the outregs buffer for pltexit. Preserve floating point return
50919 values across _dl_call_pltexit call.
50920 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50921 framesize and the management of the outregs buffer for pltexit.
50922 Preserve floating point return values across _dl_call_pltexit
50924 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50925 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50926 (la_sparc64_gnu_pltexit): New functions.
50927 (print_exit): Fix format string for return register value.
50929 2012-03-10 Joseph Myers <joseph@codesourcery.com>
50931 * sunrpc/Makefile (others): Add rpcgen.
50932 ($(objpfx)rpcgen): Remove special build rule and dependency on
50934 * sunrpc/rpcgen.c: New file.
50936 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
50939 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50940 * stdio-common/bug-vfprintf-nargs.c: Likewise.
50941 * sysdeps/i386/crti.S: Likewise.
50942 * sysdeps/i386/crtn.S: Likewise.
50943 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50944 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50945 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50946 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50947 * sysdeps/sh/crti.S: Likewise.
50948 * sysdeps/sh/crtn.S: Likewise.
50949 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50952 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50954 * locale/programs/locfile-kw.gperf: Likewise.
50955 * locale/programs/charmap-kw.h: Regenerated.
50956 * locale/programs/locfile-kw.h: Likewise.
50959 * intl/plural.y: Replace FSF snail mail address with URL.
50960 * intl/plural.c: Regenerated.
50962 2012-03-09 Richard Henderson <rth@twiddle.net>
50964 * include/math_private.h: Remove file.
50965 * math/math_private.h: Move file ...
50966 * sysdeps/generic/math_private.h: ... here.
50968 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50969 * sysdeps/powerpc/fpu/math_private.h: Likewise.
50970 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50972 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50973 and <math_private.h>.
50974 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50975 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50976 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50977 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50978 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50979 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50980 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50981 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50982 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50983 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50985 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50986 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50987 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50988 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50989 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50990 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50991 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50992 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50993 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50995 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50996 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50998 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50999 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51000 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51001 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51002 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51003 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51004 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51005 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51006 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51007 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51008 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51009 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51010 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51011 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51012 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51013 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51014 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51015 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51016 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51017 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51018 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51019 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51020 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51021 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51022 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51023 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51024 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51025 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51026 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51027 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51028 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51029 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51030 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51031 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51032 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51033 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51034 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51035 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51037 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51038 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51039 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51040 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51041 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51042 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51043 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51044 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51045 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51046 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51047 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51048 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51049 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51053 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51054 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51055 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51056 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51057 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51058 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51061 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51062 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51063 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51064 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51065 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51066 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51067 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51068 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51069 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51070 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51071 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51072 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51073 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51074 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51075 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51076 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51077 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51078 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51079 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51080 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51081 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51082 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51083 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51084 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51085 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51086 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51087 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51088 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51089 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51090 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51091 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51092 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51093 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51094 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51095 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51096 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51097 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51098 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51099 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51100 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51101 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51102 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51103 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51104 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51105 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51106 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51107 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51108 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51109 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51110 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51111 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51112 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51113 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51114 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51115 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51116 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51117 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51118 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51119 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51120 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51121 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51122 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51123 * sysdeps/ieee754/k_standard.c: Likewise.
51124 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51125 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51126 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51127 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51128 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51129 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51130 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51131 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51132 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51133 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51134 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51135 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51136 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51137 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51138 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51139 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51140 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51141 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51142 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51143 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51144 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51145 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51146 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51147 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51148 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51149 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51150 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51151 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51152 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51153 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51154 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51155 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51156 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51157 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51158 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51159 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51160 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51161 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51162 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51163 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51164 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51165 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51166 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51167 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51168 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51169 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51170 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51171 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51172 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51173 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51174 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51175 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51176 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51177 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51178 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51179 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51180 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51181 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51182 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51183 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51184 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51185 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51186 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51188 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51189 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51190 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51191 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51192 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51193 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51194 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51195 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51196 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51197 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51198 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51199 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51200 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51201 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51202 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51203 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51204 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51205 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51207 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51208 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51209 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51210 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51211 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51212 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51213 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51214 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51215 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51216 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51217 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51218 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51219 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51220 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51221 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51222 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51223 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51225 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51226 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51227 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51228 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51229 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51230 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51231 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51232 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51233 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51234 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51235 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51236 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51237 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51238 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51239 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51240 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51241 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51242 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51243 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51244 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51245 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51246 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51247 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51248 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51249 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51250 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51251 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51252 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51253 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51254 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51255 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51256 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51257 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51258 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51259 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51260 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51261 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51262 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51263 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51264 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51265 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51266 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51267 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51268 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51269 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51270 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51271 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51272 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51273 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51274 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51275 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51276 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51277 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51278 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51279 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51280 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51281 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51282 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51283 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51284 * sysdeps/ieee754/s_lib_version.c: Likewise.
51285 * sysdeps/ieee754/s_matherr.c: Likewise.
51286 * sysdeps/ieee754/s_signgam.c: Likewise.
51287 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51288 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51289 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51290 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51291 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51292 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51293 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51294 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51295 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51296 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51297 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51298 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51299 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51300 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51301 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51302 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51303 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51304 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51305 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51306 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51309 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51311 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51312 * sunrpc/rpc_main.c: Likewise.
51313 * sunrpc/rpc_svcout.c: Likewise.
51315 2012-03-09 David S. Miller <davem@davemloft.net>
51317 * include/math_private.h: New file.
51319 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51321 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51322 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51323 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51324 from <bits/socket_type.h>.
51325 (enum __socket_type): Don't define here.
51326 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51328 bits/socket_type.h.
51331 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51332 checking __USE_GNU.
51334 * Makerules ($(inst_includedir)/%.h): New rule.
51335 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51336 (install-others): Remove variable setting.
51337 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51339 2012-03-08 Richard Henderson <rth@twiddle.net>
51341 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51342 from macro to inline function; merge with the
51343 !__LIBC_INTERNAL_MATH_INLINES version.
51344 (__ieee754_sqrtf): Likewise.
51346 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51347 to inline function.
51348 (__rintf, __floor, __floorf): Likewise.
51350 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51351 macro to inline function.
51352 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51354 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51355 not <math/math_private.h>.
51357 2012-03-08 David S. Miller <davem@davemloft.net>
51359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51361 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51363 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
51365 * resolv/gai_misc.c (handle_requests): Fix struct timespec
51367 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51368 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51370 2012-03-08 Ulrich Drepper <drepper@gmail.com>
51372 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
51373 be defined individually, they must be defined as a block. Define
51374 S for printing a string instead of hidint the different by using a
51375 macro for adding the 'l'.
51376 * stdio-common/tst-fphex-wide.c: Adjust.
51378 2012-03-07 Marek Polacek <polacek@redhat.com>
51380 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51382 2012-03-08 Marek Polacek <polacek@redhat.com>
51385 * stdio-common/Makefile (tests): Add tst-fphex-wide.
51386 * stdio-common/tst-fphex.c: Define a few macros to make the
51387 test reusable. Use them.
51388 * stdio-common/tst-fphex-wide.c: New file.
51390 2012-03-08 Joseph Myers <joseph@codesourcery.com>
51393 * manual/macros.texi (gnusystems): New macro.
51394 (nongnusystems): Likewise.
51395 (gnulinuxhurdsystems): Likewise.
51396 (gnuhurdsystems): Likewise..
51397 (gnulinuxsystems): Likewise.
51398 * manual/charset.texi: Use new macros or @theglibc{} to refer to
51399 variants of the GNU system, not "GNU system".
51400 * manual/conf.texi: Likewise.
51401 * manual/errno.texi: Likewise. Update example of errno macro
51403 * manual/filesys.texi: Likewise.
51404 (getumask): Document as specific to GNU/Hurd.
51405 * manual/install.texi: Likewise. Reword some references to
51407 * manual/intro.texi: Likewise.
51408 * manual/io.texi: Likewise.
51409 (File Name Portability): Detail which constraints are inapplicable
51410 to all GNU systems and which are only inapplicable to GNU/Hurd.
51411 * manual/job.texi: Likewise.
51412 * manual/llio.texi: Likewise.
51413 (O_NOCTTY): Document as present on GNU/Linux.
51414 * manual/maint.texi: Likewise.
51415 * manual/memory.texi: Likewise.
51416 * manual/pattern.texi: Likewise.
51417 * manual/pipe.texi: Likewise.
51418 * manual/process.texi: Likewise.
51419 * manual/resource.texi: Likewise.
51420 (RUSAGE_CHILDREN): Remove statement about specifying a particular
51422 * manual/setjmp.texi: Likewise.
51423 * manual/signal.texi: Likewise.
51424 * manual/startup.texi: Likewise.
51425 * manual/stdio.texi: Likewise.
51426 * manual/terminal.texi: Likewise.
51427 (ONLCR): Document as POSIX.
51428 (OXTABS): Document availability on GNU/Linux as XTABS.
51429 (ONOEOT): Document availability separately from other bits.
51430 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51431 * manual/time.texi: Likewise.
51432 * manual/users.texi: Likewise.
51433 * INSTALL: Regenerated.
51434 * sysdeps/gnu/errlist.c: Regenerated.
51436 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51437 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51438 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
51440 * configure: Regenerated.
51442 2012-03-07 Joseph Myers <joseph@codesourcery.com>
51444 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51445 default includes instead of AC_HEADER_CHECK.
51446 * sysdeps/i386/configure: Regenerated.
51449 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51450 * math/s_cacoshf.c (__cacoshf): Likewise.
51451 * math/s_cacoshl.c (__cacoshl): Likewise.
51452 * math/s_casinh.c (__casinh): Set signs of result from argument.
51453 * math/s_casinhf.c (__casinhf): Likewise.
51454 * math/s_casinhl.c (__casinhl): Likewise.
51455 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51456 (casinh_test): Add more tests.
51457 * sysdeps/i386/fpu/libm-test-ulps: Update.
51458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51460 2012-03-07 Ulrich Drepper <drepper@gmail.com>
51462 * po/zh_TW.po: Update from translation team.
51464 * login/Makefile (distribute): Remove variable.
51465 * catgets/Makefile: Likewise.
51466 * mach/Makefile: Likewise.
51467 * malloc/Makefile: Likewise.
51468 * misc/Makefile: Likewise.
51469 * iconv/Makefile: Likewise.
51470 * nscd/Makefile: Likewise.
51471 * hurd/Makefile: Likewise.
51472 * manual/Makefile: Likewise.
51473 * locale/Makefile: Likewise.
51474 * intl/Makefile: Likewise.
51475 * conform/Makefile: Likewise.
51476 * nss/Makefile: Likewise.
51477 * time/Makefile: Likewise.
51478 * soft-fp/Makefile: Likewise.
51479 * dirent/Makefile: Likewise.
51480 * gmon/Makefile: Likewise.
51481 * po/Makefile: Likewise.
51482 * rt/Makefile: Likewise.
51483 * socket/Makefile: Likewise.
51484 * math/Makefile: Likewise.
51485 * signal/Makefile: Likewise.
51486 * debug/Makefile: Likewise.
51487 * elf/Makefile: Likewise.
51488 * timezone/Makefile: Likewise.
51489 * stdlib/Makefile: Likewise.
51490 * iconvdata/Makefile: Likewise.
51491 * sunrpc/Makefile: Likewise.
51492 * io/Makefile: Likewise.
51493 * argp/Makefile: Likewise.
51494 * inet/Makefile: Likewise.
51495 * hesiod/Makefile: Likewise.
51496 * grp/Makefile: Likewise.
51497 * csu/Makefile: Likewise.
51498 * wctype/Makefile: Likewise.
51499 * crypt/Makefile: Likewise.
51500 * libio/Makefile: Likewise.
51501 * string/Makefile: Likewise.
51502 * nis/Makefile: Likewise.
51503 * resolv/Makefile: Likewise.
51504 * stdio-common/Makefile: Likewise.
51505 * wcsmbs/Makefile: Likewise.
51506 * dlfcn/Makefile: Likewise.
51507 * posix/Makefile: Likewise.
51510 * timezone/Makefile: Don't install timezone files, just the programs
51513 2012-03-06 Ulrich Drepper <drepper@gmail.com>
51515 * nss/databases.def: Add missing gshadow entry.
51517 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
51519 2012-03-06 Marek Polacek <polacek@redhat.com>
51522 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51523 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51524 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51525 * stdio-common/tst-long-dbl-fphex.c: New file.
51527 2012-03-06 David S. Miller <davem@davemloft.net>
51529 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51530 (set_obp_int): New function.
51531 (get_obp_int): New function.
51532 (__get_clockfreq_via_dev_openprom): Likewise.
51533 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51534 Avoid unused variable warnings on 'val' and use builtin_expect.
51535 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51537 (INLINE_CLONE_SYSCALL): Likewise.
51539 2012-03-05 David S. Miller <davem@davemloft.net>
51541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51543 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
51545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51547 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51548 only for |x| >= 40.
51549 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51551 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
51553 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51554 Replace gettimeofday with __vdso_gettimeofday.
51556 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51557 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51558 __vdso_clock_gettime and __vdso_getcpu.
51560 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51561 time with __vdso_time.
51563 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51565 * manual/lang.texi (size_t): Note types to which size_t may be
51566 equivalent with the GNU C Library, but do not describe when
51567 differences between them are significant.
51569 2012-03-05 Andreas Jaeger <aj@suse.de>
51571 * sysdeps/i386/fpu/libm-test-ulps: Update.
51573 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51576 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51577 (__ieee754_pow): Save and restore rounding mode and use
51578 round-to-nearest for main computations.
51579 * math/libm-test.inc (pow_test_tonearest): New function.
51580 (pow_test_towardzero): Likewise.
51581 (pow_test_downward): Likewise.
51582 (pow_test_upward): Likewise.
51583 (main): Call the new functions.
51584 * sysdeps/i386/fpu/libm-test-ulps: Update.
51585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51588 * math/libm-test.inc (cosh_test_tonearest): New function.
51589 (cosh_test_towardzero): Likewise.
51590 (cosh_test_downward): Likewise.
51591 (cosh_test_upward): Likewise.
51592 (sinh_test_tonearest): Likewise.
51593 (sinh_test_towardzero): Likewise.
51594 (sinh_test_downward): Likewise.
51595 (sinh_test_upward): Likewise.
51596 (main): Call the new functions.
51597 * sysdeps/i386/fpu/libm-test-ulps: Update.
51598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51600 2012-03-05 Tom de Vries <tom@codesourcery.com>
51602 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51603 default stack guard is set in last bytes.
51604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51606 2012-03-05 Kees Cook <keescook@chromium.org>
51608 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51611 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51612 possibly allocate from heap instead of stack.
51613 * stdio-common/bug-vfprintf-nargs.c: New file.
51614 * stdio-common/Makefile (tests): Add nargs overflow test.
51616 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
51618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51620 2012-03-03 Marek Polacek <polacek@redhat.com>
51622 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51623 * math/math_private.h: Likewise.
51624 * stdlib/tst-strtod.c: Likewise.
51625 * sysdeps/i386/i486/bits/atomic.h: Likewise.
51626 * sysdeps/x86_64/bits/atomic.h: Likewise.
51628 2012-03-02 David S. Miller <davem@davemloft.net>
51630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51634 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51635 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51636 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51637 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51639 2012-03-02 Roland McGrath <roland@hack.frob.com>
51642 * manual/examples/README: New file, says the example source files
51643 can be used under GPL>=2.
51644 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51645 line containing just "*/".
51646 * manual/examples/add.c: Add copyright header (GPL>=2).
51647 * manual/examples/argp-ex1.c: Likewise.
51648 * manual/examples/argp-ex2.c: Likewise.
51649 * manual/examples/argp-ex3.c: Likewise.
51650 * manual/examples/argp-ex4.c: Likewise.
51651 * manual/examples/atexit.c: Likewise.
51652 * manual/examples/db.c: Likewise.
51653 * manual/examples/dir.c: Likewise.
51654 * manual/examples/dir2.c: Likewise.
51655 * manual/examples/execinfo.c: Likewise.
51656 * manual/examples/filecli.c: Likewise.
51657 * manual/examples/filesrv.c: Likewise.
51658 * manual/examples/fmtmsgexpl.c: Likewise.
51659 * manual/examples/genpass.c: Likewise.
51660 * manual/examples/inetcli.c: Likewise.
51661 * manual/examples/inetsrv.c: Likewise.
51662 * manual/examples/isockad.c: Likewise.
51663 * manual/examples/longopt.c: Likewise.
51664 * manual/examples/memopen.c: Likewise.
51665 * manual/examples/memstrm.c: Likewise.
51666 * manual/examples/mkfsock.c: Likewise.
51667 * manual/examples/mkisock.c: Likewise.
51668 * manual/examples/mygetpass.c: Likewise.
51669 * manual/examples/pipe.c: Likewise.
51670 * manual/examples/popen.c: Likewise.
51671 * manual/examples/rprintf.c: Likewise.
51672 * manual/examples/search.c: Likewise.
51673 * manual/examples/select.c: Likewise.
51674 * manual/examples/setjmp.c: Likewise.
51675 * manual/examples/sigh1.c: Likewise.
51676 * manual/examples/sigusr.c: Likewise.
51677 * manual/examples/stpcpy.c: Likewise.
51678 * manual/examples/strdupa.c: Likewise.
51679 * manual/examples/strftim.c: Likewise.
51680 * manual/examples/strncat.c: Likewise.
51681 * manual/examples/subopt.c: Likewise.
51682 * manual/examples/swapcontext.c: Likewise.
51683 * manual/examples/termios.c: Likewise.
51684 * manual/examples/testopt.c: Likewise.
51685 * manual/examples/testpass.c: Likewise.
51686 * manual/examples/timeval_subtract.c: Likewise.
51689 * manual/time.texi (Elapsed Time): Move timeval_subtract example
51691 * manual/timeval_subtract.c.texi: ... here, new file.
51693 2012-03-02 David S. Miller <davem@davemloft.net>
51695 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51697 2012-03-02 Joseph Myers <joseph@codesourcery.com>
51700 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51701 (__sin): Save and restore rounding mode and use round-to-nearest
51702 for all computations.
51703 (__cos): Save and restore rounding mode and use round-to-nearest
51704 for all computations.
51705 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51707 (tan): Save and restore rounding mode and use round-to-nearest for
51709 * math/libm-test.inc (cos_test_tonearest): New function.
51710 (cos_test_towardzero): Likewise.
51711 (cos_test_downward): Likewise.
51712 (cos_test_upward): Likewise.
51713 (sin_test_tonearest): Likewise.
51714 (sin_test_towardzero): Likewise.
51715 (sin_test_downward): Likewise.
51716 (sin_test_upward): Likewise.
51717 (tan_test_tonearest): Likewise.
51718 (tan_test_towardzero): Likewise.
51719 (tan_test_downward): Likewise.
51720 (tan_test_upward): Likewise.
51721 (main): Call the new functions.
51722 * sysdeps/i386/fpu/libm-test-ulps: Update.
51723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51726 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51727 small n, then large n, before computing and testing k+n.
51728 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51729 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51733 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51734 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51735 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51736 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51737 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51738 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51739 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51740 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51741 * math/libm-test.inc (scalbn_test): Add more tests.
51742 (scalbln_test): Likewise.
51744 * manual/filesys.texi (mode_t): Describe constraints on size and
51745 signedness, not exact equivalence to a particular type.
51747 (ino64_t): Likewise.
51749 (nlink_t): Likewise.
51750 (blkcnt_t): Likewise.
51751 (blkcnt64_t): Likewise.
51752 * manual/llio.texi (off_t): Likewise.
51755 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51756 (__ieee754_exp): Save and restore rounding mode and use
51757 round-to-nearest for all computations.
51758 * math/libm-test.inc (exp_test_tonearest): New function.
51759 (exp_test_towardzero): Likewise.
51760 (exp_test_downward): Likewise.
51761 (exp_test_upward): Likewise.
51762 (main): Call the new functions.
51763 * sysdeps/i386/fpu/libm-test-ulps: Update.
51764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51766 2012-03-01 Chris Demetriou <cgd@google.com>
51768 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51769 have predictable order.
51771 2012-03-01 David S. Miller <davem@davemloft.net>
51773 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51775 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51776 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51777 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51778 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51780 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51781 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51782 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51784 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51785 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51786 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51787 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51788 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51792 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51793 * sysdeps/sparc/fpu/libm-test-ulps: to here.
51794 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51796 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51797 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51798 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51799 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51800 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51801 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51802 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51803 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51804 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51805 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51806 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51807 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51809 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51810 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51812 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51813 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51814 * sysdeps/sparc/elf/configure: Regenerated.
51816 2012-03-01 Joseph Myers <joseph@codesourcery.com>
51818 * configure.in (AS, LD): Require binutils 2.20 or later.
51819 * configure: Regenerated.
51820 * manual/install.texi (Tools for Compilation): Give binutils 2.20
51821 as required minimum version.
51822 * INSTALL: Regenerated.
51826 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51827 before squaring exponent.
51828 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51829 bottom long double and 27 bits of top long double before squaring
51831 * math/libm-test.inc (erfc_test): Add more tests.
51832 * sysdeps/i386/fpu/libm-test-ulps: Update.
51833 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51836 2012-03-01 Kai Tietz <ktietz@redhat.com>
51838 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51839 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51840 containing bit-fields.
51841 * soft-fp/extended.h (_FP_UNION_E): Likewise.
51842 * soft-fp/single.h (_FP_UNION_S): Likewise.
51843 * soft-fp/double.h (_FP_UNION_D): Likewise.
51845 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51848 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51849 not include ../strcmp.S.
51850 [USE_AS_STRNCASECMP_L]: Likewise.
51851 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51852 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51853 * sysdeps/i386/i686/multiarch/strncase_l-c.c
51854 (__strncasecmp_l_ia32): Define as alias to
51855 __strncasecmp_l_nonascii.
51858 * math/libm-test.inc (expm1_test): Add test for bug 5794.
51859 * sysdeps/i386/fpu/libm-test-ulps: Update.
51860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51862 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51865 2012-02-29 Jeff Law <law@redhat.com>
51867 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51868 out of bounds read.
51870 2012-02-29 Marek Polacek <polacek@redhat.com>
51873 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51874 * elf/Makefile: Add rules to run tst-unused-dep.out.
51876 2012-02-28 David S. Miller <davem@davemloft.net>
51878 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51879 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51880 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51882 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51883 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51885 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51887 * math/libm-test.inc (llround_test): Move one test from
51888 lround_test. Use TEST_f_L in moved test.
51889 (lround_test): Move misplaced test to llround_test. Add testcase
51892 2012-02-28 Ulrich Drepper <drepper@gmail.com>
51894 * sysdeps/x86_64/fpu/e_expf.S: New file.
51895 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51897 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
51900 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51901 of remain_len that may cause incomplete multi-byte character and
51903 * posix/bug-regex33.c: New file.
51904 * posix/Makefile (tests): Add bug-regex33.
51906 2012-02-28 Joseph Myers <joseph@codesourcery.com>
51908 * manual/macros.texi: New file.
51909 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51910 * manual/libc.texinfo: Include macros.texi.
51911 * manual/creatute.texi: Likewise.
51912 * manual/install.texi: Likewise.
51913 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51914 @glibcadj{} in references to the GNU C Library.
51915 * manual/charset.texi: Likewise.
51916 * manual/conf.texi: Likewise.
51917 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
51918 when not using those macros.
51919 * manual/creature.texi: Likewise.
51920 * manual/crypt.texi: Likewise.
51921 * manual/errno.texi: Likewise.
51922 * manual/filesys.texi: Likewise.
51923 * manual/header.texi: Likewise.
51924 * manual/install.texi: Likewise.
51925 * manual/intro.texi: Likewise.
51926 * manual/io.texi: Likewise.
51927 * manual/job.texi: Likewise.
51928 * manual/lang.texi: Likewise.
51929 * manual/libc.texiinfo: Likewise.
51930 * manual/llio.texi: Likewise.
51931 * manual/locale.texi: Likewise.
51932 * manual/maint.texi: Likewise.
51933 * manual/math.texi: Likewise.
51934 * manual/memory.texi: Likewise.
51935 * manual/message.texi: Likewise.
51936 * manual/nss.texi: Likewise.
51937 * manual/pattern.texi: Likewise.
51938 * manual/process.texi: Likewise.
51939 * manual/resource.texi: Likewise.
51940 * manual/search.texi: Likewise.
51941 * manual/setjmp.texi: Likewise.
51942 * manual/signal.texi: Likewise.
51943 * manual/socket.texi: Likewise.
51944 * manual/startup.texi: Likewise.
51945 * manual/stdio.texi: Likewise.
51946 * manual/string.texi: Likewise.
51947 * manual/sysinfo.texi: Likewise.
51948 * manual/syslog.texi: Likewise.
51949 * manual/terminal.texi: Likewise.
51950 * manual/time.texi: Likewise.
51951 * manual/users.texi: Likewise.
51952 * INSTALL: Regenerated.
51953 * NOTES: Regenerated.
51954 * sysdeps/gnu/errlist.c: Regenerated.
51956 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
51958 * include/dirent.h: Include <dirstream.h> before
51961 2012-02-28 David S. Miller <davem@davemloft.net>
51963 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51964 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51965 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51966 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51968 2012-02-27 David S. Miller <davem@davemloft.net>
51970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51972 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51973 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51976 frame pointer instead of stack pointer relative arg slot.
51977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51978 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51979 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51981 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
51984 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51986 2012-02-27 David S. Miller <davem@davemloft.net>
51988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51992 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51993 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51994 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51995 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51997 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51999 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52000 later. Allow versions 5-9.
52001 * configure: Regenerated.
52002 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52003 required minimum version and 4.6 as recommended version. Do not
52004 mention bugs in GCC 2.7 and 2.8.
52005 * INSTALL: Regenerated.
52007 2012-02-27 David S. Miller <davem@davemloft.net>
52009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52013 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52014 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52015 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52016 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52018 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52019 manipulate bits before adding and subtracting TWO112[sx].
52020 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52022 2012-02-27 Roland McGrath <roland@hack.frob.com>
52025 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52026 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52027 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52028 being in POSIX, because they are in 1003.1-2008.
52030 * rt/tst-aio.c: Include <fcntl.h>.
52031 * rt/tst-aio7.c: Likewise.
52032 * rt/tst-aio64.c: Likewise.
52034 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52036 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52038 * manual/install.texi (--with-headers): Describe headers as
52039 interface headers, not private headers.
52040 (Specific advice for GNU/Linux systems): Describe use of headers
52041 from "make headers_install", not private headers from older
52043 * INSTALL: Regenerated.
52044 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52046 * sysdeps/unix/sysv/linux/configure: Regenerated.
52048 * manual/llio.texi (fclean): Remove documentation.
52050 * manual/Makefile (libc-texi-generated): New variable. Include
52052 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52053 $(libc-texi-generated), not duplicated list of files.
52054 (version.texi, stamp-version): New rules.
52055 (realclean): Remove $(libc-texi-generated), not individual files
52056 from that list. Do not remove dir-add.texinfo.
52057 * manual/libc.texinfo: Comment out uses of edition numbers and
52058 references to printed manual. Remove last-updated dates.
52059 (EDITION): Comment out.
52061 (VERSION, UPDATED): Remove.
52062 (version.texi): Include.
52064 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
52066 * sysdeps/posix/spawni.c: Include <signal.h>.
52067 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52068 * sysdeps/pthread/aio_fsync.c: Likewise.
52070 2012-02-26 Ulrich Drepper <drepper@gmail.com>
52072 * conform/Makefile (tests): Run only when not cross-compiling and
52073 when fast-check is not defined.
52075 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52076 * conform/data/limits.h-data: Fixes for POSIX2008.
52077 * conform/run-conformtest.sh: Run all tests.
52078 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52080 * include/bits/dlfcn.h: Likewise.
52081 * include/langinfo.h: Likewise.
52082 * include/monetary.h: Likewise.
52083 * include/sys/poll.h: Likewise.
52085 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52087 * posix/spawn.h: Define __need_sigset_t.
52088 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52089 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52090 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
52091 to get sigevent_t only.
52092 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52093 only for __USE_GNU.
52094 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52095 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52096 process_vm_writev only for __USE_GNU.
52097 * termios/termios.h: Declare tcgetsid also for POSIX2008.
52099 * conform/Makefile: For now ignore errors from run-conformtest.
52100 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
52101 POSIX to avoid namespace pollution. Don't prepend headers.
52102 * conform/data/aio.h-data: Fixes for POSIX testing.
52103 * conform/data/fcntl.h-data: Likewise.
52104 * conform/data/glob.h-data: Likewise.
52105 * conform/data/grp.h-data: Likewise.
52106 * conform/data/pthread.h-data: Likewise.
52107 * conform/data/pwd.h-data: Likewise.
52108 * conform/data/signal.h-data: Likewise.
52109 * conform/data/spawn.h-data: Likewise.
52110 * conform/data/stdio.h-data: Likewise.
52111 * conform/data/stdlib.h-data: Likewise.
52112 * conform/data/stropts.h-data: Likewise.
52113 * conform/data/sys/mman.h-data: Likewise.
52114 * conform/data/sys/stat.h-data: Likewise.
52115 * conform/data/sys/types.h-data: Likewise.
52116 * conform/data/sys/wait.h-data: Likewise.
52117 * conform/data/time.h-data: Likewise.
52118 * conform/data/unistd.h-data: Likewise.
52119 * conform/data/utime.h-data: Likewise.
52121 * io/sys/stat.h: fchmod was always in POSIX.
52122 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52123 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52124 * rt/aio.h: Define __need_timespec before including <time.h>.
52125 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52126 struct. Add forward declaration of pthread_attr_t and use it in
52128 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52129 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52130 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52131 always remove CLK_TCK definition.
52133 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
52135 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52137 2012-02-25 Ulrich Drepper <drepper@gmail.com>
52139 * conform/run-conformtest.sh: New file.
52140 * conform/Makefile: Run run-conformtest for tests.
52141 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
52144 * conform/data/uchar.h-data: New file.
52145 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52146 * conform/data/arpa/inet.h-data: Likewise.
52147 * conform/data/assert.h-data: Likewise.
52148 * conform/data/complex.h-data: Likewise.
52149 * conform/data/cpio.h-data: Likewise.
52150 * conform/data/ctype.h-data: Likewise.
52151 * conform/data/dirent.h-data: Likewise.
52152 * conform/data/dlfcn.h-data: Likewise.
52153 * conform/data/errno.h-data: Likewise.
52154 * conform/data/fcntl.h-data: Likewise.
52155 * conform/data/float.h-data: Likewise.
52156 * conform/data/fmtmsg.h-data: Likewise.
52157 * conform/data/fnmatch.h-data: Likewise.
52158 * conform/data/ftw.h-data: Likewise.
52159 * conform/data/glob.h-data: Likewise.
52160 * conform/data/grp.h-data: Likewise.
52161 * conform/data/iconv.h-data: Likewise.
52162 * conform/data/inttypes.h-data: Likewise.
52163 * conform/data/langinfo.h-data: Likewise.
52164 * conform/data/libgen.h-data: Likewise.
52165 * conform/data/limits.h-data: Likewise.
52166 * conform/data/locale.h-data: Likewise.
52167 * conform/data/math.h-data: Likewise.
52168 * conform/data/monetary.h-data: Likewise.
52169 * conform/data/mqueue.h-data: Likewise.
52170 * conform/data/ndbm.h-data: Likewise.
52171 * conform/data/net/if.h-data: Likewise.
52172 * conform/data/netdb.h-data: Likewise.
52173 * conform/data/netinet/in.h-data: Likewise.
52174 * conform/data/nl_types.h-data: Likewise.
52175 * conform/data/poll.h-data: Likewise.
52176 * conform/data/pthread.h-data: Likewise.
52177 * conform/data/pwd.h-data: Likewise.
52178 * conform/data/regex.h-data: Likewise.
52179 * conform/data/sched.h-data: Likewise.
52180 * conform/data/search.h-data: Likewise.
52181 * conform/data/semaphore.h-data: Likewise.
52182 * conform/data/setjmp.h-data: Likewise.
52183 * conform/data/signal.h-data: Likewise.
52184 * conform/data/spawn.h-data: Likewise.
52185 * conform/data/stdarg.h-data: Likewise.
52186 * conform/data/stdio.h-data: Likewise.
52187 * conform/data/stdlib.h-data: Likewise.
52188 * conform/data/string.h-data: Likewise.
52189 * conform/data/strings.h-data: Likewise.
52190 * conform/data/stropts.h-data: Likewise.
52191 * conform/data/sys/ipc.h-data: Likewise.
52192 * conform/data/sys/mman.h-data: Likewise.
52193 * conform/data/sys/msg.h-data: Likewise.
52194 * conform/data/sys/resource.h-data: Likewise.
52195 * conform/data/sys/select.h-data: Likewise.
52196 * conform/data/sys/sem.h-data: Likewise.
52197 * conform/data/sys/shm.h-data: Likewise.
52198 * conform/data/sys/socket.h-data: Likewise.
52199 * conform/data/sys/stat.h-data: Likewise.
52200 * conform/data/sys/statvfs.h-data: Likewise.
52201 * conform/data/sys/time.h-data: Likewise.
52202 * conform/data/sys/timeb.h-data: Likewise.
52203 * conform/data/sys/times.h-data: Likewise.
52204 * conform/data/sys/types.h-data: Likewise.
52205 * conform/data/sys/uio.h-data: Likewise.
52206 * conform/data/sys/un.h-data: Likewise.
52207 * conform/data/sys/utsname.h-data: Likewise.
52208 * conform/data/sys/wait.h-data: Likewise.
52209 * conform/data/syslog.h-data: Likewise.
52210 * conform/data/tar.h-data: Likewise.
52211 * conform/data/termios.h-data: Likewise.
52212 * conform/data/utime.h-data: Likewise.
52213 * conform/data/utmpx.h-data: Likewise.
52214 * conform/data/varargs.h-data: Likewise.
52215 * conform/data/wchar.h-data: Likewise.
52216 * conform/data/wctype.h-data: Likewise.
52217 * conform/data/wordexp.h-data: Likewise.
52219 * include/stropts.h: New file.
52220 * include/uchar.h: New file.
52221 * include/aio.h: Changes to allow conformtest.pl to use the headers.
52222 * include/assert.h: Likewise.
52223 * include/ctype.h: Likewise.
52224 * include/dirent.h: Likewise.
52225 * include/dlfcn.h: Likewise.
52226 * include/fcntl.h: Likewise.
52227 * include/fnmatch.h: Likewise.
52228 * include/glob.h: Likewise.
52229 * include/grp.h: Likewise.
52230 * include/libio.h: Likewise.
52231 * include/locale.h: Likewise.
52232 * include/math.h: Likewise.
52233 * include/net/if.h: Likewise.
52234 * include/netdb.h: Likewise.
52235 * include/netinet/in.h: Likewise.
52236 * include/pthread.h: Likewise.
52237 * include/pwd.h: Likewise.
52238 * include/regex.h: Likewise.
52239 * include/sched.h: Likewise.
52240 * include/search.h: Likewise.
52241 * include/setjmp.h: Likewise.
52242 * include/signal.h: Likewise.
52243 * include/stdio.h: Likewise.
52244 * include/stdlib.h: Likewise.
52245 * include/string.h: Likewise.
52246 * include/sys/cdefs.h: Likewise.
52247 * include/sys/mman.h: Likewise.
52248 * include/sys/msg.h: Likewise.
52249 * include/sys/resource.h: Likewise.
52250 * include/sys/select.h: Likewise.
52251 * include/sys/socket.h: Likewise.
52252 * include/sys/stat.h: Likewise.
52253 * include/sys/statvfs.h: Likewise.
52254 * include/sys/time.h: Likewise.
52255 * include/sys/times.h: Likewise.
52256 * include/sys/uio.h: Likewise.
52257 * include/sys/utsname.h: Likewise.
52258 * include/sys/wait.h: Likewise.
52259 * include/termios.h: Likewise.
52260 * include/time.h: Likewise.
52261 * include/ulimit.h: Likewise.
52262 * include/unistd.h: Likewise.
52263 * include/utime.h: Likewise.
52264 * include/wchar.h: Likewise.
52265 * include/wctype.h: Likewise.
52266 * include/wordexp.h: Likewise.
52268 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52270 * time/time.h: TIME_UTC must be a macro.
52271 Make timespec_get available for ISO C11 only as well.
52273 2012-02-24 Ulrich Drepper <drepper@gmail.com>
52275 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52276 Reported by Peng Haitao <penght@cn.fujitsu.com>.
52278 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52280 * configure.in: Use -o not -a in test for unsupported multi-arch.
52282 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52284 * manual/texinfo.tex: Update to version 2012-01-19.16.
52286 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52288 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52290 2012-02-24 Roland McGrath <roland@hack.frob.com>
52293 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52294 * manual/fdl-1.3.texi: New file.
52295 * manual/fdl-1.1.texi: File removed.
52298 * manual/libc.texinfo (FDL_VERSION): New @set.
52299 Use it for mention of FDL in cover text.
52300 (Documentation License): Use it in @include file name.
52302 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52303 Roland McGrath <roland@hack.frob.com>
52306 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52307 (not LONG_LONG_MAX and LONG_LONG_MIN.
52308 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52309 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
52311 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52313 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52317 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52318 manipulate bits before adding and subtracting TWO23[sx].
52319 * math/libm-test.inc (nearbyint_test): Add more tests.
52321 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52324 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52325 bits before adding and subtracting TWO23[sx].
52326 * math/libm-test.inc (rint_test): Add more tests.
52327 (rint_test_tonearest): Likewise.
52328 (rint_test_towardzero): Likewise.
52329 (rint_test_downward): Likewise.
52330 (rint_test_upward: Likewise.
52332 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52335 * include/stdc-predef.h: New file. Extracted from features.h.
52336 * include/features.h: Include stdc-predef.h.
52337 * Makefile (headers): Add stdc-predef.h.
52338 * CONFORMANCE (Compiler limitations): Update.
52340 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52342 * manual/libc.texinfo (VERSION, UPDATED): Revert.
52344 2012-02-21 David S. Miller <davem@davemloft.net>
52346 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52347 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52349 2012-02-20 David S. Miller <davem@davemloft.net>
52351 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52352 using a normal save/restore sequence, rather than allocating a
52353 dummy stack frame just to store a frame pointer and restore.
52354 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52356 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52358 * manual/install.texi: Fix stray word in line-wrapped comment.
52360 2012-02-20 David S. Miller <davem@davemloft.net>
52362 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52363 both binutils and gcc support GOTDATA.
52365 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52366 "rd %pc" in the PIC register setup sequences.
52368 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52369 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52370 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52371 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52372 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52373 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52374 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52375 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52377 (SYSCALL_ERROR_HANDLER): Likewise.
52378 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52379 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52381 (SYSCALL_ERROR_HANDLER): Likewise.
52383 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52384 (HAVE_GCC_GOTDATA): New.
52385 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52386 relocation support in both binutils and gcc.
52387 * sysdeps/sparc/elf/configure: Regenerate.
52389 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52390 * sysdeps/sparc/sparc32/elf/configure: Delete.
52391 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52392 * sysdeps/sparc/sparc64/elf/configure: Delete.
52393 * sysdeps/sparc/elf/configure.in: New file.
52394 * sysdeps/sparc/elf/configure: Generate.
52396 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52397 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52398 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52399 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52400 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52402 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52404 * manual/install.texi: Do not mention specific glibc version
52406 * manual/libc.texinfo (VERSION, UPDATED): Update.
52407 (@copying): Use @copyright{} and range of years.
52409 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52412 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52413 [crti.S not in sysdirs] (generated): Do not append.
52414 [crti.S not in sysdirs] (omit-deps): Likewise.
52415 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52416 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52417 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52418 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52419 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52421 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52422 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52423 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52424 * csu/defs.awk: Remove file.
52425 * sysdeps/generic/initfini.c: Likewise.
52426 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52428 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52431 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52433 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52434 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52435 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52436 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52437 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52438 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52440 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52441 (__EPOLL_PACKED): Define to empty if not defined by
52443 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52447 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52449 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52450 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52451 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52452 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52454 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52455 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52458 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52460 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52462 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52463 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52464 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52467 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
52469 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52470 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52472 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
52474 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52475 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52477 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52479 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52482 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
52484 * math/w_acos.c: Use non-signaling floating-point comparisons.
52485 * math/w_acosf.c: Likewise.
52486 * math/w_acosh.c: Likewise.
52487 * math/w_acoshf.c: Likewise.
52488 * math/w_acoshl.c: Likewise.
52489 * math/w_acosl.c: Likewise.
52490 * math/w_asin.c: Likewise.
52491 * math/w_asinf.c: Likewise.
52492 * math/w_asinl.c: Likewise.
52493 * math/w_atanh.c: Likewise.
52494 * math/w_atanhf.c: Likewise.
52495 * math/w_atanhl.c: Likewise.
52496 * math/w_exp2.c: Likewise.
52497 * math/w_exp2f.c: Likewise.
52498 * math/w_exp2l.c: Likewise.
52499 * math/w_j0.c: Likewise.
52500 * math/w_j0f.c: Likewise.
52501 * math/w_j0l.c: Likewise.
52502 * math/w_j1.c: Likewise.
52503 * math/w_j1f.c: Likewise.
52504 * math/w_j1l.c: Likewise.
52505 * math/w_jn.c: Likewise.
52506 * math/w_jnf.c: Likewise.
52507 * math/w_log.c: Likewise.
52508 * math/w_log10.c: Likewise.
52509 * math/w_log10f.c: Likewise.
52510 * math/w_log10l.c: Likewise.
52511 * math/w_log2.c: Likewise.
52512 * math/w_log2f.c: Likewise.
52513 * math/w_log2l.c: Likewise.
52514 * math/w_logf.c: Likewise.
52515 * math/w_logl.c: Likewise.
52516 * math/w_sqrt.c: Likewise.
52517 * math/w_sqrtf.c: Likewise.
52518 * math/w_sqrtl.c: Likewise.
52519 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52520 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52521 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52522 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52523 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52525 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52528 * manual/string.texi (strnlen): Use correct parameter name in
52529 equivalent expression.
52531 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52534 * manual/users.texi (seteuid): Consistently use neweuid for
52537 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52540 * manual/nss.texi (Services in the NSS configuration): Correct
52541 list of services in example configuration file.
52543 2012-02-19 Nick Bowler <nbowler@draconx.ca>
52546 * manual/arith.texi: Remove statements about negative zero
52547 behaving identically to zero.
52549 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52552 * manual/install.texi: Do not document upgrading from libc5.
52554 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52557 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52559 2012-02-18 David S. Miller <davem@davemloft.net>
52561 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52562 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52563 %o7 across the call.
52564 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52566 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52567 SETUP_PIC_REG_LEAF.
52568 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52569 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52570 * sysdeps/sparc/crtn.S: Likewise.
52572 2012-02-17 Ulrich Drepper <drepper@gmail.com>
52574 * aout/Makefile: Remove.
52576 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
52579 * manual/examples/argp-ex1.c (main): Format definition in GNU
52581 * manual/examples/argp-ex2.c (main): Likewise.
52582 * manual/examples/argp-ex3.c (main): Likewise.
52583 * manual/examples/argp-ex4.c (main): Likewise.
52584 * manual/examples/longopt.c (main): Use new-style prototype
52586 * manual/examples/strncat.c (main): Specify return type and use
52587 (void) for arguments.
52588 * manual/examples/subopt.c (main): Use char **argv argument.
52590 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52593 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52596 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
52599 * manual/string.texi (strchr): Change when strchrnul is
52602 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
52605 * manual/locale.texi (setlocale): Document LOCPATH.
52607 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52610 * manual/process.texi (execle): Move @dots{} before last argument.
52612 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
52615 * manual/charset.texi (Generic Charset Conversion): Fix typo
52616 (LC_TYPE -> LC_CTYPE).
52618 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
52621 * manual/arith.texi (scalbn): Use @var{} on parameter names.
52622 (scalbnf): Likewise.
52623 (scalbnl): Likewise.
52624 (scalbln): Likewise.
52625 (scalblnf): Likewise.
52626 (scalblnl): Likewise.
52627 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52628 (vwarnx): Likewise.
52631 * manual/filesys.texi (telldir): Use braces around return type.
52632 * manual/llio.texi (mmap): Add space after comma.
52633 (mmap64): Likewise.
52634 * manual/math.texi (jn): Use @var{} on parameter names.
52640 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52642 * manual/resource.texi (ulimit): Use @dots{} instead of literal
52644 (sched_get_priority_min): Remove semicolon on @deftypefun line.
52645 (sched_get_priority_max): Likewise.
52646 * manual/signal.texi (sigvec): Add space after comma.
52647 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52649 (if_indextoname): Likewise.
52650 (if_freenameindex): Likewise.
52651 (sendto): Use ',' instead of '.' in prototype.
52652 * manual/startup.texi (syscall): Use @dots{} instead of literal
52654 * manual/stdio.texi (__fpending): Separate initial words of
52655 paragraph from @deftypefun line.
52656 * manual/syslog.texi (syslog): Use @dots{} instead of literal
52658 (vsyslog): Use @var{} on parameter names.
52659 * manual/terminal.texi (stty): Use @var{} on parameter names.
52660 * manual/users.texi (getutmp): Use @var{} on parameter names.
52661 (getutmpx): Likewise.
52663 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52666 * manual/stdio.texi (fopen): Fix typos in description of
52669 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
52672 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52673 get clock_id definition.
52675 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
52678 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52679 (madvise): Cast every argument to void on its own.
52681 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52684 * manual/startup.texi (Exit Status): Fix typo.
52686 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52689 * manual/examples/argp-ex1.c: Include <stdlib.h>.
52690 * manual/examples/argp-ex2.c: Likewise.
52691 * manual/examples/argp-ex3.c: Likewise.
52693 2012-02-16 Richard Henderson <rth@redhat.com>
52695 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52696 * sysdeps/s390/s390-32/initfini.c: Remove.
52697 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52698 * sysdeps/s390/s390-64/initfini.c: Remove.
52700 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52702 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52703 compiler output for sysdeps/generic/initfini.c.
52704 * sysdeps/sh/elf/initfini.c: Remove file.
52706 2012-02-16 David S. Miller <davem@davemloft.net>
52709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52711 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52712 * sysdeps/sparc/crti.S: New file.
52713 * sysdeps/sparc/crtn.S: New file.
52714 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52715 * sysdeps/sparc/sparc64/Makefile: Likewise.
52717 2012-02-15 Mike Frysinger <vapier@gentoo.org>
52720 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52722 2012-02-15 Roland McGrath <roland@hack.frob.com>
52725 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52727 * mach/devstream.c (cookie_io_functions_t): Macro removed.
52728 (write, read, close): Likewise.
52729 Patch by Aurelien Jarno <aurelien@aurel32.net>.
52731 2012-02-15 Joseph Myers <joseph@codesourcery.com>
52733 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52734 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52735 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52736 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52738 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52742 2012-02-14 Marek Polacek <polacek@redhat.com>
52744 * sysdeps/x86_64/crti.S: New file.
52745 * sysdeps/x86_64/crtn.S: New file.
52746 * sysdeps/x86_64/elf/initfini.c: Remove file.
52748 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52750 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52751 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52752 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52753 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52755 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52759 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52761 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52762 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52763 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52764 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52766 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52770 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
52772 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52773 __feraiseexcept instead of feraiseexcept.
52775 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52776 nanosleep invocations.
52777 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52778 strings, and add error checking for a nanosleep invocations.
52780 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
52782 Replace FSF snail mail address with URLs, as per GNU coding standards.
52783 Most of the snail mail addresses were wrong anyway, and omitting
52784 them makes the source code easier to maintain. Almost all of the
52785 changes are to license notices and to locale LC_IDENTIFICATION
52786 addresses, except for this one:
52787 * manual/libc.texinfo: In "Published by", give the FSF's URL,
52788 not its snail mail address.
52790 2012-02-09 Richard Henderson <rth@twiddle.net>
52792 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52793 of kernel-features.h.
52795 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52797 2012-02-08 Marek Polacek <polacek@redhat.com>
52799 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52800 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52801 * sysdeps/gnu/_G_config.h: Likewise.
52802 * sysdeps/generic/_G_config.h: Likewise.
52804 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
52806 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52810 * sysdeps/powerpc/powerpc32/crti.S: New file.
52811 * sysdeps/powerpc/powerpc32/crtn.S: New file.
52812 * sysdeps/powerpc/powerpc64/crti.S: New file.
52813 * sysdeps/powerpc/powerpc64/crtn.S: New file.
52815 * Makeconfig (have-initfini): Don't set.
52816 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52817 * configure.in (nopic_initfini): Don't substitute.
52818 * config.h.in (HAVE_INITFINI): Don't #undef.
52819 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52820 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52822 2012-02-08 Joseph Myers <joseph@codesourcery.com>
52824 Support crti.S and crtn.S provided directly by architectures.
52825 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52826 [crti.S in sysdirs] (omit-deps): Likewise.
52827 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52828 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52829 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52830 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52831 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52832 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52833 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52834 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52835 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52836 compiler output for sysdeps/generic/initfini.c.
52837 * sysdeps/i386/elf/Makefile: Remove file.
52838 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52840 2012-02-07 Marek Polacek <polacek@redhat.com>
52842 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52843 * sysdeps/gnu/_G_config.h: Likewise.
52844 * sysdeps/mach/hurd/_G_config.h: Likewise.
52846 2012-02-07 Marek Polacek <polacek@redhat.com>
52848 * math/Makefile (tests): Add tst-CMPLX2.
52849 * math/tst-CMPLX2.c: New file.
52851 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
52853 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52855 * math/libm-test.inc (jn_test): Add missing L suffix.
52857 2012-02-06 Marek Polacek <polacek@redhat.com>
52859 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52860 * sysdeps/i386/fpu/e_powf.S: Likewise.
52861 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52862 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52863 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52864 * sysdeps/i386/fpu/e_pow.S: Likewise.
52865 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52866 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52867 * sysdeps/i386/fpu/s_expm1.S: Likewise.
52868 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52869 * sysdeps/i386/fpu/e_log2.S: Likewise.
52870 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52871 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52872 * sysdeps/i386/fpu/e_powl.S: Likewise.
52873 * sysdeps/i386/fpu/s_log1p.S: Likewise.
52874 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52875 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52876 * sysdeps/i386/fpu/e_logl.S: Likewise.
52877 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52878 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52879 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52880 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52881 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52882 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52883 * sysdeps/i386/fpu/e_log.S: Likewise.
52884 * sysdeps/i386/fpu/s_cexp.S: Likewise.
52885 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52886 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52887 * sysdeps/i386/fpu/e_logf.S: Likewise.
52888 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52889 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52890 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52891 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52892 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52893 * sysdeps/i386/fpu/e_log10.S: Likewise.
52894 * sysdeps/i386/fpu/s_frexp.S: Likewise.
52895 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52896 * sysdeps/i386/fpu/s_asinh.S: Likewise.
52897 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52898 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52899 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52900 * sysdeps/i386/asm-syntax.h: Likewise.
52901 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52902 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52903 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52904 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52905 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52906 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52907 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52908 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52909 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52910 * sysdeps/powerpc/sysdep.h: Likewise.
52911 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52912 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52914 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52917 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52919 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52921 * sysdeps/i386/sysdep.h: Include <features.h>.
52922 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52925 2012-02-05 Joseph Myers <joseph@codesourcery.com>
52927 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52929 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52932 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52934 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52935 (SETUP_PIC_REG): Use GET_PC_THUNK.
52936 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52939 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52941 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52942 for non-PIC compilation.
52943 (SETUP_PIC_REG): Add .p2align directive.
52944 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52945 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52946 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52947 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52948 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52949 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52950 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52951 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52952 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52953 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52954 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52955 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52956 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52957 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52958 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52959 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52960 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52961 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52962 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52963 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52964 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52965 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52966 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52967 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52969 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52970 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52971 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52972 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52973 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52974 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52975 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52976 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52977 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52978 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52979 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52980 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52981 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52982 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52983 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52984 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52986 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52988 * math/tst-CMPLX.c: Include <stdio.h>.
52990 2012-01-31 Joseph Myers <joseph@codesourcery.com>
52992 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52994 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52995 * sysdeps/sparc/bits/mathdef.h: Likewise.
52997 2012-01-31 Marek Polacek <polacek@redhat.com>
52999 * libio/libio.h: Don't define _PARAMS.
53000 * locale/programs/config.h: Don't define PARAMS.
53001 * stdlib/strtol_l.c: Likewise.
53002 (__strtol_l): Remove PARAMS from the prototype.
53004 2012-01-31 Ulrich Drepper <drepper@gmail.com>
53006 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
53007 names. Just use the correct names. Remove unnecessary wrapper
53009 * malloc/arena.c: Likewise.
53010 * malloc/hooks.c: Likewise.
53012 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53013 ARENA_TEST says not to. Simplify test for creation of a new arena.
53014 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53016 2012-01-30 Ulrich Drepper <drepper@gmail.com>
53018 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53020 (update_get_addr): New function.
53021 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53022 GET_ADDR_MODULE parameter.
53024 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53026 * crypt/cert.c: Remove __STDC__ conditionals.
53027 * crypt/crypt-entry.c: Likewise.
53028 * crypt/crypt_util.c: Likewise.
53029 * libio/filedoalloc.c: Likewise.
53030 * libio/fileops.c: Likewise.
53031 * libio/genops.c: Likewise.
53032 * libio/iofclose.c: Likewise.
53033 * libio/iofdopen.c: Likewise.
53034 * libio/iofopen.c: Likewise.
53035 * libio/iofopen64.c: Likewise.
53036 * libio/iogetdelim.c: Likewise.
53037 * libio/iopopen.c: Likewise.
53038 * libio/obprintf.c: Likewise.
53039 * libio/oldfileops.c: Likewise.
53040 * libio/oldiofclose.c: Likewise.
53041 * libio/oldiofdopen.c: Likewise.
53042 * libio/oldiofopen.c: Likewise.
53043 * libio/oldiopopen.c: Likewise.
53044 * libio/wfiledoalloc.c: Likewise.
53045 * libio/wgenops.c: Likewise.
53046 * locale/programs/xmalloc.c: Likewise.
53047 * misc/syslog.c: Likewise.
53048 * stdio-common/xbug.c: Likewise.
53049 * string/memchr.c: Likewise.
53050 * string/memcmp.c: Likewise.
53051 * string/memrchr.c: Likewise.
53052 * string/rawmemchr.c: Likewise.
53053 * sysdeps/posix/getcwd.c: Likewise.
53054 * time/strftime_l.c: Likewise.
53056 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53058 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53059 * config.make.in (config-cflags-sse2avx): Define.
53060 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53063 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
53065 * scripts/config.guess: Update from upstream config git repository.
53066 * scripts/config.sub: Likewise.
53068 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
53070 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53072 (R_TILEPRO_*, R_TILEGX_*): New macros.
53074 * scripts/firstversions.awk: Fix bug in version range handling.
53076 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53078 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53080 * include/sys/epoll.h: New file.
53081 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53084 2012-01-28 Ulrich Drepper <drepper@gmail.com>
53086 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53087 Avoid unnecessary __WORDSIZE == 64 test.
53088 (fmaxf): Use VEX format if possible.
53093 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53094 * math/math_private.h: Remove libc_fegetround* and
53096 * sysdeps/i386/configure.in: Check for -msse2avx.
53097 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53098 also if SSE2AVX is defined.
53099 Remove libc_fegetround* and libc_fesetround*.
53100 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53101 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
53102 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53104 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53105 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53106 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53107 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53108 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53110 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53112 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53114 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53116 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53118 2012-01-27 Ulrich Drepper <drepper@gmail.com>
53121 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53123 * Makeconfig (libm): Define.
53124 * elf/Makefile: Add rules to build and run tst-relsort1.
53125 * elf/tst-relsort1.c: New file.
53126 * elf/tst-relsort1mod1.c: New file.
53127 * elf/tst-relsort1mod2.c: New file.
53129 2012-01-27 Joseph Myers <joseph@codesourcery.com>
53131 * math/s_ldexp.c: Remove __STDC__ conditionals.
53132 * math/s_ldexpf.c: Likewise.
53133 * math/s_ldexpl.c: Likewise.
53134 * math/s_nextafter.c: Likewise.
53135 * math/s_nexttowardf.c: Likewise.
53136 * math/s_significand.c: Likewise.
53137 * math/s_significandf.c: Likewise.
53138 * math/s_significandl.c: Likewise.
53139 * math/w_jnl.c: Likewise.
53140 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53141 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53142 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53143 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53144 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53146 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53147 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53148 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53149 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53150 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53151 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53152 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53153 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53154 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53155 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53157 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53158 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53159 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53160 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53161 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53162 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53163 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53164 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53165 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53166 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53167 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53168 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53169 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53170 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53171 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53172 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53173 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53174 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53175 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53176 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53177 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53178 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53179 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53180 * sysdeps/ieee754/k_standard.c: Likewise.
53181 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53182 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53183 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53184 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53185 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53186 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53187 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53188 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53189 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53190 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53191 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53192 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53193 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53194 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53195 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53196 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53197 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53199 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53200 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53201 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53202 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53203 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53204 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53205 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53206 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53207 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53208 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53210 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53211 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53212 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53213 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53214 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53215 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53216 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53217 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53218 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53219 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53220 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53221 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53222 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53223 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53224 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53225 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53226 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53227 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53228 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53229 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53230 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53231 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53232 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53233 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53234 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53235 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53236 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53237 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53238 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53239 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53240 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53241 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53242 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53243 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53244 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53245 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53246 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53247 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53248 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53249 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53250 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53251 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53252 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53253 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53254 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53255 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53256 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53257 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53258 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53259 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53260 * sysdeps/ieee754/s_matherr.c: Likewise.
53261 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53262 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53263 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53264 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53266 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53268 * crypt/md5.h: Remove __STDC__ conditionals.
53269 * libio/libioP.h: Likewise.
53270 * locale/programs/config.h: Likewise.
53271 * sysdeps/generic/sysdep.h: Likewise.
53272 * sysdeps/i386/asm-syntax.h: Likewise.
53273 * sysdeps/s390/asm-syntax.h: Likewise.
53274 * sysdeps/unix/sysdep.h: Likewise.
53275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53278 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53280 * libio/libio.h: Remove __STDC__ conditionals.
53281 * malloc/obstack.h: Likewise.
53282 * math/complex.h: Likewise.
53283 * math/math.h: Likewise.
53284 * sysdeps/generic/_G_config.h: Likewise.
53285 * sysdeps/gnu/_G_config.h: Likewise.
53286 * sysdeps/mach/hurd/_G_config.h: Likewise.
53287 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53288 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53289 * sysdeps/sparc/bits/mathdef.h: Likewise.
53291 2012-01-26 Ulrich Drepper <drepper@gmail.com>
53294 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53295 Clean up HAS_* macros.
53296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53297 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53299 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53301 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53302 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53303 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53304 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53305 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53307 2012-01-25 Joseph Myers <joseph@codesourcery.com>
53309 * elf/tst-unique3.cc (gets): Remove declaration.
53310 * elf/tst-unique3lib.cc (gets): Likewise.
53311 * elf/tst-unique3lib2.cc (gets): Likewise.
53312 * elf/tst-unique4.cc (gets): Likewise.
53314 2012-01-24 Ulrich Drepper <drepper@gmail.com>
53316 * include/stdio.h: Add C++ protection. Add gets declarations and
53318 * debug/tst-chk1.c: Don't declare gets here.
53319 * stdio-common/tst-gets.c: Likewise.
53321 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53323 * posix/glob: Remove directory.
53325 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53327 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53329 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
53331 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53332 of the non-standard EPFNOSUPPORT.
53334 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
53336 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53337 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53338 ANYWHERE set to 1 only on KERN_NO_SPACE error.
53340 2012-01-21 Ulrich Drepper <drepper@gmail.com>
53342 * wcsmbs/uchar.h: Test __STDC_VERSION__.
53344 2012-01-20 Ulrich Drepper <drepper@gmail.com>
53346 * nscd/aicache.c (addhstaiX): Do not cache negative results of
53348 * nscd/grpcache.c (cache_addgr): Likewise.
53349 * nscd/hstcache.c (cache_addhst): Likewise.
53350 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53351 * nscd/pwdcache.c (cache_addpw): Likewise.
53352 * nscd/servicescache.c (cache_addserv): Likewise.
53354 2012-01-16 Ulrich Drepper <drepper@gmail.com>
53356 * malloc/malloc.c: Various cleanups.
53357 * malloc/hooks.c: Likewise.
53359 * stdlib/Makefile (tests): Add bug-fmtmsg1.
53360 * stdlib/bug-fmtmsg1.c: New file.
53362 * stdlib/fmtmsg.c (init): Add missing unlock.
53363 Patch by Peng Haitao <penght@cn.fujitsu.com>.
53365 2012-01-12 Marek Polacek <polacek@redhat.com>
53367 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53370 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53372 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53373 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53374 macro to ensure uniqueness of label name.
53375 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53376 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53378 2012-01-11 Ulrich Drepper <drepper@gmail.com>
53380 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53382 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53383 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53384 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53385 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53387 2012-01-10 Ulrich Drepper <drepper@gmail.com>
53389 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53391 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53392 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53393 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53395 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53397 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53398 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53399 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53400 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53402 * math/bits/math-finite.h: Add ldexp support.
53404 2012-01-10 Marek Polacek <polacek@redhat.com>
53406 * locale/programs/localedef.h (show_archive_content): Add noreturn
53409 2012-01-09 Ulrich Drepper <drepper@gmail.com>
53411 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53413 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53415 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53417 * io/Makefile (headers): Add bits/poll2.h.
53419 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
53421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53422 typo #include statement.
53424 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53426 * include/sys/cdefs.h: Define __attribute_alloc_size.
53427 * catgets/gencat.c: Add alloc_size attribute and apply consistently
53428 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53429 * elf/pldd.c: Likewise.
53430 * iconv/iconv_charmap.c: Likewise.
53431 * iconv/iconvconfig.c: Likewise.
53432 * iconv/strtab.c: Likewise.
53433 * locale/programs/locale.c: Likewise.
53434 * locale/programs/localedef.h: Likewise.
53435 * locale/programs/simple-hash.c: Likewise.
53436 * nscd/nscd.h: Likewise.
53437 * nss/makedb.c: Likewise.
53438 * sysdeps/generic/ldconfig.h: Likewise.
53439 * locale/programs/localedef.c: Remove xmalloc prototype.
53440 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53442 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53444 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53447 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53449 * math/Makefile (tests): Add tst-CMPLX.
53450 * math/tst-CMPLX.c: New file.
53452 * math/complex.h (CMPLXL): Fix typo.
53454 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53455 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53457 * debug/tst-chk1.c: Add poll and ppoll tests.
53458 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53459 * include/sys/poll.h: Add hidden proto for ppoll.
53460 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53461 * sysdeps/mach/hurd/ppoll.c: Likewise.
53462 * io/ppoll.c: Likewise.
53463 * debug/poll_chk.c: New file.
53464 * debug/ppoll_chk.c: New file.
53465 * include/bits/poll2.h: New file.
53466 * io/bits/poll2.h: New file.
53469 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53471 * configure.in: static is always set to yes. Remove.
53472 * config.make.in: Don't set build-static.
53473 * Makeconfig: Remove use of build-static.
53474 * dlfcn/Makefile: Likewise.
53475 * elf/Makefile: Likewise.
53476 * math/Makefile: Likewise.
53477 * misc/Makefile: Likewise.
53478 * nptl/Makefile: Likewise.
53479 * sysdeps/mach/hurd/Makefile: Likewise.
53481 * configure.in: PWD_P is not used anymore.
53482 * config.make.in: Remove PWD_P entry.
53484 * configure.in: Remove last remnants of RANLIB.
53485 No need to check for signed size_t anymore.
53486 Don't set libc_commonpagesize and libc_relro_required here for Alpha
53488 Remove __builtin_expect test because we require at least gcc 3.4.
53489 * aclocal.m4: Likewise.
53491 * wcsmbs/mbrtoc16.c: Implement using towc function.
53492 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53493 * wcsmbs/wcsmbsload.c: Likewise.
53494 * iconv/gconv_simple.c: Likewise.
53495 * iconv/gconv_int.h: Likewise.
53496 * iconv/gconv_builtin.h: Likewise.
53497 * iconv/iconv_prog.c: Remove CHAR16 handling.
53499 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53501 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53503 * configure.in: Remove --with-elf and --enable-bounded options.
53504 Dont set base_machine for ia64. More non-ELF conditions removed.
53505 Remove testing and setting of leading underscore information.
53506 * config.make.in (build-bounded): Set to no.
53507 * config.h.in: Remove NO_UNDERSCORES entry.
53508 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
53510 * csu/start.c: Remove !NO_UNDERSCORE code.
53511 * locale/localeinfo.h: Likewise.
53512 * sysdeps/generic/machine-gmon.h: Likewise.
53513 * sysdeps/generic/sysdep.h: Likewise.
53514 * sysdeps/i386/sysdep.h: Likewise.
53515 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53516 * sysdeps/mach/sysdep.h: Likewise.
53517 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53518 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53519 * sysdeps/sh/sysdep.h: Likewise.
53520 * sysdeps/sparc/sparc32/alloca.S: Likewise.
53521 * sysdeps/unix/i386/sysdep.S: Likewise.
53522 * sysdeps/unix/sparc/start.c: Likewise.
53523 * sysdeps/unix/sparc/sysdep.S: Likewise.
53524 * sysdeps/unix/sparc/sysdep.h: Likewise.
53525 * sysdeps/unix/start.c: Likewise.
53526 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53527 * sysdeps/x86_64/sysdep.h: Likewise.
53529 2012-01-07 Ulrich Drepper <drepper@gmail.com>
53532 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53534 * argp/argp-fmtstream.h: Use const instead __const.
53535 * argp/argp.h: Likewise.
53536 * assert/assert.h: Likewise.
53537 * bits/fenv.h: Likewise.
53538 * bits/sched.h: Likewise.
53539 * bits/sigset.h: Likewise.
53540 * bits/sigthread.h: Likewise.
53541 * catgets/nl_types.h: Likewise.
53542 * conform/data/pthread.h-data: Likewise.
53543 * crypt/crypt-private.h: Likewise.
53544 * crypt/crypt.h: Likewise.
53545 * crypt/crypt_util.c: Likewise.
53546 * ctype/ctype.h: Likewise.
53547 * debug/execinfo.h: Likewise.
53548 * debug/mbsnrtowcs_chk.c: Likewise.
53549 * debug/mbsrtowcs_chk.c: Likewise.
53550 * debug/wcsnrtombs_chk.c: Likewise.
53551 * debug/wcsrtombs_chk.c: Likewise.
53552 * debug/wcstombs_chk.c: Likewise.
53553 * dirent/dirent.h: Likewise.
53554 * dlfcn/dlfcn.h: Likewise.
53555 * elf/neededtest4.c: Likewise.
53556 * grp/grp.h: Likewise.
53557 * gshadow/gshadow.h: Likewise.
53558 * iconv/gconv.h: Likewise.
53559 * iconv/gconv_int.h: Likewise.
53560 * iconv/gconv_simple.c: Likewise.
53561 * iconv/iconv.h: Likewise.
53562 * iconv/loop.c: Likewise.
53563 * iconv/skeleton.c: Likewise.
53564 * include/aio.h: Likewise.
53565 * include/aliases.h: Likewise.
53566 * include/argz.h: Likewise.
53567 * include/arpa/inet.h: Likewise.
53568 * include/assert.h: Likewise.
53569 * include/dirent.h: Likewise.
53570 * include/dlfcn.h: Likewise.
53571 * include/execinfo.h: Likewise.
53572 * include/fcntl.h: Likewise.
53573 * include/fenv.h: Likewise.
53574 * include/glob.h: Likewise.
53575 * include/grp.h: Likewise.
53576 * include/libintl.h: Likewise.
53577 * include/mntent.h: Likewise.
53578 * include/netdb.h: Likewise.
53579 * include/pwd.h: Likewise.
53580 * include/rpc/netdb.h: Likewise.
53581 * include/sched.h: Likewise.
53582 * include/search.h: Likewise.
53583 * include/shadow.h: Likewise.
53584 * include/signal.h: Likewise.
53585 * include/stdio.h: Likewise.
53586 * include/stdlib.h: Likewise.
53587 * include/string.h: Likewise.
53588 * include/sys/socket.h: Likewise.
53589 * include/sys/stat.h: Likewise.
53590 * include/sys/statfs.h: Likewise.
53591 * include/sys/statvfs.h: Likewise.
53592 * include/sys/syslog.h: Likewise.
53593 * include/sys/time.h: Likewise.
53594 * include/sys/uio.h: Likewise.
53595 * include/time.h: Likewise.
53596 * include/unistd.h: Likewise.
53597 * include/utmp.h: Likewise.
53598 * include/wchar.h: Likewise.
53599 * include/wctype.h: Likewise.
53600 * inet/aliases.h: Likewise.
53601 * inet/arpa/inet.h: Likewise.
53602 * inet/netinet/ether.h: Likewise.
53603 * inet/netinet/in.h: Likewise.
53604 * intl/libintl.h: Likewise.
53605 * io/bits/fcntl2.h: Likewise.
53606 * io/fcntl.h: Likewise.
53607 * io/ftw.h: Likewise.
53608 * io/sys/poll.h: Likewise.
53609 * io/sys/stat.h: Likewise.
53610 * io/sys/statfs.h: Likewise.
53611 * io/sys/statvfs.h: Likewise.
53612 * io/utime.h: Likewise.
53613 * libio/bits/stdio.h: Likewise.
53614 * libio/bits/stdio2.h: Likewise.
53615 * libio/libio.h: Likewise.
53616 * libio/libioP.h: Likewise.
53617 * libio/stdio.h: Likewise.
53618 * locale/lc-ctype.c: Likewise.
53619 * locale/locale.h: Likewise.
53620 * login/utmp.h: Likewise.
53621 * malloc/arena.c: Likewise.
53622 * malloc/malloc.c: Likewise.
53623 * malloc/malloc.h: Likewise.
53624 * malloc/mcheck.c: Likewise.
53625 * malloc/mtrace.c: Likewise.
53626 * math/bits/mathcalls.h: Likewise.
53627 * math/fenv.h: Likewise.
53628 * math/math_private.h: Likewise.
53629 * misc/bits/error.h: Likewise.
53630 * misc/bits/syslog.h: Likewise.
53631 * misc/err.h: Likewise.
53632 * misc/error.h: Likewise.
53633 * misc/fstab.h: Likewise.
53634 * misc/mntent.h: Likewise.
53635 * misc/regexp.h: Likewise.
53636 * misc/search.h: Likewise.
53637 * misc/sgtty.h: Likewise.
53638 * misc/sys/mman.h: Likewise.
53639 * misc/sys/syslog.h: Likewise.
53640 * misc/sys/uio.h: Likewise.
53641 * misc/sys/xattr.h: Likewise.
53642 * misc/ttyent.h: Likewise.
53643 * nis/rpcsvc/ypclnt.h: Likewise.
53644 * nss/nss.h: Likewise.
53645 * posix/bits/unistd.h: Likewise.
53646 * posix/fnmatch.h: Likewise.
53647 * posix/glob.h: Likewise.
53648 * posix/sched.h: Likewise.
53649 * posix/spawn.h: Likewise.
53650 * posix/sys/wait.h: Likewise.
53651 * posix/unistd.h: Likewise.
53652 * posix/wordexp.h: Likewise.
53653 * pwd/pwd.h: Likewise.
53654 * resolv/netdb.h: Likewise.
53655 * resource/sys/resource.h: Likewise.
53656 * rt/aio.h: Likewise.
53657 * rt/bits/mqueue2.h: Likewise.
53658 * rt/mqueue.h: Likewise.
53659 * shadow/shadow.h: Likewise.
53660 * signal/signal.h: Likewise.
53661 * socket/send.c: Likewise.
53662 * socket/sendto.c: Likewise.
53663 * socket/sys/socket.h: Likewise.
53664 * stdio-common/printf.h: Likewise.
53665 * stdlib/bits/stdlib.h: Likewise.
53666 * stdlib/fmtmsg.h: Likewise.
53667 * stdlib/monetary.h: Likewise.
53668 * stdlib/stdlib.h: Likewise.
53669 * stdlib/ucontext.h: Likewise.
53670 * streams/stropts.h: Likewise.
53671 * string/argz.h: Likewise.
53672 * string/bits/string2.h: Likewise.
53673 * string/string.h: Likewise.
53674 * string/strings.h: Likewise.
53675 * sunrpc/rpc/auth.h: Likewise.
53676 * sunrpc/rpc/auth_des.h: Likewise.
53677 * sunrpc/rpc/clnt.h: Likewise.
53678 * sunrpc/rpc/netdb.h: Likewise.
53679 * sunrpc/rpc/pmap_clnt.h: Likewise.
53680 * sunrpc/rpc/xdr.h: Likewise.
53681 * sysdeps/generic/inttypes.h: Likewise.
53682 * sysdeps/generic/net/if.h: Likewise.
53683 * sysdeps/generic/sys/swap.h: Likewise.
53684 * sysdeps/gnu/net/if.h: Likewise.
53685 * sysdeps/gnu/utmpx.h: Likewise.
53686 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53687 * sysdeps/i386/i486/bits/string.h: Likewise.
53688 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53689 * sysdeps/s390/bits/string.h: Likewise.
53690 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53691 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53692 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53693 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53694 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53695 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53696 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53697 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53698 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53699 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53700 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53701 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53702 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53703 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53704 * sysdeps/unix/sysv/linux/readv.c: Likewise.
53705 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53706 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53708 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53709 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53710 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53711 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53712 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53713 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53714 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53715 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53716 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53717 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53718 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53719 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53720 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53721 * sysvipc/sys/ipc.h: Likewise.
53722 * sysvipc/sys/msg.h: Likewise.
53723 * sysvipc/sys/sem.h: Likewise.
53724 * sysvipc/sys/shm.h: Likewise.
53725 * termios/termios.h: Likewise.
53726 * time/sys/time.h: Likewise.
53727 * time/time.h: Likewise.
53728 * wcsmbs/bits/wchar2.h: Likewise.
53729 * wcsmbs/uchar.h: Likewise.
53730 * wcsmbs/wchar.h: Likewise.
53731 * wctype/wctype.h: Likewise.
53734 * Makeconfig: Remove all but ELF support including AIX support.
53735 * Makerules: Likewise.
53736 * config.h.in: Likewise.
53737 * config.make.in: Likewise.
53738 * configure: Likewise.
53739 * configure.in: Likewise.
53740 * csu/Makefile: Likewise.
53741 * csu/version.c: Likewise.
53742 * debug/Makefile: Likewise.
53743 * dlfcn/Makefile: Likewise.
53744 * elf/Makefile: Likewise.
53745 * extra-lib.mk: Likewise.
53746 * iconv/Makefile: Likewise.
53747 * include/libc-symbols.h: Likewise.
53748 * include/shlib-compat.h: Likewise.
53749 * resolv/Makefile: Likewise.
53750 * resolv/res_libc.c: Likewise.
53751 * rt/Makefile: Likewise.
53752 * sysdeps/i386/asm-syntax.h: Likewise.
53753 * sysdeps/i386/sysdep.h: Likewise.
53754 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53755 * sysdeps/mach/sysdep.h: Likewise.
53756 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53757 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53758 * sysdeps/s390/asm-syntax.h: Likewise.
53759 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53761 * sysdeps/sh/sysdep.h: Likewise.
53762 * sysdeps/unix/sparc/sysdep.h: Likewise.
53763 * sysdeps/wordsize-32/divdi3.c: Likewise.
53764 * sysdeps/x86_64/sysdep.h: Likewise.
53766 * argp/Versions: Remove _argp_unlock_xxx.
53769 * abilist/ld.abilist: Update. Adjust for removal of tls option.
53770 * abilist/libBrokenLocale.abilist: Likewise.
53771 * abilist/libanl.abilist: Likewise.
53772 * abilist/libc.abilist: Likewise.
53773 * abilist/libcrypt.abilist: Likewise.
53774 * abilist/libdl.abilist: Likewise.
53775 * abilist/libm.abilist: Likewise.
53776 * abilist/libnsl.abilist: Likewise.
53777 * abilist/libpthread.abilist: Likewise.
53778 * abilist/libresolv.abilist: Likewise.
53779 * abilist/librt.abilist: Likewise.
53780 * abilist/libthread_db.abilist: Likewise.
53781 * abilist/libutil.abilist: Likewise.
53782 * abilist/libnss_db.abilist: New file.
53784 * scripts/abilist.awk: Add support for indirect functions.
53786 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53788 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53790 * shlib-versions: Remove entries for ports architectures.
53792 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
53794 * elf/stackguard-macros.h: Remove support for IA-64.
53795 * elf/tst-auditmod1.c: Likewise.
53796 * sysdeps/generic/ldsodefs.h: Likewise.
53798 * sysdeps/unix/sysv/linux/configure.in: Ports should define
53799 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53803 * configure.in: Remove --enable-omitfp support.
53805 * config.make.in: Likewise.
53806 * Makeconfig: Likewise.
53807 * manual/install.texi: Likewise.
53809 In case anyone cares, the IA-64 architecture could move to ports.
53810 * sysdeps/ia64/*: Removed.
53811 * sysdeps/unix/sysv/linux/ia64/*: Removed.
53812 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53815 * configure.in: Remove entries for unsupported architectures.
53818 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53819 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
53821 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53822 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53823 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
53824 fall back to using wcrtomb.
53825 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53826 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
53828 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53829 * wcsmbs/tst-c16c32-1.c: New file.
53831 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53834 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53836 * elf/tst-unique3.cc: Add explicit declaration of gets.
53837 * elf/tst-unique3lib.cc: Likewise.
53838 * elf/tst-unique3lib2.cc: Likewise.
53839 * elf/tst-unique4.cc: Likewise.
53841 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53843 2012-01-06 Joseph Myers <joseph@codesourcery.com>
53846 * assert/assert.h (static_assert): Don't define for C++.
53847 * libio/stdio.h (gets): Do declare for C++ <= C++11.
53848 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53850 2012-01-03 Ulrich Drepper <drepper@gmail.com>
53852 * iconv/loop.c (single loop): Fix assertion in storing of
53855 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53857 2012-01-01 Ulrich Drepper <drepper@gmail.com>
53859 * posix/getconf.c: Update copyright year.
53860 * nss/getent.c: Likewise.
53861 * nss/makedb.c: Likewise.
53862 * iconv/iconvconfig.c: Likewise.
53863 * iconv/iconv_prog.c: Likewise.
53864 * elf/ldconfig.c: Likewise.
53865 * elf/pldd.c: Likewise.
53866 * elf/sotruss.ksh: Likewise.
53867 * catgets/gencat.c: Likewise.
53868 * csu/version.c: Likewise.
53869 * elf/ldd.bash.in: Likewise.
53870 * elf/sprof.c (print_version): Likewise.
53871 * locale/programs/locale.c: Likewise.
53872 * locale/programs/localedef.c: Likewise.
53873 * login/programs/pt_chown.c: Likewise.
53874 * nscd/nscd.c (print_version): Likewise.
53875 * debug/xtrace.sh: Likewise.
53876 * malloc/memusage.sh: Likewise.
53877 * malloc/mtrace.pl: Likewise.
53878 * debug/catchsegv.sh: Likewise.
53880 2011-12-30 Jakub Jelinek <jakub@redhat.com>
53882 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53885 2011-12-24 Ulrich Drepper <drepper@gmail.com>
53888 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53889 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53891 * iconv/gconv_int.h: Likewise.
53892 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53893 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53894 from libc for GLIBC_2.16.
53895 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53896 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53897 * wcsmbs/uchar.h: Really define mbstate_t.
53898 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53899 * wcsmbs/c16rtomb.c: New file.
53900 * wcsmbs/mbrtoc16.c: New file.
53901 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53902 for C/POSIX locale.
53903 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53904 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53906 * wcsmbs/wchar.h: Add missing __restrict.
53908 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53911 * time/Makefile (routines): Add timespec_get.
53912 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53913 * time/time.h: Define TIME_UTC and declare timespec_get. Define
53914 timespec for ISO C11.
53915 * time/timespec_get.c: New file.
53916 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53917 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53920 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53921 * stdlib/stdlib.h: Declare aligned_alloc.
53922 * Versions.def: Add GLIBC_2.16 for libc.
53923 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53926 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53929 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53933 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53936 * assert/assert.h (static_assert): Define.
53938 * version.h: Update for 2.16 development version.
53941 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53944 * version.h (RELEASE): Bump for 2.15 release.
53945 * include/features.h (__GLIBC_MINOR__): Bump to 15.
53947 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53948 Patch by Marek Polacek <mpolacek@redhat.com>.
53950 * bits/byteswap.h: Protect long long constants with __extension__.
53951 * sysdeps/i386/bits/byteswap.h: Likewise.
53952 * sysdeps/ia64/bits/byteswap.h: Likewise.
53953 * sysdeps/s390/bits/byteswap.h: Likewise.
53954 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53956 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53959 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53960 destination buffer.
53961 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53963 2011-12-23 Marek Polacek <polacek@redhat.com>
53965 * elf/dl-addr.c (determine_info): Add inline keyword.
53966 * elf/tst-auditmod4b.c (check_avx): Likewise.
53967 * elf/tst-auditmod6b.c (check_avx): Likewise.
53968 * elf/tst-auditmod6c.c (check_avx): Likewise.
53969 * elf/tst-auditmod7b.c (check_avx): Likewise.
53971 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53973 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53976 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53979 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53980 processing for last bytes.
53982 2011-08-06 Bruno Haible <bruno@clisp.org>
53985 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53986 U+0385, not to U+1FEE.
53989 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53990 entry for U+00A5 U+0301.
53992 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53995 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53996 buffer for the output is too small.
53998 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54002 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54003 SSE flags if possible.
54005 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54008 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54009 processing for last bytes.
54011 2011-12-22 Joseph Myers <joseph@codesourcery.com>
54013 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54014 (syscall-list-default-options, syscall-list-default-condition)
54015 (syscall-list-includes): Define.
54016 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54017 list of ABIs and options and #if conditions for each ABI. Do not
54018 handle common syscalls between ABIs specially.
54019 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54021 (syscall-list-variants, syscall-list-32bit-options)
54022 (syscall-list-32bit-condition, syscall-list-64bit-options)
54023 (syscall-list-64bit-condition): Define.
54024 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54025 (syscall-list-variants, syscall-list-32bit-options)
54026 (syscall-list-32bit-condition, syscall-list-64bit-options)
54027 (syscall-list-64bit-condition): Define.
54028 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54030 (syscall-list-variants, syscall-list-32bit-options)
54031 (syscall-list-32bit-condition, syscall-list-64bit-options)
54032 (syscall-list-64bit-condition): Define.
54033 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54035 (syscall-list-variants, syscall-list-32bit-options)
54036 (syscall-list-32bit-condition, syscall-list-64bit-options)
54037 (syscall-list-64bit-condition): Define.
54039 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54041 * locale/iso-639.def: Add brx entry.
54044 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54045 Proposed by Mariusz_Cukr <marcukr@op.pl>.
54047 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54048 __feraiseexcept_renamed.
54050 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54053 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54054 EPOLLET with unsigned values.
54055 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54056 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54058 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54059 to large cancellation.
54060 * math/s_cacoshf.c: Likewise.
54061 * math/s_cacoshl.c: Likewise.
54063 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
54067 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54068 * math/s_cacoshf.c: Likewise.
54069 * math/s_cacoshl.c: Likewise.
54071 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54074 * iconv/gconv.h: Define __GCONV_SWAP.
54075 * iconvdata/unicode.c: The swap bit must be stored in __flags.
54076 * iconvdata/utf-16.c: Likewise.
54077 * iconvdata/utf-32.c: Likewise.
54079 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
54082 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54083 numerator after shifting it by one limb.
54085 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
54087 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54088 under [__USE_EXTERN_INLINES].
54090 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54093 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54095 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54097 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54098 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54100 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54101 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54102 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54103 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54104 for strncasecmp/strncasecmp_l compilation.
54105 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54106 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54108 2011-12-08 Marek Polacek <mpolacek@redhat.com>
54111 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54114 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54117 * time/tzfile.c (__tzfile_read): Check values from file header.
54119 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
54121 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54122 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54123 * powerpc/powerpc32/dl-start.S: Likewise.
54124 * powerpc/powerpc32/elf/start.S: Likewise.
54125 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54126 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54127 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54128 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54129 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54130 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54131 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54132 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54133 * powerpc/powerpc32/fpu/s_round.S: Likewise.
54134 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54135 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54136 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54137 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54138 * powerpc/powerpc32/memset.S: Likewise.
54139 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54140 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54141 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54142 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54143 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54144 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54145 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54146 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54147 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54148 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54149 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54150 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54151 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54153 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54155 * math/libm-test.inc: Added more nearbyint tests.
54156 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54158 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54159 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54161 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
54163 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54166 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54168 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54169 Add wcscpy-ssse3 wcscpy-c.
54170 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54171 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54172 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54173 * sysdeps/x86_64/wcschr.S: New file.
54174 * sysdeps/x86_64/wcsrchr.S: New file.
54175 * string/test-strcmp.c: Remove checking of wcscmp function for
54177 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54178 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54179 wcsrchr-sse2 wcsrchr-c.
54180 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54181 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54182 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54183 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54184 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54185 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54186 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54187 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54188 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54189 * wcsmbc/wcschr.c (WCSCHR): New macro.
54191 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54193 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54194 * wcsmbs/test-wcsrchr.c: New file.
54195 * string/test-strrchr.c: Add wcsrchr support.
54197 * wcsmbs/test-wcscpy.c: New file.
54198 * string/test-strcpy.c: Add wcscpy support.
54201 2011-12-10 Ulrich Drepper <drepper@gmail.com>
54203 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54206 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
54209 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54211 2011-12-04 Ulrich Drepper <drepper@gmail.com>
54213 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54214 Minor optimizations.
54216 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54217 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54218 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54220 2011-12-03 Ulrich Drepper <drepper@gmail.com>
54222 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54223 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54224 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54225 for gcc to avoid warnings.
54226 * inet/Makefile (tests): Add tst-checks.
54227 * inet/tst-checks.c: New file.
54229 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54232 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54235 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54236 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54238 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54240 2011-12-02 Ulrich Drepper <drepper@gmail.com>
54242 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54245 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54247 2011-11-29 Joseph Myers <joseph@codesourcery.com>
54249 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54250 conditional on GCC version.
54251 (__arch_compare_and_exchange_val_8_acq)
54252 (__arch_compare_and_exchange_val_16_acq)
54253 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54254 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54255 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54257 2011-12-02 Joseph Myers <joseph@codesourcery.com>
54259 * sysdeps/sh/backtrace.c: New file.
54261 2011-12-02 Andreas Schwab <schwab@redhat.com>
54263 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
54266 2011-12-01 Andreas Schwab <schwab@redhat.com>
54268 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54269 falling back to utime.
54271 2011-11-30 Andreas Schwab <schwab@redhat.com>
54273 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54274 expectations for float.
54276 2011-11-29 Andreas Schwab <schwab@redhat.com>
54278 * locale/weight.h (findidx): Add parameter len.
54279 * locale/weightwc.h (findidx): Likewise.
54280 * posix/fnmatch_loop.c (FCT): Adjust caller.
54281 * posix/regcomp.c (build_equiv_class): Likewise.
54282 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54283 * posix/regexec.c (check_node_accept_bytes): Likewise.
54284 * string/strcoll_l.c (STRCOLL): Likewise.
54285 * string/strxfrm_l.c (STRXFRM): Likewise.
54287 2011-11-17 Ulrich Drepper <drepper@gmail.com>
54289 * Makefile.in: Remove CVSOPT handling.
54290 * configure.in: Remove use of AC_REVISION.
54291 * iconvdata/Makefile (distribute): No need to filter out CVS.
54292 * scripts/list-sources.sh: Remove CVS, subversion and monotone
54295 2011-11-16 Andreas Schwab <schwab@redhat.com>
54297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54298 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54299 [USE_AS_STRNCASECMP_L]: Likewise.
54300 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54301 NO_TLS_DIRECT_SEG_REFS.
54302 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54303 Fix argument offsets for non-PIC.
54304 [USE_AS_STRNCASECMP_L]: Likewise.
54305 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54306 NO_TLS_DIRECT_SEG_REFS.
54308 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54310 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54312 * locale/loadlocale.c (_nl_load_locale): Likewise.
54314 2011-11-15 Andreas Schwab <schwab@redhat.com>
54316 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54317 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54318 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54319 (SYSCALL_GETTIME): Set errno on error.
54321 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54322 count references to noai6ai_cached.
54324 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54326 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54328 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54329 FD_CLOEXEC for /proc/self/maps.
54331 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54332 FD_CLOEXEC for /proc/meminfo.
54334 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54337 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
54338 FD_CLOEXEC for given file.
54340 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54342 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54343 FD_CLOEXEC for /etc/hosts.
54344 (_gethtent): Likewise.
54346 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54348 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54349 cancellation and set FD_CLOEXEC for /etc/netgroup.
54351 * nss/nss_files/files-key.c (search): Don't allow cancellation when
54352 reading /etc/publickey.
54354 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54355 allow cancellation when reading /etc/group.
54357 * nss/nss_files/files-alias.c (internal_setent): Don't allow
54359 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
54361 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54362 when using data file.
54364 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54366 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54367 (write_nis_obj): Use "c" and "e" in fopen.
54369 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54371 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54373 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54375 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54377 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54380 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54382 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54384 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54386 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54387 file parsing and set FD_CLOEXEC.
54389 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54391 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54393 2011-11-14 Andreas Schwab <schwab@redhat.com>
54395 * malloc/arena.c (arena_get2): Don't call reused_arena when
54396 _int_new_arena failed.
54398 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54400 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54401 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54402 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54403 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54404 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54405 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54406 to compile strcasecmp and strncasecmp.
54407 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54408 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54412 2011-11-13 Ulrich Drepper <drepper@gmail.com>
54414 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54415 locale-defines.sym to gen-as-const-headers.
54416 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54417 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54418 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54419 to compile strcasecmp and strncasecmp.
54420 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54421 strcasecmp_l and strncasecmp_l.
54422 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54423 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54424 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54425 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54426 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54427 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54428 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54429 * sysdeps/i386/i686/multiarch/strncase.S: New file.
54430 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54431 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54432 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54434 2011-11-12 Ulrich Drepper <drepper@gmail.com>
54436 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54437 result of SYSDEP_GETTIME_CPU to retval.
54438 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54439 parameter list to macro. Remove trailing semicolon. Adjust users.
54441 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54444 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54446 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54448 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54449 from unused variable.
54451 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54453 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54456 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54459 * sunrpc/rpc_prot.c (rejected): Fix case value.
54461 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54462 unsigned long long int to avoid warnings in shift.
54464 * posix/regex_internal.c (re_string_reconstruct): Actually use result
54466 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54469 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54470 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54471 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54473 * nis/nis_table.c (nis_list): Use variable of correct type for
54474 result of __follow_path call.
54476 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54478 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54479 of math functions ceil, trunc, floor, round, and sqrt, when
54480 avaliable on the platform.
54481 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54483 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54484 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54485 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54487 2011-10-30 Marek Polacek <mpolacek@redhat.com>
54489 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54490 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54492 2011-11-11 Roland McGrath <roland@hack.frob.com>
54494 * include/unistd.h: Fix __readlink return type.
54495 Reported by Chris Metcalf <cmetcalf@tilera.com>.
54497 2011-11-11 Ulrich Drepper <drepper@gmail.com>
54499 * stdlib/ucontext.h: Undo last change for makecontext.
54501 2011-11-11 Andreas Schwab <schwab@redhat.com>
54503 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54505 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54506 * setjmp/setjmp.h: Mark functions as non-leaf.
54507 * setjmp/bits/setjmp2.h: Likewise.
54508 * stdlib/ucontext.h: Likewise.
54510 2011-11-10 Andreas Schwab <schwab@redhat.com>
54512 * malloc/arena.c (_int_new_arena): Don't increment narenas.
54513 (reused_arena): Don't check arena limit.
54514 (arena_get2): Atomically check arena limit.
54516 2011-11-08 Ulrich Drepper <drepper@gmail.com>
54518 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54519 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54521 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54524 2011-11-07 Andreas Schwab <schwab@redhat.com>
54526 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54527 handler when locking.
54529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54530 Fix size of allocated buffer.
54532 2011-11-04 Andreas Schwab <schwab@redhat.com>
54535 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54536 declarations for long double functions.
54537 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54539 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54541 2011-11-03 Andreas Schwab <schwab@redhat.com>
54543 * nscd/nscd.c (main): Don't start AVC thread until credentials are
54546 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54549 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
54551 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54553 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
54555 * include/alloca.h (stackinfo_alloca_round): Define.
54556 (extend_alloca): Use it.
54557 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54558 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54561 * scripts/check-local-headers.sh: Ignore libaudit.h.
54563 * nscd/Makefile (extra-objs): Make recursively expanded.
54565 2011-11-01 Ulrich Drepper <drepper@gmail.com>
54567 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54568 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54570 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54571 * posix/tst-rfc3484-2.c: Likewise.
54572 * posix/tst-rfc3484-3.c: Likewise.
54574 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54576 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54578 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54579 process_vm_writev from libc using GLIBC_2.15 version.
54581 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54583 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
54585 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54588 2011-10-31 Ulrich Drepper <drepper@gmail.com>
54591 * nss/getent.c (initgroups_keys): Show error message in case no group
54594 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54595 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54596 __bump_nl_timestamp.
54597 * nscd/connections (nscd_init): When host database is served open
54598 netlink socket and request notification about configuration changes.
54599 (main_loop_poll): Track netlink file descriptor and bump timestamp
54600 in case data becomes available.
54601 (main_loop_epoll): Likewise.
54602 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54603 (database_pers_head): Add extra_data fileds.
54604 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54605 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54606 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54608 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54609 in6ai data, call __free_in6ai.
54610 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54611 Add -DHAVE_NETLINK.
54612 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
54613 interface information. Reuse previous data if netlink timestamp
54615 (__bump_nl_timestamp): New function.
54616 (__free_in6ai): New function.
54618 2011-10-30 Ulrich Drepper <drepper@gmail.com>
54620 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54621 close_not_cancel_no_status here.
54622 (__check_pf): Reorganize code a bit to not call close twice if OOM.
54624 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54627 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54630 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54631 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54632 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54634 2011-07-03 Andreas Jaeger <aj@suse.de>
54637 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54638 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54639 * math/libm-test.inc (sin_test): Add test case.
54641 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54644 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54645 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54647 * elf/chroot_canon.c (chroot_canon): Cleanups.
54649 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54652 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54653 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54655 * string/test-strchr.c: Make usable for strchrnul testing.
54656 * string/test-strchrnul.c: New file.
54657 * string/Makefile (strop-tests): Add strchrnul.
54659 * po/it.po: Update from translation team.
54660 * po/es.po: Likewise.
54662 2011-10-28 Ulrich Drepper <drepper@gmail.com>
54664 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54665 the three constants needed as parameters. Drop the others.
54666 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54667 __m128i_strloadu_tolower.
54668 Create and initialize variable zero and use it in all the places
54669 where _mm_setzero_si128 was used.
54671 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54672 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54673 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54674 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54676 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54677 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54678 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54679 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54680 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54681 __mpranred, __mptan.
54682 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54683 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54684 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54685 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54686 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54687 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54688 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54689 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54690 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54692 2011-10-28 Andreas Schwab <schwab@redhat.com>
54694 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54695 redefine if SHARED.
54696 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54698 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54699 wide char related routines to wcsmbs subdir.
54701 2011-10-27 Andreas Schwab <schwab@redhat.com>
54704 * misc/sys/cdefs.h (__THROWNL): Define.
54705 * posix/unistd.h: Use __THREADNL instead of __THREAD
54706 for memory synchronization functions.
54708 2011-10-26 Roland McGrath <roland@hack.frob.com>
54711 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54713 * manual/stdio.texi (Obstack Streams): Node removed.
54715 2011-10-26 Andreas Schwab <schwab@redhat.com>
54717 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54718 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54719 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54721 * math/math_private.h (math_force_eval): Allow non-addressable
54723 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54725 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54727 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54728 file is not needed.
54730 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54731 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54732 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54733 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54734 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54735 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54736 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54737 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54739 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54740 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54741 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54742 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54743 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54744 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54745 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54746 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54747 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54748 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54749 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54750 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54751 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54752 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54753 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54754 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54755 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54756 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54757 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54759 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54760 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
54762 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54763 place. Use VEX encoding when compiling for AVX.
54765 2011-10-25 Andreas Schwab <schwab@redhat.com>
54767 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54768 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54770 * string/test-strchr.c (do_test): Don't generate NUL bytes.
54772 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54774 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54775 useless if() expression.
54776 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54777 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54778 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54779 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54780 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54781 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54782 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54783 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54784 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54785 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54786 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54787 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54788 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54789 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54790 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54791 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54792 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54793 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54794 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54796 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54798 2011-10-25 Andreas Schwab <schwab@redhat.com>
54800 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54802 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54804 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54806 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54807 .text section. Avoid duplicate constants.
54808 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54809 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54810 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54811 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54813 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54814 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54816 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54817 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54818 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54819 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54820 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54821 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54822 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54823 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54824 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54825 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54826 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54827 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54828 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54829 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54830 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54831 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54832 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54833 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54834 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54835 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54836 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54837 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54838 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54839 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54840 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54841 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54842 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54843 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54844 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54845 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54846 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54847 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54848 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54849 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54850 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54851 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54852 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54854 2011-10-24 Ulrich Drepper <drepper@gmail.com>
54856 * sysdeps/x86_64/dla.h: Move to ...
54857 * sysdeps/x86_64/fpu/dla.h: ...here.
54858 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54859 situations. Use __builtin_fma only for gcc 4.6 and up.
54861 * config.make.in: Add have-mfma4 entry.
54862 * configure.in: Substitute libc_cv_cc_fma4.
54863 * math/Makefile (dbl-only-routines): Add sincostab.
54864 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54865 Use __sincostab not sincos.
54866 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54868 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
54873 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
54874 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
54875 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54876 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54878 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54879 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54881 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
54882 define aliases when function name is a macro.
54883 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54884 sysdeps/ieee754/dbl-64/sincos.tbl.
54885 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54886 fma4-enabled routines.
54887 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54888 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54889 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54890 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54891 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54892 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54893 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54894 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54895 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54896 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54897 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54898 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54899 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54900 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54901 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54902 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54903 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54904 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54905 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54906 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54907 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54908 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54909 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54910 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54911 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54912 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54914 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54915 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54916 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54918 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54920 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54926 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54927 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54929 2011-10-24 Andreas Schwab <schwab@redhat.com>
54931 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54933 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54935 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54937 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54939 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54941 * string/strnlen.c: Don't define STRNLEN, reverse logic.
54942 Remove unused variable magic_bits.
54943 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54945 * string/strnlen.c: Define and use STRNLEN macro.
54946 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54947 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54948 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54949 * wcsmbs/wcslen.c: Define and use WCSLEN.
54950 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54951 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54952 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54953 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54954 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54955 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54956 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54958 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54961 strnlen-sse2-no-bsf.
54962 Rename strlen-no-bsf to strlen-sse2-no-bsf.
54963 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54964 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54965 Add strnlen support.
54966 (USE_AS_STRNLEN): New macro.
54967 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54968 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54969 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54970 * sysdeps/x86_64/wcslen.S: New file.
54972 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
54974 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54975 XMM-moves are used for copying on small sizes.
54977 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54979 * wcsmbs/Makefile (strop-tests): Add wcschr.
54980 * wcsmbs/test-wcschr.c: New file.
54981 * string/test-strchr.c: Update.
54982 Add wcschr support.
54985 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54987 * wcsmbs/Makefile (strop-tests): Add wcslen.
54988 * wcsmbs/test-wcslen.c: New file.
54989 * string/test-strlen.c: Update.
54990 Add wcslen support.
54993 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54995 * po/it.po: Update from translation team.
54997 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54999 * sysdeps/x86_64/wcscmp.S: Update.
55000 Fix wrong comparison semantics.
55001 wcscmp shall use signed comparison not unsigned.
55002 Don't use substraction to avoid overflow bug.
55003 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55004 * wcsmbc/wcscmp.c: Likewise.
55005 * string/test-strcmp.c: Likewise.
55006 Add new tests to check cases with negative values.
55008 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55010 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55011 * sysdeps/x86_64/dla.h: ...here. New file.
55012 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55013 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55016 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55017 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55019 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55020 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55022 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
55024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55025 __ynl_finite aliases.
55027 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55031 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55033 [DLA_FMA] (EMULV): Use DLA_FMA.
55034 [DLA_FMA] (MUL12): Use EMULV.
55035 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55036 that are not needed.
55037 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55039 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55040 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55041 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55042 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55043 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55045 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
55047 * math/s_nan.c: Undef __nan.
55048 * math/s_nanf.c: Undef __nanf.
55049 * math/s_nanl.c: Undef __nanl.
55050 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55053 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55055 * math/s_catan.c: Add branch predictions.
55056 * math/s_catanf.c: Likewise.
55057 * math/s_catanh.c: Likewise.
55058 * math/s_catanhf.c: Likewise.
55059 * math/s_catanhl.c: Likewise.
55060 * math/s_catanl.c: Likewise.
55061 * math/s_cexp.c: Likewise.
55062 * math/s_cexpf.c: Likewise.
55063 * math/s_cexpl.c: Likewise.
55064 * math/s_clog.c: Likewise.
55065 * math/s_clog10.c: Likewise.
55066 * math/s_clog10f.c: Likewise.
55067 * math/s_clog10l.c: Likewise.
55068 * math/s_clogf.c: Likewise.
55069 * math/s_clogl.c: Likewise.
55070 * math/s_csqrt.c: Likewise.
55071 * math/s_csqrtf.c: Likewise.
55072 * math/s_csqrtl.c: Likewise.
55073 * math/s_ctanf.c: Likewise.
55074 * math/s_ctanh.c: Likewise.
55075 * math/s_ctanhf.c: Likewise.
55076 * math/s_ctanhl.c: Likewise.
55077 * math/s_ctanl.c: Likewise.
55079 * math/math_private.h: Define __nan, __nanf, __nanl.
55080 * math/s_cacosh.c: Include <math_private.h>.
55081 * math/s_cacoshl.c: Likewise.
55082 * math/s_casinh.c: Likewise.
55083 * math/s_casinhf.c: Likewise.
55084 * math/s_casinhl.c: Likewise.
55085 * math/s_ccos.c: Rely entire on ccosh.
55086 * math/s_ccosf.c: Rely entire on ccoshf.
55087 * math/s_ccosl.c: Rely entirely on ccoshl.
55088 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
55089 Remove tests for FE_INVALID.
55090 * math/s_ccoshf.c: Likewise.
55091 * math/s_ccoshl.c: Likewise.
55092 * math/s_csin.c: Likewise.
55093 * math/s_csinf.c: Likewise.
55094 * math/s_csinh.c Likewise.
55095 * math/s_csinhf.c: Likewise.
55096 * math/s_csinhl.c: Likewise.
55097 * math/s_csinl.c: Likewise.
55098 * math/s_ctan.c: Likewise.
55099 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55100 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55101 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55103 2011-10-21 Ulrich Drepper <drepper@gmail.com>
55105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55106 compilation problems.
55108 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55111 2011-10-20 Ulrich Drepper <drepper@gmail.com>
55113 * sysdeps/i386/configure.in: Test for -mfma4 option.
55114 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55115 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55116 COMMON_CPUID_INDEX_80000001.
55117 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55118 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55119 use it if FMA3 is not supported.
55120 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55122 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55123 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55125 2011-10-20 Andreas Schwab <schwab@redhat.com>
55128 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55129 it would create a cycle with a link time dependency.
55131 2011-10-19 Ulrich Drepper <drepper@gmail.com>
55133 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55135 * string/Makefile (strop-tests): Add rawmemchr.
55136 * string/test-rawmemchr.c: New file.
55138 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55139 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
55140 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
55141 when compiling str{,n}casecmp and when AVX is available. Hook up
55142 new optimized code in initializers.
55144 2011-10-19 Andreas Schwab <schwab@redhat.com>
55146 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55147 __feraiseexcept instead of feraiseexcept.
55149 2011-10-18 Ulrich Drepper <drepper@gmail.com>
55151 * math/math_private.h: Define defaults for libc_fetestexcept and
55153 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55154 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55155 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55156 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55157 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55158 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55159 libc_fetestexcept and libc_feupdateenv.
55161 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55162 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55163 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55164 * sysdeps/x86_64/fpu/math_private.h: Define special version of
55165 libc_feholdexcept_setround.
55167 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55168 Add s_nearbyint-c and s_nearbyintf-c.
55169 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55170 nearbyintf inlines.
55171 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55172 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55173 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55174 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55176 * math/math_private.h: Define defaults for libc_fegetround,
55177 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55178 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55179 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55180 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55181 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55182 standard functions.
55183 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55184 Remove comments and hacks for old compiler versions.
55185 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55186 libc_fegetround, libc_fesetround, libc_feholdexcept, and
55187 libc_feholdexceptl.
55189 2011-10-18 Andreas Schwab <schwab@redhat.com>
55191 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55192 (__feraiseexcept_renamed): Add __NTH.
55193 (feraiseexcept): Add __NTH. Rename local variables to fix
55194 namespace violations.
55196 2011-10-17 Ulrich Drepper <drepper@gmail.com>
55198 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55200 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55202 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55203 recently added interfaces.
55204 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55206 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55207 about macro parameter expansion.
55209 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55210 __NO_MATH_INLINES is defined. Cleanups.
55212 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55213 and __floorf is target has SSE4.1.
55214 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55215 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55216 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55217 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55219 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55221 (floorf): Likewise.
55223 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55225 2011-10-17 Andreas Schwab <schwab@redhat.com>
55227 * misc/sys/cdefs.h: Fix last change.
55229 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55232 2011-10-16 Ulrich Drepper <drepper@gmail.com>
55234 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55236 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55237 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55238 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55239 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55240 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55241 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55242 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55243 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55244 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55245 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55246 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55247 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55248 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55249 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55250 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55251 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55252 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55253 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55254 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55255 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55256 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55257 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55259 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55260 ceil, ceilf, floor, floorf.
55262 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55263 Perform IRELATIVE relocations last.
55265 * elf/do-rel.h: Add another parameter nrelative, replacing the
55266 local variable with the same name. Change name of the function
55267 to end in Rel or Rela (uppercase).
55268 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55269 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
55270 elf_dynamic_do_##reloc function.
55272 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55274 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55275 is sufficient, at least on modern CPUs.
55277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55279 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55280 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55282 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55284 * math/bits/math-finite.h: Add entries for exp.
55285 * math/e_expl.c: Add __*_finite alias.
55286 * sysdeps/i386/fpu/e_exp.S: Likewise.
55287 * sysdeps/i386/fpu/e_expf.S: Likewise.
55288 * sysdeps/i386/fpu/e_expl.c: Likewise.
55289 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55290 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55291 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55292 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55293 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55294 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55295 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55297 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55298 is sufficient, at least on modern CPUs.
55300 * ctype/ctype-info.c (__ctype_init): Define.
55301 * include/ctype.h (__ctype_init): Declare.
55302 (__ctype_b_loc): The variable is always initialized.
55303 (__ctype_toupper_loc): Likewise.
55304 (__ctype_tolower_loc): Likewise.
55305 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55306 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55308 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
55310 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55312 * configure.in: Also look in $cxxmachine/include for C++ system
55315 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55317 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55318 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55319 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55320 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
55321 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55322 (USE_AS_WMEMCMP): New macro.
55324 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55325 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55326 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55327 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55328 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55329 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55330 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55331 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55332 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55333 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55334 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55335 (USE_AS_WMEMCMP): New macro.
55336 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55337 * sysdeps/string/test-memcmp.c: Update.
55338 Fix simple_wmemcmp.
55340 * wcsmbs/wmemcmp.c: Update.
55341 (WMEMCMP): New macro.
55344 2011-10-12 Andreas Jaeger <aj@suse.de>
55347 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55349 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55351 * libio/iofwide.c (do_length): Avoid warning.
55353 * ctype/ctype.h (__isctype_f): Add missing __THROW.
55355 2011-10-14 Ulrich Drepper <drepper@gmail.com>
55357 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55359 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55360 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55361 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55362 * sysdeps/i386/i686/fpu/e_log.S: New file.
55363 * sysdeps/i386/i686/fpu/e_logf.S: New file.
55364 * sysdeps/i386/i686/fpu/e_logl.S: New file.
55366 * ctype/ctype.h: Add support for inlined isXXX functions when
55367 compiling C++ code.
55369 2011-10-14 Andreas Schwab <schwab@redhat.com>
55371 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55373 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55375 2011-10-13 Roland McGrath <roland@hack.frob.com>
55378 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55380 2011-10-13 Andreas Schwab <schwab@redhat.com>
55382 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55383 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55386 * sysdeps/x86_64/memrchr.S: Check for zero size.
55388 * string/stratcliff.c: Add memrchr tests.
55390 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55392 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55393 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55394 rawmemchr-sse2 rawmemchr-sse2-bsf.
55395 * sysdeps/i386/i686/multiarch/memchr.S: New file.
55396 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55397 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55398 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55399 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55400 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55401 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55402 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55403 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55404 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55405 * string/memrchr.c (MEMRCHR): New macro.
55407 2011-10-12 Ulrich Drepper <drepper@gmail.com>
55409 Add integration with gcc's -ffinite-math-only and optimize wrapper
55411 * Versions.def: Define GLIBC_2.15 version for libm.
55412 * math/Makefile (headers): Add bits/math-finite.h.
55413 * math/bits/math-finite.h: New file.
55414 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55415 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55416 * math/e_acoshl.c: Add __*_finite alias.
55417 * math/e_acosl.c: Likewise.
55418 * math/e_asinl.c: Likewise.
55419 * math/e_atan2l.c: Likewise.
55420 * math/e_atanhl.c: Likewise.
55421 * math/e_coshl.c: Likewise.
55422 * math/e_exp10.c: Likewise.
55423 * math/e_exp10f.c: Likewise.
55424 * math/e_exp10l.c: Likewise.
55425 * math/e_exp2l.c: Likewise.
55426 * math/e_fmodl.c: Likewise.
55427 * math/e_gammal_r.c: Likewise.
55428 * math/e_hypotl.c: Likewise.
55429 * math/e_j0l.c: Likewise.
55430 * math/e_j1l.c: Likewise.
55431 * math/e_jnl.c: Likewise.
55432 * math/e_lgammal_r.c: Likewise.
55433 * math/e_log10l.c: Likewise.
55434 * math/e_log2l.c: Likewise.
55435 * math/e_logl.c: Likewise.
55436 * math/e_powl.c: Likewise.
55437 * math/e_sinhl.c: Likewise.
55438 * math/e_sqrtl.c: Likewise.
55439 * math/e_scalb.c: Completely rewritten and optimized.
55440 * math/e_scalbf.c: Likewise.
55441 * math/e_scalbl.c: Likewise.
55442 * math/w_acos.c: Likewise.
55443 * math/w_acosf.c: Likewise.
55444 * math/w_acosl.c: Likewise.
55445 * math/w_acosh.c: Likewise.
55446 * math/w_acoshf.c: Likewise.
55447 * math/w_acoshl.c: Likewise.
55448 * math/w_asin.c: Likewise.
55449 * math/w_asinf.c: Likewise.
55450 * math/w_asinl.c: Likewise.
55451 * math/w_atan2.c: Likewise.
55452 * math/w_atan2f.c: Likewise.
55453 * math/w_atan2l.c: Likewise.
55454 * math/w_atanh.c: Likewise.
55455 * math/w_atanhf.c: Likewise.
55456 * math/w_atanhl.c: Likewise.
55457 * math/w_exp10.c: Likewise.
55458 * math/w_exp10f.c: Likewise.
55459 * math/w_exp10l.c: Likewise.
55460 * math/w_fmod.c: Likewise.
55461 * math/w_fmodf.c: Likewise.
55462 * math/w_fmodl.c: Likewise.
55463 * math/w_j0.c: Likewise.
55464 * math/w_j0f.c: Likewise.
55465 * math/w_j0l.c: Likewise.
55466 * math/w_j1.c: Likewise.
55467 * math/w_j1f.c: Likewise.
55468 * math/w_j1l.c: Likewise.
55469 * math/w_jn.c: Likewise.
55470 * math/w_jnf.c: Likewise.
55471 * math/w_log.c: Likewise.
55472 * math/w_logf.c: Likewise.
55473 * math/w_logl.c: Likewise.
55474 * math/w_log10.c: Likewise.
55475 * math/w_log10f.c: Likewise.
55476 * math/w_log10l.c: Likewise.
55477 * math/w_log2.c: Likewise.
55478 * math/w_log2f.c: Likewise.
55479 * math/w_log2l.c: Likewise.
55480 * math/w_pow.c: Likewise.
55481 * math/w_powf.c: Likewise.
55482 * math/w_powl.c: Likewise.
55483 * math/w_remainder.c: Likewise.
55484 * math/w_remainderf.c: Likewise.
55485 * math/w_remainderl.c: Likewise.
55486 * math/w_scalb.c: Likewise.
55487 * math/w_scalbf.c: Likewise.
55488 * math/w_scalbl.c: Likewise.
55489 * math/w_sqrt.c: Likewise.
55490 * math/w_sqrtf.c: Likewise.
55491 * math/w_sqrtl.c: Likewise.
55492 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55493 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
55495 * math/math_private.h: Declare __kernel_standard_f.
55496 * math/w_cosh.c: Remove cruft and optimize a bit.
55497 * math/w_coshf.c: Likewise.
55498 * math/w_coshl.c: Likewise.
55499 * math/w_exp2.c: Likewise.
55500 * math/w_exp2f.c: Likewise.
55501 * math/w_exp2l.c: Likewise.
55502 * math/w_hypot.c: Likewise.
55503 * math/w_hypotf.c: Likewise.
55504 * math/w_hypotl.c: Likewise.
55505 * math/w_lgamma.c: Likewise.
55506 * math/w_lgamma_r.c: Likewise.
55507 * math/w_lgammaf.c: Likewise.
55508 * math/w_lgammaf_r.c: Likewise.
55509 * math/w_lgammal.c: Likewise.
55510 * math/w_lgammal_r.c: Likewise.
55511 * math/w_sinh.c: Likewise.
55512 * math/w_sinhf.c: Likewise.
55513 * math/w_sinhl.c: Likewise.
55514 * math/w_tgamma.c: Likewise.
55515 * math/w_tgammaf.c: Likewise.
55516 * math/w_tgammal.c: Likewise.
55517 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55518 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55519 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55520 Minor optimizations. Pretty printing. Remove cruft.
55521 * sysdeps/i386/fpu/e_acosf.S: Likewise.
55522 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55523 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55524 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55525 * sysdeps/i386/fpu/e_acosl.c: Likewise.
55526 * sysdeps/i386/fpu/e_asin.S: Likewise.
55527 * sysdeps/i386/fpu/e_asinf.S: Likewise.
55528 * sysdeps/i386/fpu/e_atan2.S: Likewise.
55529 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55530 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55531 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55532 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55533 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55534 * sysdeps/i386/fpu/e_exp10.S: Likewise.
55535 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55536 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55537 * sysdeps/i386/fpu/e_exp2.S: Likewise.
55538 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55539 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55540 * sysdeps/i386/fpu/e_fmod.S: Likewise.
55541 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55542 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55543 * sysdeps/i386/fpu/e_hypot.S: Likewise.
55544 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55545 * sysdeps/i386/fpu/e_log.S: Likewise.
55546 * sysdeps/i386/fpu/e_log10.S: Likewise.
55547 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55548 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55549 * sysdeps/i386/fpu/e_log2.S: Likewise.
55550 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55551 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55552 * sysdeps/i386/fpu/e_logf.S: Likewise.
55553 * sysdeps/i386/fpu/e_logl.S: Likewise.
55554 * sysdeps/i386/fpu/e_pow.S: Likewise.
55555 * sysdeps/i386/fpu/e_powf.S: Likewise.
55556 * sysdeps/i386/fpu/e_powl.S: Likewise.
55557 * sysdeps/i386/fpu/e_remainder.S: Likewise.
55558 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55559 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55560 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55561 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55562 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55563 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55564 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55565 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55566 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55567 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55569 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55570 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55571 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55572 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55573 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55574 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55575 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55576 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55577 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55579 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55580 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55582 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55583 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55584 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55586 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55587 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55588 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55589 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55590 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55591 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55592 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55593 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55594 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55595 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55596 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55597 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55598 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55599 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55600 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55601 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55602 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55603 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55604 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55605 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55606 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55607 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55608 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55609 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55610 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55611 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55612 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55613 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55614 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55615 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55616 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55617 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55618 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55619 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55620 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55621 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55622 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55623 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55624 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55625 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55626 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55627 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55628 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55629 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55630 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55631 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55632 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55633 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55634 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55635 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55636 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55637 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55638 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55639 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55640 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55641 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55642 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55643 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55644 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55645 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55646 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55647 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55648 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55649 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55650 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55651 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55652 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55653 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55654 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55655 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55656 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55657 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55658 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55659 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55660 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55661 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55662 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55663 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55664 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55665 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55666 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55667 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55668 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55669 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55670 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55671 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55672 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55673 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55674 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55675 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55676 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
55677 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55678 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55679 (__isnanf): Likewise.
55680 (__isinf_ns): Likewise.
55681 (__isinf_nsf): Likewise.
55682 (__finite): Likewise.
55683 (__finitef): Likewise.
55684 (__ieee754_sqrt): Define as macro.
55685 (__ieee754_sqrtf): Define as macro.
55686 (__ieee754_sqrtl): Define as macro.
55687 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55689 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55690 __FINITE_MATH_ONLY__ consistent.
55691 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55693 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
55695 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55698 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55700 2011-10-09 Ulrich Drepper <drepper@gmail.com>
55702 * po/ja.po: Update from translation team.
55704 2011-10-08 Roland McGrath <roland@hack.frob.com>
55706 * locale/programs/locarchive.c (prepare_address_space): New function.
55707 (create_archive, enlarge_archive, open_archive): Use it.
55709 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55710 inside [SHARED], where it is used.
55712 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55714 * nss/getent.c (netgroup_keys): Remove unused variable.
55715 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55717 2011-10-08 Ulrich Drepper <drepper@gmail.com>
55719 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55720 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55722 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55723 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55724 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55725 * math/Makefile (libm-calls): Add s_isinf_ns.
55726 * math/divtc3.c: Use __isinf_nsl instead of isinf.
55727 * math/multc3.c: Likewise.
55728 * math/s_casin.c: Likewise.
55729 * math/s_casinf.c: Likewise.
55730 * math/s_casinl.c: Likewise.
55731 * math/s_ccos.c: Likewise.
55732 * math/s_ccosf.c: Likewise.
55733 * math/s_ccosl.c: Likewise.
55734 * math/s_ctan.c: Likewise.
55735 * math/s_ctanf.c: Likewise.
55736 * math/s_ctanh.c: Likewise.
55737 * math/s_ctanhf.c: Likewise.
55738 * math/s_ctanhl.c: Likewise.
55739 * math/s_ctanl.c: Likewise.
55740 * math/w_fmod.c: Likewise.
55741 * math/w_fmodf.c: Likewise.
55742 * math/w_fmodl.c: Likewise.
55743 * math/w_remainder.c: Likewise.
55744 * math/w_remainderf.c: Likewise.
55745 * math/w_remainderl.c: Likewise.
55746 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55747 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55748 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55750 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55751 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55752 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55753 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55755 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55757 * stdio-common/printf_fphex.c: Likewise.
55758 * stdio-common/printf_size.c: Likewise.
55760 * math/e_exp10.c: Include math_private.h using <...> not "...".
55761 * math/e_exp10f.c: Likewise.
55762 * math/e_exp10l.c: Likewise.
55763 * math/e_exp2l.c: Likewise.
55764 * math/e_j0l.c: Likewise.
55765 * math/e_j1l.c: Likewise.
55766 * math/e_jnl.c: Likewise.
55767 * math/e_lgammal_r.c: Likewise.
55768 * math/e_rem_pio2l.c: Likewise.
55769 * math/e_scalb.c: Likewise.
55770 * math/e_scalbf.c: Likewise.
55771 * math/e_scalbl.c: Likewise.
55772 * math/k_cosl.c: Likewise.
55773 * math/k_sinl.c: Likewise.
55774 * math/k_tanl.c: Likewise.
55775 * math/s_cacoshf.c: Likewise.
55776 * math/s_catan.c: Likewise.
55777 * math/s_catanf.c: Likewise.
55778 * math/s_catanh.c: Likewise.
55779 * math/s_catanhf.c: Likewise.
55780 * math/s_catanhl.c: Likewise.
55781 * math/s_catanl.c: Likewise.
55782 * math/s_ccosh.c: Likewise.
55783 * math/s_ccoshf.c: Likewise.
55784 * math/s_ccoshl.c: Likewise.
55785 * math/s_cexp.c: Likewise.
55786 * math/s_cexpf.c: Likewise.
55787 * math/s_cexpl.c: Likewise.
55788 * math/s_clog.c: Likewise.
55789 * math/s_clog10.c: Likewise.
55790 * math/s_clog10f.c: Likewise.
55791 * math/s_clog10l.c: Likewise.
55792 * math/s_clogf.c: Likewise.
55793 * math/s_clogl.c: Likewise.
55794 * math/s_csin.c: Likewise.
55795 * math/s_csinf.c: Likewise.
55796 * math/s_csinh.c: Likewise.
55797 * math/s_csinhf.c: Likewise.
55798 * math/s_csinhl.c: Likewise.
55799 * math/s_csinl.c: Likewise.
55800 * math/s_csqrt.c: Likewise.
55801 * math/s_csqrtf.c: Likewise.
55802 * math/s_csqrtl.c: Likewise.
55803 * math/s_ctan.c: Likewise.
55804 * math/s_ctanf.c: Likewise.
55805 * math/s_ctanh.c: Likewise.
55806 * math/s_ctanhf.c: Likewise.
55807 * math/s_ctanhl.c: Likewise.
55808 * math/s_ctanl.c: Likewise.
55809 * math/s_ldexp.c: Likewise.
55810 * math/s_ldexpf.c: Likewise.
55811 * math/s_ldexpl.c: Likewise.
55812 * math/s_significand.c: Likewise.
55813 * math/s_significandf.c: Likewise.
55814 * math/s_significandl.c: Likewise.
55815 * math/w_acos.c: Likewise.
55816 * math/w_acosf.c: Likewise.
55817 * math/w_acosh.c: Likewise.
55818 * math/w_acoshf.c: Likewise.
55819 * math/w_acoshl.c: Likewise.
55820 * math/w_acosl.c: Likewise.
55821 * math/w_asin.c: Likewise.
55822 * math/w_asinf.c: Likewise.
55823 * math/w_asinl.c: Likewise.
55824 * math/w_atan2.c: Likewise.
55825 * math/w_atan2f.c: Likewise.
55826 * math/w_atan2l.c: Likewise.
55827 * math/w_atanh.c: Likewise.
55828 * math/w_atanhf.c: Likewise.
55829 * math/w_atanhl.c: Likewise.
55830 * math/w_cosh.c: Likewise.
55831 * math/w_coshf.c: Likewise.
55832 * math/w_coshl.c: Likewise.
55833 * math/w_dremf.c: Likewise.
55834 * math/w_exp10.c: Likewise.
55835 * math/w_exp10f.c: Likewise.
55836 * math/w_exp10l.c: Likewise.
55837 * math/w_exp2.c: Likewise.
55838 * math/w_exp2f.c: Likewise.
55839 * math/w_fmod.c: Likewise.
55840 * math/w_fmodf.c: Likewise.
55841 * math/w_fmodl.c: Likewise.
55842 * math/w_hypot.c: Likewise.
55843 * math/w_hypotf.c: Likewise.
55844 * math/w_hypotl.c: Likewise.
55845 * math/w_j0.c: Likewise.
55846 * math/w_j0f.c: Likewise.
55847 * math/w_j0l.c: Likewise.
55848 * math/w_j1.c: Likewise.
55849 * math/w_j1f.c: Likewise.
55850 * math/w_j1l.c: Likewise.
55851 * math/w_jn.c: Likewise.
55852 * math/w_jnf.c: Likewise.
55853 * math/w_jnl.c: Likewise.
55854 * math/w_lgamma.c: Likewise.
55855 * math/w_lgamma_r.c: Likewise.
55856 * math/w_lgammaf.c: Likewise.
55857 * math/w_lgammaf_r.c: Likewise.
55858 * math/w_lgammal.c: Likewise.
55859 * math/w_lgammal_r.c: Likewise.
55860 * math/w_log.c: Likewise.
55861 * math/w_log10.c: Likewise.
55862 * math/w_log10f.c: Likewise.
55863 * math/w_log10l.c: Likewise.
55864 * math/w_log2.c: Likewise.
55865 * math/w_log2f.c: Likewise.
55866 * math/w_log2l.c: Likewise.
55867 * math/w_logf.c: Likewise.
55868 * math/w_logl.c: Likewise.
55869 * math/w_pow.c: Likewise.
55870 * math/w_powf.c: Likewise.
55871 * math/w_powl.c: Likewise.
55872 * math/w_remainder.c: Likewise.
55873 * math/w_remainderf.c: Likewise.
55874 * math/w_remainderl.c: Likewise.
55875 * math/w_scalb.c: Likewise.
55876 * math/w_scalbf.c: Likewise.
55877 * math/w_scalbl.c: Likewise.
55878 * math/w_sinh.c: Likewise.
55879 * math/w_sinhf.c: Likewise.
55880 * math/w_sinhl.c: Likewise.
55881 * math/w_sqrt.c: Likewise.
55882 * math/w_sqrtf.c: Likewise.
55883 * math/w_sqrtl.c: Likewise.
55884 * math/w_tgamma.c: Likewise.
55885 * math/w_tgammaf.c: Likewise.
55886 * math/w_tgammal.c: Likewise.
55888 * po/ja.po: Update from translation team.
55890 2011-09-29 Andreas Jaeger <aj@suse.de>
55893 * sunrpc/netname.c (netname2host): Fix logic.
55897 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55899 * math/w_remainder.c (__remainder): Likewise.
55900 * math/w_remainderf.c (__remainderf): Likewise.
55901 * math/libm-test.inc (remainder_test): Add test cases.
55903 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55905 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
55908 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55910 * string/test-memcmp.c: Avoid unncessary #defines.
55911 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55913 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55915 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55916 Use new sse2 version for core i3 - i7 as it's faster
55917 than sse42 version.
55918 (bit_Prefer_PMINUB_for_stringop): New.
55919 * sysdeps/x86_64/rawmemchr.S: Update.
55920 Replace with faster SSE2 version.
55921 * sysdeps/x86_64/memrchr.S: New file.
55922 * sysdeps/x86_64/memchr.S: Update.
55923 Replace with faster SSE2 version.
55925 2011-09-12 Marek Polacek <mpolacek@redhat.com>
55927 * elf/dl-load.c (lose): Add cast to avoid warning.
55929 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55931 * po/ca.po: Update from translation team.
55933 * inet/getnetgrent_r.c: Hook up nscd.
55934 * nscd/Makefile (routines): Add nscd_netgroup.
55935 (nscd-modules): Add netgroupcache.
55936 (CFLAGS-netgroupcache.c): Define.
55937 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55938 (cache_search): Add const to second parameter.
55939 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55941 (dbs): Add netgrdb entry.
55942 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55943 (verify_persistent_db): Handle netgrdb.
55944 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55945 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55947 (netgroup_response_header): Define.
55948 (innetgroup_response_header): Define.
55949 (datahead): Add netgroup_response_header and innetgroup_response_header
55951 * nscd/nscd.conf: Add entries for netgroup cache.
55952 * nscd/nscd.h (dbtype): Add netgrdb.
55953 (_PATH_NSCD_NETGROUP_DB): Define.
55954 (netgroup_iov_disabled): Declare.
55955 (xmalloc, xcalloc, xrealloc): Move declarations here.
55956 (cache_search): Adjust prototype.
55957 Add netgroup-related prototypes.
55958 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55959 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55960 (__nscd_innetgr): Declare.
55961 * nscd/selinux.c (perms): Use access_vector_t as element type and
55962 add netgroup-related initializers.
55963 * nscd/netgroupcache.c: New file.
55964 * nscd/nscd_netgroup.c: New file.
55965 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55966 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55967 For four parameters use innetgr.
55968 * nss/nss_files/files-init.c: Add definition and callback for netgr.
55969 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55970 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55971 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55973 * nscd/connections.c (register_traced_file): Don't register file
55974 for disabled databases.
55976 2011-10-06 Ulrich Drepper <drepper@gmail.com>
55978 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55980 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55981 from tree and freeing node.
55983 2011-09-25 Jiri Olsa <jolsa@redhat.com>
55985 * nss/nsswitch.c (__nss_database_lookup): Handle
55986 nss_parse_service_list out of memory case.
55988 2011-09-15 Jiri Olsa <jolsa@redhat.com>
55990 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55991 out of memory case.
55993 2011-10-04 Andreas Schwab <schwab@redhat.com>
55995 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55996 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55998 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55999 elf_machine_rela, elf_machine_lazy_rel.
56000 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56001 (ELF_DYNAMIC_DO_REL): Likewise.
56002 (ELF_DYNAMIC_DO_RELA): Likewise.
56003 (ELF_DYNAMIC_RELOCATE): Likewise.
56004 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56005 to ELF_DYNAMIC_DO_REL.
56006 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56007 (dl_main): In trace mode always set __RTLD_NOIFUNC.
56008 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56010 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56011 skip_ifunc, don't call ifunc function if non-zero.
56012 (elf_machine_rela): Likewise.
56013 (elf_machine_lazy_rel): Likewise.
56014 (elf_machine_lazy_rela): Likewise.
56015 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56016 (elf_machine_lazy_rel): Likewise.
56017 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56019 (elf_machine_lazy_rel): Likewise.
56020 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56022 (elf_machine_lazy_rel): Likewise.
56023 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56024 (elf_machine_lazy_rel): Likewise.
56025 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56026 (elf_machine_lazy_rel): Likewise.
56027 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56028 (elf_machine_lazy_rel): Likewise.
56029 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56030 (elf_machine_lazy_rel): Likewise.
56031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56032 (elf_machine_lazy_rel): Likewise.
56033 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56034 (elf_machine_lazy_rel): Likewise.
56036 2011-09-28 Ulrich Drepper <drepper@gmail.com>
56038 * nss/nss_files/files-init.c (_nss_files_init): Use static
56039 initialization for all the *_traced_file variables.
56041 2011-09-28 Andreas Schwab <schwab@redhat.com>
56043 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56045 2011-09-27 Roland McGrath <roland@hack.frob.com>
56048 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56050 2011-09-27 Andreas Schwab <schwab@redhat.com>
56052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56053 Reread the line before reparsing it.
56055 2011-09-26 Andreas Schwab <schwab@redhat.com>
56057 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56059 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
56060 Maxim Kuvyrkov <maxim@codesourcery.com>
56061 Joseph Myers <joseph@codesourcery.com>
56063 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56064 if needed for __stack_chk_guard.
56066 2011-09-19 Roland McGrath <roland@hack.frob.com>
56068 * sysdeps/posix/spawni.c (script_execute): Always define it.
56069 It will be optimized away if unused.
56070 (maybe_script_execute): New function.
56071 (__spawni): Call it.
56073 * Makerules: Don't include tls.make.
56074 (config-tls): Always set to thread.
56075 * tls.make.c: File removed.
56077 2011-09-19 Mike Frysinger <vapier@gentoo.org>
56079 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56080 * config.make.in (CPPFLAGS-config): New substituted variable.
56082 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56084 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56087 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56088 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56090 2011-09-15 Roland McGrath <roland@hack.frob.com>
56092 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56093 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56094 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56095 (CALL_FAIL): Likewise.
56096 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56097 (CALL_FAIL): Macro removed.
56098 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56100 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56102 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56103 for __FINITE_MATH_ONLY__ == 1.
56105 2011-09-15 Andreas Schwab <schwab@redhat.com>
56107 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56108 __ieee754_sqrt instead of sqrt.
56109 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56110 __ieee754_sqrtf instead of sqrtf.
56111 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56112 __floorf instead of floorf.
56113 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56114 __floorf, __truncf instead of floorf, truncf.
56116 2011-09-14 Ulrich Drepper <drepper@gmail.com>
56118 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56120 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56121 __extern_always_inline.
56122 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56125 2011-09-14 Andreas Schwab <schwab@redhat.com>
56127 * elf/rtld.c (dl_main): Also relocate in dependency order when
56128 doing symbol dependency testing.
56130 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
56132 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56133 Always define `refsym'.
56135 2011-09-13 Andreas Schwab <schwab@redhat.com>
56137 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56138 (__FD_ELT): Renamed from __FDELT.
56139 * misc/bits/select2.h (__FD_ELT): Likewise.
56140 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56141 __FD_MASK instead of __FDELT, __FDMASK.
56142 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56144 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56147 * elf/Makefile (gen-ldd): Fix pattern.
56149 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56150 (init_tls): Likewise.
56152 2011-09-12 Ulrich Drepper <drepper@gmail.com>
56154 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56156 2011-09-12 Andreas Schwab <schwab@redhat.com>
56158 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56159 `struct cmsghdr *' instead of `void *'.
56160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56163 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
56165 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56167 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56168 ldd_rewrite_script.
56170 2011-09-11 Ulrich Drepper <drepper@gmail.com>
56172 * configure.in: Remove --with-tls option.
56173 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56174 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56175 out in case it is missing.
56176 * sysdeps/ia64/elf/configure.in: Likewise.
56177 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56178 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56179 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56180 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56181 * sysdeps/sh/elf/configure.in: Likewise.
56182 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56183 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56184 * sysdeps/x86_64/elf/configure.in: Likewise.
56185 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56186 * sysdeps/mach/hurd/tls.h: Likewise.
56189 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56192 * configure.in: Fix use of AC_INIT.
56194 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56196 2011-09-10 Ulrich Drepper <drepper@gmail.com>
56198 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56200 * malloc/hooks.c: Likewise.
56203 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
56204 variables statically.
56205 (narenas): Initialize.
56206 (list_lock): Initialize.
56207 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
56208 initializtion of main_arena and list_lock. Small cleanups.
56209 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56210 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
56211 Add initializers to main_arena and mp_.
56212 (malloc_state): Remove pagesize member. Change all users to use
56215 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56216 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
56217 is always initialized.
56219 * malloc/malloc.c: Removed unused configurations and dead code.
56220 * malloc/arena.c: Likewise.
56221 * malloc/hooks.c: Likewise.
56222 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56224 * include/tls.h: Removed. USE___THREAD must always be defined.
56225 * bits/libc-tsd.h: Don't handle !USE___THREAD.
56226 * elf/dl-libc.c: Likewise.
56227 * elf/dl-tsd.c: Likewise.
56228 * include/errno.h: Likewise.
56229 * include/netdb.h: Likewise.
56230 * include/resolv.h: Likewise.
56231 * inet/herrno-loc.c: Likewise.
56232 * inet/herrno.c: Likewise.
56233 * malloc/arena.c: Likewise.
56234 * malloc/hooks.c: Likewise.
56235 * malloc/malloc.c: Likewise.
56236 * resolv/res-state.c: Likewise.
56237 * resolv/res_libc.c: Likewise.
56238 * sysdeps/i386/dl-machine.h: Likewise.
56239 * sysdeps/ia64/dl-machine.h: Likewise.
56240 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56241 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56242 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56243 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56244 * sysdeps/sh/dl-machine.h: Likewise.
56245 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56246 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56247 * sysdeps/unix/i386/sysdep.S: Likewise.
56248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56249 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56250 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56252 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56254 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56256 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56258 * sysdeps/unix/x86_64/sysdep.S: Likewise.
56259 * sysdeps/x86_64/dl-machine.h: Likewise.
56260 * tls.make.c: Likewise.
56262 * configure.in: Remove --with-__thread option. Make tests for
56263 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56264 tls_model attribute fail if no support is available. Remove
56266 * Makeconfig: Adjust for dropped configure option. All features are
56268 * Makerules: Likewise.
56269 * Versions.def: Likewise.
56270 * argp/argp-fmtstream.c: Likewise.
56271 * argp/argp-fmtstream.h: Likewise.
56272 * argp/argp-help.c: Likewise.
56273 * assert/assert.c: Likewise.
56274 * config.h.in: Likewise.
56275 * config.make.in: Likewise.
56276 * configure: Likewise.
56277 * configure.in: Likewise.
56278 * csu/Versions: Likewise.
56279 * csu/init.c: Likewise.
56280 * elf/tst-audit2.c: Likewise.
56281 * elf/tst-tls10.c: Likewise.
56282 * elf/tst-tls10.h: Likewise.
56283 * elf/tst-tls11.c: Likewise.
56284 * elf/tst-tls12.c: Likewise.
56285 * elf/tst-tls14.c: Likewise.
56286 * elf/tst-tlsmod11.c: Likewise.
56287 * elf/tst-tlsmod12.c: Likewise.
56288 * elf/tst-tlsmod13.c: Likewise.
56289 * elf/tst-tlsmod13a.c: Likewise.
56290 * elf/tst-tlsmod14a.c: Likewise.
56291 * elf/tst-tlsmod15b.c: Likewise.
56292 * elf/tst-tlsmod16a.c: Likewise.
56293 * elf/tst-tlsmod16b.c: Likewise.
56294 * elf/tst-tlsmod7.c: Likewise.
56295 * elf/tst-tlsmod8.c: Likewise.
56296 * elf/tst-tlsmod9.c: Likewise.
56297 * gmon/gmon.c: Likewise.
56298 * grp/fgetgrent_r.c: Likewise.
56299 * grp/putgrent.c: Likewise.
56300 * hurd/fopenport.c: Likewise.
56301 * include/libc-symbols.h: Likewise.
56302 * include/tls.h: Likewise.
56303 * intl/gettextP.h: Likewise.
56304 * intl/loadinfo.h: Likewise.
56305 * locale/global-locale.c: Likewise.
56306 * locale/localeinfo.h: Likewise.
56307 * mach/devstream.c: Likewise.
56308 * malloc/arena.c: Likewise.
56309 * malloc/set-freeres.c: Likewise.
56310 * misc/err.c: Likewise.
56311 * misc/getttyent.c: Likewise.
56312 * misc/mntent_r.c: Likewise.
56313 * posix/getopt.c: Likewise.
56314 * posix/wordexp.c: Likewise.
56315 * pwd/fgetpwent_r.c: Likewise.
56316 * resolv/Versions: Likewise.
56317 * resolv/res_hconf.c: Likewise.
56318 * shadow/fgetspent_r.c: Likewise.
56319 * shadow/putspent.c: Likewise.
56320 * stdio-common/printf_fphex.c: Likewise.
56321 * stdio-common/tmpfile.c: Likewise.
56322 * stdlib/abort.c: Likewise.
56323 * stdlib/fmtmsg.c: Likewise.
56324 * sunrpc/auth_unix.c: Likewise.
56325 * sunrpc/clnt_perr.c: Likewise.
56326 * sunrpc/clnt_tcp.c: Likewise.
56327 * sunrpc/clnt_udp.c: Likewise.
56328 * sunrpc/clnt_unix.c: Likewise.
56329 * sunrpc/openchild.c: Likewise.
56330 * sunrpc/svc_simple.c: Likewise.
56331 * sunrpc/svc_tcp.c: Likewise.
56332 * sunrpc/svc_udp.c: Likewise.
56333 * sunrpc/svc_unix.c: Likewise.
56334 * sunrpc/xdr.c: Likewise.
56335 * sunrpc/xdr_array.c: Likewise.
56336 * sunrpc/xdr_rec.c: Likewise.
56337 * sunrpc/xdr_ref.c: Likewise.
56338 * sunrpc/xdr_stdio.c: Likewise.
56340 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56342 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56344 2011-07-03 Andreas Jaeger <aj@suse.de>
56346 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56347 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56348 regenerate with gen-libm-tests.pl.
56350 2010-05-12 Petr Baudis <pasky@suse.cz>
56353 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56354 around j0() zero points by switching to j1().
56355 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56356 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56357 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56358 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56360 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56362 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56364 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56366 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56367 Patch in part by Pavel Roskin <proski@gnu.org>.
56370 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56372 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
56373 Free memory block if necessary.
56376 * libio/genops.c (INTDEF): For string streams the _lock pointer can
56377 be NULL. Don't lock in this case.
56379 2011-09-09 Roland McGrath <roland@hack.frob.com>
56381 * elf/elf.h (ELFOSABI_GNU): New macro.
56382 (ELFOSABI_LINUX): Define to that.
56384 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
56386 * string/strncat.c (strncat): Undef the symbol in case it has been
56387 defined in bits/string.h.
56389 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56391 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56393 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56396 2011-08-17 Andreas Jaeger <aj@suse.de>
56398 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56400 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
56401 Ian Lance Taylor <iant@google.com>
56403 * math/libm-test.inc (lround_test): New testcase.
56404 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56406 2011-09-08 Ulrich Drepper <drepper@gmail.com>
56408 * Makefile: Remove support for automatic cvs check-ins.
56409 * Makerules: Likewise.
56410 * config.make.in: Likewise.
56411 * configure.in: Likewise.
56412 * intl/Makefile: Likewise.
56413 * locale/Makefile: Likewise.
56414 * po/Makefile: Likewise.
56415 * posix/Makefile: Likewise.
56416 * sysdeps/gnu/Makefile: Likewise.
56417 * sysdeps/mach/hurd/Makefile: Likewise.
56418 * sysdeps/sparc/sparc32/Makefile: Likewise.
56421 * posix/Makefile (bug-regex32-ENV): Define.
56422 Patch by John Stanley <jpsinthemix@verizon.net>.
56424 * misc/Makefile (headers): Add bits/select2.h.
56425 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56426 * misc/bits/select2.h: New file.
56427 * include/bits/select2.h: New file.
56428 * debug/Makefile (routines): Add fdelt_chk.
56429 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56430 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56432 * debug/fdelt_chk.c: New file.
56434 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
56435 * wcsmbs/test-wmemcmp.c: Likewise.
56436 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56437 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56439 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56441 * string/Makefile (strop-tests): Add memcmp.
56442 * string/test-wmemcmp.c: New file.
56443 * string/test-memcmp.c: Add wmemcmp support.
56445 2011-09-08 Roland McGrath <roland@hack.frob.com>
56448 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56451 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56452 garbage value in a __mach_port_mod_refs call in the cases of the
56453 task-self and thread-self ports.
56455 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56457 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56459 2011-09-08 Andreas Schwab <schwab@redhat.com>
56461 * elf/dl-load.c (lose): Check for non-null L.
56463 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56465 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56467 * elf/dl-libc.c (dlerror_run): Pass back error code from
56471 * elf/dl-load.c (lose): Free l_origin if it is valid.
56473 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56475 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56476 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56477 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56478 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56479 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56480 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56482 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56484 * sysdeps/powerpc/fpu/e_hypot.c: New file.
56485 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56486 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56487 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56488 * sysdeps/powerpc/fpu/k_cosf.c: New file.
56489 * sysdeps/powerpc/fpu/k_sinf.c: New file.
56490 * sysdeps/powerpc/fpu/s_cosf.c: New file.
56491 * sysdeps/powerpc/fpu/s_sinf.c: New file.
56492 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56493 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56495 2011-08-15 Alan Modra <amodra@gmail.com>
56498 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56499 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56500 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
56501 ppc_mcount to static-only-routines.
56502 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56504 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56505 __mcount_internal with usual JUMPTARGET. Remove useless nop.
56507 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
56509 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56510 for finite and infinity parameters.
56512 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
56514 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56515 and add nop instructions for throughput optimization.
56516 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56518 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
56520 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56521 aligned copy for power7 with vector-scalar instructions.
56522 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56524 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
56526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56529 2011-09-07 Andreas Schwab <schwab@redhat.com>
56532 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56535 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56537 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56538 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56539 syscall wrapper around clock_gettime in __vdso_clock_gettime.
56540 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56543 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56545 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56546 Forgot to demangle the pointer.
56548 * sysdeps/i386/sysdep.h: Define atom_text_section.
56549 * sysdeps/x86_64/sysdep.h: Likewise.
56550 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56551 section with atom_text_section.
56552 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56553 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56554 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56555 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56556 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56558 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56559 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56560 already be defined. Change to take two parameters and don't assign
56561 result to variable. Adjust all users.
56562 Define INTERNAL_GETTIME if not already defined.
56563 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56566 HAVE_CLOCK_GETTIME_VSYSCALL.
56567 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56569 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56570 gettimeofday vsyscall, just use time.
56572 2011-09-06 Andreas Schwab <schwab@redhat.com>
56574 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56577 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56579 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56581 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56583 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56584 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56585 syscall if possible.
56587 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56589 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56590 e_ident. Don't pass to find_mapsXX.
56591 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56593 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56596 strchr-sse2-no-bsf strrchr-sse2-no-bsf
56597 * sysdeps/x86_64/multiarch/strchr.S: Update.
56598 Check bit_slow_BSF bit.
56599 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56600 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56601 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56603 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56606 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56608 (tryshell): Define.
56609 (__spawni): Change last parameter to be flag. Test
56610 SPAWN_XFLAGS_USE_PATH flag to use path or not.
56611 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56612 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56613 * posix/spawni.c: Likewise.
56614 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56615 * posix/spawnp.c: Likewise. Change normal version to use
56616 SPAWN_XFLAGS_USE_PATH.
56617 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56618 SPAWN_XFLAGS_TRY_SHELL.
56621 * posix/glob.h: Remove gcc 1.x support.
56624 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56626 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56629 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56631 * sysdeps/i386/i686/multiarch/strchr.S: New file.
56632 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56633 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56634 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56635 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56636 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56638 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56640 * sysdeps/x86_64/wcscmp.S: New file.
56642 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56643 wcscmp-c wcscmp-sse2
56644 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56645 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56646 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56647 * wcsmbs/wcscmp.c: Allow renaming.
56649 2011-09-05 David S. Miller <davem@davemloft.net>
56651 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56652 stack slot, rather than the struct return pointer slot.
56653 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56654 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56656 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56658 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56660 * po/ja.po: Update from translation team.
56663 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56664 kernel in 64-bit binaries.
56666 2011-09-01 David S. Miller <davem@davemloft.net>
56668 * elf/elf.h (HWCAP_SPARC_*): Move to..
56669 * sysdeps/sparc/sysdep.h: this new file and add new values.
56670 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56671 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56672 _DL_HWCAP_COUNT to 24.
56673 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56675 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56676 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56677 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56679 instead of magic constants.
56680 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56682 2011-08-31 David S. Miller <davem@davemloft.net>
56684 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56686 Reimplement to do errno handling inline.
56687 (SYSCALL_ERROR_HANDLER): New macro.
56688 (__SYSCALL_STRING): Do not do errno handling in asm.
56689 (__CLONE_SYSCALL_STRING): Delete.
56690 (__INTERNAL_SYSCALL_STRING): Delete.
56691 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56692 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56693 (PSEUDO): Reimplement to do errno handling inline.
56694 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56695 (SYSCALL_ERROR_HANDLER): New macro.
56696 (__SYSCALL_STRING): Do not do errno handling in asm.
56697 (__CLONE_SYSCALL_STRING): Delete.
56698 (__INTERNAL_SYSCALL_STRING): Delete.
56699 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56700 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56702 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56703 (inline_syscall*): Add 'err' argument.
56704 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56705 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56706 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56707 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56709 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56710 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56712 2011-08-30 Andreas Schwab <schwab@redhat.com>
56714 * elf/rtld.c (dl_main): Relocate objects in dependency order.
56716 2011-08-29 Jiri Olsa <jolsa@redhat.com>
56718 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56721 2011-08-24 David S. Miller <davem@davemloft.net>
56723 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56725 2011-08-24 Andreas Schwab <schwab@redhat.com>
56727 * elf/Makefile: Add rules to build and run unload8 test.
56728 * elf/unload8.c: New file.
56729 * elf/unload8mod1.c: New file.
56730 * elf/unload8mod1x.c: New file.
56731 * elf/unload8mod2.c: New file.
56732 * elf/unload8mod3.c: New file.
56734 * elf/dl-close.c (_dl_close_worker): Reset private search list if
56737 2011-08-23 David S. Miller <davem@davemloft.net>
56739 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56740 subtract stack bias.
56741 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56742 %sp not %fp in calculations.
56743 (_JMPBUF_UNWINDS_ADJ): Likewise.
56745 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56746 (aio_suspend): Call it to force an exception region around the
56747 AIO_MISC_WAIT() invocation.
56749 2011-08-23 Andreas Schwab <schwab@redhat.com>
56751 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56754 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
56756 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56758 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56759 and <dl-machine.h>.
56760 (Elf64_FuncDesc): Remove.
56762 2011-08-22 David S. Miller <davem@davemloft.net>
56764 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56765 sigaltstack check, add missing cfi directives.
56766 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56767 missing cfi directives, and sigaltstack handling.
56769 2011-08-16 Andreas Schwab <schwab@redhat.com>
56772 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56773 object is seen twice.
56774 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56776 * elf/Makefile (distribute): Add tst-initorder2.c.
56777 (tests): Add tst-initorder2.
56778 (modules-names): Add tst-initorder2a tst-initorder2b
56779 tst-initorder2c tst-initorder2d. Add rules to build them.
56780 ($(objpfx)tst-initorder2.out): New rule.
56781 * elf/tst-initorder2.c: New file.
56782 * elf/tst-initorder2.exp: New file.
56784 2011-08-22 Andreas Schwab <schwab@redhat.com>
56786 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56788 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56789 dependencies back to end of function.
56791 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56792 $(elfobjdir)/ld.so.
56794 2011-08-21 Ulrich Drepper <drepper@gmail.com>
56796 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56797 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56799 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56800 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56801 of __vdso_gettimeofday.
56802 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56803 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
56805 (_libc_vdso_platform_setup): Remove initialization of
56806 __vdso_gettimeofday and __vdso_time.
56808 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56810 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56811 and fgetc_unlocked.
56812 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56815 * elf/dl-open.c (add_to_global): Report additions to the global scope
56816 for LD_DEBUG=scopes.
56817 (dl_open_worker): Also print scope of newly loaded dependencies.
56818 (_dl_show_scope): Indicate if there is no scope.
56821 * stdio-common/Makefile (tests): Add bug24.
56822 * stdio-common/bug24.c: New file.
56824 2011-08-19 Andreas Jaeger <aj@suse.de>
56827 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56828 non-existant file when using close-on-exec mode.
56830 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56832 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56833 the very first instruction.
56835 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56836 the CFI state in the end.
56837 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56838 inclusion of dl-trampoline.h.
56839 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56841 2011-08-19 Andreas Schwab <schwab@redhat.com>
56843 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56844 expectations for long double.
56846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56847 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56849 2011-08-14 David S. Miller <davem@davemloft.net>
56851 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56852 artificual limit depends upon the system page size.
56854 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56856 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56857 * resolv/Makefile: Define CFLAGS-libresolv.
56859 2011-08-17 Andreas Schwab <schwab@redhat.com>
56861 * nss/makedb.c (compute_tables): Make variables used in nested
56864 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56866 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56867 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56868 if buffer was too small.
56870 * elf/pldd.c (main): Attach to all threads in the process.
56871 Rewrite /proc handling to use *at functions.
56873 2011-08-16 Ulrich Drepper <drepper@gmail.com>
56875 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56876 specifies first scope to show.
56877 (dl_open_worker): Update callers. Move printing scope of new
56878 object to before the relocation.
56879 * elf/rtld.c (dl_main): Update _dl_show_scope call.
56880 * sysdeps/generic/ldsodefs.h: Update declaration.
56882 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56883 string for the scope number.
56885 2011-08-14 Ulrich Drepper <drepper@gmail.com>
56887 * nscd/servicescache.c (cache_addserv): Make sure written is always
56890 2011-08-14 Roland McGrath <roland@hack.frob.com>
56892 * sysdeps/i386/i486/bits/atomic.h
56893 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56894 statement expression, so as to suppress "set but not used" warning.
56895 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56897 * string/strncat.c (STRNCAT): Use prototype definition.
56899 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56900 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56902 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56903 (localedef-modules): Add localedef.
56904 (locale-modules): Add locale.
56906 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56907 * elf/rtld.c (dl_main): Invert order of assignment in last change,
56908 to avoid a warning.
56910 2011-08-14 David S. Miller <davem@davemloft.net>
56912 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56913 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56915 2011-08-13 Ulrich Drepper <drepper@gmail.com>
56917 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56918 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56919 * elf/rtld.c (dl_main): Set l_name of vDSO.
56920 Call _dl_show_scope when DL_DEBUG_SCOPES.
56921 (process_dl_debug): Recognize scopes flag and also set it for all.
56922 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56923 Declare _dl_show_scope.
56925 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56926 (do_dlopen): Pass caller_dlopen to dl_open.
56927 (__libc_dlopen_mode): Initialize caller_dlopen.
56929 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56930 of libc. Make tolower call locale-independent. Optimize a bit by
56931 using isdigit instead of isalnum.
56932 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56934 2011-08-12 Ulrich Drepper <drepper@gmail.com>
56936 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56937 was a dependency or dynamically loaded.
56939 2011-08-11 Ulrich Drepper <drepper@gmail.com>
56941 * intl/l10nflist.c: Allow architecture-specific pop function.
56942 * sysdeps/x86_64/l10nflist.c: New file.
56944 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56947 2011-08-10 Andreas Schwab <schwab@redhat.com>
56949 * include/dirent.h: Add libc_hidden_proto for scandirat and
56950 scandirat64. Don't declare __scandirat64.
56951 * dirent/scandirat.c: Add libc_hidden_def.
56952 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56953 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56955 2011-08-10 David S. Miller <davem@davemloft.net>
56957 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56959 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56960 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56961 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56963 2011-08-09 Ulrich Drepper <drepper@gmail.com>
56965 * Versions.def [libc]: Add GLIBC_2.15.
56966 * dirent/Makefile (routines): Add scandirat and scandirat64.
56967 * dirent/Versions [libc]: Export scandirat and scandirat64 for
56969 * dirent/dirent.h: Declare scandirat and scandirat64.
56970 * dirent/scandirat.c: New file.
56971 * dirent/scandirat64.c: New file.
56972 * sysdeps/wordsize-64/scandirat.c: New file.
56973 * sysdeps/wordsize-64/scandirat64.c: New file.
56974 * dirent/opendir.c: Define opendirat.
56975 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
56977 * dirent/scandir64.c: Adjust for scandir.c change.
56978 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
56979 __scandirat64, and __scandir_cancel_handler.
56980 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
56981 additional parameter and use openat instead of open (outside of ld.so).
56982 Add new __opendir as wrapper around __opendirat.
56983 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56984 here without requiring old scandirat implementation.
56986 2011-08-08 Ulrich Drepper <drepper@gmail.com>
56988 * dirent/scandir.c (cancel_handler): Renamed to
56989 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
56990 defined. Adjust users.
56991 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56992 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56994 2011-08-04 Ulrich Drepper <drepper@gmail.com>
56996 * string/test-string.h (IMPL): Use __STRING to expand name and then
56999 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
57002 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57004 * string/Makefile: Update.
57005 (strop-tests): Append strncat.
57006 * string/test-wcscmp.c: New file.
57007 New comprehensive test for wcscmp.
57008 * string/test-strcmp.c: Update.
57009 (WIDE): New define.
57011 2011-07-22 Andreas Schwab <schwab@redhat.com>
57013 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57016 2011-07-26 Andreas Schwab <schwab@redhat.com>
57018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57019 encoding to ACE if AI_IDN.
57021 2011-08-01 Jakub Jelinek <jakub@redhat.com>
57023 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57024 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57026 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57028 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57029 Fix overflow bug in strncat.
57030 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57032 * string/test-strncat.c: Update.
57033 Add new tests for checking overflow bugs.
57035 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57038 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57039 * sysdeps/i386/i686/multiarch/strcat.S: New file.
57040 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57041 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57042 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57043 * sysdeps/i386/i686/multiarch/strncat.S: New file.
57044 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57045 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57047 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57048 (USE_AS_STRCAT): Define.
57049 Add strcat and strncat support.
57050 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57052 2011-07-25 Andreas Schwab <schwab@redhat.com>
57054 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57055 __n bigger than INT_MAX+1.
57056 (__strncmp_g): Likewise.
57058 2011-07-23 Ulrich Drepper <drepper@gmail.com>
57060 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57061 * libio/stido.h: Likewise.
57063 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57068 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57069 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57070 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57071 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57072 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57075 * scripts/test-installation.pl: Don't expect libnss_test1 to be
57078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57080 (_dl_x86_64_save_sse): Likewise.
57082 2011-07-22 Ulrich Drepper <drepper@gmail.com>
57084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57086 (_dl_x86_64_save_sse): Likewise.
57088 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57090 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57092 2011-07-21 Andreas Schwab <schwab@redhat.com>
57094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57096 (_dl_x86_64_save_sse): Use correct AVX check.
57098 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57100 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57101 bug in strncpy/strncat.
57102 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57104 2011-07-21 Ulrich Drepper <drepper@gmail.com>
57106 * string/tester.c (test_strcat): Add tests for different alignments
57107 of source and destination.
57108 (test_strncat): Likewise.
57110 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57113 * posix/glob.c (glob): Check passed in values before using them in
57114 expressions to avoid some overflows.
57115 (glob_in_dir): Likewise.
57118 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57119 check for AVX enablement so that we don't crash with old kernels and
57121 * elf/tst-audit4.c: Add same checks here.
57122 * elf/tst-audit6.c: Likewise.
57124 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57126 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
57128 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57130 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57132 * po/cs.po: Update from translation team.
57133 * po/bg.po: Likewise.
57135 2011-07-12 Marek Polacek <mpolacek@redhat.com>
57137 * misc/sys/cdefs.h: Add support for const attribute.
57138 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57139 to gnu_dev_{major,minor,makedev} functions.
57141 2011-07-20 Marek Polacek <mpolacek@redhat.com>
57143 * intl/dcigettext.c (get_output_charset): Add missing bracket.
57145 2011-07-20 Andreas Schwab <schwab@redhat.com>
57147 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57150 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57152 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57153 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57154 register in order to avoid conflicts with the soft frame pointer
57155 being held in r11 when necessary.
57156 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57157 (INTERNAL_VSYSCALL_NCS): Likewise.
57159 2011-07-14 Marek Polacek <mpolacek@redhat.com>
57161 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57162 * elf/dl-fini.c (_dl_fini): Adjust caller.
57163 * elf/dl-close.c (_dl_close_worker): Likewise.
57164 * sysdeps/generic/ldsodefs.h: Adjust declaration.
57166 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57168 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57169 "aux_cache->nlibs < 0".
57171 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57172 in the reload-count case.
57174 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57177 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57178 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57179 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57180 * sysdeps/x86_64/multiarch/strcat.S: New file.
57181 * sysdeps/x86_64/multiarch/strncat.S: New file.
57182 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57183 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57184 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57185 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57186 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57187 (USE_AS_STRCAT): Define.
57188 Add strcat and strncat support.
57189 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57190 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57191 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57192 * string/strncat.c: Update.
57193 (USE_AS_STRNCAT): Define.
57194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57195 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57197 * sysdeps/x86_64/multiarch/init-arch.h
57198 (bit_Prefer_PMINUB_for_stringop): New.
57199 (index_Prefer_PMINUB_for_stringop): Likewise.
57200 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57201 bit_Prefer_PMINUB_for_stringop.
57203 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57205 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57207 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57208 of casting of buffer.
57209 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57210 buffer32 and buffer64.
57211 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57212 writes instead of casting of buffer.
57213 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57215 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57218 2011-07-19 Andreas Schwab <schwab@redhat.com>
57220 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57222 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57224 * nscd/nscd.c (termination_handler): Don't do anything for a database
57225 if it has not yet been initialized.
57227 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57229 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57231 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57233 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57235 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57237 * po/nl.po: Update from translation team.
57238 * po/sv.po: Likewise.
57240 2011-07-16 Roland McGrath <roland@hack.frob.com>
57242 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57243 now disallowed by GCC.
57245 * configure.in (use-default-link): Default to yes if a test -shared
57246 link meets our qualifications.
57247 * configure: Regenerated.
57249 * config.make.in (output-format): New variable.
57250 * configure.in: Check for ld --print-output-format support.
57251 * configure: Regenerated.
57252 * Makerules ($(common-objpfx)format.lds)
57253 [$(output-format) != unknown]: Just use $(output-format),
57254 instead of the linker-script munging.
57256 2011-07-14 Roland McGrath <roland@hack.frob.com>
57258 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57259 of $(common-objpfx)shlib.lds.
57260 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57262 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57263 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57265 * configure.in (-z relro check): Adjust test code to add a large
57266 writable data section after it.
57267 * configure: Regenerated.
57269 2011-07-11 Roland McGrath <roland@hack.frob.com>
57271 * configure.in (-z relro check): Fix test code to make the variable
57273 * configure: Regenerated.
57275 2011-07-11 Ulrich Drepper <drepper@gmail.com>
57277 * nscd/nscd.h (struct traced_file): Define.
57278 (struct database_dyn): Remove inotify_descr, reset_res, and filename
57279 elements. Add traced_files.
57280 (inotify_fd): Declare.
57281 (register_traced_file): Declare.
57282 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57283 (inotify_fd): Export.
57284 (resolv_conf_descr): Remove.
57285 (nscd_init): Move inotify descriptor creation to main.
57286 Don't register files for notification here.
57287 (register_traced_file): New function.
57288 (invalidate_cache): Don't use reset_res to determine whether to call
57289 res_init, go through the list of registered files.
57290 (main_loop_poll): The inotify descriptors are now stored in the
57291 structures for the traced files.
57292 (main_loop_epoll): Likewise
57293 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
57294 to __nss_disable_nscd.
57295 * nscd/cache.c (prune_cache): There is no single inotify descriptor
57296 for a database anymore. Check the records for all the registered
57298 * nss/Makefile (libnss_files-routines): Add files-init.
57299 (libnss_db-routines): Add db-init.
57300 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57301 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57302 * nss/nss_db/db-init.c: New file.
57303 * nss/nss_files/files-init.c: New file.
57304 * nss/nsswitch.c (nss_load_library): New function. Broken out of
57305 __nss_lookup_function.
57306 (__nss_lookup_function): Call nss_load_library.
57307 (nss_load_all_libraries): New function.
57308 (__nss_disable_nscd): Take parameter with callback function for files
57309 to register. Set is_nscd. Load all the DSOs for the NSS modules
57310 used for the cached services.
57311 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57312 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57313 options for features to all the files in nscd.
57315 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57317 2011-07-10 Roland McGrath <roland@hack.frob.com>
57319 * csu/elf-init.c (__libc_csu_init): Comment typo.
57321 2011-07-09 Ulrich Drepper <drepper@gmail.com>
57323 * po/pl.po: Update from translation team.
57324 * po/ja.po: Likewise.
57325 * po/ru.po: Likewise.
57326 * po/ko.po: Likewise.
57327 * po/fr.po: Likewise.
57329 2011-07-09 Roland McGrath <roland@hack.frob.com>
57331 * configure.in (.ctors/.dtors header and trailer check):
57332 Use an empirical test on a built program.
57333 * configure: Regenerated.
57335 * configure.in (-z relro check): Use an empirical test on a built DSO.
57336 Detect, but do not require, on ia64.
57337 * configure: Regenerated.
57339 * configure.in (READELF): Find it with AC_CHECK_TOOL.
57340 Update tests that use readelf to use $READELF instead.
57341 * configure: Regenerated.
57343 2011-07-08 Ulrich Drepper <drepper@gmail.com>
57345 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57346 if the result is not used.
57348 2011-07-05 Andreas Jaeger <aj@suse.de>
57351 * stdlib/tst-strtod.c: Add testcase.
57353 2011-07-07 Ulrich Drepper <drepper@gmail.com>
57355 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57356 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57357 The latter has a higher limit. Take additional parameter to pass to
57359 (__pathconf): Pass file to __statfs_link_max.
57360 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57362 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57366 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57367 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57369 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57370 (__statfs_filesize_max): Likewise.
57371 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57373 2011-07-05 Andreas Jaeger <aj@suse.de>
57375 * resolv/res_comp.c (dn_skipname): Remove unused variable.
57377 2011-07-06 Marek Polacek <mpolacek@redhat.com>
57379 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57381 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57384 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
57386 * Makefile (strop-tests): Add strncat.
57387 * string/test-strncat.c: New file.
57389 2011-06-30 Marek Polacek <mpolacek@redhat.com>
57391 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57393 2011-06-21 Andreas Jaeger <aj@suse.de>
57395 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57396 Copy rule from iconvdata/Makefile.
57398 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57401 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57402 but no long options are defined, just return 'W'.
57404 2011-06-22 Marek Polacek <mpolacek@redhat.com>
57407 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57409 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57411 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57413 (innetgr): Likewise.
57415 2011-07-05 Roland McGrath <roland@hack.frob.com>
57417 * config.make.in (install_root): Default to $(DESTDIR).
57419 2011-07-05 Ulrich Drepper <drepper@gmail.com>
57421 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57423 2011-07-02 Roland McGrath <roland@hack.frob.com>
57425 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57427 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57428 containing directory rather than embedding absolute directory names.
57430 * scripts/check-local-headers.sh: Rewritten using awk.
57431 Match by word, not by line. Print error messages for matches.
57432 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57434 * Makerules [shlib-lds-flags empty]:
57435 ($(common-objpfx)libc_pic.opts): New target.
57436 ($(common-objpfx)libc_pic.os.clean): New target.
57437 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57439 * config.make.in (OBJCOPY): New variable.
57440 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57441 * configure: Regenerated.
57443 * config.make.in (use-default-link): New variable.
57444 * configure.in (use_default_link): Grok --with-default-link to set it.
57445 * configure: Regenerated.
57446 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57447 (shlib-lds, shlib-lds-flags): Define to empty.
57449 * Makerules (shlib-lds): New variable.
57450 (shlib-lds-flags): New variable.
57451 (build-shlib, build-moduile, build-module-asneeded): Use it.
57452 ($(common-objpfx)libc.so): Use $(shlib-lds).
57453 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57454 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57456 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57457 DT_FLAGS/DT_FLAGS_1 with zero flags.
57459 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57460 linker script munging.
57462 2011-07-02 Ulrich Drepper <drepper@gmail.com>
57464 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57466 * crypt/sha512.c (sha512_process_block): Perform total addition using
57467 128-bit if possible.
57468 (__sha512_finish_ctx): Likewise.
57469 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57471 * crypt/sha256.c (SWAP64): Define.
57472 (sha256_process_block): Perform total addition using 64-bit if
57474 (__sha256_finish_ctx): Likewise.
57476 2011-07-01 Ulrich Drepper <drepper@gmail.com>
57478 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
57479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57480 * nscd/hstcache.c (cache_addhst): Likewise.
57481 * nscd/grpcache.c (cache_addgr): Likewise.
57482 * nscd/aicache.c (addhstaiX): Likewise
57483 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57485 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
57487 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57488 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57489 * nscd/hstcache.c (cache_addhst): Likewise.
57490 * nscd/grpcache.c (cache_addgr): Likewise.
57491 * nscd/aicache.c (addhstaiX): Likewise
57493 2011-07-01 Andreas Schwab <schwab@redhat.com>
57495 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57496 domain only when needed.
57498 2011-06-30 Andreas Schwab <schwab@redhat.com>
57500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57501 is always restored.
57503 2011-06-29 Ulrich Drepper <drepper@gmail.com>
57505 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57506 are re-adding the entry.
57507 * nscd/servicescache.c (cache_addserv): Likewise.
57509 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
57511 * sysdeps/generic/dl-irel.h: fix protection against multiple
57513 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57515 2011-06-28 Ulrich Drepper <drepper@gmail.com>
57518 * malloc/memusage.sh: Fix quoting in message.
57519 * debug/xtrace.sh: Likewise.
57521 * configure.in: Remove support for --experimental-malloc option, make
57523 * config.make.in: Likewise.
57524 * malloc/Makefile: Likewise.
57526 2011-06-27 Andreas Schwab <schwab@redhat.com>
57528 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57529 two-byte characters.
57531 2011-06-27 Roland McGrath <roland@hack.frob.com>
57533 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57534 AC_CACHE_CHECK invocation.
57535 * configure: Regenerated.
57537 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57539 2011-06-27 Ulrich Drepper <drepper@gmail.com>
57542 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
57543 bit from old_res_options.
57545 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57547 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57548 value type for setfct.
57550 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
57552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57553 __gettimeofday instead of gettimeofday.
57555 2011-06-26 Ulrich Drepper <drepper@gmail.com>
57557 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57559 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
57561 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57563 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57566 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57569 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57570 strcpy-sse2-unaligned strncpy-sse2-unaligned
57571 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57572 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57573 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57574 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57575 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57576 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57577 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57578 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57579 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57580 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57581 (STRCPY): Support SSE2 and SSSE3 versions.
57583 2011-06-24 Ulrich Drepper <drepper@gmail.com>
57586 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57587 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57588 kernels which artificially limit size of requests.
57590 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57592 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57593 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57594 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57595 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57596 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57597 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57598 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57599 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57600 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57601 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57602 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57603 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57604 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57605 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57606 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57608 Enable unaligned load optimization for Intel Core i3, i5 and i7
57610 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57612 (index_Fast_Unaligned_Load): Define.
57613 (HAS_FAST_UNALIGNED_LOAD): Define.
57615 2011-06-23 Marek Polacek <mpolacek@redhat.com>
57617 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57619 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57622 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57623 until it is clear that the information is realy needed.
57624 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57626 2011-06-22 Andreas Schwab <schwab@redhat.com>
57628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57630 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57632 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57633 /sys/devices/system/cpu/online if it is usable.
57635 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57636 reading the information from the /proc filesystem to once a second.
57638 2011-06-21 Andreas Jaeger <aj@suse.de>
57640 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57641 NULL after inclusion of kernel headers.
57643 2011-06-21 Ulrich Drepper <drepper@gmail.com>
57645 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57646 calls to internal_setent.
57649 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57650 addresses using gethostbyname4_r ignore IPv4 addresses.
57652 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57653 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
57655 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57657 2011-06-20 David S. Miller <davem@davemloft.net>
57659 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57661 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57663 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57664 (elf_irel): Use it.
57665 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57666 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57667 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57668 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57669 * sysdeps/x86_64/dl-irel.h: Likewise.
57671 * elf/dl-runtime.c: Use elf_ifunc_invoke.
57672 * elf/dl-sym.c: Likewise.
57674 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57676 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
57677 need to dereference resplen2.
57679 2011-06-14 Andreas Schwab <schwab@redhat.com>
57681 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57683 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57685 * Makeconfig: Define vardbdir and inst_vardbdir.
57686 * nss/Makefile: Add rules to install db-Makefile.
57688 * nss/nss_db/db-XXX.c: Cleanup.
57690 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57691 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57693 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57694 * nss/makedb.c: Implement -g option to specify that value strings
57695 are generated and should not be added to table iterated over for
57697 * nss/nss_db/db-initgroups.c: New file.
57699 * nss/getent.c: Add support for initgroups lookups through getgrouplist
57702 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57703 (internal_getgrouplist): Adjust to name change.
57704 Update use_initgroups_entry if this is not the first call.
57705 * nss/databases.def: Add initgroups entry.
57707 * nss/makedb.c (compute_tables): Check result of multiple hash table
57708 sizes to minimize maximum chain length.
57710 2011-06-14 Ulrich Drepper <drepper@gmail.com>
57712 * Versions.def: Add entry for libnss_db.
57713 * shlib-versions: Likewise.
57714 * nss/Makefile: Add rules to build libnss_db.
57715 * nss/Versions: Add libnss_db information. Organize libnss_files
57717 * nss/db-Makefile: Add gshadow support. Change rules for the new
57718 makedb progra. Some minor improvements to generate smaller files.
57719 * nss/nss_db/nss_db.h: Move NSS database header data structures to
57721 * nss/makedb.c: ...here.
57722 Improve database format to be smaller and require less memory at
57724 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
57726 * nss/nss_db/db-netgrp.c: Likewise.
57727 * nss/nss_db/db-open.c: Likewise.
57728 * nss/nss_files/flies-XXX.x: Adjust comments.
57729 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57730 * nss/nss_files/files-grp.c: Likewise.
57731 * nss/nss_files/files-hosts.c: Likewise.
57732 * nss/nss_files/files-network.c: Likewise.
57733 * nss/nss_files/files-proto.c: Likewise.
57734 * nss/nss_files/files-pwd.c: Likewise.
57735 * nss/nss_files/files-rpc.c: Likewise.
57736 * nss/nss_files/files-service.c: Likewise.
57737 * nss/nss_files/files-sgrp.c: Likewise.
57738 * nss/nss_files/files-spwd.c: Likewise.
57739 * nss/nss_db/db-alias.c: Removed.
57740 * nss/nss_db/dummy-db.h: Removed.
57742 2011-06-02 Ulrich Drepper <drepper@gmail.com>
57744 * nss/makedb.c: Rewritten to not use database library.
57745 * nss/Makefile: Update to build new makedb program.
57747 2011-06-14 Andreas Jaeger <aj@suse.de>
57749 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57750 memset declaration.
57752 2011-06-10 Andreas Schwab <schwab@redhat.com>
57754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57757 2011-06-10 Roland McGrath <roland@hack.frob.com>
57759 * Makerules (shlib.lds): Fail if the linker script comes out empty.
57760 * elf/Makefile ($(objpfx)ld.so): Likewise.
57762 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57763 Don't list ld.so twice in dependencies.
57765 * posix/bug-regex31.c: Include <stdlib.h>.
57767 * nscd/hstcache.c (cache_addhst): Remove unused variable.
57769 * nis/nss_compat/compat-spwd.c
57770 (getspent_next_nss_netgr): Remove unused variable.
57771 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57773 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57774 nonmembers" output to use the right array.
57776 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57778 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57780 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57781 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57782 * catgets/gencat.c (read_input_file): Likewise.
57783 * locale/programs/locarchive.c (enlarge_archive): Likewise.
57785 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57786 variable definition inside #if's controlling its use.
57788 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57790 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57792 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57794 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57797 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57799 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57800 * configure: Regenerated.
57802 * Makerules: Revert last change.
57803 * elf/Makefile: Likewise.
57805 2011-06-09 Roland McGrath <roland@hack.frob.com>
57807 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57808 * elf/Makefile ($(objpfx)librtld.os): Likewise.
57809 (reloc-link): Likewise.
57811 2011-06-09 Ulrich Drepper <drepper@gmail.com>
57813 * elf/Makefile: Add rules to build pldd.
57814 * elf/pldd.c: New file.
57815 * elf/pldd-xx.c: New file.
57817 2011-06-07 Ulrich Drepper <drepper@gmail.com>
57819 * version.h: Update for 2.15 development version.
57821 2011-06-07 David S. Miller <davem@davemloft.net>
57823 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57825 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57826 elf_machine_lazy_rel): Likewise.
57827 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57829 elf_machine_lazy_rel): Likewise.
57830 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57831 dl_hwcap via passed in argument.
57832 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57835 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57837 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
57839 2011-06-06 Roland McGrath <roland@hack.frob.com>
57842 * manual/fdl-1.1.texi: New file, verbatim from:
57843 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57844 * manual/lgpl-2.1.texi: New file, verbatim from:
57845 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57846 * manual/Makefile (licenses): New variable, list those new file names.
57848 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57850 * manual/fdl.texi: File removed.
57851 * manual/lesser.texi: File removed.
57852 * manual/libc.texinfo (Copying, Documentation License):
57853 Use new @include file names, put @appendix directive before @include.
57855 2011-06-04 Jakub Jelinek <jakub@redhat.com>
57858 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57859 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57860 (mq_open): Add __NTH.
57862 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
57864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57865 Assume Intel Core i3/i5/i7 processor if AVX is available.
57867 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57872 2011-05-31 Andreas Schwab <schwab@redhat.com>
57874 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57875 memory. Use alloca_account. Fix memory leak when retrying.
57877 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57879 * version.h (RELEASE): Bump for 2.14 release.
57880 * include/features.h (__GLIBC_MINOR__): Bump to 14.
57882 * config.make.in (RANLIB): Remove entry.
57884 2011-05-30 Ulrich Drepper <drepper@gmail.com>
57886 * po/Makefile (po-sed-cmd): Add ksh to extensions.
57887 (libc.pot): Work around missing support for .ksh extension in xgettext.
57890 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57891 if both request failed.
57892 (send_dg): In case of server errors clear resplen or *resplen2.
57895 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57896 when there are multiple maps.
57897 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57898 (_dl_fini): Remove test here.
57900 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57902 2011-05-29 Ulrich Drepper <drepper@gmail.com>
57905 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57906 bit from old_res_options.
57907 (gaih_inet): Likewise.
57910 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57913 * resolv/res_init.c (res_setoptions): Make the code more compact.
57916 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57920 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57922 * malloc/malloc.h: Mark malloc hook variables as deprecated.
57925 * malloc/malloc.h: Declare malloc hook variables as volatile.
57927 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57931 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57932 raise in the comment.
57933 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57934 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57935 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57937 2011-05-28 Ulrich Drepper <drepper@gmail.com>
57940 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57941 grow the buffers more if it already has to be sufficient.
57942 (build_wcs_upper_buffer): Likewise.
57943 * posix/regexec.c (check_matching): Likewise.
57944 (clean_state_log_if_needed): Likewise.
57945 (extend_buffers): Don't enlarge buffers beyond size of the input
57947 Patches mostly by Emil Wojak <emil@wojak.eu>.
57948 * posix/bug-regex32.c: New file.
57949 * posix/Makefile (tests): Add bug-regex32.
57951 * locale/findlocale.c (_nl_find_locale): Return right away if
57952 _nl_explode_name failed.
57953 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57955 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57957 * debug/xtrace.sh: Unify messages.
57958 * malloc/memusage.sh: Likewise.
57961 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57962 time symbol from vDSO. Substitute with vsyscall if not available.
57963 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57966 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57967 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57968 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57969 Add sendmmsg and internal_sendmmsg.
57970 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57971 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57972 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57974 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57975 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57976 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57978 2011-05-27 Ulrich Drepper <drepper@gmail.com>
57981 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57982 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
57984 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57988 * iconvdata/Makefile (tests): Add bug-iconv9.
57989 * iconvdata/bug-iconv9.c: New file.
57991 2011-05-27 Andreas Schwab <schwab@redhat.com>
57994 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57996 2011-05-25 Jakub Jelinek <jakub@redhat.com>
57998 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57999 (struct user_regs_struct): Change intcs field back to cs.
58001 2011-05-25 Ulrich Drepper <drepper@gmail.com>
58003 * po/ja.po: Update from translation team.
58005 2011-05-23 Ulrich Drepper <drepper@gmail.com>
58008 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58009 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58011 2011-05-20 Andreas Schwab <schwab@redhat.com>
58013 * stdlib/longlong.h: Update from GCC.
58015 2011-05-23 Andreas Schwab <schwab@redhat.com>
58017 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58019 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58020 Add parameter name.
58021 (__sysconf): Pass it down.
58023 2011-05-22 Ulrich Drepper <drepper@gmail.com>
58026 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58028 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58029 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58030 add in in __libc_use_alloca calls. Adjust callers.
58031 (glob): Use malloc in some situations.
58033 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58034 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58037 2011-05-21 Ulrich Drepper <drepper@gmail.com>
58039 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58040 and CLOCK_BOOTTIME_ALARM.
58043 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58046 * string/_strerror.c (__strerror_r): Print negative errors as signed
58050 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58051 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58052 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58054 * configure.in: Fix typo in redirection and correct removal of test
58055 files in two cases.
58058 * locale/setlocale.c (new_composite_name): Fix test to check for
58059 identical name of all categories.
58062 * libio/filedoalloc.c (local_isatty): New function.
58063 (_IO_file_doallocate): Use local_isatty.
58064 * stdio-common/perror.c (perror): In case a new stream is used
58065 forward the stream error.
58066 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58069 2011-05-20 Ulrich Drepper <drepper@gmail.com>
58072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58074 * include/alloca.h (extend_alloca_account): Define.
58077 * posix/regex.h: Fix comments with documentation of user-accessible
58078 fields after compilation and describe correct free'ing of pattern
58079 after re_compile_pattern.
58080 Patch by Reuben Thomas <rrt@sc3d.org>.
58082 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
58084 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58085 and -mno-altivec to prevent the compiler from using Altivec and/or
58086 VSX instructions when the corresponding registers are not available.
58088 2011-05-19 Andreas Schwab <schwab@redhat.com>
58090 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58092 2011-05-19 Ulrich Drepper <drepper@gmail.com>
58094 * libio/freopen.c (freopen): Use __dup2, not dup2.
58095 * libio/freopen64.c (freopen64): Likewise.
58097 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
58100 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58101 * math/Makefile (tests): Add test-powl.
58102 (CFLAGS-test-powl.c): Define.
58103 * math/test-powl.c: New file.
58105 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
58107 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58109 2011-05-17 Ulrich Drepper <drepper@gmail.com>
58112 * iconvdata/gb18030.c: Update to GB18020-2005.
58114 2011-05-16 Ulrich Drepper <drepper@gmail.com>
58116 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58117 RE_SYNTAX_POSIX_AWK): Update to match recent development.
58118 Patch by Aharon Robbins <arnold@skeeve.com>.
58121 * stdlib/putenv.c (putenv): Don't always create copy of the variable
58125 * misc/pselect.c (__pselect): Handle timeout value errors hidden
58126 through underflows.
58129 * misc/error.c (error_at_line): Ensure file_name and old_file_name
58130 point to strings before performing equality test for error_one_per_line
58134 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58137 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58138 (struct user_fpregs_struct): Avoid __uint*_t types.
58141 * malloc/mtrace.c (tr_where): Add additional parameter to point to
58142 symbol info. Use it instead of calling _dl_addr locally.
58143 (lock_and_info): New function.
58144 (tr_freehook): Call lock_and_info and pass symbol info as additional
58145 parameter to tr_where.
58146 (tr_mallochook): Likewise.
58147 (tr_reallochook): Likewise.
58148 (tr_memalignhook): Likewise.
58150 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
58151 used and couldn't be at all thread-safe.
58153 2011-05-15 Ulrich Drepper <drepper@gmail.com>
58155 * libio/freopen.c (freopen): Don't close old file descriptor
58156 before the new one is opened. Instead dup the new file descriptor
58157 to the old one after the new stream is created.
58158 * libio/freopen64.c (freopen64): Likewise.
58159 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58160 * libio/fileops.c (_IO_new_file_close_it): Handle new
58161 _IO_FLAGS2_NOCLOSE flag.
58162 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58163 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58164 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58165 _IO_FLAGS2_NOCLOSE flag.
58166 * include/unistd.h: Add hidden_proto for dup3.
58167 Define __have_dup3.
58168 * io/dup3.c: Define hidden symbol.
58169 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58172 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58173 when an incomplete long option is used.
58174 * posix/tst-getopt_long1.c: New file.
58175 * posix/Makefile (tests): Add tst-getopt_long1.
58178 * scripts/config.guess: Update from autoconf-2.68.
58179 * scripts/config.sub: Likewise.
58182 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58184 (has_cpuclock): ...this. New function.
58185 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58186 macro here based on has_cpuclock code.
58189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58190 First byte (not low byte) is now always NUL.
58191 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58193 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58194 Use non-cancelable interfaces.
58197 * locale/iso-639.def: Add entry for Sorani.
58200 * include/stdlib.h: Move include protection to the right place.
58201 Define abort_msg_s. Declare __abort_msg with it.
58202 * stdlib/abort.c (__abort_msg): Adjust type.
58203 * assert/assert.c (__assert_fail_base): New function. Majority
58204 of code from __assert_fail. Allocate memory for __abort_msg with
58206 (__assert_fail): Now call __assert_fail_base.
58207 * assert/assert-perr.c: Remove bulk of implementation. Use
58208 __assert_fail_base.
58209 * include/assert.hL Declare __assert_fail_base.
58210 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58212 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58214 2011-05-14 Ulrich Drepper <drepper@gmail.com>
58218 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58219 until all modules are registered in the DTV.
58220 * elf/Makefile: Add rules to build and run tst-tls19.
58221 * elf/tst-tls19.c: New file.
58222 * elf/tst-tls19mod1.c: New file.
58223 * elf/tst-tls19mod2.c: New file.
58224 * elf/tst-tls19mod3.c: New file.
58225 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58228 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58232 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58233 two-byte sequence errors.
58234 * iconvdata/Makefile (tests): Add bug-iconv8.
58235 * iconvdata/bug-iconv8.c: New file.
58238 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58241 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58244 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58245 (dummy_getcfa): New function.
58246 (init): Get _Unwind_GetCFA address, use dummy if not found.
58247 (backtrace_helper): In recursion check, also check whether CFA changes.
58248 (__backtrace): Completely initialize arg.
58250 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58251 storing incomplete byte sequence in state object. Avoid testing for
58252 guaranteed too small input if we know there is enough data available.
58254 2011-05-11 Andreas Schwab <schwab@redhat.com>
58256 * Makeconfig (+link-pie): Indent.
58257 * Rules (binaries-pie): Define if $(have-fpie) and
58259 (binaries-shared): Also filter out $(binaries-pie).
58260 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58261 * nscd/Makefile (others-pie): Add nscd.
58262 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58263 ($(objpfx)nscd): Remove command override.
58264 * login/Makefile (others-pie): Add pt_chown.
58265 ($(objpfx)pt_chown): Remove command override.
58266 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58267 remove command overrides.
58269 2011-05-13 Ulrich Drepper <drepper@gmail.com>
58271 * libio/tst_putwc.c: Fix error messages.
58274 * libio/fileops.c (_IO_new_file_close_it): Always flush when
58275 currently writing and seek to current position when not.
58276 * libio/Makefile (tests): Add bug-fclose1.
58277 * libio/bug-fclose1.c: New file.
58279 2011-05-12 Ulrich Drepper <drepper@gmail.com>
58282 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58283 don't set DF_1_NODELETE here.
58284 (do_lookup_x): When entering new entry test for copy relocation
58285 and if necessary set DF_1_NODELETE flag.
58286 * elf/tst-unique4.cc: New file.
58287 * elf/tst-unique4.h: New file.
58288 * elf/tst-unique4lib.cc: New file.
58289 * elf/Makefile: Add rules to build and run tst-unique4.
58290 Patch by Piotr Bury <pbury@goahead.com>.
58292 2011-05-11 Ulrich Drepper <drepper@gmail.com>
58295 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58298 * misc/mntent_r.c (addmntent): Flush the stream after the output
58301 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58302 (is_trusted_path_normalize): Skip initial colon. Append slash
58303 to empty buffer. Duplicate is_trusted_path code but allow
58304 constructed patch to be prefix.
58305 (is_dst): Allow $ORIGIN followed by /.
58306 (_dl_dst_substitute): Correct clearing of check_for_trusted.
58307 Correct testing of result of is_trusted_path_normalize
58308 (decompose_rpath): Fix warning.
58310 2011-05-10 Ulrich Drepper <drepper@gmail.com>
58313 * grp/initgroups.c (internal_getgrouplist): When we found the service
58314 list through the initgroups entry in nsswitch.conf do not always
58315 continue on a successful lookup. Don't always use the
58316 __nss_group_database value if it is set.
58317 * nss/nsswitch.conf (initgroups): Change action for successful db
58318 lookup to continue for compatibility.
58320 2011-05-09 Ulrich Drepper <drepper@gmail.com>
58323 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58325 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58327 * iconvdata/tst-tables.sh: Likewise.
58328 * iconvdata/cp770.c: New file.
58329 * iconvdata/cp771.c: New file.
58330 * iconvdata/cp772.c: New file.
58331 * iconvdata/cp773.c: New file.
58332 * iconvdata/cp774.c: New file.
58333 * iconvdata/testdata/CP770: New file.
58334 * iconvdata/testdata/CP770..UTF8: New file.
58335 * iconvdata/testdata/CP771: New file.
58336 * iconvdata/testdata/CP771..UTF8: New file.
58337 * iconvdata/testdata/CP772: New file.
58338 * iconvdata/testdata/CP772..UTF8: New file.
58339 * iconvdata/testdata/CP773: New file.
58340 * iconvdata/testdata/CP773..UTF8: New file.
58341 * iconvdata/testdata/CP774: New file.
58342 * iconvdata/testdata/CP774..UTF8: New file.
58344 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58346 * iconvdata/gen-8bit-gap.sh: Likewise.
58347 * iconvdata/gen-8bit.sh: Likewise.
58349 * locale/iso-639.def: Add ary entry.
58352 * locale/C-translit.h.in: Add U20A1 transliteration.
58355 * locale/iso-639.def: Add wae entry.
58356 Patch by Kevin Bortis <bortis@translate-wae.ch>.
58359 * locale/programs/localedef.c (construct_output_path): Use ssize_t
58363 * locale/C-translit.h.in: Add entry for U20B9.
58364 Patch by pravin.d.s@gmail.com.
58366 2011-05-08 Ulrich Drepper <drepper@gmail.com>
58369 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58370 ENAMETOOLONG use generic getcwd.
58371 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
58372 in rtld. Use *stat64.
58373 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58374 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58375 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58376 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58377 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58378 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58379 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58380 __fstatat64 macros.
58381 * include/dirent.h: Add libc_hidden_proto for rewinddir.
58382 * dirent/rewinddir.c: Add libc_hidden_def.
58383 * sysdeps/mach/hurd/rewinddir.c: Likewise.
58384 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
58386 * include/dirent.h (__alloc_dir): Add flags parameter.
58387 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58388 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58390 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
58391 from fdopendir if O_CLOEXEC is already set.
58393 2011-03-15 Alan Modra <amodra@gmail.com>
58395 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58396 l_tls_firstbyte_offset non-zero. Save padding offset in
58397 l_tls_firstbyte_offset for later use.
58398 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58399 freeing static tls block.
58401 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
58403 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58404 where #ifdef was intended. The intent is to prevent ARG_MAX from
58405 being defined by the kernel headers.
58407 2011-05-07 Ulrich Drepper <drepper@gmail.com>
58410 * resolv/resolv.h: Define RES_NOTLDQUERY.
58411 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58412 no-tld-query and set RES_NOTLDQUERY.
58413 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58414 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58415 modern BIND to search name as TLD unless forbidden.
58417 2011-05-07 Petr Baudis <pasky@suse.cz>
58418 Ulrich Drepper <drepper@gmail.com>
58421 * elf/dl-load.c (fillin_rpath): Move trusted path check...
58422 (is_trusted_path): ...to here.
58423 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58424 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58425 using is_trusted_path_normalize() in setuid scripts.
58427 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58429 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58430 __BEGIN/__END_DECLS.
58432 2011-05-06 Ulrich Drepper <drepper@gmail.com>
58434 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58435 NSS_STATUS_NOTFOUND if no record was found.
58437 2011-05-05 Andreas Schwab <schwab@redhat.com>
58439 * sunrpc/Makefile (headers): Add rpc/netdb.h.
58440 (headers-not-in-tirpc): Remove rpc/netdb.h
58441 * resolv/netdb.h: Revert last change.
58443 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58445 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58446 circular dependency between libgcc.a and libc.a.
58448 2011-05-05 Andreas Schwab <schwab@redhat.com>
58450 * resolv/netdb.h: Don't include <rpc/netdb.h>.
58451 * nis/Makefile: Don't install rpcsvc/*.
58452 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58453 instead of <rpc/types.h>.
58454 (MAXHOSTNAMELEN): Define.
58456 2011-05-03 Andreas Schwab <schwab@redhat.com>
58458 * elf/ldconfig.c (add_dir): Don't crash on empty path.
58460 2011-04-28 Maciej Babinski <mbabinski@google.com>
58463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58464 gethostbyname4_r when IPv6 results are possible.
58466 2011-05-02 Ulrich Drepper <drepper@gmail.com>
58469 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58470 _PC_PIPE_BUF handling.
58472 2011-04-30 Bruno Haible <bruno@clisp.org>
58475 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58476 * resolv/netdb.h (getnameinfo): Change type of flags parameter
58478 * inet/getnameinfo.c (getnameinfo): Likewise.
58480 2011-04-29 Ulrich Drepper <drepper@gmail.com>
58482 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58483 to groups setting in database lookup.
58484 * nss/nsswitch.conf: Add initgroups entry.
58486 2011-04-22 Ulrich Drepper <drepper@gmail.com>
58489 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58491 Patch by Eric Blake <eblake@redhat.com>.
58493 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
58495 * sunrpc/Makefile (need-export-routines): Add svc_run.
58496 (routines): Remove svc_run.
58497 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58498 * sunrpc/clnt_perr.c (clnt_perrno): Export.
58499 * sunrpc/svc_run.c (svc_run): Likewise.
58500 * sunrpc/svc_udp.c (svcudp_create): Likewise.
58502 2011-04-21 Ulrich Drepper <drepper@gmail.com>
58504 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58505 problem in reallocation in last patch.
58507 2011-04-20 Ulrich Drepper <drepper@gmail.com>
58509 * sunrpc/Makefile: Move inclusion of Rules.
58511 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58513 * nss/nss_files/files-initgroups.c: New file.
58514 * nss/Makefile (libnss_files-routines): Add files-initgroups.
58515 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58516 _nss_files_initgroups_dyn.
58518 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
58520 * elf/elf.h (R_ARM_IRELATIVE): Define.
58522 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58524 * po/ru.po: Update from translation team.
58526 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58528 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58531 2011-02-06 Mike Frysinger <vapier@gentoo.org>
58534 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58535 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58536 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58537 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58538 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58540 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
58542 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58544 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58545 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58546 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58548 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58551 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58553 * stdlib/bug-getcontext.c: New file.
58554 * stdlib/Makefile: Add rules to build and run bug-getcontext.
58556 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58558 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58559 instructions into .machine "z9-109".
58560 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58561 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58563 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58565 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58566 between environment variables and auxiliary vector.
58568 2011-04-16 Ulrich Drepper <drepper@gmail.com>
58570 * Makefile: Add rules to build linkobj/libc.so.
58571 * include/libc-symbols.h: Define libc_hidden_nolink.
58572 * include/rpc/auth.h: Mark functions which are to be hidden.
58573 * include/rpc/auth_des.h: Likewise.
58574 * include/rpc/auth_unix.h: Likewise.
58575 * include/rpc/clnt.h: Likewise.
58576 * include/rpc/des_crypt.h: Likewise.
58577 * include/rpc/key_prot.h: Likewise.
58578 * include/rpc/pmap_clnt.h: Likewise.
58579 * include/rpc/pmap_prot.h: Likewise.
58580 * include/rpc/pmap_rmt.h: Likewise.
58581 * include/rpc/rpc_msg.h: Likewise.
58582 * include/rpc/svc.h: Likewise.
58583 * include/rpc/svc_auth.h: Likewise.
58584 * include/rpc/xdr.h: Likewise.
58585 * nis/Makefile: Link all DSOs against linkobj/libc.so.
58586 * nss/Makefile: Likewise.
58587 * sunrpc/Makefile: Don't install headers. Build library with normal
58588 entry points. Don't build rpcinfo. Link RPC tests appropriately.
58589 * sunrpc/auth_des.c: Hide exported symbols by default, export some
58590 for the compat linking library. Remove use of INTDEF/INTUSE.
58591 * sunrpc/auth_none.c: Likewise.
58592 * sunrpc/auth_unix.c: Likewise.
58593 * sunrpc/authdes_prot.c: Likewise.
58594 * sunrpc/authuxprot.c: Likewise.
58595 * sunrpc/clnt_gen.c: Likewise.
58596 * sunrpc/clnt_perr.c: Likewise.
58597 * sunrpc/clnt_raw.c: Likewise.
58598 * sunrpc/clnt_simp.c: Likewise.
58599 * sunrpc/clnt_tcp.c: Likewise.
58600 * sunrpc/clnt_udp.c: Likewise.
58601 * sunrpc/clnt_unix.c: Likewise.
58602 * sunrpc/des_crypt.c: Likewise.
58603 * sunrpc/des_soft.c: Likewise.
58604 * sunrpc/get_myaddr.c: Likewise.
58605 * sunrpc/key_call.c: Likewise.
58606 * sunrpc/key_prot.c: Likewise.
58607 * sunrpc/netname.c: Likewise.
58608 * sunrpc/pm_getmaps.c: Likewise.
58609 * sunrpc/pm_getport.c: Likewise.
58610 * sunrpc/pmap_clnt.c: Likewise.
58611 * sunrpc/pmap_prot.c: Likewise.
58612 * sunrpc/pmap_prot2.c: Likewise.
58613 * sunrpc/pmap_rmt.c: Likewise.
58614 * sunrpc/publickey.c: Likewise.
58615 * sunrpc/rpc_cmsg.c: Likewise.
58616 * sunrpc/rpc_common.c: Likewise.
58617 * sunrpc/rpc_dtable.c: Likewise.
58618 * sunrpc/rpc_prot.c: Likewise.
58619 * sunrpc/rpc_thread.c: Likewise.
58620 * sunrpc/rtime.c: Likewise.
58621 * sunrpc/svc.c: Likewise.
58622 * sunrpc/svc_auth.c: Likewise.
58623 * sunrpc/svc_authux.c: Likewise.
58624 * sunrpc/svc_raw.c: Likewise.
58625 * sunrpc/svc_run.c: Likewise.
58626 * sunrpc/svc_simple.c: Likewise.
58627 * sunrpc/svc_tcp.c: Likewise.
58628 * sunrpc/svc_udp.c: Likewise.
58629 * sunrpc/svc_unix.c: Likewise.
58630 * sunrpc/svcauth_des.c: Likewise.
58631 * sunrpc/xcrypt.c: Likewise.
58632 * sunrpc/xdr.c: Likewise.
58633 * sunrpc/xdr_array.c: Likewise.
58634 * sunrpc/xdr_float.c: Likewise.
58635 * sunrpc/xdr_intXX_t.c: Likewise.
58636 * sunrpc/xdr_mem.c: Likewise.
58637 * sunrpc/xdr_rec.c: Likewise.
58638 * sunrpc/xdr_ref.c: Likewise.
58639 * sunrpc/xdr_sizeof.c: Likewise.
58640 * sunrpc/xdr_stdio.c: Likewise.
58642 2011-04-10 Ulrich Drepper <drepper@gmail.com>
58645 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58646 * sysdeps/ia64/dl-tls.h: Likewise.
58647 * sysdeps/powerpc/dl-tls.h: Likewise.
58648 * sysdeps/s390/dl-tls.h: Likewise.
58649 * sysdeps/sh/dl-tls.h: Likewise.
58650 * sysdeps/sparc/dl-tls.h: Likewise.
58651 * sysdeps/x86_64/dl-tls.h: Likewise.
58652 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58654 2011-03-14 Andreas Schwab <schwab@redhat.com>
58656 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58657 rpath element also skip the following colon.
58658 (expand_dynamic_string_token): Add is_path parameter and pass
58659 down to DL_DST_REQUIRED and _dl_dst_substitute.
58660 (decompose_rpath): Call expand_dynamic_string_token with
58661 non-zero is_path. Ignore empty rpaths.
58662 (_dl_map_object_from_fd): Call expand_dynamic_string_token
58665 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
58667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58670 2011-04-09 Ulrich Drepper <drepper@gmail.com>
58673 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58674 Patch by Filipe David Manana <fdmanana@apache.org>.
58676 2011-04-07 Andreas Schwab <schwab@redhat.com>
58678 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58679 Maintain aligned stack.
58680 (CHECK_RSP): Remove unused macro.
58682 2011-04-03 Ulrich Drepper <drepper@gmail.com>
58684 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58685 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58687 2011-04-02 Ulrich Drepper <drepper@gmail.com>
58689 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58691 * include/features.h: Mention __USE_XOPEN2K8 in comment.
58693 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
58696 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58697 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58698 * sysdeps/x86_64/memmove.c: New file.
58699 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58700 (memcpy): Renamed to ...
58701 (__new_memcpy): This.
58702 (memcpy): Provide GLIBC_2_14 memcpy.
58703 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58704 (memcpy): Provide GLIBC_2_2_5 memcpy.
58706 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58709 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58711 2011-03-30 Andreas Schwab <schwab@redhat.com>
58713 * misc/syncfs.c: New file.
58714 * misc/Makefile (routines): Add syncfs.
58715 * posix/unistd.h: Declare syncfs.
58716 * sysdeps/unix/syscalls.list: Add syncfs.
58718 2011-04-01 Andreas Schwab <schwab@redhat.com>
58720 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58722 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58723 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58724 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58725 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58727 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58728 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58730 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58732 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58733 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58734 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58735 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58736 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58738 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58740 * io/Makefile: Compile fallocate.c, fallocate64.c, and
58741 sync_file_range.c with -fexceptions.
58742 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58743 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58744 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58745 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58746 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58747 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58748 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58749 sync_file_range as cancellation point
58750 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
58751 now a wrapper around __call_sync_file_range with cancellation handling.
58752 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58753 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
58754 function name to __call_sync_file_range.
58755 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58756 Add call_sync_file_range.
58758 2011-04-01 Andreas Schwab <schwab@redhat.com>
58760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58763 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58765 * iconv/iconv.h: Fix typo in comment.
58766 * io/fcntl.h: Likewise.
58767 * libio/stdio.h: Likewise.
58768 * posix/spawn.h: Likewise.
58769 * posix/unistd.h: Likewise.
58770 * stdlib/stdlib.h: Likewise.
58771 * time/time.h: Likewise.
58772 * wcsmbs/wchar.h: Likewise.
58774 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58775 open_by_handle): Add.
58776 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58777 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
58778 Augment a few comments.
58779 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58781 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58783 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58784 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58787 * io/fcntl.h (AT_EMPTY_PATH): Define.
58789 2011-03-30 Ulrich Drepper <drepper@gmail.com>
58791 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58792 * sysdeps/unix/sysv/linux/bits/time.h: New file.
58793 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58795 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
58796 * Versions.def: Add GLIBC_2.14.
58797 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58800 2011-03-22 Ulrich Drepper <drepper@gmail.com>
58802 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58804 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58806 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
58809 * string/test-strncmp.c (do_page_test): New function.
58810 (check2): Likewise.
58811 (test_main): Call check2.
58812 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58814 2011-03-20 Ulrich Drepper <drepper@gmail.com>
58817 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58818 Handle cache information in CPU leaf 4.
58819 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58821 2011-03-18 Ulrich Drepper <drepper@gmail.com>
58824 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58825 character representation.
58826 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58828 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
58830 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58831 END(__isnan) to END(__isnanf) to match function entry point/label
58832 EALIGN(__isnanf,...).
58834 2011-03-10 Jakub Jelinek <jakub@redhat.com>
58836 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58838 2011-03-10 Ulrich Drepper <drepper@gmail.com>
58841 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58842 copy from the symbol referenced in the relocation to initialize the
58844 Patch by Piotr Bury <pbury@goahead.com>.
58845 * elf/Makefile: Add rules to build and tst-unique3.
58846 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58847 * elf/tst-unique3.cc: New file.
58848 * elf/tst-unique3.h: New file.
58849 * elf/tst-unique3lib.cc: New file.
58850 * elf/tst-unique3lib2.cc: New file.
58852 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58854 2011-03-10 Mike Frysinger <vapier@gentoo.org>
58856 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58857 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
58860 2011-03-06 Ulrich Drepper <drepper@gmail.com>
58862 * elf/dl-load.c (_dl_map_object): If we are looking for the first
58863 to-be-loaded object along a path to loader is ld.so.
58865 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58866 Ulrich Drepper <drepper@gmail.com>
58868 * sysdeps/x86_64/memset.S: After aligning destination, code
58869 branches to different locations depending on the value of
58870 misalignment, when multiarch is enabled. Fix this.
58872 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58874 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58875 Set _x86_64_preferred_memory_instruction for AMD processsors.
58876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58877 Set bit_Prefer_SSE_for_memop for AMD processors.
58879 2011-03-04 Ulrich Drepper <drepper@gmail.com>
58881 * libio/fmemopen.c (fmemopen): Optimize a bit.
58883 2011-03-03 Andreas Schwab <schwab@redhat.com>
58885 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58887 2011-03-03 Roland McGrath <roland@redhat.com>
58889 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58891 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
58893 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58894 __bzero_ultra1 instead of __memset_ultra1.
58896 2011-02-23 Andreas Schwab <schwab@redhat.com>
58897 Ulrich Drepper <drepper@gmail.com>
58900 * include/link.h (struct link_map): Add l_orig_initfini.
58901 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58902 returning unsuccessfully.
58903 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58904 close of a file loaded at startup, restore the original l_initfini
58906 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58907 list, store the pointer.
58908 * elf/Makefile ($(objpfx)noload-mem): New rule.
58909 (noload-ENV): Define.
58910 (tests): Add $(objpfx)noload-mem.
58911 * elf/noload.c: Include <memcheck.h>.
58912 (main): Call mtrace. Close all opened handles.
58914 2011-02-17 Andreas Schwab <schwab@redhat.com>
58917 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58918 dependencies are missing.
58920 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
58922 Fix __if_freereq crash: Unlike the generic version which uses free,
58924 * sysdeps/mach/hurd/ifreq.h: New file.
58926 2011-01-27 Petr Baudis <pasky@suse.cz>
58927 Ulrich Drepper <drepper@gmail.com>
58930 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58931 to extend_alloca().
58932 * stdio-common/bug23.c: New file.
58933 * stdio-common/Makefile (tests): Add bug23.
58935 2010-09-28 Andreas Schwab <schwab@redhat.com>
58936 Ulrich Drepper <drepper@gmail.com>
58939 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58940 before performing relro protection. At old place add assertion
58941 to make sure nothing changed.
58943 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
58944 Glauber de Oliveira Costa <glommer@gmail.com>
58946 * elf/elf.h: Add new ARM TLS relocs.
58948 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
58950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58951 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58953 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
58955 * sysdeps/wordsize-64/tst-writev.c: New file.
58957 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
58959 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58960 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58961 insns in _dl_start to prevent a TOC reference before relocs are
58964 2011-02-15 Ulrich Drepper <drepper@gmail.com>
58967 * Makeconfig: Remove RANLIB definition.
58968 * Makerules: Don't use RANLIB.
58969 * aclocal.m4: Remove ranlib test.
58970 * configure.in: No need to check for ranlib.
58971 * elf/rtld-Rules: Don't use RANLIB.
58973 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
58975 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58977 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58978 inclusion protection macro.
58980 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58981 SIGRTMIN and SIGRTMAX and print information in that case only when
58982 SIGRTMIN is defined.
58984 2011-02-11 Jakub Jelinek <jakub@redhat.com>
58986 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58987 arginfo fn returning -1.
58989 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58990 and thousands string is zero terminated.
58992 2011-02-03 Andreas Schwab <schwab@redhat.com>
58994 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58995 sysdeps/unix/sysv/linux/bits/socket.h.
58997 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
58999 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59000 (__CPU_COUNT): Remove old macros.
59001 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59002 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59003 (__CPU_ALLOC, __CPU_FREE): Add macros.
59004 (__sched_cpualloc, __sched_cpufree): Add declarations.
59006 2011-02-05 Ulrich Drepper <drepper@gmail.com>
59008 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59009 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59010 * nscd/aicache.c (addhstaiX): Return timeout of added value.
59011 (readdhstai): Return value of addhstaiX call.
59012 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59013 (addgrbyX): Return value returned by cache_addgr.
59014 (readdgrbyname): Return value returned by addgrbyX.
59015 (readdgrbygid): Likewise.
59016 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59017 (addpwbyX): Return value returned by cache_addpw.
59018 (readdpwbyname): Return value returned by addhstbyX.
59019 (readdpwbyuid): Likewise.
59020 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59021 (addservbyX): Return value returned by cache_addserv.
59022 (readdservbyname): Return value returned by addservbyX:
59023 (readdservbyport): Likewise.
59024 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59025 (addhstbyX): Return value returned by cache_addhst.
59026 (readdhstbyname): Return value returned by addhstbyX.
59027 (readdhstbyaddr): Likewise.
59028 (readdhstbynamev6): Likewise.
59029 (readdhstbyaddrv6): Likewise.
59030 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59031 (readdinitgroups): Return value returned by addinitgroupsX.
59032 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59033 (prune_cache): Keep track of timeout value of re-added entries.
59034 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59035 * nscd/nscd.h: Adjust prototypes of readd* functions.
59037 2011-02-04 Roland McGrath <roland@redhat.com>
59039 * nis/nis_server.c (nis_servstate): Use the right name for 0.
59040 (nis_stats): Likewise.
59041 * nis/nis_modify.c (nis_modify): Likewise.
59042 * nis/nis_remove.c (nis_remove): Likewise.
59043 * nis/nis_add.c (nis_add): Likewise.
59045 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59047 * posix/fnmatch_loop.c: Add some consts.
59049 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59051 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
59054 * config.make.in (config-cflags-novzeroupper): Define.
59055 * configure.in: Substitute libc_cv_cc_novzeroupper.
59056 * elf/Makefile (AVX-CFLAGS): Define.
59057 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59058 (CFLAGS-tst-auditmod4a.c): Likewise.
59059 (CFLAGS-tst-auditmod4b.c): Likewise.
59060 (CFLAGS-tst-auditmod6b.c): Likewise.
59061 (CFLAGS-tst-auditmod6c.c): Likewise.
59062 (CFLAGS-tst-auditmod7b.c): Likewise.
59063 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59065 2011-02-02 Ulrich Drepper <drepper@gmail.com>
59067 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59068 function to the callback.
59069 Patch partly by Jiri Olsa <jolsa@redhat.com>.
59071 2011-02-02 Andreas Schwab <schwab@redhat.com>
59073 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59076 2011-01-19 Ulrich Drepper <drepper@gmail.com>
59079 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59081 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59083 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59086 * elf/Makefile: Add rules to build and run new test.
59087 * elf/tst-initorder.c: New file.
59088 * elf/tst-initorder.exp: New file.
59089 * elf/tst-initordera1.c: New file.
59090 * elf/tst-initordera2.c: New file.
59091 * elf/tst-initordera3.c: New file.
59092 * elf/tst-initordera4.c: New file.
59093 * elf/tst-initorderb1.c: New file.
59094 * elf/tst-initorderb2.c: New file.
59095 * elf/tst-order-a1.c: New file.
59096 * elf/tst-order-a2.c: New file.
59097 * elf/tst-order-a3.c: New file.
59098 * elf/tst-order-a4.c: New file.
59099 * elf/tst-order-b1.c: New file.
59100 * elf/tst-order-b2.c: New file.
59101 * elf/tst-order-main.c: New file.
59102 New test case by George Gensure <werkt0@gmail.com>.
59104 2010-10-01 Andreas Schwab <schwab@redhat.com>
59106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59107 decoding ACE if AI_CANONIDN.
59109 2011-01-18 Ulrich Drepper <drepper@gmail.com>
59111 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59113 2011-01-17 Ulrich Drepper <drepper@gmail.com>
59115 * version.h (RELEASE): Bump for 2.13 release.
59116 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59118 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59120 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59122 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59123 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59124 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59126 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59127 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59129 * posix/getconf.c: Update copyright year.
59130 * catgets/gencat.c: Likewise.
59131 * csu/version.c: Likewise.
59132 * debug/catchsegv.sh: Likewise.
59133 * debug/xtrace.sh: Likewise.
59134 * elf/ldconfig.c: Likewise.
59135 * elf/ldd.bash.in: Likewise.
59136 * elf/sprof.c (print_version): Likewise.
59137 * iconv/iconv_prog.c: Likewise.
59138 * iconv/iconvconfig.c: Likewise.
59139 * locale/programs/locale.c: Likewise.
59140 * locale/programs/localedef.c: Likewise.
59141 * malloc/memusage.sh: Likewise.
59142 * malloc/mtrace.pl: Likewise.
59143 * nscd/nscd.c (print_version): Likewise.
59144 * nss/getent.c: Likewise.
59146 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59147 PF_CAIF, and PF_ALG.
59148 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59150 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
59152 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59153 (modules-names): Use them.
59154 (ifunc-test-modules, ifunc-pie-tests): Define.
59155 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59156 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59157 (test-extras): Likewise.
59158 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59159 $(compile-command.c).
59160 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59161 (all-built-dso): Define.
59162 (check-textrel.out, check-execstack.out): Depend on it.
59164 * configure.in: Don't override --enable-multi-arch.
59166 2011-01-15 Ulrich Drepper <drepper@gmail.com>
59169 * nscd/hstcache.c (tryagain): Define.
59170 (cache_addhst): Return tryagain not notfound for temporary errors.
59171 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59174 2011-01-14 Ulrich Drepper <drepper@gmail.com>
59177 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59178 to make the syscall.
59179 * sysdeps/unix/sysv/linux/setgroups.c: New file.
59182 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59183 and fall back to matching as normal character if the string ends before
59184 the matching ']' is found. This is what POSIX requires.
59185 * posix/testfnm.c: Adjust test result.
59186 * posix/globtest.sh: Adjust test result. Add new test.
59187 * posix/tst-fnmatch.input: Likewise.
59188 * posix/tst-fnmatch2.c: Add new test.
59190 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
59192 * elf/Makefile (check-execstack): Revert last change. Depend on
59194 (check-execstack.h): New target.
59195 (generated): Add check-execstack.h.
59196 * elf/check-execstack.c: Include "check-execstack.h".
59197 (main): Revert last change.
59198 (handle_file): Return zero if GNU_STACK is absent and
59199 DEFAULT_STACK_PERMS doesn't include PF_X.
59201 2011-01-13 Ulrich Drepper <drepper@gmail.com>
59203 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59204 in child fails because the descriptor is already closed.
59205 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59206 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59207 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59210 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59214 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59215 temporary buffer used to handle multi lookups locally.
59216 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59218 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59220 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59223 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
59225 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59226 alignment for SSE2.
59228 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59231 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59232 characters. When rounding increased number of integer digits recompute
59234 * stdio-common/tst-grouping.c: New file.
59235 * stdio-common/Makefile: Add rules to build and run tst-grouping.
59237 2011-01-09 Ulrich Drepper <drepper@gmail.com>
59239 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59240 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
59242 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59244 * bits/select.h: Likewise.
59246 2011-01-08 Ulrich Drepper <drepper@gmail.com>
59248 * po/ja.po: Update from translation team.
59250 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
59253 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59254 implementation just like for lxstat, fxstatat, et al.
59256 2010-12-27 Jim Meyering <meyering@redhat.com>
59259 * posix/regexec.c (build_trtable): Return failure indication upon
59260 calloc failure. Otherwise, re_search_internal could infloop on OOM.
59262 2010-12-25 Ulrich Drepper <drepper@gmail.com>
59265 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59266 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59267 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59268 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59271 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59274 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59275 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59277 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
59279 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59280 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59281 script has SORT_BY_INIT_PRIORITY.
59282 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59283 NO_CTORS_DTORS_SECTIONS is defined.
59284 * elf/soinit.c: Likewise.
59285 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59286 NO_CTORS_DTORS_SECTIONS is defined.
59287 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59288 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59289 * sysdeps/sh/init-first.c: Likewise.
59290 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59292 2010-12-24 Ulrich Drepper <drepper@gmail.com>
59294 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59295 always use the slow path.
59297 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
59299 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59300 similar rule which adds the sysdep directories to the header search in
59301 order to pick up the correct platform stackinfo.h.
59302 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59303 perform test if it is, otherwise return successfully without testing.
59304 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59305 DEFAULT_STACK_PERMS define in stackinfo.h.
59306 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59307 defined in stackinfo.h.
59308 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59309 DEFAULT_STACK_PERMS defined in stackinfo.h.
59310 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59311 * sysdeps/ia64/stackinfo.h: Likewise.
59312 * sysdeps/s390/stackinfo.h: Likewise.
59313 * sysdeps/sh/stackinfo.h: Likewise.
59314 * sysdeps/sparc/stackinfo.h: Likewise.
59315 * sysdeps/x86_64/stackinfo.h: Likewise.
59316 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59317 PF_X for powerpc64. Retain PF_X for powerpc32.
59319 2010-12-19 Ulrich Drepper <drepper@gmail.com>
59321 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59323 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59324 GETDENTS_64BIT_ALIGNED.
59326 2010-12-14 Ulrich Drepper <dreper@gmail.com>
59328 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59330 2010-12-10 Andreas Schwab <schwab@redhat.com>
59332 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59335 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59336 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59338 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59339 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59341 2010-12-09 Ulrich Drepper <drepper@gmail.com>
59344 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59347 2010-12-09 Jakub Jelinek <jakub@redhat.com>
59349 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59351 2010-12-03 Ulrich Drepper <drepper@gmail.com>
59353 * po/it.po: Update from translation team.
59355 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
59357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59360 2010-11-30 Ulrich Drepper <drepper@gmail.com>
59362 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59364 2010-11-24 Andreas Schwab <schwab@redhat.com>
59366 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59368 (gaih_getanswer_slice): Likewise.
59370 2010-10-20 Jakub Jelinek <jakub@redhat.com>
59372 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59374 2010-05-31 Petr Baudis <pasky@suse.cz>
59377 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59378 silently even in the chroot mode.
59380 2010-11-22 Ulrich Drepper <drepper@gmail.com>
59382 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59383 last patch a bit. Pretty printing
59385 2010-05-31 Petr Baudis <pasky@suse.cz>
59388 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59389 initialization of skip_initgroups_dyn.
59391 2010-11-19 Ulrich Drepper <drepper@gmail.com>
59393 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59394 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59396 2010-11-16 Ulrich Drepper <drepper@gmail.com>
59398 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59400 2010-11-11 Andreas Schwab <schwab@redhat.com>
59402 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59403 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59404 (tst-fnmatch-ENV): Set MALLOC_TRACE.
59405 ($(objpfx)tst-fnmatch-mem): New rule.
59406 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59407 * posix/tst-fnmatch.c (main): Call mtrace.
59409 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
59411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59412 Support Intel processor model 6 and model 0x2c.
59414 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
59416 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59419 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
59422 * string/test-strncasecmp.c (check_result): New function.
59423 (do_one_test): Use it.
59424 (check1): New function.
59425 (test_main): Use it.
59426 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59427 Support strcasecmp and strncasecmp.
59429 2010-11-08 Ulrich Drepper <drepper@gmail.com>
59432 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59433 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59435 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
59437 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59441 * sysdeps/x86_64/multiarch/bzero.S: New file.
59442 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59443 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59444 * sysdeps/x86_64/multiarch/memset.S: New file.
59445 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59447 Set bit_Prefer_SSE_for_memop for Intel processors.
59448 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59450 (index_Prefer_SSE_for_memop): Define.
59451 (HAS_PREFER_SSE_FOR_MEMOP): Define.
59453 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
59455 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59456 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59458 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
59461 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59462 (__x86_64_raw_data_cache_size_half): Likewise.
59463 (__x86_64_raw_shared_cache_size): Likewise.
59464 (__x86_64_raw_shared_cache_size_half): Likewise.
59466 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59467 (__x86_64_raw_data_cache_size_half): Likewise.
59468 (__x86_64_raw_shared_cache_size): Likewise.
59469 (__x86_64_raw_shared_cache_size_half): Likewise.
59470 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59471 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59472 and __x86_64_raw_shared_cache_size_half. Round
59473 __x86_64_data_cache_size_half, __x86_64_data_cache_size
59474 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59475 to multiple of 256 bytes.
59477 2010-11-03 Ulrich Drepper <drepper@gmail.com>
59480 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59481 of inacessible symlinks. Verify result of symlink before returning it.
59482 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59483 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59485 2010-10-28 Erich Ritz <erichritz@gmail.com>
59487 * math/math.h (isinf): Fix typo in comment.
59489 2010-11-01 Ulrich Drepper <drepper@gmail.com>
59491 * po/da.po: Update from translation team.
59493 2010-10-26 Ulrich Drepper <drepper@gmail.com>
59495 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59496 is added to the list.
59498 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59499 Ulrich Drepper <drepper@gmail.com>
59501 * elf/dl-object.c (_dl_new_object): Don't append the new object to
59502 the global list here. Move code to...
59503 (_dl_add_to_namespace_list): ...here. New function.
59504 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59505 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59506 * elf/dl-load.c (lose): Don't remove the element from the list.
59507 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59508 (_dl_map_object): Likewise.
59510 2010-10-25 Ulrich Drepper <drepper@gmail.com>
59513 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59514 into all bytes of SSE register.
59515 Patch by Richard Li <richardpku@gmail.com>.
59517 2010-10-24 Ulrich Drepper <drepper@gmail.com>
59520 * malloc/malloc.c (_int_free): Fill correct number of bytes when
59523 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
59525 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59526 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59527 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59528 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59533 2010-10-22 Andreas Schwab <schwab@redhat.com>
59535 * include/dlfcn.h (__RTLD_SECURE): Define.
59536 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
59537 mode & __RTLD_SECURE instead.
59538 (open_path): Rename preloaded parameter to secure.
59539 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59540 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59541 * elf/dl-deps.c (openaux): Likewise.
59542 * elf/rtld.c (struct map_args): Remove is_preloaded.
59543 (map_doit): Don't use it.
59544 (dl_main): Likewise.
59545 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59546 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59548 2010-09-09 Andreas Schwab <schwab@redhat.com>
59550 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59551 (sysd-rules-targets): Remove duplicates.
59552 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59553 rtld-%.$o dependency.
59555 2010-10-18 Andreas Schwab <schwab@redhat.com>
59557 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59558 _dl_map_object do it.
59560 2010-10-19 Ulrich Drepper <drepper@gmail.com>
59562 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59563 fast fma builtins, define the macros in the C99 standard.
59564 (FP_FAST_FMAF): Likewise.
59565 (FP_FAST_FMAL): Likewise.
59566 * sysdeps/x86_64/bits/mathdef.h: Likewise.
59568 * bits/mathdef.h: Update copyright year.
59569 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59571 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
59573 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59574 builtins, define the macros in the C99 standard.
59575 (FP_FAST_FMAF): Likewise.
59576 (FP_FAST_FMAL): Likewise.
59577 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59579 (FP_FAST_FMAF): Likewise.
59581 2010-10-15 Jakub Jelinek <jakub@redhat.com>
59584 * math/libm-test.inc (fma_test): Some new testcases.
59585 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59586 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59587 y and infinite z. Do multiplication by C already in long double.
59588 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59590 y and infinite z. Do bitwise or of inexact bit into u.d.
59591 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59592 * sysdeps/i386/fpu/s_fmaf.S: Removed.
59593 * sysdeps/i386/fpu/s_fma.S: Removed.
59594 * sysdeps/i386/fpu/s_fmal.S: Removed.
59596 2010-10-16 Jakub Jelinek <jakub@redhat.com>
59599 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59601 computation is not scheduled after fetestexcept. Fix value
59602 of minimum denormal long double.
59604 2010-10-14 Jakub Jelinek <jakub@redhat.com>
59607 * math/libm-test.inc (fma_test): Add some more tests.
59608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59611 2010-10-15 Andreas Schwab <schwab@redhat.com>
59613 * scripts/data/localplt-s390-linux-gnu.data: New file.
59614 * scripts/data/localplt-s390x-linux-gnu.data: New file.
59616 2010-10-13 Jakub Jelinek <jakub@redhat.com>
59619 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59620 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59622 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59624 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59626 if one of x and y is very large and the other is subnormal.
59627 * sysdeps/s390/fpu/s_fmaf.c: New file.
59628 * sysdeps/s390/fpu/s_fma.c: New file.
59629 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59630 * sysdeps/powerpc/fpu/s_fma.S: New file.
59631 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59632 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59633 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59635 2010-10-12 Jakub Jelinek <jakub@redhat.com>
59638 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59640 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59641 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59642 * sysdeps/i386/i686/multiarch/s_fma.c: Include
59643 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59644 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59645 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59646 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59648 2010-10-12 Ulrich Drepper <drepper@redhat.com>
59651 * posix/regcomp.c (parse_branch): One more memory leak plugged.
59652 * posix/bug-regex31.input: Add test case.
59654 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59656 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59657 * posix/bug-regex31.input: New file.
59660 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59661 (parse_sub_exp): Fix last change, use postorder.
59663 * posix/bug-regex31.c: New file.
59664 * posix/Makefile: Add rules to build and run bug-regex31.
59666 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59669 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59672 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59673 to have entries in sys_siglist.
59676 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59679 2010-10-07 Jakub Jelinek <jakub@redhat.com>
59682 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59683 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59684 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59685 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59686 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59687 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59688 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59689 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59690 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59691 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59692 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59693 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59694 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59695 * math/ftestexcept.c (fetestexcept): Likewise.
59696 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59697 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59698 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59699 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59700 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59701 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59702 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59704 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59707 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59710 2010-10-06 Ulrich Drepper <drepper@gmail.com>
59712 * string/bug-strstr1.c: New file.
59713 * string/Makefile: Add rules to build and run bug-strstr1.
59715 2010-10-05 Eric Blake <eblake@redhat.com>
59718 * string/str-two-way.h (two_way_long_needle): Always clear memory
59719 when skipping input due to the shift table.
59721 2010-10-03 Ulrich Drepper <drepper@gmail.com>
59724 * malloc/mcheck.c: Handle large requests.
59727 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59728 for strncmp and strncasecmp.
59729 * string/stratcliff.c: Add tests for strcmp and strncmp.
59730 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59732 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
59734 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59737 2010-09-30 Andreas Jaeger <aj@suse.de>
59739 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59740 (CGROUP_SUPER_MAGIC): Define.
59741 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59742 Handle btrfs and cgroup file systems.
59743 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59746 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
59748 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59749 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59751 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59754 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59755 trying to locate the ELF header.
59757 2010-09-27 Andreas Schwab <schwab@redhat.com>
59760 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59761 Mask out sign-bit copies when constructing f_fsid.
59763 2010-09-24 Petr Baudis <pasky@suse.cz>
59765 * debug/stack_chk_fail_local.c: Add missing licence exception.
59766 * debug/warning-nop.c: Likewise.
59768 2010-09-15 Joseph Myers <joseph@codesourcery.com>
59770 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59771 implementing getdents64 using getdents syscall, set d_type if
59772 __ASSUME_GETDENTS32_D_TYPE.
59774 2010-09-16 Andreas Schwab <schwab@redhat.com>
59776 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59777 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59779 2010-09-21 Ulrich Drepper <drepper@redhat.com>
59782 * posix/unistd.h: Undo change of feature selection for ftruncate from
59785 2010-09-20 Ulrich Drepper <drepper@redhat.com>
59787 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59790 2010-09-20 Andreas Schwab <schwab@redhat.com>
59792 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59794 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59796 2010-09-14 Andreas Schwab <schwab@redhat.com>
59798 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59799 variables after CHECK_SP call.
59800 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59802 2010-09-13 Andreas Schwab <schwab@redhat.com>
59803 Ulrich Drepper <drepper@redhat.com>
59805 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59806 re-relocationg ld.so.
59807 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59808 _dl_init_paths call.
59809 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
59812 2010-09-14 Ulrich Drepper <drepper@redhat.com>
59814 * resolv/res_init.c (__res_vinit): Count the default server we added.
59816 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
59817 Ulrich Drepper <drepper@redhat.com>
59820 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59821 (____longjmp_chk): Use %ebx for saving value across system call.
59824 2010-09-06 Andreas Schwab <schwab@redhat.com>
59826 * manual/Makefile: Don't mix pattern rules with normal rules.
59828 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
59830 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59832 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59833 * libio/iofopncook.c (_IO_cookie_init): Likewise.
59834 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59835 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59836 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59839 2010-09-04 Ulrich Drepper <drepper@redhat.com>
59842 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59843 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59845 2010-09-02 Ulrich Drepper <drepper@redhat.com>
59847 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59848 * sysdeps/x86_64/addmul_1.S: Likewise.
59849 * sysdeps/x86_64/lshift.S: Likewise.
59850 * sysdeps/x86_64/mul_1.S: Likewise.
59851 * sysdeps/x86_64/rshift.S: Likewise.
59852 * sysdeps/x86_64/sub_n.S: Likewise.
59853 * sysdeps/x86_64/submul_1.S: Likewise.
59855 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
59857 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59858 Define __sched_param instead of SCHED_* and sched_param when
59859 <bits/sched.h> is included with __need_schedparam defined.
59860 * bits/sched.h [__need_schedparam]
59861 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59862 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59863 (__defined_schedparam): Define to 1.
59864 (__sched_param): New structure, identical to sched_param.
59865 (__need_schedparam): Undefine.
59867 2010-08-31 Mike Frysinger <vapier@gentoo.org>
59869 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59870 (epoll_create1): Declare.
59872 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59874 2010-08-31 Andreas Schwab <schwab@redhat.com>
59877 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59878 shifting retval into place.
59880 2010-09-01 Ulrich Drepper <drepper@redhat.com>
59882 * nis/rpcsvc/nis.h: Update copyright notice.
59883 * nis/rpcsvc/nis.x: Likewise.
59884 * nis/rpcsvc/nis_callback.h: Likewise.
59885 * nis/rpcsvc/nis_callback.x: Likewise.
59886 * nis/rpcsvc/nis_object.x: Likewise.
59887 * nis/rpcsvc/nis_tags.h: Likewise.
59888 * nis/rpcsvc/yp.h: Likewise.
59889 * nis/rpcsvc/yp.x: Likewise.
59890 * nis/rpcsvc/ypupd.h: Likewise.
59891 * nis/yp_xdr.c: Likewise.
59892 * nis/ypupdate_xdr.c: Likewise.
59894 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
59895 mainly the body of pmap_getport. Add parameters to specify timeouts.
59896 (pmap_getport): Use __libc_rpc_getport.
59897 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59898 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59899 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59901 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
59903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59906 2010-08-27 Roland McGrath <roland@redhat.com>
59908 * sysdeps/i386/i686/multiarch/Makefile
59909 (CFLAGS-varshift.c): New variable.
59911 2010-08-27 Ulrich Drepper <drepper@redhat.com>
59913 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59914 * sysdeps/i386/i686/multiarch/varshift.c: New file.
59916 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59918 * sysdeps/x86_64/strlen.S: Minimal code improvement.
59920 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
59922 * sysdeps/x86_64/strlen.S: Unroll the loop.
59923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59924 strlen-sse2 strlen-sse2-bsf.
59925 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59926 __strlen_no_bsf if bit_Slow_BSF is set.
59927 (__strlen_sse42): Removed.
59928 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59929 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59931 2010-08-25 Roland McGrath <roland@redhat.com>
59933 * sysdeps/x86_64/multiarch/varshift.S: File removed.
59934 * sysdeps/x86_64/multiarch/varshift.c: New file.
59935 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59936 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59937 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59938 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59940 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
59942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59943 strlen-sse2 strlen-sse2-bsf.
59944 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59945 __strlen_sse2_bsf if bit_Slow_BSF is unset.
59946 (__strlen_sse2): Removed.
59947 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59948 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59950 bit_Slow_BSF for Atom.
59951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59952 (index_Slow_BSF): Define.
59953 (HAS_SLOW_BSF): Define.
59955 2010-08-25 Ulrich Drepper <drepper@redhat.com>
59958 * resolv/res_init.c (__res_vinit): When no server address at all
59959 is given default to loopback.
59961 2010-08-24 Roland McGrath <roland@redhat.com>
59963 * configure.in: Remove config-name.h generation.
59964 * configure: Regenerated.
59965 * config-name.in: File removed.
59966 * scripts/config-uname.sh: New file.
59967 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59968 ($(objdir)config-name.h): New target.
59970 * sunrpc/rpc_parse.h: Avoid nested comment.
59972 2010-08-24 Richard Henderson <rth@redhat.com>
59973 Ulrich Drepper <drepper@redhat.com>
59974 H.J. Lu <hongjiu.lu@intel.com>
59976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59978 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59979 Replace _mm_srli_si128 with __m128i_shift_right. Replace
59980 _mm_alignr_epi8 with _mm_loadu_si128.
59981 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59982 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59983 (__m128i_shift_right): Removed.
59984 * sysdeps/i386/i686/multiarch/varshift.h: New file.
59985 * sysdeps/i386/i686/multiarch/varshift.S: New file.
59986 * sysdeps/x86_64/multiarch/varshift.h: New file.
59987 * sysdeps/x86_64/multiarch/varshift.S: New file.
59989 2010-08-21 Mike Frysinger <vapier@gentoo.org>
59991 * configure.in: Move assembler checks to before sysdep dir checking.
59993 2010-08-20 Petr Baudis <pasky@suse.cz>
59995 * LICENSES: Sync the sunrpc license.
59997 2010-08-19 Ulrich Drepper <drepper@redhat.com>
59999 * sunrpc/auth_des.c: Update copyright notice once again.
60000 * sunrpc/auth_none.c: Likewise.
60001 * sunrpc/auth_unix.c: Likewise.
60002 * sunrpc/authdes_prot.c: Likewise.
60003 * sunrpc/authuxprot.c: Likewise.
60004 * sunrpc/bindrsvprt.c: Likewise.
60005 * sunrpc/clnt_gen.c: Likewise.
60006 * sunrpc/clnt_perr.c: Likewise.
60007 * sunrpc/clnt_raw.c: Likewise.
60008 * sunrpc/clnt_simp.c: Likewise.
60009 * sunrpc/clnt_tcp.c: Likewise.
60010 * sunrpc/clnt_udp.c: Likewise.
60011 * sunrpc/clnt_unix.c: Likewise.
60012 * sunrpc/des_crypt.c: Likewise.
60013 * sunrpc/des_soft.c: Likewise.
60014 * sunrpc/get_myaddr.c: Likewise.
60015 * sunrpc/getrpcport.c: Likewise.
60016 * sunrpc/key_call.c: Likewise.
60017 * sunrpc/key_prot.c: Likewise.
60018 * sunrpc/openchild.c: Likewise.
60019 * sunrpc/pm_getmaps.c: Likewise.
60020 * sunrpc/pm_getport.c: Likewise.
60021 * sunrpc/pmap_clnt.c: Likewise.
60022 * sunrpc/pmap_prot.c: Likewise.
60023 * sunrpc/pmap_prot2.c: Likewise.
60024 * sunrpc/pmap_rmt.c: Likewise.
60025 * sunrpc/rpc/auth.h: Likewise.
60026 * sunrpc/rpc/auth_unix.h: Likewise.
60027 * sunrpc/rpc/clnt.h: Likewise.
60028 * sunrpc/rpc/des_crypt.h: Likewise.
60029 * sunrpc/rpc/key_prot.h: Likewise.
60030 * sunrpc/rpc/netdb.h: Likewise.
60031 * sunrpc/rpc/pmap_clnt.h: Likewise.
60032 * sunrpc/rpc/pmap_prot.h: Likewise.
60033 * sunrpc/rpc/pmap_rmt.h: Likewise.
60034 * sunrpc/rpc/rpc.h: Likewise.
60035 * sunrpc/rpc/rpc_des.h: Likewise.
60036 * sunrpc/rpc/rpc_msg.h: Likewise.
60037 * sunrpc/rpc/svc.h: Likewise.
60038 * sunrpc/rpc/svc_auth.h: Likewise.
60039 * sunrpc/rpc/types.h: Likewise.
60040 * sunrpc/rpc/xdr.h: Likewise.
60041 * sunrpc/rpc_clntout.c: Likewise.
60042 * sunrpc/rpc_cmsg.c: Likewise.
60043 * sunrpc/rpc_common.c: Likewise.
60044 * sunrpc/rpc_cout.c: Likewise.
60045 * sunrpc/rpc_dtable.c: Likewise.
60046 * sunrpc/rpc_hout.c: Likewise.
60047 * sunrpc/rpc_main.c: Likewise.
60048 * sunrpc/rpc_parse.c: Likewise.
60049 * sunrpc/rpc_parse.h: Likewise.
60050 * sunrpc/rpc_prot.c: Likewise.
60051 * sunrpc/rpc_sample.c: Likewise.
60052 * sunrpc/rpc_scan.c: Likewise.
60053 * sunrpc/rpc_scan.h: Likewise.
60054 * sunrpc/rpc_svcout.c: Likewise.
60055 * sunrpc/rpc_tblout.c: Likewise.
60056 * sunrpc/rpc_util.c: Likewise.
60057 * sunrpc/rpc_util.h: Likewise.
60058 * sunrpc/rpcinfo.c: Likewise.
60059 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60060 * sunrpc/rpcsvc/key_prot.x: Likewise.
60061 * sunrpc/rpcsvc/klm_prot.x: Likewise.
60062 * sunrpc/rpcsvc/mount.x: Likewise.
60063 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60064 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60065 * sunrpc/rpcsvc/rex.x: Likewise.
60066 * sunrpc/rpcsvc/rstat.x: Likewise.
60067 * sunrpc/rpcsvc/rusers.x: Likewise.
60068 * sunrpc/rpcsvc/sm_inter.x: Likewise.
60069 * sunrpc/rpcsvc/spray.x: Likewise.
60070 * sunrpc/rpcsvc/yppasswd.x: Likewise.
60071 * sunrpc/rtime.c: Likewise.
60072 * sunrpc/svc.c: Likewise.
60073 * sunrpc/svc_auth.c: Likewise.
60074 * sunrpc/svc_authux.c: Likewise.
60075 * sunrpc/svc_raw.c: Likewise.
60076 * sunrpc/svc_run.c: Likewise.
60077 * sunrpc/svc_simple.c: Likewise.
60078 * sunrpc/svc_tcp.c: Likewise.
60079 * sunrpc/svc_udp.c: Likewise.
60080 * sunrpc/svc_unix.c: Likewise.
60081 * sunrpc/svcauth_des.c: Likewise.
60082 * sunrpc/xcrypt.c: Likewise.
60083 * sunrpc/xdr.c: Likewise.
60084 * sunrpc/xdr_array.c: Likewise.
60085 * sunrpc/xdr_float.c: Likewise.
60086 * sunrpc/xdr_mem.c: Likewise.
60087 * sunrpc/xdr_rec.c: Likewise.
60088 * sunrpc/xdr_ref.c: Likewise.
60089 * sunrpc/xdr_sizeof.c: Likewise.
60090 * sunrpc/xdr_stdio.c: Likewise.
60092 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60095 2010-08-19 Andreas Schwab <schwab@redhat.com>
60097 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60099 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
60101 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60102 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60103 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60104 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60105 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60106 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60107 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60108 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60109 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60110 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60111 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60112 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60113 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60114 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60116 2010-07-26 Anton Blanchard <anton@samba.org>
60118 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60119 * malloc/arena.c (heap_trim): Likewise.
60121 2010-08-16 Ulrich Drepper <drepper@redhat.com>
60123 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60126 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60128 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
60130 * sysdeps/i386/elf/Makefile: New file.
60132 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60134 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60135 from fanotify_init.
60136 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60137 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60139 2010-08-15 Ulrich Drepper <drepper@redhat.com>
60141 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60143 * sysdeps/multiarch/strcmp.S: Likewise.
60145 2010-08-14 Ulrich Drepper <drepper@redhat.com>
60147 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60148 strncase_l-nonascii.
60149 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60150 Add strncase_l-ssse3.
60151 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60152 * sysdeps/x86_64/strcmp.S: Likewise.
60153 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60154 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60155 * sysdeps/x86_64/strncase.S: New file.
60156 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60157 * sysdeps/x86_64/strncase_l.S: New file.
60158 * string/Makefile (strop-tests): Add strncasecmp.
60159 * string/test-strncasecmp.c: New file.
60161 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60164 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60165 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60167 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60169 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60171 2010-08-12 Ulrich Drepper <drepper@redhat.com>
60173 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60174 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60175 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60177 2010-05-01 Alan Modra <amodra@gmail.com>
60179 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60180 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60181 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60182 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60183 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60184 tidying. Don't tail-call __sigjmp_save for static lib.
60185 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60187 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60188 (CALL_MCOUNT): Add eh info, and nop after bl.
60189 (TAIL_CALL_SYSCALL_ERROR): New macro.
60190 (PSEUDO_RET): Use it.
60191 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60192 Correct save location of integer regs and cr.
60193 (_dl_profile_resolve): Correct cr save location. Delete nops
60194 after bl when SHARED. Reduce cfi size a little by better
60195 placement of cfi directives.
60196 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60197 make a stack frame. Instead use parm save area as a temp.
60198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60199 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
60200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60201 Don't make a stack frame for parent, use parm save area.
60202 Increase child stack frame to 112 bytes. Don't save unused reg,
60203 and adjust reg usage. Set up cfi on error recovery and
60204 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60206 (__makecontext): Add dummy nop after jump to exit.
60207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60208 Use correct parm save area and cr save, reduce stack frame.
60209 Correct cfi for possible PSEUDO_RET frame setup.
60210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60211 Branch to local label emitted by PSEUDO_RET rather than
60214 2010-08-12 Andreas Schwab <schwab@redhat.com>
60217 * locale/programs/locale.c (print_assignment): New function.
60218 (show_locale_vars): Use it.
60220 2010-08-11 Ulrich Drepper <drepper@redhat.com>
60222 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60224 (struct statfs64): Likewise.
60225 (_STATFS_F_FLAGS): Define.
60226 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60227 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60228 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60229 (ST_VALID): Define locally.
60230 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60231 __statvfs_getflags, use the provided value.
60232 * sysdeps/unix/sysv/linux/kernel-features.h: Define
60233 __ASSUME_STATFS_F_FLAGS.
60235 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60237 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60238 Add sys/fanotify.h.
60239 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60240 fanotify_mask for GLIBC_2.13.
60241 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60242 fanotify_init and fanotify_mark.
60243 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60244 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60246 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60248 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60249 prlimit64 for GLIBC_2.13.
60250 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60252 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60255 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60256 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60257 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60258 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
60260 * sysdeps/unix/sysv/linux/prlimit.c: New file.
60263 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60264 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60266 * nss/Makefile: Add rules to build and run tst-nss-test1.
60267 * shlib-versions: Add entry for libnss_test1.
60268 * nss/nss_test1.c: New file.
60269 * nss/tst-nss-test1.c: New file.
60271 * nss/nsswitch.c (__nss_database_custom): Define new variable.
60272 (__nss_configure_lookup): Set appropriate entry in
60273 __nss_configure_lookup to true.
60274 * nss/nsswitch.h: Define enum with indeces of databases in
60275 databases and __nss_database_custom arrays. Declare
60276 __nss_database_custom.
60277 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60278 to avoid using nscd when custom rules are installed.
60279 * nss/getXXbyYY_r.c: Likewise.
60280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60282 * nss/nss_files/files-parse.c: Whitespace fixes.
60284 2010-08-09 Ulrich Drepper <drepper@redhat.com>
60287 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60288 * posix/fnmatch_loop.c: Likewise.
60290 2010-07-17 Andi Kleen <ak@linux.intel.com>
60292 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60293 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60294 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60295 * Versions.def [GLIBC_2.13]: Add.
60297 2010-08-06 Ulrich Drepper <drepper@redhat.com>
60299 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60300 Also fail if tpwd after pwuid call is NULL.
60302 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
60304 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60305 when converting to ms.
60307 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60309 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60310 EOPNOTSUPP errors with ENOTTY.
60311 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60312 EOPNOTSUPP errors with ENOTTY.
60314 2010-07-31 Ulrich Drepper <drepper@redhat.com>
60316 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60317 Add strcasecmp_l-ssse3.
60318 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60320 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60321 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60322 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60324 2010-07-30 Ulrich Drepper <drepper@redhat.com>
60326 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60328 * string/Makefile (strop-tests): Add strcasecmp.
60329 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60330 strcasecmp_l-nonascii.
60331 (gen-as-const-headers): Add locale-defines.sym.
60332 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60333 * sysdeps/x86_64/strcasecmp.S: New file.
60334 * sysdeps/x86_64/strcasecmp_l.S: New file.
60335 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60336 * sysdeps/x86_64/locale-defines.sym: New file.
60337 * string/test-strcasecmp.c: New file.
60339 * string/test-strcasestr.c: Test both ends of the range of characters.
60340 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60342 2010-07-29 Roland McGrath <roland@redhat.com>
60345 * manual/locale.texi (Yes-or-No Questions): Fix example code.
60347 2010-07-27 Ulrich Drepper <drepper@redhat.com>
60349 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60352 2010-07-27 Andreas Schwab <schwab@redhat.com>
60354 * manual/memory.texi (Malloc Tunable Parameters): Document
60357 2010-07-26 Roland McGrath <roland@redhat.com>
60360 * configure.in (-fgnu89-inline check): Set and substitute
60361 gnu89_inline, not libc_cv_gnu89_inline.
60362 * configure: Regenerated.
60363 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60365 2010-07-26 Ulrich Drepper <drepper@redhat.com>
60367 * string/test-strnlen.c: New file.
60368 * string/Makefile (strop-tests): Add strnlen.
60369 * string/tester.c (test_strnlen): Add a few more test cases.
60370 * string/tst-strlen.c: Better error reporting.
60372 * sysdeps/x86_64/strnlen.S: New file.
60374 2010-07-24 Ulrich Drepper <drepper@redhat.com>
60376 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60377 lower-latency instructions.
60379 2010-07-23 Ulrich Drepper <drepper@redhat.com>
60381 * string/test-strcasestr.c: New file.
60382 * string/test-strstr.c: New file.
60383 * string/Makefile (strop-tests): Add strstr and strcasestr.
60384 * string/str-two-way.h: Don't undefine MAX.
60385 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60387 2010-07-21 Andreas Schwab <schwab@redhat.com>
60389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60390 strcasestr-nonascii.
60391 (CFLAGS-strcasestr-nonascii.c): Define.
60392 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60393 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60394 Remove unused attribute.
60396 2010-07-20 Roland McGrath <roland@redhat.com>
60398 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60399 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
60400 ld.so.cache was broken. With it, there is no way to disable dsocaps
60401 like LD_HWCAP_MASK can disable hwcaps.
60403 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60405 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60407 2010-07-16 Ulrich Drepper <drepper@redhat.com>
60409 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60410 call in strcasestr.
60411 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60412 __strcasestr_sse42_nonascii.
60413 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60414 strcasestr-nonascii.c.
60415 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60417 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
60419 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60420 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60421 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60422 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60424 2010-07-09 Ulrich Drepper <drepper@redhat.com>
60426 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60429 2010-07-06 Andreas Schwab <schwab@redhat.com>
60432 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60435 2010-07-06 Ulrich Drepper <drepper@redhat.com>
60437 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60438 _PC_PIPE_BUF using F_GETPIPE_SZ.
60440 2010-07-05 Roland McGrath <roland@redhat.com>
60442 * manual/arith.texi (Rounding Functions): Fix rint description
60443 implicit in round description.
60445 2010-07-02 Ulrich Drepper <drepper@redhat.com>
60447 * elf/Makefile: Fix linking for a few tests to make recent linker
60450 2010-06-30 Andreas Schwab <schwab@redhat.com>
60452 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60453 $(common-objpfx)libc_nonshared.a.
60455 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
60457 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60458 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60459 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60460 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60461 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60462 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60463 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60464 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60479 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60480 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60481 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60482 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60483 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60484 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60485 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60486 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60487 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60488 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60489 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60490 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60506 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
60508 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60509 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
60510 * string/memmove.c (memmove): Renamed to ...
60511 (MEMMOVE): ...this. Default to memmove.
60512 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60513 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60516 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60517 mempcpy-ssse3-back memmove-ssse3-back.
60518 * sysdeps/x86_64/multiarch/bcopy.S: New file .
60519 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60520 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60521 * sysdeps/x86_64/multiarch/memcpy.S: New file.
60522 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60523 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60524 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60525 * sysdeps/x86_64/multiarch/memmove.c: New file.
60526 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60527 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60528 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60529 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60530 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60531 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60533 (index_Fast_Copy_Backward): Define.
60534 (HAS_ARCH_FEATURE): Define.
60535 (HAS_FAST_REP_STRING): Define.
60536 (HAS_FAST_COPY_BACKWARD): Define.
60538 2010-06-21 Andreas Schwab <schwab@redhat.com>
60540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60541 Restore proper fallback handling.
60543 2010-06-19 Ulrich Drepper <drepper@redhat.com>
60546 * posix/group_member.c (__group_member): Correct checking loop.
60548 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60549 OOM in getpwuid_r correctly. Return error number when the caller
60550 should return, otherwise -1.
60551 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60552 call returning > 0 value.
60553 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60555 2010-06-07 Andreas Schwab <schwab@redhat.com>
60557 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60558 libc_nonshared.a from targets in modules-names.
60560 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
60562 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60565 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
60567 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60568 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60569 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60570 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60572 2010-06-02 Andreas Schwab <schwab@redhat.com>
60574 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60576 2010-06-14 Ulrich Drepper <drepper@redhat.com>
60578 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60580 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60582 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60584 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60585 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60587 2010-06-14 Roland McGrath <roland@redhat.com>
60589 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60591 2010-06-07 Jakub Jelinek <jakub@redhat.com>
60593 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60594 __REDIRECT followed by __THROW.
60595 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60596 * posix/getopt.h (getopt): Likewise.
60598 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60600 * hurd/lookup-at.c (__file_name_lookup_at): Accept
60601 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
60602 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60604 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60605 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60607 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
60609 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60611 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
60614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60615 Properly check family and model.
60617 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
60619 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60621 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
60623 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60625 2010-05-21 Ulrich Drepper <drepper@redhat.com>
60627 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60630 2010-05-19 Andreas Schwab <schwab@redhat.com>
60632 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60635 2010-05-21 Andreas Schwab <schwab@redhat.com>
60637 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60638 and internal_recvmmsg.
60639 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60640 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60641 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60642 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60644 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60645 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60646 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60648 2010-05-20 Andreas Schwab <schwab@redhat.com>
60650 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60652 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
60654 POWER7 optimizations.
60655 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60656 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60658 2010-05-19 Ulrich Drepper <drepper@redhat.com>
60660 * version.h: Update for 2.13 development version.
60662 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
60664 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60665 exceptions. Return 0.
60667 2010-05-07 Roland McGrath <roland@redhat.com>
60669 * elf/ldconfig.c (main): Add a const.
60671 2010-05-06 Ulrich Drepper <drepper@redhat.com>
60673 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60674 (args_options): Add no-idn option.
60675 (ahosts_keys_int): Add idn_flags to ai_flags.
60676 (parse_option): Handle 'i' option to clear idn_flags.
60678 * malloc/malloc.c (_int_free): Possible race in the most recently
60679 added check. Only act on the data if no current modification
60682 See ChangeLog.17 for earlier changes.