1 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5 underflow exception for small results.
7 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
9 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed variable
12 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
13 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
14 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
15 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
17 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
20 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
21 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
22 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
23 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
24 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
25 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
26 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
27 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
29 2015-06-23 Joseph Myers <joseph@codesourcery.com>
33 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
34 (__sin): Force underflow exception for arguments with small
36 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
37 (__kernel_sinf): Force underflow exception for arguments with
39 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
40 (__kernel_sincosl): Force underflow exception for arguments with
42 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
43 (__kernel_sinl): Force underflow exception for arguments with
45 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
46 (__kernel_sincosl): Force underflow exception for arguments with
48 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
49 (__kernel_sinl): Force underflow exception for arguments with
51 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
52 (__kernel_sinl): Force underflow exception for arguments with
54 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
55 (__kernel_sinf): Force underflow exception for arguments with
57 * math/auto-libm-test-in: Add more tests of sin and sincos.
58 * math/auto-libm-test-out: Regenerated.
62 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
63 (__kernel_standard_l): Use feholdexcept and fesetenv around
64 conversion to double instead of special-casing overflow and
66 * math/libm-test.inc (fmod_test_data): Add more tests.
67 (remainder_test_data): Likewise.
68 (sqrt_test_data): Likewise.
70 2015-06-23 Torvald Riegel <triegel@redhat.com>
73 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
74 atomic_read_barrier, atomic_write_barrier): Define.
75 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
76 atomic_read_barrier, atomic_write_barrier): Define.
78 2015-06-23 Joseph Myers <joseph@codesourcery.com>
80 * math/Makefile [$(PERL) != no]
81 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
82 dependency on libm-test.stmp below the inclusion of Rules.
84 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
86 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
87 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
89 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
90 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
91 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
92 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
93 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
94 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
95 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
96 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
97 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
98 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
99 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
100 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
101 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
102 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
103 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
104 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
105 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
106 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
107 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
109 2015-06-23 Joseph Myers <joseph@codesourcery.com>
112 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
113 intermediate but not final result might underflow.
114 * math/s_csqrtf.c (__csqrtf): Likewise.
115 * math/s_csqrtl.c (__csqrtl): Likewise.
116 * math/auto-libm-test-in: Add more tests of csqrt.
117 * math/auto-libm-test-out: Regenerated.
118 * sysdeps/i386/fpu/libm-test-ulps: Update.
121 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
122 threshold on absolute value of exponent for which scaling is used.
123 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
124 * math/auto-libm-test-in: Add more tests of exp2.
125 * math/auto-libm-test-out: Regenerated.
127 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
130 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
131 when initializing interface list, based on the bug analysis
132 and the patch proposed by Eric Newton.
133 * resolv/tst-res_hconf_reorder.c: New test.
134 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
135 tst-res_hconf_reorder.
136 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
137 and $(shared-thread-library).
138 (tst-res_hconf_reorder-ENV): New variable.
140 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
143 2015-06-22 Joseph Myers <joseph@codesourcery.com>
146 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
147 (__expm1): Force underflow exception for arguments with small
149 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
150 (__expm1f): Force underflow exception for arguments with small
152 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
153 (__expm1): Force underflow exception for arguments with small
155 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
156 (__expm1f): Force underflow exception for arguments with small
158 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
159 Check for small arguments before calling __expm1.
160 * math/auto-libm-test-in: Do not mark underflow exceptions as
161 possibly missing for bug 16353.
162 * math/auto-libm-test-out: Regenerated.
164 2015-06-22 Andreas Schwab <schwab@suse.de>
167 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
170 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
172 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
174 * string/strcoll_l.c: Remove unused struct element idxnow.
176 2015-06-21 Joseph Myers <joseph@codesourcery.com>
179 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
180 underflow and return argument in case of subnormal argument.
181 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
183 * math/auto-libm-test-in: Add more tests of expm1.
184 * math/auto-libm-test-out: Regenerated.
187 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
188 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
190 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
191 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
193 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
194 mark underflow exceptions as possibly missing for bug 16361.
195 * math/auto-libm-test-out: Regenerated.
197 2015-06-19 Joseph Myers <joseph@codesourcery.com>
199 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
200 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
202 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
203 (test-xfail-XOPEN2K8/utmpx.h/conform).
205 * conform/conformtest.pl ($xerrors): New variable.
206 (note_error): New function.
207 (compiletest): New argument $xfail. Use not_error.
209 (top level): Handle xfail- lines. Update calls to compiletest and
210 runtest. Handle xfail- and optional- in headers listed with
212 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
214 (O_SEARCH): Likewise.
215 * conform/data/stropts.h-data (ioctl): Likewise.
216 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
217 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
218 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
219 (msghdr.msg_controllen): Likewise.
220 (cmsghdr.cmsg_len): Likewise.
221 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
222 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
224 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
225 (test-xfail-XPG4/stropts.h/conform): Likewise.
226 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
227 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
228 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
229 (test-xfail-UNIX98/stropts.h/conform): Likewise.
230 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
231 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
232 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
233 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
234 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
235 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
236 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
237 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
238 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
239 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
240 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
241 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
242 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
243 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
244 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
246 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
248 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
249 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
250 definitions for proper unfolding of __MATHDECL_VEC.
252 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
254 * benchtests/bench-strcoll.c:
256 (main): Remove unused variable res.
258 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
260 * timezone/Makefile (%/UTC %/Universal):
261 Generate test-result files for UTC and Universal.
263 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
265 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
267 2015-06-18 Joseph Myers <joseph@codesourcery.com>
270 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
271 for arguments with small absolute value.
272 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
273 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
274 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
275 (__asinh): Force underflow exception for arguments with small
277 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
278 (__asinhf): Force underflow exception for arguments with small
280 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
281 (__asinhl): Force underflow exception for arguments with small
283 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
284 (__asinhl): Force underflow exception for arguments with small
286 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
287 (__asinhl): Force underflow exception for arguments with small
289 * math/auto-libm-test-in: Do not mark underflow exceptions as
290 possibly missing for bug 16350.
291 * math/auto-libm-test-out: Regenerated.
293 * include/bits/ipc.h: Remove file.
294 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
296 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
297 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
298 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
299 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
300 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
301 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
302 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
303 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
304 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
306 * math/auto-libm-test-in: Remove spurious underflow allowance for
308 * math/auto-libm-test-out: Regenerated.
311 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
312 unconditional definition.
313 (MCAST_BLOCK_SOURCE): Likewise.
314 (MCAST_UNBLOCK_SOURCE): Likewise.
315 (MCAST_LEAVE_GROUP): Likewise.
316 (MCAST_JOIN_SOURCE_GROUP): Likewise.
317 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
318 (MCAST_MSFILTER): Likewise.
319 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
321 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
322 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
323 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
324 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
325 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
327 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
329 * NEWS: Mention addition of x86_64 vector sincosf.
330 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
331 * math/test-float-vlen4.h: Likewise.
332 * math/test-float-vlen8.h: Likewise.
333 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
334 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
335 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
336 * sysdeps/x86_64/fpu/Versions: New versions added.
337 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
338 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
339 Added build of SSE, AVX2 and AVX512 IFUNC versions.
340 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
341 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
342 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
343 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
344 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
345 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
346 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
347 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
348 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
349 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
350 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
351 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
352 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
353 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
354 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
355 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
356 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
357 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
358 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
359 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
360 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
362 * NEWS: Mention addition of x86_64 vector sincos.
363 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
364 * math/math.h (__MATHDECL_VEC): New macro.
365 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
366 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
367 declaration under condition.
368 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
369 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
370 TEST_VEC_LOOP change.
371 * math/test-double-vlen4.h: Likewise.
372 * math/test-double-vlen8.h: Likewise.
373 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
374 * math/test-float-vlen4.h: Likewise.
375 * math/test-float-vlen8.h: Likewise.
376 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
377 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
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):
382 Added build of SSE, AVX2 and AVX512 IFUNC versions.
383 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
384 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
385 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
386 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
387 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
388 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
389 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
390 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
391 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
392 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
393 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
394 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
395 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
396 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
397 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
398 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
399 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
400 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
401 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
402 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
403 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
405 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
406 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
407 redirections for powf.
408 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
409 * sysdeps/x86_64/fpu/Versions: New versions added.
410 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
411 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
412 Added build of SSE, AVX2 and AVX512 IFUNC versions.
413 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
414 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
415 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
416 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
417 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
418 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
419 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
420 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
421 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
422 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
423 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
424 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
425 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
426 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
427 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
428 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
429 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
430 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
431 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
432 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
433 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
434 * math/test-float-vlen16.h: Fixed 2 argument macro.
435 * math/test-float-vlen4.h: Likewise.
436 * math/test-float-vlen8.h: Likewise.
437 * NEWS: Mention addition of x86_64 vector powf.
439 2015-06-17 Joseph Myers <joseph@codesourcery.com>
441 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
443 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
445 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
446 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
447 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
450 * resource/getpriority.c (getpriority): Rename to __getpriority
451 and define as weak alias of __getpriority.
452 * resource/setpriority.c (setpriority): Rename to __setpriority
453 and define as weak alias of __setpriority.
454 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
455 __getpriority and define as weak alias of __getpriority.
456 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
457 __setpriority and define as weak alias of __setpriority.
458 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
460 (setpriority): Use __setpriority as strong name.
461 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
462 __getpriority and define as weak alias of __getpriority.
463 * include/sys/resource.h (__getpriority): Declare. Use
465 (__setpriority): Likewise.
466 (getpriority): Don't use libc_hidden_proto.
467 (setpriority): Likewise.
468 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
469 getpriority. Call __setpriority instead of setpriority.
470 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
474 * misc/getttyent.c (getttynam): Rename to __getttynam and define
475 as weak alias of __getttynam. Use prototype function definition.
476 Call __setttyent, __getttyent and __endttyent instead of
477 setttyent, getttyent and endttyent.
478 (getttyent): Rename to __getttyent and define as weak alias of
479 __getttyent. Call __setttyent instead of setttyent. Call
480 __fgets_unlocked instead of fgets_unlocked.
481 (setttyent): Rename to __setttyent and define as weak alias of
483 (endttyent): Rename to __endttyent and define as weak alias of
485 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
486 (__setttyent): Likewise.
487 (__endttyent): Likewise.
488 (getttyent): Don't use libc_hidden_proto.
489 (setttyent): Likewise.
490 (endttyent): Likewise.
491 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
492 __endttyent instead of setttyent, getttyent and endttyent.
493 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
497 * socket/recv.c (__recv): Use libc_hidden_def.
498 * socket/socket.c (__socket): Likewise.
499 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
500 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
501 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
502 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
503 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
505 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
507 * include/sys/socket.h (__socket): Do not use attribute_hidden.
508 Use libc_hidden_proto.
510 * socket/Versions (libc): Export __recv and __socket at version
512 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
514 (init_mq_netlink): Call __socket instead of socket.
515 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
519 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
520 __mq_timedreceive and define as alias of __mq_timedreceive. Use
522 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
523 define as alias of __mq_timedsend. Use hidden_weak.
524 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
525 __mq_timedsend as strong name.
526 (mq_timedreceive): Use __mq_timedreceive as strong name.
527 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
528 (__mq_timedreceive): Likewise.
529 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
530 __mq_timedreceive instead of mq_timedreceive.
531 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
532 instead of mq_timedsend.
533 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
536 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
537 hidden_def and hidden_weak instead of libc_hidden_def and
539 (top level): Refer to hidden_def in comment.
540 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
541 macro. Use it instead of libc_hidden_def.
542 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
543 specify __GI_* name explicitly.
544 (mq_timedreceive): Likewise.
545 (mq_setattr): Likewise.
548 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
549 __pthread_barrier_init and define as weak alias of
550 __pthread_barrier_init.
551 * sysdeps/sparc/nptl/pthread_barrier_init.c
552 (pthread_barrier_init): Likewise.
553 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
554 __pthread_barrier_wait and define as weak alias of
555 __pthread_barrier_wait.
556 * sysdeps/sparc/nptl/pthread_barrier_wait.c
557 (pthread_barrier_wait): Likewise.
558 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
559 (pthread_barrier_wait): Likewise.
560 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
561 (pthread_barrier_wait): Likewise.
562 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
563 (pthread_barrier_wait): Likewise.
564 * nptl/Versions (libpthread): Export __pthread_barrier_init and
565 __pthread_barrier_wait at version GLIBC_PRIVATE.
566 * include/pthread.h (__pthread_barrier_init): Declare.
567 (__pthread_barrier_wait): Likewise.
568 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
569 Call __pthread_barrier_wait instead of pthread_barrier_wait.
570 (helper_thread): Likewise.
571 (init_mq_netlink): Call __pthread_barrier_init instead of
572 pthread_barrier_init.
575 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
576 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
577 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
578 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
580 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
584 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
585 strong alias of _IO_fflush. Use libc_hidden_def.
586 * libio/iofflush_u.c (fflush_unlocked): Rename to
587 __fflush_unlocked and define as weak alias of __fflush_unlocked.
588 Use libc_hidden_weak.
589 * include/stdio.h (__fflush_unlocked): Declare. Use
591 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
593 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
597 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
598 define as weak alias of __addseverity.
599 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
601 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
602 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
603 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
606 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
608 (__tdelete): Likewise.
610 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
611 __twalk to GLIBC_PRIVATE.
612 * include/search.h (__tsearch): Use libc_hidden_proto.
614 (__tdelete): Likewise.
616 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
617 Call __tdelete instead of tdelete.
618 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
619 tfind. Call __tsearch instead of tsearch.
620 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
621 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
623 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
626 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
627 (dprintf): Define as a weak alias of __dprintf, not a strong
629 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
630 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
632 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
634 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
635 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
638 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
640 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
644 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
645 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
646 (in6addr_loopback): Rename to __in6addr_loopback and define as
647 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
648 * include/netinet/in.h (__in6addr_loopback): Declare. Use
650 (__in6addr_any): Likewise.
651 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
653 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
655 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
657 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
659 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
660 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
661 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
662 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
663 redirections for pow.
664 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
665 * sysdeps/x86_64/fpu/Versions: New versions added.
666 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
667 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
668 build of SSE, AVX2 and AVX512 IFUNC versions.
669 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
670 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
671 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
672 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
673 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
674 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
675 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
676 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
677 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
678 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
679 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
680 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
681 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
682 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
683 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
684 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
685 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
686 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
687 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
688 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
689 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
690 * NEWS: Mention addition of x86_64 vector pow.
692 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
693 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
694 redirections for expf.
695 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
696 * sysdeps/x86_64/fpu/Versions: New versions added.
697 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
698 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
699 build of SSE, AVX2 and AVX512 IFUNC versions.
700 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
701 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
702 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
703 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
704 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
705 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
706 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
707 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
708 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
709 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
710 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
711 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
712 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
713 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
714 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
715 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
716 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
717 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
718 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
719 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
720 * NEWS: Mention addition of x86_64 vector expf.
722 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
723 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
724 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
725 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
726 redirections for exp.
727 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
728 * sysdeps/x86_64/fpu/Versions: New versions added.
729 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
730 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
731 build of SSE, AVX2 and AVX512 IFUNC versions.
732 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
733 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
734 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
735 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
736 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
737 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
738 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
739 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
740 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
741 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
742 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
743 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
744 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
745 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
746 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
747 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
748 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
749 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
750 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
751 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
752 * NEWS: Mention addition of x86_64 vector exp.
754 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
755 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
756 redirections for logf.
757 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
758 * sysdeps/x86_64/fpu/Versions: New versions added.
759 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
760 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
761 build of SSE, AVX2 and AVX512 IFUNC versions.
762 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
763 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
764 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
765 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
766 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
767 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
768 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
769 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
770 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
771 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
772 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
773 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
774 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
775 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
776 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
777 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
778 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
779 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
780 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
781 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
782 * NEWS: Mention addition of x86_64 vector logf.
784 * bits/libm-simd-decl-stubs.h: Added stubs for log.
785 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
786 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
787 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
788 redirections for log.
789 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
790 * sysdeps/x86_64/fpu/Versions: New versions added.
791 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
792 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
793 build of SSE, AVX2 and AVX512 IFUNC versions.
794 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
795 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
796 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
797 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
798 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
799 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
800 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
801 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
802 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
803 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
804 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
805 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
806 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
807 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
808 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
809 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
810 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
811 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
812 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
813 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
814 * NEWS: Mention addition of x86_64 vector log.
816 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
818 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
819 cfi_adjust_cfa_offset argument.
820 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
821 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
824 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
825 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
826 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
828 (_dl_tlsdesc_dynamic): Likewise.
829 (_dl_tlsdesc_return_lazy): Likewise.
830 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
831 relaxed atomics instead of volatile and synchronize with release store.
832 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
834 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
836 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
838 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
839 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
840 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
841 * sysdeps/x86_64/fpu/Versions: New versions added.
842 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
843 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
844 build of SSE, AVX2 and AVX512 IFUNC versions.
845 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
846 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
847 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
848 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
849 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
850 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
851 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
852 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
853 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
854 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
855 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
856 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
857 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
858 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
859 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
860 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
861 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
862 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
863 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
864 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
865 * NEWS: Mention addition of x86_64 vector sinf.
867 2015-06-14 Joseph Myers <joseph@codesourcery.com>
869 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
870 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
871 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
873 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
874 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
876 2015-06-12 Joseph Myers <joseph@codesourcery.com>
879 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
880 strong alias of _IO_fputs. Use libc_hidden_def.
881 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
882 and define as weak alias of __fputs_unlocked. Use
884 * include/stdio.h (__fputs_unlocked): Declare. Use
886 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
890 * resolv/netdb.h [__USE_POSIX]: Change condition to
892 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
894 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
895 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
896 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
897 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
898 [XPG4 || UNIX98] (AI_ALL): Likewise.
899 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
900 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
901 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
902 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
903 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
904 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
905 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
906 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
907 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
908 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
909 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
910 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
911 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
912 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
913 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
914 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
915 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
916 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
917 [XPG4 || UNIX98] (gai_strerror): Likewise.
918 [XPG4 || UNIX98] (getaddrinfo): Likewise.
919 [XPG4 || UNIX98] (getnameinfo): Likewise.
922 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
923 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
925 (getgrent): Likewise.
926 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
928 [XPG3 || POSIX2008] (endgrent): Likewise.
929 [XPG3] (setgrent): Likewise.
930 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
932 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
935 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
936 define as weak alias of __getlogin_r. Use libc_hidden_weak.
937 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
938 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
939 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
940 * include/unistd.h (__getlogin_r): Declare. Use
942 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
943 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
945 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
946 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
947 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
949 2015-06-12 Martin Sebor <msebor@redhat.com>
952 * Makerules (check-install-supported): New target.
953 (install): Add check-install-supported as a dependency.
954 * manual/install.texi (Installing the C Library): Document
955 that overriding prefix and exec_prefix is not supported.
957 * INSTALL: Regenerate from the above.
959 2015-06-12 Joseph Myers <joseph@codesourcery.com>
962 * posix/Versions (libc): Export __libc_pread at version
964 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
966 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
971 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
972 (cvt_symbol): Use weak_alias instead of strong_alias.
973 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
974 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
976 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
977 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
980 * inet/herrno.c (h_errno): Rename to __h_errno.
981 (__libc_h_errno): Define as alias of __h_errno not h_errno.
982 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
983 to __h_errno instead of h_errno.
984 * nptl/herrno.c (h_errno): Rename to __h_errno.
985 (__h_errno_location): Refer to __h_errno not h_errno.
986 * resolv/Versions (h_errno): Rename to __h_errno.
987 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
989 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
991 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
993 * configure.ac: More strict check for AVX512 assembler support.
994 * configure: Regenerated.
996 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
997 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
998 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
999 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1000 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1001 * sysdeps/x86_64/fpu/Versions: New versions added.
1002 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1003 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1004 build of SSE, AVX2 and AVX512 IFUNC versions.
1005 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1006 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1007 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1008 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1009 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1010 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1011 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1012 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1013 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1014 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1015 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1016 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1017 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
1018 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1019 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1020 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1021 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1022 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1023 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1024 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1025 * NEWS: Mention addition of x86_64 vector sin.
1027 2015-06-11 Florian Weimer <fweimer@redhat.com>
1029 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1032 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1035 * nptl/pt-interp.c: New file.
1036 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1038 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1039 $(common-objpfx)runtime-linker.h.
1041 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1043 * Makeconfig (+interp): Remove unused variable.
1044 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1045 only. Depend on $(common-objpfx)runtime-linker.h instead of
1046 $(elf-objpfx)runtime-linker.h.
1047 ($(elf-objpfx)runtime-linker.h): Rename to
1048 $(common-objpfx)runtime-linker.h and move ...
1049 * Makerules [$(build-shared) = yes]: ... here.
1050 * elf/interp.c: Include <runtime-linker.h> instead of
1051 <elf/runtime-linker.h>.
1053 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1055 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1056 (__gettimeofday_syscall): Remove vsyscall fallback.
1057 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1058 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1059 Add syscall fallback function.
1060 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1061 if vDSO is not present.
1062 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1064 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1066 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1067 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1069 2015-06-09 Joseph Myers <joseph@codesourcery.com>
1072 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1074 (wcscmp): Define as weak alias of WCSCMP.
1075 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1077 (USE_HIDDEN_DEF): Define.
1078 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1079 __wcscoll. Don't use libc_hidden_weak.
1080 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1082 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1083 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1085 (weak_alias): Undefine and redefine.
1086 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1087 __wcscmp and define as weak alias of __wcscmp.
1088 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1089 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1090 (__wcscoll): Likewise.
1091 (wcscmp): Don't use libc_hidden_proto.
1092 (wcscoll): Likewise.
1093 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1095 * posix/regexec.c (check_node_accept_bytes): Likewise.
1096 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1098 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1099 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1102 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1103 __fstatvfs and define as weak alias of __fstatvfs. Use
1105 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1106 and define as weak alias of __statvfs. Use libc_hidden_weak.
1107 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1108 Define as alias of __fstatvfs, not fstatvfs.
1109 (fstatvfs64): Likewise.
1110 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1111 Define as alias of __statvfs, not statvfs.
1112 (statvfs64): Likewise.
1113 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1116 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1119 (HAVE_GETCPU_VSYSCALL): Define.
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1121 (HAVE_GETCPU_VSYSCALL): Likewise.
1122 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1123 * sysdeps/unix/sysv/linux/sched_getcpu.c
1124 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1125 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1126 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1128 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1129 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1130 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1133 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1134 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1135 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1136 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1138 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
1140 * sysdeps/x86_64/fpu/Makefile: New file.
1141 * sysdeps/x86_64/fpu/Versions: New file.
1142 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1143 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1144 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1145 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1146 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1147 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1148 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1149 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1150 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1151 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1152 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1153 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1154 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1155 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1156 build of SSE, AVX2 and AVX512 IFUNC versions.
1157 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1158 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1159 * sysdeps/x86_64/configure.ac: Options for libmvec build.
1160 * sysdeps/x86_64/configure: Regenerated.
1161 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1162 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1163 * manual/install.texi (Configuring and compiling): Document
1165 * INSTALL: Regenerated.
1166 * NEWS: Mention addition of libmvec and x86_64 vector cos.
1168 * math/Makefile: Added rules for vector tests.
1169 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1170 declaration under condition.
1171 * math/test-double-vlen2.h: New file.
1172 * math/test-double-vlen4.h: New file.
1173 * math/test-double-vlen8.h: New file.
1174 * math/test-vec-loop.h: Added initialization macro.
1175 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1176 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1177 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1178 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1179 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1180 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1181 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1182 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1183 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1184 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1185 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1187 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1188 * sysdeps/x86_64/fpu/Versions: New versions added.
1189 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1190 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1191 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1192 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1193 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1194 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1195 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1196 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1197 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1198 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1199 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1200 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1201 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1202 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1203 build of SSE, AVX2 and AVX512 IFUNC versions.
1204 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1205 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1206 * NEWS: Mention addition of x86_64 vector cosf.
1208 * math/Makefile: Added CFLAGS for new tests.
1209 * math/test-float-vlen16.h: New file.
1210 * math/test-float-vlen4.h: New file.
1211 * math/test-float-vlen8.h: New file.
1212 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1213 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1214 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1215 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1216 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1217 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1218 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1219 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1220 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1221 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1222 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1224 2015-06-09 Marko Myllynen <myllynen@redhat.com>
1226 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1227 * locale/programs/ld-ctype.c: Likewise.
1229 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1231 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1232 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1233 bit_ZMM16_31_state): New macro.
1234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1235 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1237 2015-06-08 Joseph Myers <joseph@codesourcery.com>
1239 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1241 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1243 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1245 2015-06-05 Joseph Myers <joseph@codesourcery.com>
1248 * libio/memstream.c (open_memstream): Rename to __open_memstream
1249 and define as weak alias of __open_memstream.
1250 * include/stdio.h (__open_memstream): Declare. Use
1252 (open_memstream): Don't use libc_hidden_proto.
1253 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1255 * posix/getopt.c (_getopt_internal_r): Likewise.
1256 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1258 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1259 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1260 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1263 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1267 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1268 [__USE_XOPEN2K8]. Remove redundant #endif.
1269 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1270 Remove redundant #if.
1271 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1273 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1274 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1277 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1278 (__iswlower): Likewise.
1279 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1280 (__iswlower): Likewise.
1281 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1282 instead of towlower.
1283 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1284 instead of iswlower. Call __towupper instead of towupper.
1285 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1286 instead of iswalnum.
1288 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1290 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1293 2015-06-05 Florian Weimer <fweimer@redhat.com>
1297 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1298 Check for overflow properly. Check for O_APPEND. Ignore large
1299 file system block sizes. Add comments about problems.
1300 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1301 * manual/filesys.texi (Storage Allocation): New node.
1303 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1305 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1306 cancellable syscalls.
1307 (SYS_ify): Add guard to no redefine it.
1308 (INLINE_SYSCALL): Likewise.
1309 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1310 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1311 SYSCALL_CANCEL instead.
1312 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1313 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1314 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1315 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1316 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1317 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1318 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1319 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1320 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1321 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1322 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1323 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1324 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1325 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1326 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1327 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1329 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1330 (__libc_pread64): Likewise.
1331 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1332 (__libc_preadv): Likewise.
1333 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1334 (__libc_readv64): Likewise.
1335 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1336 (__libc_pwrite): Likewise.
1337 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1338 (__libc_pwrite64): Likewise.
1339 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1340 (__libc_pwritev): Likewise.
1341 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1342 (__libc_pwritev64): Likewise.
1343 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1344 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1345 (sync_file_range): Likewise.
1346 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1348 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1350 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1351 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1352 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1353 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1354 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1355 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1356 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1357 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1361 (__libc_read64): Likewise.
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1371 (__libc_pread64): Likewise.
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1375 (__libc_pwrite64): Likewise.
1376 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1377 (sync_file_range): Likewise.
1378 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1379 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1380 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1381 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1382 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1383 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1384 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1385 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1386 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1387 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1388 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1389 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1390 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1391 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1392 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1393 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1394 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1395 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1396 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1398 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1400 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1401 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1403 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1404 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1405 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1406 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1408 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1409 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1410 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1411 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1412 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1414 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
1416 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1418 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1419 Use VDSO routines for gettimeofday, clock_gettime if
1421 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1422 Declare VDSO symbols.
1423 * sysdeps/unix/sysv/linux/arm/sysdep.h:
1424 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1425 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1426 * sysdeps/unix/sysv/linux/arm/Versions: Add
1427 __vdso_clock_gettime.
1429 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1431 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1432 be an inline implementation regardless of library is built within.
1433 (open_not_cancel_2): Likewise.
1434 (__read_nocancel): Likewise.
1435 (__write_nocancel): Likewise.
1436 (openat_not_cancel): Likewise.
1437 (openat_not_cancel_3): Likewise.
1438 (openat64_not_cancel): Likewise.
1439 (openat64_not_cancel_3): Likewise.
1440 (__close_nocancel): Likewise.
1441 (pause_not_cancel): Likewise.
1442 (nanosleep_not_cancel): Likewise.
1443 (sigsuspend_not_cancel): Likewise.
1445 2015-06-04 Torvald Riegel <triegel@redhat.com>
1448 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1450 (__pthread_rwlock_rdlock_slow): Likewise.
1451 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1453 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1455 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1456 * nptl/tst-rwlock16.c: New file.
1457 * nptl/Makefile (tests): Add new test.
1459 2015-06-04 Torvald Riegel <triegel@redhat.com>
1462 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1463 missing wake-up of readers.
1464 * nptl/tst-rwlock15.c: New file.
1465 * nptl/Makefile (tests): Add new test.
1467 2015-06-03 Roland McGrath <roland@hack.frob.com>
1469 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1470 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1471 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1472 and __nacl_supply_interface_rtld.
1473 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1474 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1475 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1476 Add __nacl_supply_interface_rtld.
1477 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1479 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1481 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1483 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1484 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1486 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1488 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1489 __signbit* with standard C99 macros.
1490 * math/e_exp10l.c: Likewise.
1491 * math/e_exp2l.c: Likewise.
1492 * math/e_scalb.c: Likewise.
1493 * math/e_scalbf.c: Likewise.
1494 * math/e_scalbl.c: Likewise.
1495 * math/s_ldexp.c: Likewise.
1496 * math/s_ldexpf.c: Likewise.
1497 * math/s_ldexpl.c: Likewise.
1498 * math/w_atan2.c: Likewise.
1499 * math/w_atan2f.c: Likewise.
1500 * math/w_atan2l.c: Likewise.
1501 * math/w_cosh.c: Likewise.
1502 * math/w_coshf.c: Likewise.
1503 * math/w_coshl.c: Likewise.
1504 * math/w_exp10.c: Likewise.
1505 * math/w_exp10f.c: Likewise.
1506 * math/w_exp10l.c: Likewise.
1507 * math/w_exp2.c: Likewise.
1508 * math/w_exp2f.c: Likewise.
1509 * math/w_exp2l.c: Likewise.
1510 * math/w_fmod.c: Likewise.
1511 * math/w_fmodf.c: Likewise.
1512 * math/w_fmodl.c: Likewise.
1513 * math/w_hypot.c: Likewise.
1514 * math/w_hypotf.c: Likewise.
1515 * math/w_hypotl.c: Likewise.
1516 * math/w_jnl.c: Likewise.
1517 * math/w_lgamma.c: Likewise.
1518 * math/w_lgamma_r.c: Likewise.
1519 * math/w_lgammaf.c: Likewise.
1520 * math/w_lgammaf_r.c: Likewise.
1521 * math/w_lgammal.c: Likewise.
1522 * math/w_lgammal_r.c: Likewise.
1523 * math/w_pow.c: Likewise.
1524 * math/w_powf.c: Likewise.
1525 * math/w_powl.c: Likewise.
1526 * math/w_remainder.c: Likewise.
1527 * math/w_remainderf.c: Likewise.
1528 * math/w_remainderl.c: Likewise.
1529 * math/w_scalb.c: Likewise.
1530 * math/w_scalbf.c: Likewise.
1531 * math/w_scalbl.c: Likewise.
1532 * math/w_scalbln.c: Likewise.
1533 * math/w_scalblnf.c: Likewise.
1534 * math/w_scalblnl.c: Likewise.
1535 * math/w_sinh.c: Likewise.
1536 * math/w_sinhf.c: Likewise.
1537 * math/w_sinhl.c: Likewise.
1538 * math/w_tgamma.c: Likewise.
1539 * math/w_tgammaf.c: Likewise.
1540 * math/w_tgammal.c: Likewise.
1541 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1542 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1543 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1544 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1545 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1546 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1547 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1548 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1549 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1550 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1551 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1552 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1553 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1554 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1555 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1556 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1557 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1558 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1559 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1560 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1561 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1562 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1563 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1564 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1565 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1566 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1567 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1568 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1569 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1570 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1571 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1572 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1573 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1574 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1575 * stdio-common/printf_fp.c: Likewise.
1576 * stdio-common/printf_fphex.c: Likewise.
1577 * stdio-common/printf_size.c: Likewise.
1579 2015-06-03 Joseph Myers <joseph@codesourcery.com>
1582 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1584 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1586 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1587 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1588 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1589 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1590 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1591 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1592 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1593 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1594 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1595 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1598 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1599 weak alias of __wmemchr. Use libc_hidden_weak.
1600 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
1601 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1604 2015-06-02 Roland McGrath <roland@hack.frob.com>
1607 * elf/tst-tlsalign-extern.c: New file.
1608 * elf/tst-tlsalign-extern-static.c: New file.
1609 * elf/tst-tlsalign-vars.c: New file.
1610 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1611 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1612 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1613 ($(objpfx)tst-tlsalign-extern-static): Likewise.
1614 (test-xfail-tst-tlsalign-extern-static): New variable.
1616 2015-06-02 Joseph Myers <joseph@codesourcery.com>
1618 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1619 Use variable name _sc_err instead of err.
1620 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1622 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1623 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1624 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1625 (INLINE_SYSCALL): Likewise.
1627 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1628 * include/string.h (__strnlen): Use libc_hidden_proto.
1629 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1630 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1631 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1632 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1633 (libc_hidden_def): Undefine and redefine.
1634 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1635 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1637 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1639 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1642 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1643 weak alias of __towlower. Use libc_hidden_weak.
1644 (towupper): Rename to __towupper and define as weak alias of
1645 __towupper. Use libc_hidden_weak.
1646 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
1647 (__towupper): Likewise.
1648 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1649 __towlower instead of towlower.
1651 2015-06-02 Roland McGrath <roland@hack.frob.com>
1653 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1654 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1656 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1658 * sysdeps/aarch64/libm-test-ulps: Update.
1660 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1662 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1664 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1665 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1666 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1667 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1668 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1669 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1670 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1672 2015-06-01 Martin Sebor <msebor@redhat.com>
1675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1676 (__setcontext): Use extended four-operand version of mtsf whenever
1678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1679 (__novec_swapcontext): Likewise.
1681 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1683 * benchtests/scripts/compare_bench.py: New file.
1684 * benchtests/scripts/import_bench.py (mean): New function.
1685 (split_list): Likewise.
1686 (do_for_all_timings): Likewise.
1687 (compress_timings): Likewise.
1689 * benchtests/scripts/import_bench.py: New file.
1690 * benchtests/scripts/validate_benchout.py: Import import_bench
1691 instead of jsonschema.
1692 (validate_bench): Remove function.
1693 (main): Use import_bench.
1695 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
1697 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1698 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1700 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1704 2015-05-28 Roland McGrath <roland@hack.frob.com>
1706 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1707 set THREAD_SELF->tid to a magic value and futex-wake it.
1708 Pass its address to the thread_exit system call.
1709 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1711 * sysdeps/nacl/lowlevellock.h: New file.
1712 * sysdeps/nacl/lll_timedwait_tid.c: New file.
1714 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1715 Add TIMEOUT to current time, don't subtract it.
1717 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
1720 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1721 ($(objpfx)tst-audit2.out): Also depend on
1722 $(objpfx)tst-auditmod9b.so.
1723 * elf/tst-audit2.c: Include <dlfcn.h>.
1724 (calloc_called): New.
1725 (calloc): Allow to be called more than once.
1726 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1728 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
1730 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1731 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1733 2015-05-27 Marko Myllynen <myllynen@redhat.com>
1735 * stdlib/monetary.h: Fix comment.
1737 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
1739 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1740 Avoid using variables in #defines that might cause shadowing.
1741 (INTERNAL_VSYSCALL_CALL): Likewise.
1743 2015-05-26 Roland McGrath <roland@hack.frob.com>
1745 * sysdeps/nacl/lll_timedlock_wait.c: New file.
1747 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1748 * nptl/lll_timedlock_wait.c: ... to this new file.
1749 * nptl/Makefile (libpthread-routines): Add it.
1750 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1751 * nptl/lll_timedwait_tid.c: ... to this new file.
1752 * nptl/Makefile (libpthread-routines): Add it.
1753 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1754 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1755 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1756 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1757 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1758 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1759 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1760 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1761 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1762 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1764 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1766 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1767 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1768 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1769 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1770 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1772 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1774 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1775 * sysdeps/unix/sysv/linux/tile/sysdep.h
1776 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1777 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1778 using vDSO syscall macro.
1780 2015-05-26 Andriy Rysin <arysin@gmail.com>
1783 * uk_UA: Fix sorting order for Ukrainian locale
1785 2015-05-26 Marko Myllynen <myllynen@redhat.com>
1787 * stdlib/monetary.h: Fix comment.
1789 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
1792 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1793 st_mtim and st_ctim members.
1794 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1795 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1796 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1797 (struct stat64): Likewise.
1798 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1799 (struct stat64): Likewise.
1800 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1801 (struct stat64): Likewise.
1803 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1805 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1806 Define and include sysdep-vdso.h.
1807 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1809 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1811 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1812 Define with VDSO_SYMBOL and use PTR_MANGLE.
1813 (__vdso_clock_gettime): Likewise.
1814 (__vdso_clock_getres): Likewise.
1815 (_libc_vdso_platform_setup): Likewise.
1816 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1818 (_libc_vdso_platform_setup): Likewise.
1819 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1821 (__vdso_clock_gettime): Likewise.
1822 (__vdso_clock_getres): Likewise.
1823 (__vdso_get_tbfreq): Likewise.
1824 (__vdso_getcpu): Likewise.
1825 (__vdso_time): Likewise.
1826 (__vdso_sigtramp_rt64): Likewise.
1827 (__vdso_signtramp32): Likewise.
1828 (__vdso_sigtramp_rt32): Likewise.
1829 (_libc_vdso_platform_setup): Likewise.
1830 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1832 (__vdso_clock_gettime): Likewise.
1833 (__vdso_clock_getres): Likewise.
1834 (_libc_vdso_platform_setup): Likewise.
1835 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1837 (__vdso_clock_gettime): Likewise.
1838 (_libc_vdso_platform_setup): Likewise.
1839 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1841 (__vdso_getcpu): Likewise.
1842 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1843 Use VDSO_SYMBOL macro to define.
1844 (__vdso_clock_gettime): Likewise.
1845 (__vdso_clock_getres): Likewise.
1846 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1848 (__vdso_clock_gettime): Likewise.
1849 (__vdso_clock_getres): Likewise.
1850 (__vdso_get_tbfreq): Likewise.
1851 (__vdso_getcpu): Likewise.
1852 (__vdso_time): Likewise.
1853 (__vdso_sigtramp_rt64): Likewise.
1854 (__vdso_signtramp32): Likewise.
1855 (__vdso_sigtramp_rt32): Likewise.
1856 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1858 (__vdso_clock_gettime): Likewise.
1859 (__vdso_clock_getres): Likewise.
1860 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1862 (__vdso_clock_gettime): Likewise.
1863 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1865 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
1867 (INTERNAL_VSYSCALL): Likewise.
1868 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1870 (INTERNAL_VSYSCALL): Likewise.
1871 (INTERNAL_VSYSCALL_NCS): Likewise.
1872 (INTERNAL_VSYSCALL_CALL): New macro.
1873 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1874 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1876 (INTERNAL_VSYSCALL): Likewise.
1877 (INTERNAL_VSYSCALL_NCS): Likewise.
1878 (INTERNAL_VSYSCALL_CALL): New macro.
1879 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1881 (INLINE_VSYSCALL): Remove macro.
1882 (INTERNAL_VSYSCALL): Remove macro.
1883 (INTERNAL_VSYSCALL_NCS): Remove macro.
1884 (INTERNAL_VSYSCALL_CALL): New macro.
1885 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1886 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1887 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1888 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1889 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1891 (INLINE_VSYSCALL): Remove macro.
1892 (INTERNAL_VSYSCALL): Likewise.
1893 (INTERNAL_VSYSCALL_NCS): Likewise.
1894 (INTERNAL_VSYSCALL_CALL): New macro.
1895 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1896 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1897 PTR_DEMANGLE on vDSO pointer.
1898 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1899 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1901 (INTERNAL_SYSCALL): Likewise.
1902 (INTERNAL_VSYSCALL_NCS): Remove macro.
1903 (INTERNAL_VSYSCALL_CALL): New macro.
1904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1906 (INTERNAL_VSYSCALL): Likewise.
1907 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1908 sysdep-vdso.h instead of libc-vdso.h.
1909 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1911 (INLINE_VSYSCALL): Likewise.
1912 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1913 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1915 (INLINE_VSYSCALL): Likewise.
1916 (INTERNAL_VSYSCALL): Likewise.
1917 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1918 * sysdeps/unix/sysv/linux/timespec_get.c
1919 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1920 (timespec_get): Use ANSI prototype.
1921 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1922 and definition for Linux.
1924 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
1926 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1927 * include/libc-symbols.h: libmvec_hidden_* macro series added.
1929 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
1932 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1933 for missing DT_PLTRELSZ.
1935 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
1937 Remove obsolete aliases that broke 'locale -a'
1939 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1940 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1941 breaking some applications that use 'locale -a' output.
1942 Change the encoding of this file from Latin-1 to ASCII to avoid
1943 other potential problems with people grepping this file.
1945 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1947 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1948 -fasynchronous-unwind-tables.
1949 (CFLAGS-sendto.c): Likewise.
1950 (CFLAGS-sendmsg.c): Likewise.
1951 (CFLAGS-connect.c): Likewise.
1952 (CFLAGS-recvmsg.c): Likewise.
1953 (CFLAGS-recvfrom.c): Likewise.
1954 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1955 (SOCKETCALL): New macro: non-cancellable socketcall.
1956 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1957 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1958 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1959 * sysdeps/unix/sysv/linux/accept.c: New file.
1960 * sysdeps/unix/sysv/linux/bind.c: Likewise.
1961 * sysdeps/unix/sysv/linux/connect.c: Likewise.
1962 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1963 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1964 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1965 * sysdeps/unix/sysv/linux/listen.c: Likewise.
1966 * sysdeps/unix/sysv/linux/recv.c: Likewise.
1967 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1968 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1969 * sysdeps/unix/sysv/linux/send.c: Likewise.
1970 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1971 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1972 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1973 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1974 * sysdeps/unix/sysv/linux/socket.c: Likewise.
1975 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1976 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1978 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1979 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1980 instead of __internal_xxx function.
1981 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1983 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1984 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1985 instead of __internal_xxx function.
1986 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1988 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1989 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1990 instead of __internal_xxx function.
1991 * sysdeps/unix/sysv/linux/accept.S: Remove file.
1992 * sysdeps/unix/sysv/linux/bind.S: Likewise.
1993 * sysdeps/unix/sysv/linux/connect.S: Likewise.
1994 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1995 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1996 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1997 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1998 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1999 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2000 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2001 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2002 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2003 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2004 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2005 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2006 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2007 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2008 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2009 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2010 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2013 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2014 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2015 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2016 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2017 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2018 * sysdeps/unix/sysv/linux/send.S: Likewise.
2019 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2020 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2021 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2022 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2023 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2024 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2025 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2026 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2027 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2028 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2029 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2030 socketcall is implemented in GLIBC.
2032 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2034 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2035 (__fma): Ignore uninitialized warnings around packing.
2036 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2037 (__fmaf): Ignore uninitialized warnings around packing.
2038 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2039 (__fmal): Ignore uninitialized warnings around packing.
2041 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2042 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2043 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2044 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2046 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2047 switch statement into default case.
2048 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2050 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2051 a conditional in forcing "inexact".
2052 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2055 2015-05-22 Roland McGrath <roland@hack.frob.com>
2057 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2058 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2059 for each INTERNAL_SYSCALL use.
2061 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2064 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2065 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2069 * string/basename.c (basename): Rename to __basename and define as
2070 weak alias of __basename. Use libc_hidden_weak.
2071 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2072 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2073 __basename instead of basename.
2074 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2076 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2078 2015-05-18 Florian Weimer <fweimer@redhat.com>
2080 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2081 (_IO_JUMPS_FILE_plus): New.
2082 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2083 _IO_CAST_FIELD_ACCESS.
2084 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2085 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2086 * libio/freopen.c (freopen): Likewise.
2087 * libio/freopen64.c (freopen64): Likewise.
2088 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2089 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2090 * libio/iofwide.c (_IO_fwide): Likewise.
2091 * libio/memstream.c (open_memstream): Likewise.
2092 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2093 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2094 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2096 2015-05-21 Joseph Myers <joseph@codesourcery.com>
2098 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2099 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2101 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2102 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2104 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2105 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2108 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2111 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2112 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2114 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2115 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2116 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2118 2015-05-21 Florian Weimer <fweimer@redhat.com>
2120 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2121 Adjust jump table label generation macros.
2123 2015-05-21 Florian Weimer <fweimer@redhat.com>
2125 * stdio-common/vfprintf.c (vfprintf): Move local variables
2126 args_malloced, specs, specs_malloced, and the code after
2127 do_positional to the printf_positional function.
2128 (printf_positional): New function.
2130 2015-05-21 Florian Weimer <fweimer@redhat.com>
2132 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2134 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2135 STEP4_TABLE, process_arg): Move macro definitions
2136 out of the vfprintf function. (Cosmetic change only.)
2138 2015-05-21 Carlos O'Donell <carlos@redhat.com>
2140 * benchtests/Makefile (stdio-common-bench): Define.
2141 (benchset): Add stdio-common-bench.
2142 * sprintf-inputs: New file.
2143 * sprintf-source.c: New file.
2145 2015-05-21 Andreas Schwab <schwab@suse.de>
2149 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2150 of struct __res_state.
2151 * resolv/res_send.c (__libc_res_nsend): Likewise.
2152 (get_nsaddr): New function.
2153 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2156 2015-05-20 Joseph Myers <joseph@codesourcery.com>
2158 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2159 -D_POSIX_C_SOURCE=199506L.
2161 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2163 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2164 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2165 Do not mention otherwise.
2166 [POSIX] (_XOPEN_VERSION): Do not expect.
2167 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2168 [POSIX] (_POSIX2_C_BIND): Likewise.
2169 [POSIX] (_POSIX2_VERSION): Likewise.
2170 [POSIX] (_XOPEN_XPG2): Likewise.
2171 [POSIX] (_XOPEN_XPG3): Likewise.
2172 [POSIX] (_XOPEN_XPG4): Likewise.
2173 [POSIX] (_XOPEN_UNIX): Likewise.
2174 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2175 [POSIX] (_POSIX_BARRIERS): Likewise.
2176 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2177 [POSIX] (_POSIX_CPUTIME): Likewise.
2178 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2179 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2180 [POSIX] (_POSIX_SHELL): Likewise.
2181 [POSIX] (_POSIX_SPAWN): Likewise.
2182 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2183 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2184 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2185 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2186 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2187 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2188 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2189 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2190 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2191 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2192 [POSIX] (_POSIX2_PBS): Likewise.
2193 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2194 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2195 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2196 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2197 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2198 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2199 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2200 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2201 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2202 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2203 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2204 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2205 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2206 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2207 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2208 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2209 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2210 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2211 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2212 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2213 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2214 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2215 [POSIX] (_SC_2_C_BIND): Likewise.
2216 [POSIX] (_SC_2_C_VERSION): Likewise.
2217 [POSIX] (_SC_2_PBS): Likewise.
2218 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2219 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2220 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2221 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2222 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2223 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2224 [POSIX] (_SC_BARRIERS): Likewise.
2225 [POSIX] (_SC_BASE): Likewise.
2226 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2227 [POSIX] (_SC_DEVICE_IO): Likewise.
2228 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2229 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2230 [POSIX] (_SC_FD_MGMT): Likewise.
2231 [POSIX] (_SC_FIFO): Likewise.
2232 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2233 [POSIX] (_SC_FILE_LOCKING): Likewise.
2234 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2235 [POSIX] (_SC_IOV_MAX): Likewise.
2236 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2237 [POSIX] (_SC_NETWORKING): Likewise.
2238 [POSIX] (_SC_PAGE_SIZE): Likewise.
2239 [POSIX] (_SC_PASS_MAX): Likewise.
2240 [POSIX] (_SC_PIPE): Likewise.
2241 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2242 [POSIX] (_SC_REGEXP): Likewise.
2243 [POSIX] (_SC_SHELL): Likewise.
2244 [POSIX] (_SC_SIGNALS): Likewise.
2245 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2246 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2247 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2248 [POSIX] (_SC_USER_GROUPS): Likewise.
2249 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2250 [POSIX] (_SC_STREAMS): Likewise.
2251 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2252 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2253 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2254 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2255 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2256 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2257 [POSIX] (_PC_FILESIZEBITS): Likewise.
2258 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2259 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2260 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2261 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2262 [POSIX] (uid_t): Likewise.
2263 [POSIX] (gid_t): Likewise.
2264 [POSIX] (off_t): Likewise.
2265 [POSIX] (pid_t): Likewise.
2266 [POSIX] (cuserid): Allow.
2267 (_SC_2_CHAR_TERM): Require constant.
2268 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2269 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2272 2015-05-20 Roland McGrath <roland@hack.frob.com>
2274 * sysdeps/nacl/pthread-pids.h: New file.
2275 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2276 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2278 * nptl/pthread-pids.h: New file.
2279 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2280 * nptl/nptl-init.c: Include <pthread-pids.h>.
2281 (__pthread_initialize_minimal_internal):
2282 Call __pthread_initialize_pids instead of set_tid_address syscall.
2284 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2285 * sysdeps/posix/usleep.c: ... here.
2287 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2289 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2290 call_pselect6 object.
2291 [$(subdir) = io]: Remove call_sync_file_range object.
2292 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2293 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2294 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2295 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2297 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2299 * math/s_cproj.c: Add include "math_private.h".
2300 * math/s_cprojf.c: Likewise.
2301 * math/s_cprojl.c: Likewise.
2303 2015-05-19 Joseph Myers <joseph@codesourcery.com>
2306 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2307 high mantissa bit when testing whether P is a NaN.
2308 * math/libm-test.inc (remainder_test_data): Add more tests.
2309 (remquo_test_data): Likewise.
2312 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2313 below -32, return the argument, with underflow if subnormal.
2314 * math/auto-libm-test-in: Add more tests of atanh.
2315 * math/auto-libm-test-out: Regenerated.
2317 2015-05-19 Roland McGrath <roland@hack.frob.com>
2320 * nptl/tst-sem15.c: New file.
2321 * nptl/Makefile (tests): Add it.
2322 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2323 s/<</>>/ to fix typo in EOVERFLOW check.
2324 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2326 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2328 * manual/strings.texi (envz_remove): Fix typo in safety
2331 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2332 Steve Ellcey <sellcey@imgtec.com>
2334 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2335 in order to avoid strict alias warnings.
2336 (iruserok_af): Ditto for ra.
2338 2015-05-19 James Lemke <jwlemke@codesourcery.com>
2342 (magicbyte): Convert to a function and avoid returning 0x01.
2343 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2344 (mem2chunk_check): Fix unsigned comparisons to zero.
2345 Hoist defs of sz and magic.
2347 2015-05-19 Richard Henderson <rth@redhat.com>
2349 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2351 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2353 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2356 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2357 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2358 (reused_arena): Find a non-corrupt arena.
2359 (heap_trim): Pass arena to unlink.
2360 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2362 (top_check): Likewise.
2363 (free_check): Likewise.
2364 (realloc_check): Likewise.
2365 * malloc/malloc.c (malloc_printerr): Add arena argument.
2367 (munmap_chunk): Adjust.
2368 (ARENA_CORRUPTION_BIT): New macro.
2369 (arena_is_corrupt): Likewise.
2370 (set_arena_corrupt): Likewise.
2371 (sysmalloc): Use mmap if there are no usable arenas.
2372 (_int_malloc): Likewise.
2373 (__libc_malloc): Don't fail if arena_get returns NULL.
2374 (_mid_memalign): Likewise.
2375 (__libc_calloc): Likewise.
2376 (__libc_realloc): Adjust for additional argument to
2378 (_int_free): Likewise.
2379 (malloc_consolidate): Likewise.
2380 (_int_realloc): Likewise.
2381 (_int_memalign): Don't touch corrupt arenas.
2382 * malloc/tst-malloc-backtrace.c: New test case.
2384 * Makefile (summarize-tests): Fix return value on success.
2386 * manual/string.texi (Envz Functions): Add envz_remove.
2388 2015-05-18 Roland McGrath <roland@hack.frob.com>
2390 * sysdeps/posix/opendir.c: Include <stdbool.h>.
2391 (invalid_name): New function, broken out of ...
2392 (__opendirat): ... here. Call it.
2393 (need_isdir_precheck): New function, broken out of ...
2394 (__opendirat): ... here. Call it.
2395 Use __fxstatat64, not __xstatat64.
2396 (opendir_oflags): New function, broken out of ...
2397 (__opendirat): ... here. Call it.
2398 (opendir_tail): New function, broken out of ...
2399 (__opendirat): ... here. Call it.
2400 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2401 opendir_tail, rather than punting to __opendirat.
2402 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2404 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2406 * .gitignore: Ignore generated *.pyc.
2408 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
2410 * include/stdio.h: Define __need_wint_t.
2411 * test-skeleton.c: Avoid `for' loop initial declaration.
2412 * nptl/tst-initializers1.c: Use test-skeleton.c.
2414 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2417 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2419 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2422 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2423 (__ieee754_atanh): Force underflow exception for results with
2424 small absolute value.
2425 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2426 (__ieee754_atanhf): Force underflow exception for results with
2427 small absolute value.
2428 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2429 (__ieee754_atanh): Force underflow exception for results with
2430 small absolute value.
2431 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2432 (__ieee754_atanhf): Force underflow exception for results with
2433 small absolute value.
2434 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2435 (__ieee754_atanhl): Force underflow exception for results with
2436 small absolute value.
2437 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2438 (__ieee754_atanhl): Force underflow exception for results with
2439 small absolute value.
2440 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2441 (__ieee754_atanhl): Force underflow exception for results with
2442 small absolute value.
2443 * math/auto-libm-test-in: Do not allow missing underflow
2444 exceptions from atanh.
2445 * math/auto-libm-test-out: Regenerated.
2448 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2449 2**-28 as threshold for returning x or +/- 1/x.
2450 * math/auto-libm-test-in: Add more tests of tan.
2451 * math/auto-libm-test-out: Regenerated.
2454 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2455 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2456 * math/auto-libm-test-in: Add another test of lgamma.
2457 * math/auto-libm-test-out: Regenerated.
2459 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
2461 * stdio-common/printf_fp.c (___printf_fp): Use abs.
2462 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
2463 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2464 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2465 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
2466 (ADD2A): Use fabs. (SUB2A): Use fabs.
2467 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2468 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2469 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2470 (log1): Use fabs. (my_log2): Use fabs.
2471 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2472 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2473 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2474 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2475 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2476 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
2477 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
2478 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
2479 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
2480 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2481 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2483 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2486 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2487 as threshold for returning 1 - x.
2488 * math/auto-libm-test-in: Add more tests of erfc.
2489 * math/auto-libm-test-out: Regenerated.
2491 2015-05-14 Joseph Myers <joseph@codesourcery.com>
2494 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2495 threshold for large arguments.
2496 * math/auto-libm-test-in: Add another test of atan.
2497 * math/auto-libm-test-out: Regenerated.
2500 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2501 (__log1p): Force underflow exception for results with small
2503 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2504 (__log1pf): Force underflow exception for results with small
2506 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2507 (__log1p): Force underflow exception for results with small
2509 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2510 (__log1pf): Force underflow exception for results with small
2512 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2513 (__log1pl): Force underflow exception for results with small
2515 * math/auto-libm-test-in: Do not allow missing underflow
2516 exceptions from log1p.
2517 * math/auto-libm-test-out: Regenerated.
2519 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
2520 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2523 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2525 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
2527 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2528 (libmvec): New variable.
2529 * configure.ac: Added option for mathvec build.
2530 * configure: Regenerated.
2531 * mathvec/Depend: New file.
2532 * mathvec/Makefile: New file.
2533 * shlib-versions: Added libmvec.
2534 * math/Makefile: Added rule for libm.so installation.
2536 * bits/math-vector.h: New file.
2537 * bits/libm-simd-decl-stubs.h: New header.
2538 * math/Makefile (headers): Added new header
2539 libm-simd-decl-stubs.h.
2540 * math/math.h (__MATHCALL_VEC): New macro.
2542 * math/gen-libm-have-vector-test.sh: Script generates series of macros
2543 for conditions in testing functions.
2544 * math/Makefile: Added call of libm-have-vector-test.sh.
2545 * math/libm-test.inc (HAVE_VECTOR): New macros.
2547 * math/libm-test.inc: START refactored.
2548 * math/test-double.c (TEST_MATHVEC): Add define.
2549 * math/test-float.c: Likewise.
2550 * math/test-idouble.c: Likewise.
2551 * math/test-ifloat.c: Likewise.
2552 * math/test-ildoubl.c: Likewise.
2553 * math/test-ldouble.c: Likewise.
2554 * sysdeps/generic/math-tests-arch.h
2555 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2558 * math/test-double.c (FUNC_TEST): New macro.
2559 * math/test-float.c: Likewise.
2560 * math/test-idouble.c: Likewise.
2561 * math/test-ifloat.c: Likewise.
2562 * math/test-ildoubl.c: Likewise.
2563 * math/test-ldouble.c: Likewise.
2564 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2566 2015-05-13 Roland McGrath <roland@hack.frob.com>
2568 * sysdeps/nacl/fdopendir.c: New file.
2570 * dirent/scandir-tail.c: New file.
2571 * dirent/scandir64-tail.c: New file.
2572 * dirent/Makefile (routines): Add them.
2573 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2574 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2575 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2576 [!SCANDIR] (SCANDIR_TAIL): New macro.
2577 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2578 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2579 (SCANDIRAT): Macro removed.
2580 (SCANDIR_TAIL): New macro.
2581 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2582 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2583 (SCANDIRAT): Just call __opendirat and __scandir_tail.
2584 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2585 (READDIR): Macro removed.
2586 (SCANDIR_TAIL): New macro.
2587 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2588 (SCANDIR_TAIL): New macro.
2590 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2591 * dirent/scandir-cancel.c: ... to this new file.
2592 * dirent/Makefile (routines): Add it.
2593 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2594 * sysdeps/unix/sysv/linux/i386/scandir64.c
2595 (SKIP_SCANDIR_CANCEL): Macro removed.
2596 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2598 * dirent/tst-scandir.c: New file.
2599 * dirent/tst-scandir64.c: New file.
2600 * dirent/Makefile (tests): Add them.
2602 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
2605 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2607 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2609 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2612 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
2614 * benchtests/bench-strcoll.c: New benchmark.
2615 * benchtests/Makefile: Generate locales and run benchmark.
2616 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2617 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2618 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2619 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2620 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2621 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2622 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2623 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2624 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2625 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2626 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2627 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2628 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2629 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2630 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2631 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2632 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2633 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2634 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2635 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2636 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2637 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2638 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2639 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2641 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
2643 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2644 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2646 2015-05-12 Roland McGrath <roland@hack.frob.com>
2648 * posix/uname-values.h: New file.
2649 * posix/uname.c: Include that instead of <config-name.h>.
2650 * sysdeps/nacl/uname-values.h: New file.
2651 * sysdeps/arm/nacl/uname-values.h: New file.
2653 2015-05-12 Joseph Myers <joseph@codesourcery.com>
2655 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2656 splitting into fields.
2658 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
2660 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2661 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2662 * locale/localeinfo.h: Add enum collation_encoding_type.
2663 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2664 * programs/ld-collate.c (collate_output): Add encoding type info.
2665 * string/strcoll_l.c (STRDIFF): New function.
2666 * (STRCOLL): Use STRDIFF to skip over equal prefix.
2667 * wcsmbs/wcscoll_l.c: Define STRDIFF.
2669 2015-05-11 Joseph Myers <joseph@codesourcery.com>
2672 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2673 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
2674 <fpu_control.h> instead of <math/fpu_control.c>.
2675 * sysdeps/mips/mips32/fpu/Makefile: New file.
2677 2015-05-11 Andreas Schwab <schwab@suse.de>
2680 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2682 (_nss_compat_endgrent): Call nss_endgrent.
2683 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2685 (_nss_compat_endpwent): Call nss_endpwent.
2686 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2687 needent, call nss_setspent only if non-zero.
2688 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2689 (internal_endspent): Don't call nss_endspent.
2690 (_nss_compat_endspent): Call nss_endspent.
2691 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2692 Remove. All uses removed.
2693 (internal_setent): Remove parameter stayopen, add parameter
2694 stream. Use it instead of global variable.
2695 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2696 (internal_endent, internal_getent): Add parameter stream. Use it
2697 instead of global variable.
2698 (CONCAT(_nss_files_end,ENTNAME))
2699 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2700 (_nss_files_get##name##_r): Pass local stream. Remove locking.
2701 * nss/nss_files/files-alias.c (position, last_use): Remove. All
2703 (internal_setent, internal_endent): Add parameter stream. Use it
2704 instead of global variable.
2705 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2707 (get_next_alias): Add parameter stream.
2708 (_nss_files_getaliasent_r): Pass global stream.
2709 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
2710 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2711 (_nss_files_gethostbyname4_r): Pass local stream to
2712 internal_setent, internal_getent and internal_endent. Remove
2715 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2717 * tst-strfmon1.c (tests): Update expected currency symbol.
2719 2015-05-08 Roland McGrath <roland@hack.frob.com>
2721 * sysdeps/nacl/gethostname.c: New file.
2723 2015-05-08 Joseph Myers <joseph@codesourcery.com>
2725 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2727 * math/auto-libm-test-out: Regenerated.
2728 * sysdeps/i386/fpu/libm-test-ulps: Update.
2729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2731 2015-05-08 Carlos O'Donell <carlos@redhat.com>
2734 * stdlib/tst-setcontext3.c: New file.
2735 * stdlib/tst-setcontext3.sh: New file.
2736 * stdlib/Makefile (tests): Add tst-setcontext3.
2737 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2738 to verify test program created output file.
2739 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2740 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2741 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2742 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2744 2015-05-06 Roland McGrath <roland@hack.frob.com>
2747 * elf/tst-tlsalign.c: New file.
2748 * elf/tst-tlsalign-static.c: New file.
2749 * elf/tst-tlsalign-lib.c: New file.
2750 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2751 (tests-static): Add tst-tlsalign-static.
2752 (modules-names): Add tst-tlsalign-lib.
2753 (test-xfail-tst-tlsalign): New variable.
2754 (test-xfail-tst-tlsalign-static): New variable.
2756 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2757 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2759 2015-05-06 Joseph Myers <joseph@codesourcery.com>
2761 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2762 csqrt, erfc, sin and sincos.
2763 * math/auto-libm-test-out: Regenerated.
2764 * sysdeps/i386/fpu/libm-test-ulps: Update.
2765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2767 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
2769 * sysdeps/aarch64/libm-test-ulps: Update.
2771 2015-05-05 Joseph Myers <joseph@codesourcery.com>
2773 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2774 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2775 * math/auto-libm-test-out: Regenerated.
2776 * sysdeps/i386/fpu/libm-test-ulps: Update.
2777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2779 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2782 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2783 (wcsncpy): Likewise.
2785 2015-05-05 Florian Weimer <fweimer@redhat.com>
2787 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2788 Assume __ASSUME_FALLOCATE is always true.
2789 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2790 (__posix_fallocate64_l64): Likweise.
2791 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2792 (posix_fallocate): Likewise.
2793 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2794 (__posix_fallocate64_l64): Likewise.
2795 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2796 [!__ASSUME_FALLOCATE]: Add comment.
2798 2015-05-05 Florian Weimer <fweimer@redhat.com>
2800 * sysdeps/unix/sysv/linux/i386/Makefile
2801 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2802 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2803 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2804 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2805 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2806 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2807 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2809 2015-05-02 Joseph Myers <joseph@codesourcery.com>
2811 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2812 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2814 * math/auto-libm-test-out: Regenerated.
2815 * sysdeps/i386/fpu/libm-test-ulps: Update.
2816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2818 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2820 * math/auto-libm-test-in: Add more tests of tgamma.
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 * math/auto-libm-test-in: Add more tests of tanh.
2826 * math/auto-libm-test-out: Regenerated.
2827 * sysdeps/i386/fpu/libm-test-ulps: Update.
2828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2830 * math/auto-libm-test-in: Add more tests of tan.
2831 * math/auto-libm-test-out: Regenerated.
2832 * sysdeps/i386/fpu/libm-test-ulps: Update.
2833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2835 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2836 * math/auto-libm-test-out: Regenerated.
2837 * sysdeps/i386/fpu/libm-test-ulps: Update.
2838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2840 * math/auto-libm-test-in: Add another test of pow.
2841 * math/auto-libm-test-out: Regenerated.
2842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2844 * math/auto-libm-test-in: Add more tests of lgamma.
2845 * math/auto-libm-test-out: Regenerated.
2846 * sysdeps/i386/fpu/libm-test-ulps: Update.
2847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2849 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2851 * math/auto-libm-test-out: Regenerated.
2852 * sysdeps/i386/fpu/libm-test-ulps: Update.
2853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2855 2015-05-01 Mark Wielaard <mjw@redhat.com>
2857 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2858 Elf64_Chdr structs and ELFCOMPRESS constants.
2860 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2862 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2864 * math/auto-libm-test-out: Regenerated.
2865 * sysdeps/i386/fpu/libm-test-ulps: Update.
2866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2868 * math/auto-libm-test-in: Add more tests of erf and erfc.
2869 * math/auto-libm-test-out: Regenerated.
2870 * sysdeps/i386/fpu/libm-test-ulps: Update.
2871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2873 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2875 * config.h.in (HAVE_AARCH64_BE): Add.
2877 2015-04-30 Joseph Myers <joseph@codesourcery.com>
2879 * math/auto-libm-test-in: Add more tests of csqrt.
2880 * math/auto-libm-test-out: Regenerated.
2881 * sysdeps/i386/fpu/libm-test-ulps: Update.
2882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2884 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2885 * math/auto-libm-test-out: Regenerated.
2886 * sysdeps/i386/fpu/libm-test-ulps: Update.
2887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2889 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2891 2015-04-29 Roland McGrath <roland@hack.frob.com>
2893 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2894 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2896 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2897 (euidaccess, eaccess): Define as weak aliases.
2899 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2900 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
2901 but __suseconds_t is often 'long int' so some sources assume that
2902 type is being used (e.g. they use %ld to print tv_usec).
2904 2015-04-29 Florian Weimer <fweimer@redhat.com>
2907 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2909 * nss/tst-nss-getpwent.c: New file.
2910 * nss/Makefile (tests): Add new test.
2912 2015-04-28 Joseph Myers <joseph@codesourcery.com>
2915 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2916 exponents less than 48 as cases where high part of mantissa needs
2917 examining to determine whether argument is integral.
2918 * math/libm-test.inc (round_test_data): Add more tests.
2920 2015-04-28 Mark Wielaard <mjw@redhat.com>
2922 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2924 2015-04-27 David S. Miller <davem@davemloft.net>
2926 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2928 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2930 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
2933 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2935 2015-04-27 Florian Weimer <fweimer@redhat.com>
2938 * time/tzset.c (parse_tzname): Return error on memory allocation
2940 * test-skeleton.c (struct temp_name_list): Change type of name
2941 member to non-const.
2942 (add_temp_file): Create a copy of the file name.
2943 (delete_temp_files): Deallocate memory.
2944 (create_temp_file): Add comment.
2946 2015-04-24 Florian Weimer <fweimer@redhat.com>
2948 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2949 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2951 2015-04-24 Roland McGrath <roland@hack.frob.com>
2953 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2954 * sysdeps/arm/configure: Regenerated.
2956 2015-04-24 Florian Weimer <fweimer@redhat.com>
2959 * time/tzfile.c (__tzfile_read): Check for large values of
2960 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
2961 * time/tzset.c (__tzstring_len): New function, based on the old
2962 __tzstring function.
2963 (__tzstring): Call __tzstring_len.
2964 (parse_tzname): New helper function extracted from
2965 __tzset_parse_tz. Call __tzstring_len, without making a copy of
2967 (parse_offset): New helper function extracted from
2968 __tzset_parse_tz. Replace switch with fallthrough with
2969 initialization before sscanf.
2970 (parse_rule): Likewise.
2971 (__tzset_parse_tz): Rewrite using the new helper functions. Use
2972 new-style function definition.
2973 * timezone/Makefile (tests): Add tst-tzset.
2974 (tst-tzset.out): Dependencies on time zone files.
2975 (tst-tzset-ENV): Set TZDIR.
2976 (testdata/XT%): Copy crafted time zone files.
2977 * timezone/README: Mention crafted time zone files.
2978 * timezone/testdata/XT1, timezone/testdata/XT2,
2979 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2981 * timezone/tst-tzset.c: New test.
2983 2015-04-24 Florian Weimer <fweimer@redhat.com>
2985 * Makeconfig (+gccwarn): Remove -Winline.
2987 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2989 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2991 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2993 * NEWS: Mention sysconf() cache information support for s390.
2994 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2996 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
2998 * math/k_casinh.c (__kernel_casinh): Use __copysign.
2999 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3000 (__nearbyint): Likewise.
3001 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3002 (copysignl): Likewise.
3004 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
3007 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3008 based on padding. (CVE-2015-1781)
3010 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3012 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3014 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3015 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3016 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3017 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3018 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3019 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3020 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3021 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3022 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3023 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3024 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3025 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3026 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3027 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3028 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3029 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3030 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3031 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3032 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3033 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3034 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3035 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3036 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3038 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3040 * stdlib/setenv.c (__add_to_environ):
3041 Dump core quickly if setenv (..., NULL, ...) is called.
3042 This time, do it the right way, and pacify GCC with a pragma.
3044 2015-04-17 Roland McGrath <roland@hack.frob.com>
3046 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3047 IMAP->l_prev cannot be null, and #if out the code for the contrary
3048 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3049 believe that NS (&_dl_ns[NSID]) could point outside the array.
3051 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3052 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3053 before using NSID as an index.
3055 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3058 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3059 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3060 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3062 2015-04-17 Roland McGrath <roland@hack.frob.com>
3064 Add preliminary port to Google Native Client on ARM.
3065 * abi-tags (.*-.*-nacl.*): New entry.
3066 * sysdeps/arm/nacl: New directory.
3067 * sysdeps/nacl: New directory.
3069 2015-04-16 David S. Miller <davem@davemloft.net>
3071 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3072 lowlevellock-futex.h
3074 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3076 * sysdeps/tile/configure.ac: New file.
3077 * sysdeps/tile/configure: Regenerated.
3079 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3081 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3082 conditionals for weak_alias and libc_hidden_weak.
3083 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3084 libc_hidden_weak and weak_alias.
3085 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3086 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3087 and weak_alias for static one.
3089 2015-04-15 David S. Miller <davem@davemloft.net>
3091 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3093 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3096 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3097 Use signed comparision instead of substraction to avoid
3099 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3100 Take the sign of ret.
3101 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3102 Do not expect precise return values. Only the sign matters.
3103 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3104 * wcsmbs/test-wcsncmp.c: New File.
3105 * string/test-strncmp.c: Add wcsncmp support.
3107 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3110 * math/w_log1p.c: New file.
3111 * math/w_log1pf.c: Likewise.
3112 * math/w_log1pl.c: Likewise.
3113 * math/Makefile (libm-calls): Add w_log1p.
3114 * math/s_log1pl.c (log1pl): Remove weak_alias.
3115 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3116 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3117 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3118 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3119 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3120 [NO_LONG_DOUBLE] (log1pl): Likewise.
3121 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3122 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3123 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3124 (log1p): Remove long_double_symbol.
3125 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3126 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3127 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3128 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3129 remove weak_alias for corresponding log1p function.
3130 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3131 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3132 * sysdeps/ia64/fpu/w_log1p.c: New file.
3133 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3134 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3135 * math/libm-test.inc (log1p_test_data): Add errno expectations.
3137 2015-04-10 Joseph Myers <joseph@codesourcery.com>
3140 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3141 decimal exponent by 1.
3142 * stdlib/tst-strtod-round-data: Add more tests.
3143 * stdlib/tst-strtod-round.c (tests): Regenerated.
3145 2015-04-09 Joseph Myers <joseph@codesourcery.com>
3147 * math/auto-libm-test-in: Add more tests of clog and clog10.
3148 * math/auto-libm-test-out: Regenerated.
3149 * sysdeps/i386/fpu/libm-test-ulps: Update.
3150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3152 2015-04-09 Roland McGrath <roland@hack.frob.com>
3154 * Makeconfig (module-cppflags): Exclude all .v.i files.
3155 (skip-module-cppflags): Variable removed.
3157 * configure.ac (libc_config_ok): Initialize before reading
3158 preconfigure scripts, not after.
3159 * configure: Regenerated.
3161 * test-skeleton.c (TIMEOUT): Move #define to top level.
3162 (main): Grok environment variable TEST_DIRECT. If set, print
3163 test expectation details into that file and then behave as if
3166 2015-04-09 Florian Weimer <fweimer@redhat.com>
3168 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3171 2015-04-08 David S. Miller <davem@davemloft.net>
3173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3175 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3177 * math/auto-libm-test-in: Add more tests of atanh.
3178 * math/auto-libm-test-out: Regenerated.
3179 * sysdeps/i386/fpu/libm-test-ulps: Update.
3180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3182 * math/auto-libm-test-in: Add more tests of atan.
3183 * math/auto-libm-test-out: Regenerated.
3184 * sysdeps/i386/fpu/libm-test-ulps: Update.
3185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3187 2015-04-08 Florian Weimer <fweimer@redhat.com>
3189 * elf/pldd.c (main): Rewrite to use struct
3190 scratch_buffer instead of extend_alloca.
3191 * elf/pldd-xx.c (find_maps): Likewise.
3192 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3194 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3195 scratch_buffer instead of extend_alloca.
3196 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3197 grp/compat-initgroups.c.
3198 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3199 Rewrite to use struct scratch_buffer instead of extend_alloca.
3200 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3201 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3203 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3205 * math/auto-libm-test-in: Add more tests of cbrt.
3206 * math/auto-libm-test-out: Regenerated.
3207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3209 * math/auto-libm-test-in: Add more tests of cabs.
3210 * math/auto-libm-test-out: Regenerated.
3211 * sysdeps/i386/fpu/libm-test-ulps: Update.
3212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3216 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3217 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3219 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3221 * math/auto-libm-test-out: Regenerated.
3222 * sysdeps/i386/fpu/libm-test-ulps: Update.
3223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3226 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3227 (atan): Set FE_TONEAREST mode for internal computations.
3228 * math/auto-libm-test-in: Add more tests of atan.
3229 * math/auto-libm-test-out: Regenerated.
3231 2015-04-07 James Cowgill <james410@cowgill.org.uk>
3234 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3236 2015-04-07 Florian Weimer <fweimer@redhat.com>
3238 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3240 2015-04-07 Florian Weimer <fweimer@redhat.com>
3242 * include/scratch_buffer.h: New file.
3243 * malloc/scratch_buffer_grow.c: Likewise.
3244 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3245 * malloc/scratch_buffer_set_array_size.c: Likewise.
3246 * malloc/tst-scratch_buffer.c: Likewise.
3247 * malloc/Makefile (routines): Add scratch_buffer_grow.
3248 (tests): Add test case.
3249 * malloc/Versions (GLIBC_PRIVATE): Export
3250 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3251 __libc_scratch_buffer_set_array_size.
3253 2015-04-06 Richard Henderson <rth@redhat.com>
3255 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3256 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3258 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3259 unsigned int before printing.
3261 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3264 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3265 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3267 2015-04-02 Florian Weimer <fweimer@redhat.com>
3269 * include/libc-internal.h (libc_max_align_t): Define.
3271 2015-04-02 Andreas Schwab <schwab@suse.de>
3274 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3276 2015-04-02 Mel Gorman <mgorman@suse.de>
3279 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3280 as well as the main arena.
3282 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3285 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3286 sharing L2 cache to 2 for Silvermont/Knights Landing.
3288 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3291 * config.make.in (have-protected-data): New.
3292 * configure.ac: Check linker support for protected data symbol.
3293 * configure: Regenerated.
3294 * elf/Makefile (modules-names): Add tst-protected1moda and
3295 tst-protected1modb if $(have-protected-data) is yes.
3296 (tests): Add tst-protected1a and tst-protected1b if
3297 $(have-protected-data) is yes.
3298 ($(objpfx)tst-protected1a): New.
3299 ($(objpfx)tst-protected1b): Likewise.
3300 (tst-protected1modb.so-no-z-defs): Likewise.
3301 * elf/tst-protected1a.c: New file.
3302 * elf/tst-protected1b.c: Likewise.
3303 * elf/tst-protected1mod.h: Likewise.
3304 * elf/tst-protected1moda.c: Likewise.
3305 * elf/tst-protected1modb.c: Likewise.
3307 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3310 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3311 indicates it is called from do_lookup_x on relocation against
3312 protected data, skip the data definion in the executable from
3314 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3315 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3316 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3317 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3318 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3320 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3321 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3322 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3323 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3324 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3325 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3327 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3329 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3330 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3332 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3334 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3336 * sysdeps/x86_64/nptl/tls.h: Ditto.
3338 2015-03-27 Roland McGrath <roland@hack.frob.com>
3340 * dlfcn/tststatic.c (main): Converted to ...
3341 (do_test): ... this.
3342 (TEST_FUNCTION): New macro.
3343 Include test-skeleton.c.
3345 2015-03-26 Alan Modra <amodra@gmail.com>
3347 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3348 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3349 zero for undefined weak.
3350 (elf_machine_plt_conflict): Similarly.
3352 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3354 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3356 * math/auto-libm-test-out: Regenerated.
3357 * sysdeps/i386/fpu/libm-test-ulps: Update.
3358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3360 * math/auto-libm-test-in: Add another test of asin.
3361 * math/auto-libm-test-out: Regenerated.
3362 * sysdeps/i386/fpu/libm-test-ulps: Update.
3363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3365 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3367 (LLL_EBX_REG): Likewise.
3368 (LLL_ENTER_KERNEL): Likewise.
3370 * math/auto-libm-test-in: Add more tests of asin.
3371 * math/auto-libm-test-out: Regenerated.
3372 * sysdeps/i386/fpu/libm-test-ulps: Update.
3373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3376 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3377 libc_do_syscall_args): New structure.
3378 (INTERNAL_SYSCALL_MAIN_0): New macro.
3379 (INTERNAL_SYSCALL_MAIN_1): Likewise.
3380 (INTERNAL_SYSCALL_MAIN_2): Likewise.
3381 (INTERNAL_SYSCALL_MAIN_3): Likewise.
3382 (INTERNAL_SYSCALL_MAIN_4): Likewise.
3383 (INTERNAL_SYSCALL_MAIN_5): Likewise.
3384 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
3385 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3386 Replace conditional definitions by conditional definitions of ....
3387 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
3388 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3389 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3390 (libpthread-sysdep_routines): Add libc-do-syscall.
3391 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3392 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3393 to __NR_futex not 240.
3395 2015-03-25 Alan Modra <amodra@gmail.com>
3397 * NEWS: Advertise TLS optimization.
3398 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3399 (DT_PPC_NUM): Increment.
3400 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3401 (CHECK_STATIC_TLS): Use here.
3402 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3404 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3405 * sysdeps/powerpc/dl-tls.c: New file.
3406 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3407 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3408 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3409 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3414 2015-03-25 Alan Modra <amodra@gmail.com>
3416 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3417 for overlapping .opd entries" to "support...".
3418 * sysdeps/powerpc/powerpc64/configure: Regenerate
3420 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3422 * math/auto-libm-test-in: Add more tests of acos.
3423 * math/auto-libm-test-out: Regenerated.
3424 * sysdeps/i386/fpu/libm-test-ulps: Update.
3425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3427 * math/auto-libm-test-in: Add more tests of expm1.
3428 * math/auto-libm-test-out: Regenerated.
3429 * sysdeps/i386/fpu/libm-test-ulps: Update.
3430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3432 2015-03-24 Joseph Myers <joseph@codesourcery.com>
3434 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3435 * math/auto-libm-test-out: Regenerated.
3436 * sysdeps/i386/fpu/libm-test-ulps: Update.
3437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3439 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3442 * math/auto-libm-test-in: Add more tests of log2.
3443 * math/auto-libm-test-out: Regenerated.
3444 * sysdeps/i386/fpu/libm-test-ulps: Update.
3445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3447 2015-03-23 Roland McGrath <roland@hack.frob.com>
3449 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3450 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
3451 _IO_IS_APPENDING bit in READ_WRITE instead.
3453 2015-03-23 Florian Weimer <fweimer@redhat.com>
3455 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3456 (__determine_cpumask_size): Replace extend_alloca with a
3457 variable-length array. Do not treat res == 0 as an error.
3459 2015-03-23 Florian Weimer <fweimer@redhat.com>
3462 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3463 and integer overflow.
3464 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3465 (main): Add integer overflow tests.
3466 * manual/pattern.texi (Calling Wordexp): Document additional use
3469 2015-03-23 Alan Modra <amodra@gmail.com>
3471 * config.h.in: Remove HAVE_ASM_PPC_REL16.
3472 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3473 and false branch of conditional.
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3477 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
3479 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3481 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3482 unused declaration of _hurd_intr_rpc_msg_in_trap.
3483 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3484 defined instead of whether it is non-zero.
3485 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3486 input constraint instead of both input and output constraint. Use ecx
3487 clobber instead of %ecx.
3488 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3489 mutex_unlock): Use a statement expression instead of an expression list.
3490 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3491 type to vm_size_t instead of vm_address_t.
3492 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3493 defined instead of whether it is non-zero.
3494 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3495 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3496 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3497 comparisons with mapaddr.
3498 * nscd/nscd-client.h: Include <time.h>.
3499 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3500 9th parameter to __vm_region instead of int.
3501 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3502 * scripts/check-local-headers.sh (exclude): Add device/,
3503 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3506 2015-03-19 Roland McGrath <roland@hack.frob.com>
3508 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3509 to account for alignment padding.
3510 * sysdeps/arm/memmove.S: Likewise.
3512 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
3514 * sysdeps/unix/sysv/linux/generic/README: New file.
3516 2015-03-18 Joseph Myers <joseph@codesourcery.com>
3519 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3520 (futex_abstimed_wait)
3521 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3522 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3523 of lll_futex_timed_wait.
3525 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
3528 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3530 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
3537 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3538 entries with Static TLS too. Skip entries past the end of the
3539 allocated DTV, from Alan Modra.
3540 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
3541 Static TLS DTV entry set up from...
3542 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3543 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3544 * nptl/allocatestack.c (init_one_static_tls): ... and here...
3545 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3547 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
3548 that the slot we find is associated with the given map before
3549 using its generation count.
3550 * nptl_db/db_info.c: Include ldsodefs.h.
3551 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3552 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3553 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3554 (link_map::l_tls_offset): New struct field.
3555 (dtv_t::counter): Likewise.
3556 (rtld_global): New struct.
3557 (_rtld_global): New rtld variable.
3558 (dl_tls_dtv_slotinfo_list): New rtld global field.
3559 (dtv_slotinfo_list): New struct.
3560 (dtv_slotinfo): Likewise.
3561 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3562 (td_lookup): Rename to...
3563 (td_mod_lookup): ... this. Use new mod parameter instead of
3565 * nptl_db/td_thr_tlsbase.c: Include link.h.
3566 (dtv_slotinfo_list, dtv_slotinfo): New functions.
3567 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
3568 addresses even if the DTV is out of date or missing them.
3569 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3570 index zero-length arrays.
3571 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3572 (td_lookup): Make it a macro implemented in terms of...
3573 (td_mod_lookup): ... this declaration.
3574 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3575 (DB_MAIN_VARIABLE): Likewise.
3577 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
3580 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3582 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
3584 * stdlib/setenv.c (__add_to_environ): Revert previous change.
3586 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
3589 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3590 (atomic_add, atomic_increment_and_test)
3591 (atomic_decrement_and_test): Fix 64-bit arithmetic.
3593 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
3595 * stdlib/setenv.c (__add_to_environ):
3596 Dump core quickly if setenv (..., NULL, ...) is called.
3598 2015-03-13 Roland McGrath <roland@hack.frob.com>
3600 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3601 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3602 all the necessary asm magic in one place.
3603 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3606 2015-03-13 Carlos O'Donell <carlos@redhat.com>
3609 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3610 traced file mtime. Use consistent log message.
3611 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3612 (register_traced_file): Call install_watches. Always set mtime.
3613 (invalidate_cache): Iterate over all trace files. Call install_watches.
3614 (inotify_check_files): Don't inline. Handle watching parent
3615 directories and configuration file movement in and out.
3616 (handle_inotify_events): New function.
3617 (main_loop_poll): Call handle_inotify_events.
3618 (main_loop_epoll): Likewise.
3619 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3620 (struct traced_file): Use array of inotify fds. Add parent directory,
3622 (struct database_dyn): Remove unused file_mtime.
3623 (init_traced_file): New inline function.
3624 (define_traced_file): New macro.
3625 * nss/nss_db/db-init.c: Use define_traced_file.
3626 (_nss_db_init): Use init_traced_file.
3627 * nss/nss_files/files-init.c: Use define_traced_file.
3628 (_nss_files_init): Use init_traced_file.
3630 2015-03-12 Joseph Myers <joseph@codesourcery.com>
3632 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3633 [_LIBC]: Do not include <stdlib.h>.
3634 [!_LIBC] (abort): Remove declaration.
3635 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3636 _FP_STATIC_ASSERT instead of conditionally calling abort.
3637 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3638 (_FP_EXTEND_CNAN): Likewise.
3639 (FP_TRUNC): Likewise.
3640 (__FP_CLZ): Likewise.
3641 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3643 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
3645 * manual/string.texi (XPG basename): Fix prototype.
3647 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3650 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3651 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3652 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3653 (__setcontext): Likewise.
3654 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3655 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3656 Call rt_sigprocmask syscall one time to set new signal mask
3657 and retrieve the current signal mask instead of two calls.
3658 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3659 (__swapcontext): Likewise.
3660 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3661 * stdlib/tst-setcontext2.c: New file.
3663 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3665 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3667 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
3670 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3673 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3676 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3678 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3680 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3681 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3683 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3684 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3685 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3686 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3687 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3688 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3690 * nptl_db/td_symbol_list.c (td_lookup): Remove
3691 HAVE_ASM_GLOBAL_DOT_NAME code.
3692 * sysdeps/powerpc/powerpc64/configure.ac: Remove
3693 HAVE_ASM_GLOBAL_DOT_NAME check.
3694 * sysdeps/powerpc/powerpc64/configure: Regenerate.
3695 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3696 (DOT_LABEL): Remove define.
3697 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3698 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3699 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3700 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3701 (__TLS_GET_ADDR): Likewise.
3702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3703 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3705 2015-03-11 Carlos O'Donell <carlos@redhat.com>
3708 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3709 (_FPU_SETCW): Initialize cw from fpsr before storing.
3710 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3711 (fesetexceptflag): Rewrite using fpu_control.h.
3712 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3714 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
3717 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3719 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3721 2015-03-11 Joseph Myers <joseph@codesourcery.com>
3723 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3724 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3726 (_FP_FMA): Likewise.
3727 (_FP_DIV): Likewise.
3729 2015-03-10 Roland McGrath <roland@hack.frob.com>
3731 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3732 with 0 in that case.
3733 * Makefile (summarize-tests): New canned sequence, factored out of
3734 commands for targets tests and xtests. Display summary lines that
3735 don't start with PASS: or XFAIL: rather than ones that do start with
3736 ERROR: or FAIL:. Make the commands fail if any summary lines fail
3737 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3738 do start with ERROR: or FAIL:.
3739 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3740 (except for [$(build-shared) = yes]).
3741 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3742 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3743 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3744 * nptl/Makefile: Revert 2015-03-04 changes.
3745 [$(CXX) empty] (tests-unsupported): New variable.
3746 * debug/Makefile: Likewise.
3748 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3749 gnulib file. Replace __attribute with __attribute__ throughout.
3751 2015-03-10 Carlos O'Donell <carlos@redhat.com>
3753 * sysdeps/hppa/fpu/libm-test-ulps: Update.
3755 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3758 * math/auto-libm-test-in: Add another test of pow.
3759 * math/auto-libm-test-out: Regenerated.
3761 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3763 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3764 $(config-cflags-nofma).
3766 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3768 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3769 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3770 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3771 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3772 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3773 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3774 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3775 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3776 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3777 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3778 Add comment on closing #endif.
3780 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3782 * posix/wordexp.c (CHAR_IN_SET): New macro.
3783 (parse_param): Use it.
3785 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3787 * sysdeps/powerpc/fpu/libm-test-ulps: update.
3789 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3792 * posix/wordexp.c (parse_param): Fix buffer overflow.
3793 * posix/wordexp-test.c (test_case): Add test case.
3795 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3798 * posix/wordexp.c (parse_backtick): Fix off-by-one.
3799 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3801 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3804 * posix/wordexp-test.c (test_case): Add test for BZ #18043
3805 (do_bz18043): Delete.
3807 (testit): Refactor to have words at the edge of unreadable page.
3809 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3812 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3813 Cleanup read-only streams as well.
3814 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3816 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3818 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3821 2015-03-07 Joseph Myers <joseph@codesourcery.com>
3823 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
3825 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3826 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3827 * soft-fp/op-common.h (_FP_DECL): Likewise.
3829 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
3831 * elf/ifuncdep2.c (global): Replace
3832 __attribute__((visibility("protected"))) with
3833 asm (".protected global").
3834 * elf/ifuncmod1.c (global): Likewise.
3835 * elf/ifuncmod5.c (global): Likewise.
3837 2015-03-06 Joseph Myers <joseph@codesourcery.com>
3839 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3840 <asm/sfp-machine.h> instead of <sfp-machine.h>.
3842 2015-03-06 Roland McGrath <roland@hack.frob.com>
3844 * manual/install.texi (Configuring and compiling):
3845 Document test-wrapper-env-only.
3846 * INSTALL: Regenerated.
3848 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3851 * posix/wordexp.c (parse_param): Fix buffer overflow.
3852 * posix/wordexp-test.c (do_bz18043): Add test case.
3854 2015-03-06 Vincent Bernat <vincent@bernat.im>
3856 * time/tst-strptime2.c (do_test): Ensure failing tests are
3858 * time/tst-strptime3.c (do_test): Likewise.
3860 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
3862 Fix aio_error thread-safety.
3863 * sysdeps/pthread/aio_error.c: New file
3864 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3867 2015-03-06 Florian Weimer <fweimer@redhat.com>
3869 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3870 (group_number, vfprintf): Use it.
3871 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3872 (JUMP, REF): Use it.
3873 (WORK_BUFFER_SIZE): New enum constant.
3874 (process_arg, vfprintf): Use it.
3876 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
3878 * manual/errno.texi (Error Messages): Complete example function
3879 by adding missing #define.
3880 (program_invocation_name): Add statement indicating GNU
3881 extension and reference which header file declares the variable.
3882 (program_invocation_short_name): Likewise.
3884 2015-03-06 Mike Frysinger <vapier@gentoo.org>
3886 * manual/errno.texi (Error Messages): Delete strerror ISO C89
3889 2015-03-05 Roland McGrath <roland@hack.frob.com>
3891 * Makeconfig (test-wrapper-env-only): New variable.
3892 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3893 then use that with $(test-wrapper-env-only) rather than using
3894 $(test-wrapper-env) $(run-program-env) $($*-ENV).
3896 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
3899 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3900 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3901 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3902 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3903 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3904 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3905 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3906 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3908 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3909 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3911 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3913 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3915 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3917 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3918 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3920 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3922 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3923 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3925 2015-03-04 Roland McGrath <roland@hack.frob.com>
3927 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3928 (ETH_ALEN): New macro.
3929 (struct ether_addr): Use it for length of ether_addr_octet.
3931 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3932 (setdb): Don't call __nss_configure_lookup for "rpc".
3933 (do_test): Don't call test_rpc.
3934 (output_rpcent, test_rpc): Functions moved ...
3935 * sunrpc/test-rpcent.c: ... to this new file.
3936 * sunrpc/Makefile (tests): Add it.
3938 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3940 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3941 * nptl/tst-signal6.c: Likewise.
3942 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3943 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3945 * configure.ac (libc_cv_cxx_link_ok): New check.
3946 Reset CXX to empty if it fails to link.
3947 * configure: Regenerated.
3948 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3949 bug-atexit3-lib only if $(CXX) is nonempty.
3950 * nptl/Makefile (tests): Likewise for tst-cancel24.
3951 (tests, tests-static): Likewise for tst-cancel24-static.
3952 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3953 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3954 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3955 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3957 2015-03-04 Andreas Schwab <schwab@suse.de>
3960 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3961 for non-GCC compilers.
3962 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3965 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3968 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3969 integer before bitwise and assembly operations.
3970 (feclearexcept): Likewise.
3971 * math/test-fenvinline.c: New file.
3972 * math/Makefile: Add test-fenvinline test.
3974 2015-03-03 Alan Modra <amodra@gmail.com>
3977 * scripts/localplt.awk: Strip off symbol version.
3978 * NEWS: Mention bug fix.
3980 2015-03-02 Roland McGrath <roland@hack.frob.com>
3982 * sysdeps/pthread/timer_routines.c
3983 (timer_free_list, thread_free_list, thread_active_list): Make static.
3985 2015-03-02 Joseph Myers <joseph@codesourcery.com>
3988 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3989 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3991 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3992 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3994 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3995 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3998 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4001 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4002 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4004 2015-03-02 Andreas Schwab <schwab@suse.de>
4006 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4009 2015-03-02 Florian Weimer <fweimer@redhat.com>
4011 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4012 Return error status.
4014 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
4017 * locale/findlocale.c (_nl_find_locale): Introduce const
4018 version of loc_name and drop unsafe type casts.
4020 2015-02-27 Roland McGrath <roland@hack.frob.com>
4022 * dlfcn/tststatic2.c (main): Converted to ...
4023 (do_test): ... this.
4024 (TEST_FUNCTION): New macro.
4025 Include test-skeleton.c.
4027 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4030 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4031 (tests-pie): Add vismain.
4032 (CFLAGS-vismain.c): New.
4033 * elf/vismain.c: Add comments for PIE requirement.
4035 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4039 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4040 0x1p-56L as threshold for just returning the argument.
4041 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4042 0x1p-32L as threshold for just returning the argument.
4043 * math/auto-libm-test-in: Add more tests of atanh.
4044 * math/auto-libm-test-out: Regenerated.
4045 * sysdeps/i386/fpu/libm-test-ulps: Update.
4046 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4048 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4050 * string/bcopy.c (bcopy): Call memmove for performance.
4052 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4054 * string/bzero.c (__bzero): Call memset for performance.
4056 2015-02-27 John David Anglin <dave.anglin@bell.net>
4059 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4062 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4064 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4066 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4068 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4069 (__kernel_standard): Use CSTR macro when setting exc.name.
4070 * sysdeps/ieee754/Makefile [$(subdir) = math]
4071 (CFLAGS-k_standard.c): Remove variable.
4073 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4074 setting p and q from "else if" to "else".
4076 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4078 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4080 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4082 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4084 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4089 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4090 return pi/2 for arguments below 0x1p-113L.
4091 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4092 return pi/2 for arguments below 0x1p-106L.
4093 * math/auto-libm-test-in: Add more tests of acos.
4094 * math/auto-libm-test-out: Regenerated.
4097 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4099 (__ieee754_asin): Force underflow exception for results with small
4101 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4103 (__ieee754_asinf): Force underflow exception for results with
4104 small absolute value.
4105 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4106 (__ieee754_asin): Force underflow exception for results with small
4108 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4109 (__ieee754_asinf): Force underflow exception for results with
4110 small absolute value.
4111 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4112 (__ieee754_asinl): Force underflow exception for results with
4113 small absolute value.
4114 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4115 (__ieee754_asinl): Force underflow exception for results with
4116 small absolute value.
4117 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4118 (__ieee754_asinl): Force underflow exception for results with
4119 small absolute value.
4120 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4122 * math/auto-libm-test-in: Do not mark underflow exceptions as
4123 possibly missing for bug 16351.
4124 * math/auto-libm-test-out: Regenerated.
4127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4128 of power of 2 down when low part has opposite sign.
4129 * math/libm-test.inc (logb_test_data): Add more tests.
4131 2015-02-26 Andreas Schwab <schwab@suse.de>
4134 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4135 over collating symbol inside a bracket expression. Minor cleanup.
4136 * posix/tst-fnmatch3.c (do_test): Add test case.
4138 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4141 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4142 Adjust exponent of power of 2 down when low part has opposite
4144 * math/libm-test.inc (ilogb_test_data): Add more tests.
4146 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
4149 * locale/findlocale.c (_nl_find_locale): Fix constness error in
4150 the previous change.
4153 * locale/findlocale.c (_nl_find_locale): Retry archive search
4154 after alias expansion.
4156 2015-02-25 Roland McGrath <roland@hack.frob.com>
4158 * iconv/tst-iconv3.c (main): Converted to ...
4159 (do_test): ... this.
4160 (TEST_FUNCTION): New macro.
4161 Include test-skeleton.c.
4163 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4164 (convert): Make function static.
4165 (test_unalign): Likewise. Add const to argument pointee types.
4166 (main): Replace with static function do_test.
4167 Print "Succeeded." only if RET is zero.
4168 (TEST_FUNCTION): New macro.
4169 Include test-skeleton.c.
4171 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4172 returns a null pointer.
4174 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4176 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4177 to __memcpy_ppc only for static builds.
4179 2015-02-25 Joseph Myers <joseph@codesourcery.com>
4182 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4183 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4184 * math/auto-libm-test-in: Add more tests of asinh.
4185 * math/auto-libm-test-out: Regenerated.
4186 * sysdeps/i386/fpu/libm-test-ulps: Update.
4187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4189 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4192 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4193 and ip6_mtuinfo definitions here.
4194 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4195 in this define too. Update comment.
4197 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
4199 * elf/sprof.c (load_shobj): Tweak error message to match others.
4201 2015-02-24 Kevin Easton <kevin@guarana.org>
4203 [BZ #16145] (partial fix)
4204 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4205 to reduce lock contention.
4207 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4209 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4210 (struct timex): Update time comment.
4211 (ADJ_SETOFFSET): Define.
4213 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4216 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4217 2**56 not 2**28 as threshold for log (2x) formula.
4218 * math/auto-libm-test-in: Add more tests of acosh.
4219 * math/auto-libm-test-out: Regenerated.
4220 * sysdeps/i386/fpu/libm-test-ulps: Update.
4221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4223 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4225 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4226 parenthesis around the buf assignment.
4227 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4229 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4232 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4233 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4234 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4235 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4236 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4237 * math/libm-test.inc (scalb_test_data): Add more tests.
4239 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4242 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4243 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4245 2015-02-24 Eric Rannaud <e@nanocritical.com>
4248 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4249 * io/bits/fcntl2.h (open): Use it.
4251 * io/open.c (__libc_open): Likewise.
4252 * io/open64.c (__libc_open64): Likewise.
4253 * io/open64_2.c (__open64_2): Likewise.
4254 * io/open_2.c (__open_2): Likewise.
4255 * io/openat.c (__openat): Likewise.
4256 * io/openat64.c (__openat64): Likewise.
4257 * io/openat64_2.c (__openat64_2): Likewise.
4258 * io/openat_2.c (__openat_2): Likewise.
4259 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4260 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4261 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4262 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4263 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4264 (__open_nocancel): Likewise.
4265 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4266 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4267 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4269 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4272 * resolv/gethnamaddr.c (getanswer): Skip logging if
4273 RES_USE_DNSSEC is set.
4274 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4276 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4278 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4280 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
4282 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4283 201304L, for Unicode 7.
4285 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4288 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4289 shared library. Add gmon-start.os otherwise.
4290 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4291 $(objpfx)gmon-start.os if builing shared library.
4292 ($(objpfx)g$(static-start-installed-name)): Likewise.
4294 2015-02-23 Andreas Schwab <schwab@suse.de>
4296 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4298 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4301 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4302 (enlarge_userbuf): Likewise.
4304 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4306 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4307 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4308 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4309 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4311 2015-02-20 Joseph Myers <joseph@codesourcery.com>
4313 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4314 expression inside statement expression.
4316 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4318 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4319 <sysdeps/nptl/lowlevellock.h> and remove macros and
4320 functions that are now defined there.
4321 (SYS_futex): Remove.
4322 (lll_compare_and_swap): Remove.
4323 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4325 2015-02-19 Joseph Myers <joseph@codesourcery.com>
4328 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4329 instead of scandirat.
4330 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4331 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4332 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4334 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4335 (__scandirat): Declare. Use libc_hidden_proto.
4336 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4338 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4340 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4343 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4345 (__ieee754_atan2): For results with small absolute value, force
4346 underflow exception and remove excess range and precision from
4348 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4350 (__ieee754_atan2f): For results with small absolute value, force
4351 underflow exception and remove excess range and precision from
4353 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4355 (__atan): For results with small absolute value, force underflow
4356 exception and remove excess range and precision from return value.
4357 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4359 (__atanf): For results with small absolute value, force underflow
4360 exception and remove excess range and precision from return value.
4361 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4363 (__ieee754_atan2): Force underflow exception for results with
4364 small absolute value.
4365 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4367 (atan): Force underflow exception for results with small absolute
4369 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4370 (__atanf): Force underflow exception for results with small
4372 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4374 (__atanl): Force underflow exception for results with small
4376 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4377 (__atanl): Force underflow exception for results with small
4379 * sysdeps/x86/fpu/bits/mathinline.h
4380 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4381 (__ieee754_atan2): Only define inline for long double.
4382 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4383 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4384 * math/auto-libm-test-in: Do not mark underflow exceptions as
4385 possibly missing for bug 15319. Add more tests of atan2.
4386 * math/auto-libm-test-out: Regenerated.
4387 * math/libm-test.inc (casin_test_data): Do not mark underflow
4388 exceptions as possibly missing for bug 15319.
4389 (casinh_test_data): Likewise.
4390 * sysdeps/i386/fpu/libm-test-ulps: Update.
4392 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
4394 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4395 * sysdeps/mips/bits/endian.h: Fix comments.
4397 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4400 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4401 (hdestroy_r): Likewise.
4402 (hsearch_r): Likewise.
4403 (__hcreate_r): Declare and use libc_hidden_proto.
4404 (__hdestroy_r): Likewise.
4405 (__hsearch_r): Likewise.
4406 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4407 (hcreate): Call __hcreate_r instead of hcreate_r.
4408 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4409 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4410 as weak alias of __hcreate_r.
4411 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4413 (hsearch_r): Rename to __hsearch_r and define as weak alias of
4415 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4417 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4418 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4419 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4420 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4422 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4424 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4425 arena_lock into a single arena_get.
4427 2015-02-17 Carlos O'Donell <carlos@redhat.com>
4429 * dl-reloc.c: Inlucde libc-internal.h.
4430 (_dl_try_allocate_static_tls): Call ALIGN_UP.
4431 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4432 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4433 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4434 (grow_heap): Likewise.
4435 * malloc/malloc.c: Include libc-internal.h.
4436 (do_check_malloc): Call powerof2.
4437 (sysmalloc): Use pagesize. Call ALIGN_UP.
4438 (systrim): Use pagesize.
4439 (mremap_chunk): Use pagesize. Call ALIGN_UP.
4440 (__libc_valloc): Use pagesize.
4441 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4443 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4446 * include/sys/resource.h (__getrlimit64): Declare. Use
4448 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4449 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
4450 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4452 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4454 [!getrlimit64] (getrlimit64): Define as weak alias of
4455 __getrlimit64. Use libc_hidden_weak.
4456 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4457 using __getrlimit64 not __new_getrlimit64.
4458 (__GI_getrlimit64): Likewise.
4459 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4461 (__GI_getrlimit64): Likewise.
4462 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4464 (getrlimit): Add __getrlimit64 alias.
4465 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4467 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4469 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4470 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4472 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4474 * libio/fileops.c: Add missing sys/mman.h
4475 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4477 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4479 * manual/math.texi (Errors in Math Functions): Clarify goals
4480 regarding inexact and underflow exceptions.
4482 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4484 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4485 * sysdeps/mips/memset.S: Ditto.
4487 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4489 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4491 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4493 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4494 (__v1longjmp): Remove versioned symbol.
4495 (__v1siglongjmp): Remove alias and versioned symbol.
4496 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4497 (__v2siglongjmp): Likewise.
4499 2015-02-16 Torvald Riegel <triegel@redhat.com>
4501 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4503 2015-02-16 Mike Frysinger <vapier@gentoo.org>
4505 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4507 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4510 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4511 zero result does not depend on the sign resulting from
4513 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4515 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4516 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4517 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4518 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4519 * math/libm-test.inc (remquo_test_data): Add more tests.
4521 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
4523 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4524 Problem reported by J William Piggott.
4526 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4529 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4530 products 4 * y and 2 * y where those would overflow.
4531 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4533 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4534 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4535 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4536 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4537 * math/libm-test.inc (remquo_test_data): Add more tests.
4539 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4541 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4542 [defined _COMPILING_NEWLIB].
4543 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4544 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4546 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4547 [!defined __mips_isa_rev || __mips_isa_rev < 6].
4549 2015-02-16 Torvald Riegel <triegel@redhat.com>
4551 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4554 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
4557 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4558 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4559 HOST_STACK_END_ADDR): Likewise.
4561 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
4563 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4564 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4565 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4567 2015-02-13 Roland McGrath <roland@hack.frob.com>
4569 * sysdeps/generic/c++-types.data: New file.
4570 * sysdeps/generic/ld.abilist: New file.
4571 * sysdeps/generic/libBrokenLocale.abilist: New file.
4572 * sysdeps/generic/libanl.abilist: New file.
4573 * sysdeps/generic/libc.abilist: New file.
4574 * sysdeps/generic/libcrypt.abilist: New file.
4575 * sysdeps/generic/libdl.abilist: New file.
4576 * sysdeps/generic/libm.abilist: New file.
4577 * sysdeps/generic/libpthread.abilist: New file.
4578 * sysdeps/generic/libresolv.abilist: New file.
4579 * sysdeps/generic/librt.abilist: New file.
4581 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4584 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4585 Compute absolute value of x as modified by fmod, not original
4587 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4588 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
4589 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
4590 RUN_TEST_ffI_f1_mod8.
4591 (remquo_test_data): Add more tests.
4593 2015-02-13 Roland McGrath <roland@hack.frob.com>
4595 * sysdeps/init_array/pt-crti.S: New file.
4597 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4600 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4601 __builtin_fmaf instead of relying on contraction of a * b + c.
4603 2015-02-12 J William Piggott <elseifthen@gmx.com>
4606 * manual/time.texi: correct the zoneinfo path in the TZ Variable
4609 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4612 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4613 __builtin_fma instead of relying on contraction of a * b + c.
4615 2015-02-12 Roland McGrath <roland@hack.frob.com>
4617 * Makeconfig (ASFLAGS): Add -Werror=undef.
4618 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4619 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4620 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4622 * Makeconfig (after-link): New variable.
4623 (+link-pie, +link-pie-tests): Use it.
4624 (+link-static, +link-static-tests): Likewise.
4625 (+link, +link-tests): Likewise.
4626 * Makerules (build-module, build-module-asneeded): Likewise.
4627 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4629 * elf/Makefile ($(objpfx)ld.so): Likewise.
4631 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4634 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4635 both struct timeval and struct timespec.
4637 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4640 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4642 (__ieee754_exp2l): Do not multiply small fractional parts by
4644 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4646 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4647 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4648 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4649 * math/auto-libm-test-in: Add more tests of exp2.
4650 * math/auto-libm-test-out: Regenerated.
4652 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4654 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4657 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4659 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4662 2015-02-12 Andreas Schwab <schwab@suse.de>
4665 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4666 Filter out elision flags from value returned in kind.
4667 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4668 * nptl/tst-pthread-mutexattr.c: New file.
4670 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
4672 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4673 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4674 into gnu-gnu, and update comment to refer to abi-tags.
4676 2015-02-11 Joseph Myers <joseph@codesourcery.com>
4679 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4680 (__sincos): Set errno to EDOM for infinite argument.
4681 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4682 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4683 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4684 (__sincosl): Set errno to EDOM for infinite argument.
4685 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4686 (__sincosl): Set errno to EDOM for infinite argument.
4687 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4688 (__sincosl): Set errno to EDOM for infinite argument.
4689 * math/libm-test.inc (sincos_test_data): Test errno setting.
4691 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
4693 * string/strxfrm_l.c: Remove #define STRCMP.
4694 * string/strcoll_l.c: Remove #define STRLEN.
4695 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4696 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4698 2015-02-10 Joseph Myers <joseph@codesourcery.com>
4700 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4701 * sysdeps/mips/mips32/sfp-machine.h: ... here.
4702 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4703 * sysdeps/mips/mips64/Makefile: ... here.
4704 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4705 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4706 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4707 * sysdeps/mips/mips64/sfp-machine.h: ... here.
4708 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4709 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4710 * sysdeps/mips/mips64/n64/Implies: Likewise.
4712 2015-02-10 Roland McGrath <roland@hack.frob.com>
4714 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4715 <sys/time.h>, <string.h>, and <errno.h>.
4716 (dest_offset, dest_address, value, zero): Remove unused variables.
4717 (ldouble): Remove typedef.
4718 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4719 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
4721 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4722 (check): Function removed.
4724 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
4725 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4726 Don't call set_sigaction_FP and remove_sigaction_FP here.
4727 (ldouble_test): Just use 'long double' as macro argument, no need for
4728 the 'ldouble' typedef.
4729 (do_test): Set up SIGFPE handler at start, using plain signal rather
4730 than sigaction. Fix code style.
4732 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
4735 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4738 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4740 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4741 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4743 * sysdeps/powerpc/configure.ac: Remove file.
4744 * sysdeps/powerpc/configure: Likewise.
4746 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4747 [sysdep_routines]: Remove wordcopy-power6 object.
4748 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4749 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4750 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4751 (__memmove_ppc32): Likewise.
4752 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4754 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4755 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4756 Remove preprocessor.
4758 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4759 [sysdep_routines]: Remove wide chars objects.
4760 [wcsmbs]: New rule for wide char objects.
4762 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4763 Remove wordcopy-power6 obejct.
4764 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4765 Use local call for wordcopy and memcpy symbols.
4766 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4767 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4768 implementation for loader.
4769 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4771 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4772 Remove wordcopy-power7 object.
4773 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4774 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4775 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4776 (_wordcopy_fwd_dest_aligned): Likewise.
4777 (_wordcopy_bwd_aligned): Likewise.
4778 (_wordcopy_bwd_dest_aligned): Likewise.
4780 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4781 Rewrite to call __memmove_ppc instead of include default
4784 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4785 Remove wide chars objects.
4786 [wcsmbs]: New rule for wide char objects.
4788 2015-02-09 Andreas Schwab <schwab@suse.de>
4791 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4792 in terms of __O_DIRECTORY.
4794 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4796 * time/getdate.c: Include <stdbool.h>.
4797 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4799 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4802 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
4804 Add ersatz _Static_assert on older C hosts
4805 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4806 pre-C11 C platform that is not known to support _Static_assert.
4808 2015-02-07 Richard Braun <rbraun@sceen.net>
4810 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4812 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4814 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4816 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4817 priority against unexistent AIO_PRIO_DELTA_MAX.
4818 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4820 * misc/fchflags.c (fchflags): Likewise.
4821 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4822 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4823 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4824 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4825 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4827 [__USE_MISC] (chflags, fchflags): Declare functions.
4828 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4829 EINVAL when nfds is greater than FD_SETSIZE.
4830 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4831 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4833 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4834 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4835 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4837 * hurd/hurd/signal.h (_hurd_self_sigstate,
4838 _hurd_critical_section_lock, _hurd_critical_section_unlock):
4839 Explicit casts from void *.
4840 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4841 * abi-tags: Rename gnu-gnu os into gnu.
4844 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4845 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4846 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4847 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4848 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4849 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4852 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4853 duplicates ADDR->sun_path with sockaddr LEN limitation.
4854 * sysdeps/mach/hurd/connect.c: Include <string.h>
4855 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4856 * sysdeps/mach/hurd/sendmsg.c: Likewise.
4857 * sysdeps/mach/hurd/sendto.c: Likewise.
4858 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4859 implementing it by hand.
4861 2015-02-06 Roland McGrath <roland@hack.frob.com>
4863 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4864 Use sfi_breg on ldr.
4865 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4868 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4870 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4871 Test SIGSETXID only if it's defined.
4873 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4875 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4876 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
4878 * nptl/tst-align2.c: Moved ...
4879 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4880 * nptl/Makefile (tests): Remove tst-align2.
4881 * sysdeps/unix/sysv/linux/Makefile
4882 [$(subdir) = nptl] (tests): Add tst-align-clone.
4883 * nptl/tst-getpid1.c: Moved ...
4884 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4885 * nptl/tst-getpid2.c: Moved ...
4886 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4887 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4888 * sysdeps/unix/sysv/linux/Makefile
4889 [$(subdir) = nptl] (tests): ... here.
4890 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4891 * sysdeps/unix/sysv/linux/Makefile
4892 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4894 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4895 Drop trailing \n from perror argument. Use return rather than exit.
4897 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4899 * nptl/tst-cancel21.c (do_test): Likewise.
4900 * debug/tst-backtrace6.c: Include <signal.h> first thing.
4901 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4902 [!SA_SIGINFO]: Make it a stub test.
4904 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4905 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4907 * posix/tst-getlogin.c: Move to ...
4908 * login/tst-getlogin.c: ... here.
4909 * posix/Makefile (tests): Move tst-getlogin to ...
4910 * login/Makefile (tests): ... here.
4912 * libio/tst-atime.c (do_test): Move local variables SV and E
4913 inside [ST_NOATIME] conditional.
4915 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4917 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4919 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4920 (wait_code): New function replaces macro.
4921 Call nanosleep rather than syscall.
4923 * nptl/pt-system.c: Rewritten. Put everything under
4924 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4925 Use IFUNC to redirect when possible.
4927 * nptl/pt-longjmp.c: Rewritten. Put everything under
4928 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4929 Use IFUNC to redirect when possible.
4931 * nptl/pt-fork.c: Rewritten. Put everything under
4932 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4933 Use IFUNC to redirect when possible.
4934 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4936 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4937 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4938 unconditionally nowadays. This included the only reference to
4939 __vdso_clock_gettime that appears outside libc proper.
4940 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4941 Remove version set (containing only __vdso_clock_gettime).
4942 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4943 Add attribute_hidden.
4944 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4945 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4946 libc_hidden_data_def.
4947 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4948 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4950 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4951 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4952 setrpcent, and getrpcport to ...
4953 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4954 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4955 getrpcbynumber_r, and getrpcent_r to ...
4956 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4957 * inet/getrpcbyname.c: Moved ...
4958 * sunrpc/getrpcbyname.c: ... here.
4959 * inet/getrpcbyname_r.c: Moved ...
4960 * sunrpc/getrpcbyname_r.c: ... here.
4961 * inet/getrpcbynumber.c: Moved ...
4962 * sunrpc/getrpcbynumber.c: ... here.
4963 * inet/getrpcbynumber_r.c: Moved ...
4964 * sunrpc/getrpcbynumber_r.c: ... here.
4965 * inet/getrpcent.c: Moved ...
4966 * sunrpc/getrpcent.c: ... here.
4967 * inet/getrpcent_r.c: Moved ...
4968 * sunrpc/getrpcent_r.c: ... here.
4969 * inet/Makefile (routines): Move those to ...
4970 * sunrpc/Makefile (routines): ... here.
4971 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4972 the $(subdirs) list.
4973 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
4974 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4975 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4976 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4978 * elf/Makefile (routines): Include $(all-dl-routines), not just
4980 (rtld-routines): Likewise. Use = rather than :=.
4981 * sysdeps/aarch64/Makefile [$(subdir) = elf]
4982 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4983 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4984 * sysdeps/arm/Makefile: Likewise.
4985 * sysdeps/i386/Makefile: Likewise.
4986 * sysdeps/x86_64/Makefile: Likewise.
4987 * sysdeps/hppa/Makefile [$(subdir) = elf]
4988 (sysdep_routines, sysdep-rtld-routines): Don't add
4989 $(sysdep-dl-routines) to these.
4990 * sysdeps/ia64/Makefile: Likewise.
4991 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4992 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4993 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4994 Don't add dl-static to these; sysdep-dl-routines alone is enough.
4995 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4996 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4997 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4998 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4999 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5000 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5001 these; sysdep-dl-routines alone is enough.
5003 2015-02-06 Joseph Myers <joseph@codesourcery.com>
5006 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5007 where multiplication results in zero and third argument is finite
5009 * math/auto-libm-test-in: Add more tests of fma.
5010 * math/auto-libm-test-out: Regenerated.
5012 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5013 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5014 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5015 (_FP_CMP_EQ): Likewise.
5016 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5018 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5019 extra argument CHECK_NAN. Redefine as wrapper around
5022 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5024 * version.h (RELEASE): Set to "stable".
5025 (VERSION): Set to "2.21"
5026 * include/features.h (__GLIBC_MINOR__): Set to 21.
5028 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5030 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5031 Paul Eggert <eggert@cs.ucla.edu>
5034 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5035 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5036 size in bytes. Store needed elements in wpmax. Use needed size
5037 in bytes for extend_alloca.
5039 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5041 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5042 binutls 2.25, and texinfo 5.2.
5043 * INSTALL: Regenerate.
5044 * sysdeps/nios2/configure: Regenerate.
5045 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5046 * manual/contrib.texi: Update.
5070 * po/pt_BR.po: Update.
5079 * po/zh_CN.po: Update.
5080 * po/zh_TW.po: Update.
5082 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5083 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5084 * sysdeps/hppa/dl-irel.h: Remove #warning.
5085 * sysdeps/hppa/entry.h: Provide prototype for
5086 __canonicalize_funcptr_for_compare and cast argument.
5087 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5088 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5089 * sysdeps/hppa/sotruss-lib.c: New file.
5090 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5091 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5092 (atomic_compare_and_exchange_bool_acq): Likewise.
5093 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5094 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5096 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5097 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5098 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5100 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5102 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5103 called function in non-PIC case.
5105 2015-01-31 David S. Miller <davem@davemloft.net>
5107 * sysdeps/sparc/sparc32/bits/atomic.h
5108 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5109 unlock not after it.
5110 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5111 volatile register usage warnings from the compiler.
5113 * sysdeps/sparc/nptl/sem_init.c: Delete.
5114 * sysdeps/sparc/nptl/sem_post.c: Delete.
5115 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5116 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5117 * sysdeps/sparc/sparc32/sem_init.c: New file.
5118 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5119 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5120 padding explicitly initialized.
5121 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5122 padding for in-semaphore spinlock.
5123 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5124 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5125 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5126 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5127 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5128 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5129 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5130 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5132 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5133 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5135 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
5138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5139 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5140 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5142 (index_AVX_Fast_Unaligned_Load): Likewise.
5143 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5144 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5145 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5146 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5147 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5148 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5149 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5150 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5151 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5153 2015-01-29 Andreas Schwab <schwab@suse.de>
5155 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5157 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5160 * nscd/nscd_stat.c (send_stats): Initialize DATA.
5162 2015-01-28 Martin Sebor <msebor@redhat.com>
5164 * math/README.libm-test: Clarify. Add "How to read the test output."
5166 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
5168 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5171 2015-01-28 Joseph Myers <joseph@codesourcery.com>
5173 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5174 (__HAVE_64B_ATOMICS): Define to 0.
5176 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5179 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5180 value to set as new flag.
5183 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5184 and use _ARCH_PPCSQ instead.
5185 (__ieee754_sqrt): Likewise.
5186 (__ieee754_sqrtf): Likewise.
5187 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5188 _ARCH_PPCSQ is defined.
5189 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5191 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5192 _ARCH_PPCSQ is defined.
5193 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5195 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5197 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5199 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5200 bug (GCC BZ #64739).
5202 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5204 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5205 Mark _retval as used.
5206 (lll_futex_wake_unlock): Likewise.
5207 (lll_futex_timed_wait_requeue_pi): Likewise.
5209 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5210 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5213 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5216 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5217 (__bswap_64): Mark as __always_inline.
5219 2015-01-25 Bram <bug_rh@spam.wizbit.be>
5222 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5223 when none of the search directories exist.
5225 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5228 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5229 power8 in .machine directive.
5232 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5233 set dependency from opd value.
5235 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5238 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5241 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5244 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5246 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5248 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5249 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5250 Replace 1UL with (uint64_t) 1.
5251 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5254 2015-01-23 Roland McGrath <roland@hack.frob.com>
5256 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5257 (if_freenameindex): Likewise.
5259 * resource/getrlimit64.c: Add missing libc_hidden_def.
5261 2015-01-22 Joseph Myers <joseph@codesourcery.com>
5263 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5265 (_FP_FMA): Likewise.
5266 (_FP_TO_INT_ROUND): Likewise.
5267 (_FP_FROM_INT): Likewise.
5269 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5272 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5273 Make code racy and cancel safe.
5275 2015-01-21 Carlos O'Donell <carlos@redhat.com>
5277 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5278 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5281 * pwd/tst-getpw.c: Rewrite.
5284 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5285 (modules-names): Add moddummy1 and moddummy2.
5286 ($(objpfx)tst-rec-dlopen): Define.
5287 * dlfcn/moddummy1.c: New file.
5288 * dlfcn/moddummy2.c: New file.
5289 * dlfcn/tst-rec-dlopen.c: New file.
5290 * elf/dl-cache.c (_dl_load_cache_lookup):
5291 Return char*. Copy result with alloca/strcpy/strdup.
5292 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5293 returns char*. Free cached. If not saving realname
5295 * elf/dl-open.c (dl_open_worker): Do not assert that
5296 _r_debug->r_state is RT_CONSISTENT.
5297 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5300 2015-01-21 Torvald Riegel <triegel@redhat.com>
5301 Carlos O'Donell <carlos@redhat.com>
5304 * nptl/sem_waitcommon.c: New file.
5305 * nptl/sem_wait.c: Include sem_waitcommon.c.
5306 (__sem_wait_cleanup, do_futex_wait): Remove.
5307 (__new_sem_wait): Adapt.
5308 (__new_sem_trywait): New function.
5309 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5310 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5311 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5312 (sem_timedwait): Adapt.
5313 * nptl/sem_post.c (__new_sem_post): Adapt.
5314 (futex_wake): New function.
5315 (__old_sem_post): Add release MO fence.
5316 * nptl/sem_open.c (sem_open): Adapt.
5317 * nptl/sem_init.c (__new_sem_init): Adapt.
5318 (futex_private_if_supported): New function.
5319 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5320 (__old_sem_getvalue): Add using previous code.
5321 * sysdeps/nptl/internaltypes.h: Adapt.
5322 * nptl/tst-sem13.c (do_test): Adapt.
5323 * nptl/tst-sem11.c (main): Adapt.
5324 * nptl/sem_trywait.c: Remove.
5325 * nptl/DESIGN-sem.txt: Remove.
5326 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5327 (gen-as-const-headers): Remove structsem.sym.
5328 * nptl/structsem.sym: Remove.
5329 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5330 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5331 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5332 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5333 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5334 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5335 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5336 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5337 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5338 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5339 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5340 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5341 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5342 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5343 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5344 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5345 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5346 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5347 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5348 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5349 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5350 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5352 2015-01-20 Carlos O'Donell <carlos@redhat.com>
5354 * INSTALL: Regenerated.
5356 * po/libc.pot: Regenerated.
5358 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5359 Sandra Loosemore <sandra@codesourcery.com>
5360 Andrew Jenner <andrew@codesourcery.com>
5361 Joseph Myers <joseph@codesourcery.com>
5362 Nathan Sidwell <nathan@codesourcery.com>
5364 * NEWS: Mention new Nios II port.
5365 * sysdeps/nios2/Implies: New file.
5366 * sysdeps/nios2/Makefile: New file.
5367 * sysdeps/nios2/Subdirs: New file.
5368 * sysdeps/nios2/Versions: New file.
5369 * sysdeps/nios2/__longjmp.S: New file.
5370 * sysdeps/nios2/abort-instr.h: New file.
5371 * sysdeps/nios2/backtrace.c: New file.
5372 * sysdeps/nios2/bits/endian.h: New file.
5373 * sysdeps/nios2/bits/fenv.h: New file.
5374 * sysdeps/nios2/bits/link.h: New file.
5375 * sysdeps/nios2/bits/setjmp.h: New file.
5376 * sysdeps/nios2/bsd-_setjmp.S: New file.
5377 * sysdeps/nios2/bsd-setjmp.S: New file.
5378 * sysdeps/nios2/configure: New generated file.
5379 * sysdeps/nios2/configure.ac: New file.
5380 * sysdeps/nios2/crti.S: New file.
5381 * sysdeps/nios2/crtn.S: New file.
5382 * sysdeps/nios2/dl-init.c: New file.
5383 * sysdeps/nios2/dl-machine.h: New file.
5384 * sysdeps/nios2/dl-sysdep.h: New file.
5385 * sysdeps/nios2/dl-tls.h: New file.
5386 * sysdeps/nios2/dl-trampoline.S: New file.
5387 * sysdeps/nios2/gccframe.h: New file.
5388 * sysdeps/nios2/gmp-mparam.h: New file.
5389 * sysdeps/nios2/jmpbuf-offsets.h: New file.
5390 * sysdeps/nios2/jmpbuf-unwind.h: New file.
5391 * sysdeps/nios2/ldsodefs.h: New file.
5392 * sysdeps/nios2/libc-tls.c: New file.
5393 * sysdeps/nios2/libm-test-ulps: New file.
5394 * sysdeps/nios2/machine-gmon.h: New file.
5395 * sysdeps/nios2/math-tests.h: New file.
5396 * sysdeps/nios2/math_private.h: New file.
5397 * sysdeps/nios2/memusage.h: New file.
5398 * sysdeps/nios2/nptl/Makefile: New file.
5399 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5400 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5401 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5402 * sysdeps/nios2/nptl/pthreaddef.h: New file.
5403 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5404 * sysdeps/nios2/nptl/tls.h: New file.
5405 * sysdeps/nios2/preconfigure: New file.
5406 * sysdeps/nios2/s_fma.c: New file.
5407 * sysdeps/nios2/s_fmaf.c: New file.
5408 * sysdeps/nios2/setjmp.S: New file.
5409 * sysdeps/nios2/sfp-machine.h: New file.
5410 * sysdeps/nios2/sotruss-lib.c: New file.
5411 * sysdeps/nios2/stackguard-macros.h: New file.
5412 * sysdeps/nios2/stackinfo.h: New file.
5413 * sysdeps/nios2/start.S: New file.
5414 * sysdeps/nios2/sysdep.h: New file.
5415 * sysdeps/nios2/tls-macros.h: New file.
5416 * sysdeps/nios2/tst-audit.h: New file.
5417 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5418 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5419 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5420 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5421 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5422 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5423 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5424 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5425 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5426 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5427 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5428 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5429 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5430 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5431 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5432 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5433 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5434 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5435 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5436 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5437 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5438 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5439 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5440 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5441 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5442 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5443 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5444 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5445 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5446 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5447 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5448 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5449 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5450 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5451 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5452 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5453 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5454 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5455 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5456 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5457 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5458 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5459 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5460 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5462 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5465 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5466 (getutent): Use weak_alias in non SHARED case
5467 and default_symbol_version in SHARED case.
5468 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5469 (getutent_r, pututline): Likewise.
5470 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5471 (getutid): Likewise.
5472 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5473 (getutid_r): Likewise.
5474 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5475 (getutline): Likewise.
5476 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5477 (getutline_r): Likewise.
5478 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5479 (updwtmp): Likewise.
5481 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5484 * sysdeps/s390/s390-32/memcmp.S
5485 (memcmp_g5): Rename to __memcmp_g5.
5486 * sysdeps/s390/s390-32/memcpy.S
5487 (memcpy_g5): Rename to __memcpy_g5.
5488 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5489 (memcpy_mvcle) Rename to __memcpy_mvcle.
5490 * sysdeps/s390/s390-32/memset.S
5491 (memset_g5): Rename to __memset_g5.
5492 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5493 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5494 and use prefixed functions.
5495 * sysdeps/s390/s390-32/multiarch/memcmp.S
5496 (memcmp_z196): Rename to __memcmp_z196.
5497 (memcmp_z10): Rename to __memcmp_z10.
5498 (memcmp): Set alias to __memcmp_g5.
5499 (bcmp): Set alias to __memcmp_g5.
5500 * sysdeps/s390/s390-32/multiarch/memcpy.S
5501 (memcpy_z196): Rename to __memcpy_z196.
5502 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5503 (memcpy_z10): Rename to __memcpy_z10.
5504 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5505 (memcpy): Set alias to __memcpy_g5.
5506 * sysdeps/s390/s390-32/multiarch/memset.S
5507 (memset_z196): Rename to __memset_z196.
5508 Jump to __memset_mvcle instead of memset_mvcle.
5509 (memset_z10): Rename to __memset_z10.
5510 Jump to __memset_mvcle instead of memset_mvcle.
5511 (memset_mvcle) Rename to __memset_mvcle.
5512 (memset): Set alias to __memset_g5.
5513 * sysdeps/s390/s390-64/memcmp.S
5514 (memcmp_z900): Rename to __memcmp_z900.
5515 * sysdeps/s390/s390-64/memcpy.S
5516 (memcpy_z900): Rename to __memcpy_z900.
5517 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5518 (memcpy_mvcle) Rename to __memcpy_mvcle.
5519 * sysdeps/s390/s390-64/memset.S
5520 (memset_z900): Rename to __memset_z900.
5521 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5522 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5523 and use prefixed functions.
5524 * sysdeps/s390/s390-64/multiarch/memcmp.S
5525 (memcmp_z196): Rename to __memcmp_z196.
5526 (memcmp_z10): Rename to __memcmp_z10.
5527 (memcmp): Set alias to __memcmp_z900.
5528 (bcmp): Set alias to __memcmp_z900.
5529 * sysdeps/s390/s390-64/multiarch/memcpy.S
5530 (memcpy_z196): Rename to __memcpy_z196.
5531 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5532 (memcpy_z10): Rename to __memcpy_z10.
5533 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5534 (memcpy): Set alias to __memcpy_z900.
5535 * sysdeps/s390/s390-64/multiarch/memset.S
5536 (memset_z196): Rename to __memset_z196.
5537 Jump to __memset_mvcle instead of memset_mvcle.
5538 (memset_z10): Rename to __memset_z10.
5539 Jump to __memset_mvcle instead of memset_mvcle.
5540 (memset_mvcle) Rename to __memset_mvcle.
5541 (memset): Set alias to __memset_z900.
5543 2015-01-14 Joseph Myers <joseph@codesourcery.com>
5546 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5547 __fesetenv instead of fesetenv.
5549 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5551 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5554 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5556 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5559 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5560 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5561 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5562 strncmp-power8 object.
5563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5564 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5565 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5568 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5569 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5571 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5572 trailing byte check.
5574 2015-01-13 David S. Miller <davem@davemloft.net>
5576 * include/signal.h (__sigreturn): Guard with __USE_MISC.
5578 2015-01-13 Roland McGrath <roland@hack.frob.com>
5580 * login/logout.c (logout): Use memset rather than bzero.
5581 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5582 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5583 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5584 (_gethtbyaddr): Likewise.
5585 * locale/programs/simple-hash.c (bcopy): Macro removed.
5587 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5589 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5590 Add strcmp-power8 object.
5591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5592 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5593 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5594 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5595 __strcmp_power8 implementation.
5596 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5599 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5600 Add strncpy-power8 and stpncpy-power8 objects.
5601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5602 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5604 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5605 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5606 __stpncpy_power8 implementation.
5607 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5608 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5609 __strncpy_power8 implementation.
5610 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5611 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5614 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5615 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5616 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5618 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5619 strncat-power8 object.
5620 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5621 __strcat_power8 implementation.
5622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5623 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5624 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5625 optimized strcat for power8.
5627 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5628 strcpy-power8 and stpcpy-power8 objects.
5629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5630 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5632 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5633 multiarch stpcpy implementation for POWER8.
5634 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5635 multiarch strcpy implementation for POWER8.
5636 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5637 __strcpy_power8 function.
5638 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5640 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5644 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
5647 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5648 weights and rules. Use do_xfrm_cached if data fits in cache,
5649 do_xfrm otherwise. Moved former main loop to...
5650 * (do_xfrm_cached): New function.
5651 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5652 find_idx, find_position and stack_push.
5653 * (find_idx): New function.
5654 * (find_position): Likewise.
5655 * localedata/sort-test.sh: Added test run for do_xfrm.
5656 * localedata/xfrm-test.c (main): Added command line option
5657 -nocache to run the test with strings that are too large for
5660 2015-01-13 Torvald Riegel <triegel@redhat.com>
5662 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5663 variable to lll_futex_wake call, not the value itself.
5665 2015-01-12 Joseph Myers <joseph@codesourcery.com>
5668 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5669 twom64. Adjust value to 0x1p-64L.
5670 (__scalblnl): Only return standard underflowing result for K <=
5671 -64 not K <= -63; adjust exponent for underflowing result by 64
5673 * math/libm-test.inc (scalbn_test_data): Add more tests.
5674 (scalbln_test_data): Likewise.
5677 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5679 (__scalblnl): Get new exponent of adjusted subnormal value from ES
5681 * math/libm-test.inc (scalbn_test_data): Add more tests.
5682 (scalbln_test_data): Likewise.
5684 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5685 Stefani Seibold <stefani@seibold.net>
5687 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5688 (sysdep_routines): Add dl-vdso here, ...
5689 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5690 (sysdep_routines): ... not here.
5691 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5692 fallback when vDSO is not presented.
5693 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5694 Define with libc_hidden_proto/libc_hidden_data_def definitions.
5695 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5696 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5697 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5698 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5699 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5700 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5701 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5702 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5703 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
5704 fallback configurable symbol when vDSO is not available.
5705 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5706 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
5707 be able to redefine fallback symbol when vDSO is not available.
5708 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5709 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5711 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5713 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5714 (TLS_INIT_TP): Add tm_capable initialization.
5715 (TLS_DEFINE_INIT_TP): Likewise.
5716 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5718 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5719 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5721 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5722 transactoion is lock elision is built and TCB tm_capable is set.
5723 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5725 (INTERNAL_SYSCALL_NCS): Likewise.
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5727 (INTERNAL_SYSCALL_NCS): Likewise.
5728 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5730 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5732 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5733 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5734 and remove it for 32 bits case.
5735 [pthread_rwlock_t] (__rwelision): New field for lock elision.
5736 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5738 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5739 Disable lock elision with rdlocks if elision is not available.
5741 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5742 (sysdep_routines): Add lock elision objects.
5743 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5744 [pthread_mutex_t] (__spins): Rework to add lock elision field.
5745 [pthread_mutex_t] (__elision): Add field.
5746 [__PTHREAD_SPINS]: Adjust to init lock elision field.
5747 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5748 elision definitions for powerpc.
5749 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5750 implementation of lock elision for powerpc.
5751 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5752 implementation of timed lock elision for powerpc.
5753 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5754 implementation of trylock with lock elision for powerpc.
5755 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5756 implementaion of unlock for lock elision for powerpc.
5757 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5758 automatic enable lock elision for mutexes.
5759 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5760 transaction execution definitions for powerpc.
5761 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5763 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5764 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5765 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5766 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5769 2015-01-09 Roland McGrath <roland@hack.frob.com>
5771 * sysdeps/posix/shm-directory.c: Use <> rather than ""
5772 for #include of <shm-directory.h>.
5774 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
5776 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5777 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5779 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
5782 * NEWS: Mention bug fix.
5783 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5784 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5785 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5787 2015-01-09 Torvald Riegel <triegel@redhat.com>
5789 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5791 2015-01-09 Torvald Riegel <triegel@redhat.com>
5793 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5795 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5797 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5798 pointer and cast to uintptr_t.
5800 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5802 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5804 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5806 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5808 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5811 2015-01-08 Roland McGrath <roland@hack.frob.com>
5813 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5814 <nptl/pthreadP.h> instead.
5815 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5817 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5819 [__SIGRTMIN] (init): Function removed.
5820 [__SIGRTMIN] (initialized): Variable removed.
5821 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5822 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5823 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5824 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5825 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5826 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5827 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5828 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5829 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5830 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5831 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5832 * sysdeps/nptl/allocrtsig.c: New file.
5833 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5834 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5835 * sysdeps/generic/testrtsig.h: File removed.
5837 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5838 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5840 * nptl/nptl-init.c (pthread_functions): Conditionalize
5841 .ptr__nptl_setxid initialization on [SIGSETXID].
5843 * sysdeps/nptl/sys/procfs.h: New file.
5844 * nptl_db/Makefile (headers): Add it.
5845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5847 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5848 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5849 * nptl/pthread_attr_setaffinity.c: Include it.
5850 * nptl/pthread_setattr_default_np.c: Likewise.
5851 * nptl/check-cpuset.h: New file.
5853 2015-01-08 Richard Henderson <rth@redhat.com>
5855 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5856 (CFLAGS-tst-execstack-prog.c): Likewise.
5857 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5859 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
5860 Sandra Loosemore <sandra@codesourcery.com>
5861 Andrew Jenner <andrew@codesourcery.com>
5862 Joseph Myers <joseph@codesourcery.com>
5863 Nathan Sidwell <nathan@codesourcery.com>
5865 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5866 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5867 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5868 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5869 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5870 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5871 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5872 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5873 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5874 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5875 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5876 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5877 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5878 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5879 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5880 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5881 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5883 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5885 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5886 timespec struct member in syscall macro.
5887 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5888 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5889 first timeval struct member in syscall macro.
5890 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5892 2015-01-07 Joseph Myers <joseph@codesourcery.com>
5895 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5896 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5897 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5898 __feupdateenv and define as weak alias of __feupdateenv. Use
5900 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5902 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5903 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
5904 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5905 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5907 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5908 __feupdateenv and define as weak alias of __feupdateenv. Use
5910 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5912 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5913 __feupdateenv and define as weak alias of __feupdateenv. Use
5915 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5917 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5918 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5919 (__feupdateenv): Likewise.
5920 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5921 __feupdateenv and define as weak alias of __feupdateenv. Use
5923 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5924 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5926 * sysdeps/tile/math_private.h (__feupdateenv): New inline
5928 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5930 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5931 __feupdateenv instead of feupdateenv.
5932 (default_libc_feupdateenv_test): Likewise.
5933 (libc_feresetround_ctx): Likewise.
5935 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5937 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5940 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
5942 * posix/regcomp.c (parse_bracket_exp): Initialize type to
5943 COLL_SYM in a couple of places to avoid uninitialized variable
5944 wanings on tilegx gcc 4.8.2.
5946 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5948 * sysdeps/aarch64/strcpy.S: New file.
5949 * sysdeps/aarch64/stpcpy.S: New file.
5952 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5954 * sysdeps/aarch64/strrchr.S: New file.
5957 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
5960 * stdlib/setenv.c: Fix memory leak when setting large,
5963 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
5966 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5967 and tabs from buffer before parsing fstab entry.
5968 * misc/tst-mntent.c (main): Add test for mount entry with
5969 trailing spaces and tabs.
5971 2015-01-06 Joseph Myers <joseph@codesourcery.com>
5974 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
5975 * math/fesetround.c (fesetround): Rename to __fesetround and
5976 define as weak alias of __fesetround. Use libm_hidden_weak.
5977 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5978 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5979 * sysdeps/arm/fesetround.c (fesetround): Likewise.
5980 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5981 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5982 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5983 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5984 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5985 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5986 __fesetround_inline.
5987 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5988 __fesetround_inline instead of __fesetround.
5989 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5990 __fesetround and define as weak alias of __fesetround. Use
5991 libm_hidden_weak. Call __fesetround_inline instead of
5993 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5994 __fesetround and define as weak alias of __fesetround. Use
5996 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5998 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5999 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6000 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6001 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6002 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6003 __fesetround and define as weak alias of __fesetround. Use
6005 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6006 __fesetround instead of fesetround.
6007 (default_libc_feholdexcept_setround): Likewise.
6008 (libc_feholdsetround_ctx): Likewise.
6009 (libc_feholdsetround_noex_ctx): Likewise.
6012 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6013 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6014 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6015 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6016 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6017 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6018 define as weak alias of __fesetenv. Use libm_hidden_weak.
6019 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6020 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6021 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6022 define as weak alias of __fesetenv. Use libm_hidden_weak.
6023 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6024 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6025 define as weak alias of __fesetenv. Use libm_hidden_weak.
6026 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6028 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6029 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6031 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6032 define as weak alias of __fesetenv. Use libm_hidden_weak.
6033 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6034 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6035 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6036 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6037 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6038 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6039 __fesetenv instead of fesetenv.
6040 (libc_feresetround_noex_ctx): Likewise.
6041 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6042 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6043 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6044 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6045 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6046 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6047 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6048 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6049 (__feupdateenv): Likewise.
6050 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6051 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6052 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6053 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6055 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6058 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6059 addresses have been freed.
6061 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6063 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6066 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
6068 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6069 Clean up check_pf allocation pattern. addresses
6071 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6073 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6074 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6075 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6076 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6077 * nptl/pthread_join.c (pthread_join): Likewise.
6078 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6079 * sysdeps/posix/waitid.c (__waitid): Likewise.
6080 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6081 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6082 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6083 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6084 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6086 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6087 (__libc_pread64): Likewise.
6088 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6089 (__libc_pwrite): Likewise.
6090 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6091 (__libc_pwrite64): Likewsie.
6092 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6093 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6094 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6095 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6096 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6097 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6098 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6102 (__libc_pread64): Likewise.
6103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6106 (__libc_pwrite64): Likewise.
6107 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6108 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6109 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6110 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6111 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6112 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6113 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6114 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6115 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6116 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6117 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6118 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6119 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6120 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6121 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6122 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6125 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6127 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6128 (CFLAGS-test-double.c): Likewise.
6129 (CFLAGS-test-ldouble.c): Likewise.
6130 (CPPFLAGS-test-ifloat.c): Likewise.
6131 (CPPFLAGS-test-idouble.c): Likewise.
6132 (CPPFLAGS-test-ildoubl.c): Likewise.
6133 (CFLAGS-test-test-fenv.c): Remove variable.
6134 (CFLAGS-test-misc.c): Likewise.
6136 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
6139 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6140 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6141 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6142 CLOCKS_PER_SEC == 1000000.
6143 * time/clocktest.c (main): Replace %ld with %jd and cast to
6146 2015-01-05 Roland McGrath <roland@hack.frob.com>
6148 * sysdeps/generic/unwind-resume.h: New file.
6149 * sysdeps/gnu/unwind-resume.c: Include it.
6150 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6151 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6153 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6154 global rather than static.
6155 (_Unwind_Resume): Update user.
6156 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6157 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
6158 rather than static. Add __attribute__ ((cold)).
6159 (_Unwind_Resume, __gcc_personality_v0): Update callers.
6160 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6161 * sysdeps/arm/arm-unwind-resume.S: New file.
6162 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6163 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6164 * sysdeps/arm/Makefile [$(subdir) = csu]
6165 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6166 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6167 Add rt-arm-unwind-resume.
6169 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6170 Add pt-arm-unwind-resume.
6171 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6172 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6174 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6177 * include/fenv.h (__feholdexcept): Declare. Use
6179 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6180 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6181 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6182 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6183 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6184 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6185 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6186 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6187 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6188 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6189 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6190 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6191 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6192 (feholdexcept): Likewise.
6193 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6194 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6195 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6196 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6197 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6198 __feholdexcept instead of feholdexcept.
6199 (default_libc_feholdexcept_setround): Likewise.
6201 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6203 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6204 to avoid using stl/str to align destination.
6206 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6208 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6210 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6213 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6214 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6215 Define as weak alias not strong alias.
6217 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6219 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6220 bltzal with addiupc.
6221 (RTLD_START): Ditto.
6223 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6225 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6226 for __vdso_* functions in declarations.
6227 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6229 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6230 INTERNAL_VSYSCALL): Use struct return types to check for error.
6232 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6233 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6234 function with cast from llround().
6235 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6236 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6239 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6242 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6243 Define as weak alias not strong alias.
6246 * ctype/ctype-c99.c: New file. isblank implementation moved from
6248 * ctype/ctype-extn.c: ... here.
6249 (__isblank_l): Move to ...
6250 * ctype/ctype-c99_l.c: ... here. New file.
6251 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6252 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6254 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6255 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6256 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6257 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6258 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6261 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6262 (posix_fadvise64): Define as weak alias not strong alias.
6263 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6264 (posix_fallocate64): Likewise.
6265 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6267 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6268 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6269 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6270 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6271 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6273 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6276 * NEWS: Mention bug fix.
6277 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6278 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6279 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6280 (HOST_STACK_END_ADDR): Likewise.
6282 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6285 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6286 * math/fegetround.c (fegetround): Rename to __fegetround and
6287 define as weak alias of __fegetround. Use libm_hidden_weak.
6288 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6289 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6290 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6291 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6292 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6293 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6294 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6295 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6296 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6297 Undefine after rather than before function definition; use
6298 parentheses around function name in definition.
6299 (__fegetround): Also undefine macro after function definition.
6300 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6301 __fegetround and define as weak alias of __fegetround. Use
6302 libm_hidden_weak. Do not undefine as macro.
6303 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6305 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6306 __fegetround and define as weak alias of __fegetround. Use
6308 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6309 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6310 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6311 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6312 __fegetround and define as weak alias of __fegetround. Use
6314 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6315 __fegetround instead of fegetround.
6318 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6319 Condition macro definition on [__USE_MISC].
6322 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6323 (struct sigaction): Change type of sa_flags field to int.
6326 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6327 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6330 * nptl/version.c (banner): Use single year in copyright notice.
6332 * NEWS: Update copyright dates.
6333 * catgets/gencat.c (print_version): Likewise.
6334 * csu/version.c (banner): Likewise.
6335 * debug/catchsegv.sh: Likewise.
6336 * debug/pcprofiledump.c (print_version): Likewise.
6337 * debug/xtrace.sh (do_version): Likewise.
6338 * elf/ldconfig.c (print_version): Likewise.
6339 * elf/ldd.bash.in: Likewise.
6340 * elf/pldd.c (print_version): Likewise.
6341 * elf/sotruss.sh: Likewise.
6342 * elf/sprof.c (print_version): Likewise.
6343 * iconv/iconv_prog.c (print_version): Likewise.
6344 * iconv/iconvconfig.c (print_version): Likewise.
6345 * locale/programs/locale.c (print_version): Likewise.
6346 * locale/programs/localedef.c (print_version): Likewise.
6347 * login/programs/pt_chown.c (print_version): Likewise.
6348 * malloc/memusage.sh (do_version): Likewise.
6349 * malloc/memusagestat.c (print_version): Likewise.
6350 * malloc/mtrace.pl: Likewise.
6351 * manual/libc.texinfo: Likewise.
6352 * nptl/version.c (banner): Likewise.
6353 * nscd/nscd.c (print_version): Likewise.
6354 * nss/getent.c (print_version): Likewise.
6355 * nss/makedb.c (print_version): Likewise.
6356 * posix/getconf.c (main): Likewise.
6357 * scripts/test-installation.pl: Likewise.
6358 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6360 2015-01-02 Will Newton <will.newton@linaro.org>
6362 * sysdeps/arm/armv7/configure: Removed.
6363 * sysdeps/arm/armv7/configure.ac: Likewise.
6365 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6367 * All files with FSF copyright notices: Update copyright dates
6368 using scripts/update-copyrights.
6369 * intl/plural.c: Regenerated.
6370 * locale/programs/charmap-kw.h: Likewise.
6371 * locale/programs/locfile-kw.h: Likewise.
6373 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6375 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6377 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6380 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6381 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6382 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6383 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6384 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6385 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6386 define as weak alias of __fegetenv. Use libm_hidden_weak.
6387 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6388 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6389 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6390 define as weak alias of __fegetenv. Use libm_hidden_weak.
6391 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6392 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6393 define as weak alias of __fegetenv. Use libm_hidden_weak.
6394 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6396 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6397 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6399 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6400 define as weak alias of __fegetenv. Use libm_hidden_weak.
6401 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6402 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6403 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6404 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6405 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6406 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6407 __fegetenv instead of fegetenv.
6408 (libc_feholdsetround_noex_ctx): Likewise.
6410 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
6412 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6413 (Elf_MIPS_ABIFlags_v0): New structure.
6414 (EF_MIPS_FP64): Define.
6415 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6416 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6417 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6418 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6419 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6420 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6421 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6422 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6423 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6424 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6425 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6426 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6427 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6428 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6429 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6430 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6431 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6432 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6433 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6434 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6435 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6436 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6438 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6440 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6441 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6442 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6443 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6444 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6445 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6446 * sysdeps/mips/tst-abi-interlink.c: Likewise.
6447 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6448 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6449 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6450 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6451 record the current FP ABI extension.
6452 (mips-mode-switch): Define to show if kernel headers support mode
6454 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6455 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6456 supported SYSV ABI version to 3.
6457 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6460 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6461 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6463 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6465 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6467 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6469 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6470 __fegetround and redefine to call __fegetround. Remove condition
6471 on [!__NO_MATH_INLINES].
6472 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6474 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6475 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6477 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6478 instead of <fenv_libc.h>.
6479 (__llrintl): Call fegetround instead of __fegetround.
6480 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6481 instead of <fenv_libc.h>.
6482 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6483 (__lrintl): Call fegetround instead of __fegetround.
6484 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6485 instead of <fenv_libc.h>.
6486 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6487 (__rintl): Call fegetround instead of __fegetround.
6489 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6491 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6494 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6497 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6498 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6499 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6501 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6503 * sysdeps/i386/tls-macros.h: Include <features.h>.
6504 (TLS_LE): Use non-PIC version for GCC >= 5.0.
6508 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6509 define for GCC >= 5.0.
6511 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
6513 * math/test-fenv.c (test_single_exception, set_single_exc,
6514 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6515 feexcp_mask_test, feenable_test, fe_single_test): Add
6516 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6517 case where they are not used.
6518 * math/libm-test.inc: Likewise.
6519 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6520 unused in the absence of FP rounding/exception support.
6521 * stdio-common/tst-printf-round.c: Likewise.
6522 * stdlib/tst-strtod-round.c: Likewise.
6523 * stdlib/tst-strtod-underflow.c: Likewise.
6525 2014-12-30 Joseph Myers <joseph@codesourcery.com>
6528 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6529 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6530 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6531 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6533 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6534 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6535 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6537 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6538 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6540 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6542 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6543 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6544 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6546 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6548 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6549 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6550 (__feraiseexcept): Likewise.
6551 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6552 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6554 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6555 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6557 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6558 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6559 Use libm_hidden_def.
6560 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6562 (feraiseexcept): Define as weak not strong alias. Use
6564 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6565 New inline function. Factored out of ...
6566 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
6567 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6568 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6570 * math/w_acos.c (__acos): Likewise.
6571 * math/w_asin.c (__asin): Likewise.
6572 * math/w_ilogb.c (__ilogb): Likewise.
6573 * math/w_j0.c (y0): Likewise.
6574 * math/w_j1.c (y1): Likewise.
6575 * math/w_jn.c (yn): Likewise.
6576 * math/w_log.c (__log): Likewise.
6577 * math/w_log10.c (__log10): Likewise.
6578 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6579 * sysdeps/aarch64/fpu/math_private.h
6580 (libc_feupdateenv_test_aarch64): Likewise.
6581 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6582 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6583 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6584 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6585 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6586 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6587 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6588 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6589 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6590 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6592 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6595 * io/test-utime.c (main): Replace %ld with %jd and cast to
6597 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6598 * nptl/tst-mutex5.c: Include <stdint.h>.
6599 (do_test): Replace %ld with %jd and cast to intmax_t.
6600 * posix/tst-regex.c (run_test): Likewise.
6601 (run_test_backwards): Likewise.
6602 * rt/tst-clock.c: Include <stdint.h>.
6603 (clock_test): Replace %ld with %jd and cast to intmax_t.
6604 * rt/tst-cpuclock1.c: Include <stdint.h>.
6605 (do_test): Replace %lu with %ju and cast to uintmax_t.
6606 * rt/tst-cpuclock2.c: Include <stdint.h>.
6607 (do_test): Replace %lu with %ju and cast to uintmax_t.
6608 * rt/tst-mqueue1.c: Include <stdint.h>.
6609 (check_attrs): Replace %ld with %jd and cast to intmax_t.
6610 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6612 * rt/tst-mqueue4.c (do_test): Likewise.
6613 * rt/tst-timer4.c: Include <stdint.h>.
6614 (check_ts): Replace %ld with %jd and cast to intmax_t.
6615 (do_test): Likewise.
6616 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6617 and cast to intmax_t.
6618 * sysdeps/pthread/tst-timer.c (main): Likewise.
6619 * time/clocktest.c (main): Likewise.
6620 * time/tst-posixtz.c (do_test): Likewise.
6621 * timezone/tst-timezone.c (main): Likewise.
6623 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6624 H.J. Lu <hongjiu.lu@intel.com>
6626 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6627 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6628 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6629 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6630 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6631 version if bit_Fast_Unaligned_Load is set.
6632 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6633 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6634 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6635 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6636 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6637 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6639 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6640 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6641 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6643 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6644 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6645 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6646 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6648 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
6650 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6651 instead of #if to avoid a Wundef warning.
6652 * stdlib/tst-limits.c (do_test): Likewise.
6654 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6655 parallel other exception macros.
6656 (fegetenv): Convert from macro to extern inline so that it applies
6657 retroactively to inline functions already seen by the compiler.
6658 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6660 * posix/Makefile (before-compile): Use $(objpfx) for
6661 posix-conf-vars-def.h.
6663 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6665 * posix/getconf.c (main): Use size_t for type of I.
6666 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6669 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6670 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6671 * posix/posix-envs.def: Likewise.
6672 * sysdeps/posix/sysconf.c: Likewise.
6673 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6674 (specs): Remove array.
6675 * scripts/gen-posix-conf-vars.awk: Support generation of specs
6678 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6679 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6680 (__sysconf): Use CONF_IS_* macros.
6682 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6683 ($(objpfx)posix-conf-vars-def.h): New target.
6684 * posix/posix-conf-vars.list: New file.
6685 * posix/posix-conf-vars.h: New file.
6686 * posix/confstr.c: Include posix-conf-vars.h.
6687 (confstr): Use CONF_IS_* macros.
6688 * posix/posix-envs.def: Include posix-conf-vars.h. Use
6690 * scripts/gen-posix-conf-vars.awk: New file.
6692 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
6694 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6695 fegetround): Add no-op macros to avoid linknamespace issues.
6697 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6698 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6700 * sysdeps/unix/sysv/linux/tile/sysdep.h
6701 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6702 assembly-specific section to avoid a redefinition warning.
6704 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6705 long before casting to pointer to avoid a cast warning.
6707 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
6709 * sysdeps/tile/tilegx/Implies: New file.
6711 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
6713 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6715 2014-12-23 Florian Weimer <fweimer@redhat.com>
6717 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6719 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6721 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6723 * sysdeps/unix/sysv/linux/utimes.c: Do not include
6724 <kernel-features.h>.
6725 (__utimes) [__NR_utimes]: Make code unconditional.
6726 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6727 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6728 (__ASSUME_UTIMES): Do not undefine.
6729 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6730 (__ASSUME_UTIMES): Likewise.
6731 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6732 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6733 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6734 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6736 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6738 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6740 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
6743 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6744 alias to weak alias for j0l, y0l.
6745 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6746 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6749 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6752 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6754 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6755 to zero if not already defined.
6757 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6760 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6761 (__kernel_standard_f): Remove. Moved to k_standardf.c.
6762 (__kernel_standard_l): Remove. Moved to k_standardl.c with
6763 (char *) casts added.
6764 * sysdeps/ieee754/k_standardf.c: New file.
6765 * sysdeps/ieee754/k_standardl.c: Likewise.
6766 * math/Makefile (libm-support): Remove k_standard.
6767 (libm-calls): Add k_standard.
6769 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6771 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6772 Optimize to avoid an unnecessary FPCR read.
6774 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6776 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6777 Optimize to reduce FPCR/FPSR accesses.
6779 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6781 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6782 Call libc_fetestexcept_aarch64.
6784 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6786 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6787 Call libc_fesetround_aarch64.
6789 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6792 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6793 (__bind): Do not define as weak alias.
6794 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6796 (__getsockname): Do not define as weak alias.
6798 2014-12-22 Will Newton <will.newton@linaro.org>
6800 * manual/install.texi: Document that we require bison 2.7
6802 * INSTALL: Regenerate.
6803 * configure.ac: Use AC_CHECK_PROG_VER instead of
6804 AC_PATH_PROG when checking for bison and check for
6805 version 2.7 or above.
6806 * configure: Regenerate.
6808 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
6811 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6812 * sysdeps/tile/ffsll.c (ffsll): To here.
6814 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6816 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6818 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6820 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6822 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6823 hidden ___tls_get_addr.
6824 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6825 hidden __tls_get_addr.
6826 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6827 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6830 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
6832 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6835 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6837 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6838 from "call _dl_init@PLT".
6839 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6841 2014-12-21 Anders Kaseorg <andersk@mit.edu>
6843 * manual/search.texi: (Array Sort Function): Clarify stable sorting
6846 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
6848 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6850 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6853 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6856 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6858 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6860 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6861 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6862 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6863 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6864 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6866 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6868 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6869 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6870 (PTR_SUBU): Use subu for mips32r6/mips64r6.
6871 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6872 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6874 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6876 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
6878 * string/strncat.c (STRNCAT): Simplify implementation.
6880 2014-12-19 David S. Miller <davem@davemloft.net>
6882 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6883 access the quad as both a long double and as a series of 4 words.
6885 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6886 link_map->l_info array access.
6888 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6890 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6892 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6893 * math/atest-exp2.c (TIMEOUT): Likewise.
6894 * math/atest-sincos.c (TIMEOUT): Likewise.
6896 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6898 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6899 -Wno-error with -fno-builtin-lround.
6901 2014-12-19 Torvald Riegel <triegel@redhat.com>
6903 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6904 Contains futex constants and functions moved over from ...
6905 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
6906 <lowlevellock-futex.h>.
6907 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6908 (lll_timedwait_tid): Add comments and parentheses around macro
6911 2014-12-19 Torvald Riegel <triegel@redhat.com>
6913 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6914 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
6915 (__lll_private_flag): Remove.
6916 (lll_futex_wait): Likewise.
6917 (lll_futex_timed_wait): Likewise.
6918 (lll_futex_wake): Likewise.
6919 (lll_futex_requeue): Likewise.
6920 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6921 (__lll_timedwait_tid): Spell out argument names.
6922 (lll_timedwait_tid): Add comments and parentheses around macro
6924 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6925 LLL_SHARED and LLL_PRIVATE usable from assembly code.
6927 2014-12-19 Torvald Riegel <triegel@redhat.com>
6929 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6930 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6931 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6932 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6933 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6934 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6935 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6936 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6937 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6938 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6939 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6940 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6941 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6942 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6943 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6944 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6945 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6946 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6947 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6949 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6951 * sysdeps/x86_64/x32/Makefile: New file.
6953 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6955 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6956 1L with (mp_limb_t) 1.
6958 2014-12-17 Roland McGrath <roland@hack.frob.com>
6960 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6961 * nptl/libc_pthread_init.c: ... here.
6962 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6963 * nptl/register-atfork.c: ... here.
6965 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6966 Use pthread_sigmask rather than INTERNAL_SYSCALL.
6967 Use assert_perror to check its return value.
6968 (__gai_create_helper_thread): Likewise.
6970 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6972 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6974 2014-12-17 Joseph Myers <joseph@codesourcery.com>
6977 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6979 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6981 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6983 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6985 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6986 (profil_counter): Likewise.
6987 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6988 (profil_counter): Likewise.
6989 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6991 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6993 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6994 (profil_counter): Likewise.
6995 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6997 [!__profil_counter] (profil_counter): Define as weak alias of
6999 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7000 (profil_counter): Rename to __profil_counter.
7001 [!__profil_counter] (profil_counter): Define as weak alias of
7003 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7004 (profil_counter): Rename to __profil_counter.
7005 [!__profil_counter] (profil_counter): Define as weak alias of
7007 * sysdeps/posix/profil.c: Update comment referring to
7009 (__profil): Use __profil_counter instead of profil_counter.
7010 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7011 __profil_counter. Use __profil_counter_ushort and
7012 __profil_counter_uint in definitions.
7013 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7014 instead of profil_counter_uint and profil_counter_ushort.
7017 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7018 define as weak alias of __inet_makeaddr.
7019 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7020 as weak alias of __inet_addr.
7021 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7022 as weak alias of __inet_pton. Use libc_hidden_weak.
7023 * include/arpa/inet.h (__inet_pton): Declare. Use
7025 (inet_makeaddr): Don't use libc_hidden_proto.
7026 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7027 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7028 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7029 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7031 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7032 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7034 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
7036 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7038 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7040 * stdio-common/bug-vfprintf-nargs.c (do_test):
7041 Cast value to intptr_t to avoid format warning
7042 for usage with PRIdPTR printing macro.
7044 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7046 * libio/tst-widetext.c (do_test):
7047 Use format type %td instead of %Zd for ptrdiff_t
7048 in order to avoid format warning.
7050 2014-12-17 Andreas Schwab <schwab@suse.de>
7052 * nscd/mem.c (gc): Add size_t cast to match printf format.
7054 2014-12-16 Roland McGrath <roland@hack.frob.com>
7056 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7057 (init): Apply PTR_MANGLE to pointers before storing them.
7058 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7061 2014-12-16 Joseph Myers <joseph@codesourcery.com>
7064 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7065 define as weak alias of __memrchr.
7066 (__memrchr): Do not define as strong alias of memrchr.
7067 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7069 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7070 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7071 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7074 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7075 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7076 (if_indextoname): Rename to __if_indextoname and define as weak
7077 alias of __if_indextoname. Use libc_hidden_weak.
7078 (if_freenameindex): Rename to __if_freenameindex and define as
7079 weak alias of __if_freenameindex.
7080 (if_nameindex): Rename to __if_nameindex and define as weak alias
7082 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7083 __if_nametoindex and define as weak alias of __if_nametoindex.
7084 Use libc_hidden_weak.
7085 (if_freenameindex): Rename to __if_freenameindex and define as
7086 weak alias of __if_freenameindex.
7087 (if_nameindex): Rename to __if_nameindex and define as weak alias
7089 (if_indextoname): Rename to __if_indextoname and define as weak
7090 alias of __if_indextoname. Use libc_hidden_weak.
7091 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7092 __if_nametoindex and define as weak alias of __if_nametoindex.
7093 Use libc_hidden_weak.
7094 (if_freenameindex): Rename to __if_freenameindex and define as
7095 weak alias of __if_freenameindex. Use libc_hidden_weak.
7096 (if_nameindex_netlink): Use __if_freenameindex instead of
7098 (if_nameindex): Rename to __if_nameindex and define as weak alias
7099 of __if_nameindex. Use libc_hidden_weak.
7100 (if_indextoname): Rename to __if_indextoname and define as weak
7101 alias of __if_indextoname. Use libc_hidden_weak.
7102 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7104 [!_ISOMAC] (__if_freenameindex): Likewise.
7105 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7107 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7109 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7110 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7111 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7112 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7113 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7114 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7115 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7117 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7119 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7120 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7122 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7124 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7125 subscript above bounds'
7127 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7130 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
7132 * libio/tst-fopenloc.c: Use test-skeleton.c.
7134 * stdlib/tst-bsearch.c: Use test-skeleton.c.
7135 (entry): Rename to ITEM.
7136 (do_test, comp): Adjust.
7138 * stdio-common/tst-fseek.c: Use test-skeleton.c.
7140 2014-12-16 Torvald Riegel <triegel@redhat.com>
7142 * string/tester.c: Include <libc-internal.h>.
7143 (test_memset): Ignore -Wmemset-transposed-args.
7145 2014-12-16 Torvald Riegel <triegel@redhat.com>
7147 * misc/tst-mntent2.c (do_test): Fix warning.
7149 2014-12-16 Torvald Riegel <triegel@redhat.com>
7151 * elf/tst-unique4lib.cc(a): Mark as used.
7153 2014-12-16 Florian Weimer <fweimer@redhat.com>
7156 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7159 2014-12-16 Allan McRae <allan@archlinux.org>
7161 * stdio-common/Makefile (tests): Re-add bug26.
7163 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
7166 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7169 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7171 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7172 (__lll_lock_wait): Likewise.
7173 (__lll_timedlock_wait): Likewise.
7174 (__lll_timedwait_tid): Likewise.
7175 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7176 (__lll_robust_timedlock_wait): Likewise.
7177 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7178 (lll_cond_trylock): Likewise.
7179 (__lll_lock): Likewise.
7180 (__lll_robust_lock): Likewise.
7181 (__lll_cond_lock): Likewise.
7182 (lll_robust_cond_lock): Likewise.
7183 (__lll_timedlock): Likewise.
7184 (__lll_robust_timedlock): Likewise.
7185 (__lll_unlock): Likewise.
7186 (__lll_robust_unlock): Likewise.
7187 (lll_wait_tid): Likewise.
7188 (lll_timedwait_tid): Likewise.
7190 2014-12-15 Torvald Riegel <triegel@redhat.com>
7192 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7194 2014-12-15 Torvald Riegel <triegel@redhat.com>
7196 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7198 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7200 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7201 * stdio-common/tst-sprintf.c: Likewise.
7203 2014-12-15 Torvald Riegel <triegel@redhat.com>
7205 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7207 2014-12-15 Jeff Law <law@redhat.com>
7210 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7211 on the heap. (CVE-2012-3406)
7212 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7213 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7214 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7216 2014-12-15 Will Newton <will.newton@linaro.org>
7218 * manual/install.texi: Bump required version of texinfo
7220 * INSTALL: Regenerated.
7221 * configure.ac: Check for makeinfo version 4.7 and above.
7222 * configure: Regenerated.
7224 2014-12-12 Roland McGrath <roland@hack.frob.com>
7226 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7227 PREFIX, string constant to insert between directory and name.
7228 * sysdeps/posix/shm_open.c: Update caller.
7229 * sysdeps/posix/shm_unlink.c: Likewise.
7230 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7231 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7232 (SEM_SHM_PREFIX): New macro.
7233 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7234 [$(have-thread-library) = no].
7235 * nptl/Makefile (libpthread-routines): Add shm-directory.
7236 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7237 * sysdeps/nptl/shm-directory.h: New file.
7238 * sysdeps/posix/shm-directory.c
7239 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7240 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7241 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7243 (__where_is_shmfs): Function removed.
7244 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7246 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7248 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7250 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7251 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7252 unconditional for use inside libpthread.
7253 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7255 2014-12-12 Roland McGrath <roland@hack.frob.com>
7257 * nptl/pthread_getaffinity.c: New file.
7258 * nptl/pthread_setaffinity.c: New file.
7259 * nptl/pthread_getname.c: New file.
7260 * nptl/pthread_setname.c: New file.
7262 * nptl/pthread_create.c (START_THREAD_DEFN)
7263 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7265 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7266 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7268 * resolv/res_send.c (send_vc): Disable warning resplen may
7269 be used uninitialized.
7271 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7274 (ATTR_NULL): New define checks ATTR against NULL.
7275 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7276 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7278 2014-12-11 James Lemke <jwlemke@codesourcery.com>
7282 (mem2mem_check): Revert my previous change.
7283 (malloc_check_get_size): Revert my previous change.
7284 (mem2chunk_check): Revert my previous change.
7286 2014-12-11 Roland McGrath <roland@hack.frob.com>
7288 * sysdeps/posix/shm-directory.c: New file.
7289 * sysdeps/posix/shm-directory.h: New file.
7290 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7291 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7292 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7293 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7294 Transmute EPERM to EACCES.
7295 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7297 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7298 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7300 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7302 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7303 pointer and cast to uintptr_t.
7304 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7305 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7306 Add cast to avoid warning.
7307 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7309 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7311 * nptl/semaphore.h: Move to ...
7312 * sysdeps/pthread/semaphore.h: ... here.
7313 * Makefile (installed-headers): Change nptl/semaphore.h to
7314 sysdeps/pthread/semaphore.h.
7316 2014-12-11 Roland McGrath <roland@hack.frob.com>
7318 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7319 generated error format strings.
7321 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7322 -Wformat-extra-args warnings for scanf formats.
7323 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7324 test of zero-length format (duh).
7325 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7326 corner-case scanf format test.
7327 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7328 generated fprintf format string.
7329 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7330 corner-case sprintf format tests.
7331 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7332 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7333 -Wformat-extra-args warnings throughout.
7334 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7335 (CFLAGS-scanf4.c): Likewise.
7336 (CFLAGS-scanf7.c): Likewise.
7337 (CFLAGS-tst-sprintf.c): Likewise.
7338 (CFLAGS-tst-printf.c): Likewise.
7339 (CFLAGS-tst-printfsz.c): Likewise.
7341 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7343 * include/cpio.h: New file.
7344 * include/fmtmsg.h: Likewise.
7346 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7347 corresponding format argument to size_t.
7348 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7350 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7351 corresponding format argument to size_t.
7352 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7354 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7355 corresponding format argument to size_t.
7356 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7357 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7358 (CFLAGS-tst-mbswcs2.c): Likewise.
7359 (CFLAGS-tst-mbswcs3.c): Likewise.
7360 (CFLAGS-tst-mbswcs4.c): Likewise.
7361 (CFLAGS-tst-mbswcs5.c): Likewise.
7362 (CFLAGS-tst-trans.c): Likewise
7364 2014-12-11 Roland McGrath <roland@hack.frob.com>
7366 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7367 rather than assuming they won't contain any '%'s.
7369 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7371 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7372 inhibit_loop_to_libcall to avoid recursive calls.
7373 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7374 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7376 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7378 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7381 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7383 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7384 integer value instead of boolean.
7386 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7388 * malloc/malloc.c: Fix powerof2 check.
7390 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7392 * locale/programs/locfile.h (maybe_swap_uint32):
7393 Remove inline and add unused attribute.
7395 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7397 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7398 Truncating assembler expression to a .long expression.
7400 2014-12-11 Andreas Schwab <schwab@suse.de>
7402 * elf/rtld.c (struct map_args): Constify str member.
7403 (do_preload): Constify fname argument.
7405 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7407 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7408 constants definition.
7410 2014-12-11 Andreas Schwab <schwab@suse.de>
7413 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7414 FORCE_ELISION instead of DO_ELISION.
7415 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7417 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7420 * iconvdata/gconv-modules: Remove duplicate entry.
7422 2014-12-11 Will Newton <will.newton@linaro.org>
7424 Merge gettext 0.19.3 into intl/.
7426 This involves a number of cosmetic changes to comments
7427 and ANSI function definitions and prototypes throughout
7428 all the files. The gettext copyright header is used but
7429 with the date ranges taken from the glibc copy.
7431 * NEWS: Add gettext merge to 2.21.
7432 * intl/bindtextdom.c: Switch to gettext copyright.
7433 Use ANSI definitions and prototypes.
7434 Use gl_* locking primitives rather than __libc_* ones.
7435 Use __builtin_expect rather than __glibc_likely/unlikely.
7436 * intl/dcgettext.c: Switch to gettext copyright.
7437 Use ANSI definitions and prototypes.
7438 * intl/dcigettext.c: Switch to gettext copyright.
7439 Use ANSI definitions and prototypes.
7440 (INTDIV0_RAISES_SIGFPE): New define.
7441 Use gl_* locking primitives rather than __libc_* ones.
7442 Include eval-plural.h instead of plural-eval.c.
7443 Use __builtin_expect rather than __glibc_likely/unlikely.
7444 * intl/dcngettext.c: Switch to gettext copyright.
7445 Use ANSI definitions and prototypes.
7446 * intl/dgettext.c: Likewise.
7447 * intl/dngettext.c: Likewise.
7448 * intl/plural-eval.c: Renamed to...
7449 * intl/eval-plural.h: ...this.
7450 * intl/explodename.c: Switch to gettext copyright.
7451 Use ANSI definitions and prototypes.
7452 (_nl_explode_name): Use strchr instead of __rawmemchr.
7453 * intl/finddomain.c: Switch to gettext copyright.
7454 Use ANSI definitions and prototypes.
7455 Use gl_* locking primitives rather than __libc_* ones.
7456 (_nl_find_domain): Use malloc rather than alloca for
7457 allocation of temporary locale name.
7458 * intl/gettext.c: Switch to gettext copyright.
7459 Use ANSI definitions and prototypes.
7460 * intl/gettextP.h: Switch to gettext copyright.
7461 Use ANSI definitions and prototypes.
7462 Use gl_* locking primitives rather than __libc_* ones.
7463 * intl/gmo.h: Switch to gettext copyright.
7464 (struct sysdep_string): Move struct segment_pair outside of
7466 * intl/hash-string.c: Use ANSI definitions and prototypes.
7467 * intl/hash-string.h: Switch to gettext copyright.
7468 Use ANSI definitions and prototypes.
7469 * intl/l10nflist.c: Switch to gettext copyright.
7470 Use ANSI definitions and prototypes.
7471 (_nl_normalize_codeset): Avoid integer overflow.
7472 * intl/loadinfo.h: Switch to gettext copyright.
7473 Use ANSI definitions and prototypes.
7474 (LIBINTL_DLL_EXPORTED): New define.
7475 (PATH_SEPARATOR): New define.
7476 * intl/loadmsgcat.c: Switch to gettext copyright.
7477 * intl/localealias.c: Switch to gettext copyright.
7478 Use ANSI definitions and prototypes.
7479 (_nl_expand_alias): Use PATH_SEPARATOR.
7480 * intl/ngettext.c: Switch to gettext copyright.
7481 Use ANSI definitions and prototypes.
7482 * intl/plural-exp.c: Likewise.
7483 * intl/plural-exp.h: Switch to gettext copyright.
7484 Use ANSI definitions and prototypes.
7485 (struct expression): Move definition of enum operator outside
7486 of struct definition.
7487 * intl/plural.c: Regenerate.
7488 * intl/plural.y: Switch to gettext copyright.
7489 Use ANSI definitions and prototypes.
7491 * intl/textdomain.c: Switch to gettext copyright.
7492 Use ANSI definitions and prototypes.
7493 Use gl_* locking primitives rather than __libc_* ones.
7495 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
7497 * debug/warning-nop.c: Add used atrribute.
7499 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7501 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7503 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7504 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7505 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7507 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7508 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7511 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7512 Undefine after defining function. Define as weak alias of
7513 __wcschr. Use libc_hidden_weak.
7514 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
7515 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7516 (libc_hidden_def): Also define __GI___wcschr alias.
7517 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7518 __wcschr and define as weak alias of __wcschr.
7519 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7521 [!WCSCHR] (DEFAULT_WCSCHR): Define.
7522 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7523 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
7524 libc_hidden_weak. Do not use libc_hidden_def.
7525 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7526 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7527 __GI___wcschr alias.
7528 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7529 [IS_IN (libc)] (wcschr): Define as macro expanding to
7531 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7532 [IS_IN (libc)] (__wcschr_power6): Likewise.
7533 [IS_IN (libc)] (__wcschr_power7): Likewise.
7534 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
7536 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7538 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7539 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7540 __wcschr and define as weak alias of __wcschr. Use
7541 libc_hidden_builtin_def.
7542 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7543 as weak alias of __wcschr. Use libc_hidden_weak.
7544 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7546 * time/era.c (_nl_init_era_entries): Likewise.
7547 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7549 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7550 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7552 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7554 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7555 format for long int variable.
7557 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
7560 * manual/search.texi: (Array Sort Function): Remove claim how to make
7563 2014-12-10 Andreas Schwab <schwab@suse.de>
7566 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7567 user-controlled locks.
7569 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
7571 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7574 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7576 * configure.ac (--disable-werror): New configure option.
7577 (enable_werror): New AC_SUBST.
7578 * configure: Regenerated.
7579 * config.make.in (enable-werror): New variable.
7580 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7582 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7583 * manual/install.texi (Configuring and compiling): Document
7585 * INSTALL: Regenerated.
7586 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7587 (CFLAGS-tst-chk2.c): Likewise.
7588 (CFLAGS-tst-chk3.c): Likewise.
7589 (CFLAGS-tst-chk4.cc): Likewise.
7590 (CFLAGS-tst-chk5.cc): Likewise.
7591 (CFLAGS-tst-chk6.cc): Likewise.
7592 (CFLAGS-tst-lfschk1.c): Likewise.
7593 (CFLAGS-tst-lfschk2.c): Likewise.
7594 (CFLAGS-tst-lfschk3.c): Likewise.
7595 (CFLAGS-tst-lfschk4.cc): Likewise.
7596 (CFLAGS-tst-lfschk5.cc): Likewise.
7597 (CFLAGS-tst-lfschk6.cc): Likewise.
7599 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7600 (main): Disable -Wdeprecated-declarations around calls to
7601 register_printf_function.
7603 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7604 (do_test): Disable -Wdiv-by-zero around some calls to
7605 fwrite_unlocked and fread_unlocked.
7607 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7608 (DIAG_POP_NEEDS_COMMENT): Likewise.
7609 (_DIAG_STR1): Likewise.
7610 (_DIAG_STR): Likewise.
7611 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7612 * stdio-common/bug21.c: Include <libc-internal.h>.
7613 (do_test): Disable -Wformat around call to sscanf.
7614 * stdio-common/scanf14.c: Include <libc-internal.h>.
7615 (main): Disable -Wformat around some calls to scanf functions.
7617 2014-12-09 Torvald Riegel <triegel@redhat.com>
7619 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7621 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7623 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7624 stack variable alignment.
7626 2014-12-06 Joseph Myers <joseph@codesourcery.com>
7629 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7630 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7631 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7632 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7633 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7634 __getrlimit instead of getrlimit.
7635 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7636 __gettimeofday instead of gettimeofday.
7637 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7639 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7641 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7642 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7644 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7645 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7647 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7649 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7650 for wide-character tests.
7652 2014-12-04 Roland McGrath <roland@hack.frob.com>
7654 * io/openat64.c: #include <libc-internal.h>
7655 (__openat64): Prototypify. Use ignore_value on MODE.
7656 * io/openat.c: Likewise.
7657 * misc/reboot.c: #include <libc-internal.h>
7658 (reboot): Prototypify. Use ignore_value on HOWTO.
7659 * misc/ptrace.c: #include <libc-internal.h>
7660 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
7662 2014-12-04 Joseph Myers <joseph@codesourcery.com>
7664 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7665 XPG4, UNIX98 and XOPEN2K.
7666 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7668 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7670 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7672 * libio/fileops.c: Use ISO C style for function definitions.
7673 * libio/iofopen.c: Likewise.
7674 * libio/wfileops.c: Likewise.
7677 * libio/fileops.c (_IO_new_file_underflow): Unset cached
7679 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7680 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7681 (fgets_func): Function pointer to fgets and fgetws.
7682 (do_ftell_test): Add test to verify ftell value after read
7684 (do_test): Set fgets_func.
7686 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7687 O_TRUNC flag for w and w+ modes.
7688 (do_rewind_test): Likewise.
7689 (do_ftell_test): Likewise.
7690 (do_write_test): Likewise.
7693 * libio/fileops.c (do_ftell): Seek only when there are
7695 * libio/wfileops.c (do_ftell_wide): Likewise.
7696 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7698 (do_one_test): Call it.
7700 2014-12-03 Joseph Myers <joseph@codesourcery.com>
7702 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7703 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7704 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7706 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7707 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7708 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7710 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7712 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7714 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7717 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7718 as weak alias of __getifaddrs. Use libc_hidden_weak.
7719 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7720 __freeifaddrs. Use libc_hidden_weak.
7721 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7722 define as weak alias of __getifaddrs. Use libc_hidden_weak.
7723 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7724 __freeifaddrs. Use libc_hidden_weak.
7725 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7726 __getifaddrs and define as weak alias of __getifaddrs. Use
7728 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7729 __freeifaddrs. Use libc_hidden_weak.
7730 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7732 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7733 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7735 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
7738 * sysdeps/mips/start.S (__start): Use indirect jump to call
7741 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7743 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7745 * nptl/tst-mutex1.c: Include <stdbool.h>.
7746 [!ATTR] (ATTR_NULL): New macro.
7747 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7748 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7749 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7751 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7755 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7756 Change conditional to [__USE_MISC].
7759 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7761 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7763 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7765 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7767 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7768 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7769 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7770 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7771 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7772 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7773 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7774 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7775 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7777 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7779 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7781 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7782 Remove strpbrk objects.
7783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7784 (__libc_ifunc_impl_list): Remove strpbrk implementation.
7785 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7786 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7787 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7788 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7790 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7791 Remove strcspn objects.
7792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7793 (__libc_ifunc_impl_list): Remove strcspn implementation.
7794 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7795 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7796 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7797 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7799 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7800 Remove strspn objetcs.
7801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7802 (__libc_ifunc_impl_list): Remove strspn implementation.
7803 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7804 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7805 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7806 * sysdeps/powerpc/powerpc64/strspn.S: New file.
7808 2014-12-01 James Lemke <jwlemke@codesourcery.com>
7812 (mem2mem_check): Add a terminator to the chain of checking blocks.
7813 (malloc_check_get_size): Use it here.
7814 (mem2chunk_check): Ditto.
7816 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7818 * sysdeps/powerpc/powerpc64/strtok.S: New file.
7819 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7821 2014-11-29 Carlos O'Donell <carlos@redhat.com>
7823 * bits/ioctl-types.h: Indent preprocessor directives correctly.
7825 * nptl/nptl-init.c: Include libc-internal.h.
7826 (__pthread_initialize_minimal_internal): Use ROUND_UP.
7828 * elf/ldconfig.c (search_dir): Expand comment.
7830 2014-11-29 Joseph Myers <joseph@codesourcery.com>
7832 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7834 (linknamespace-symlist-stdlibs-tests): Likewise.
7835 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7836 instead of $(objpfx)symlist-stdlibs.
7837 (linknamespace-libs-isoc): New variable.
7838 (linknamespace-libs): Use $(linknamespace-libs-isoc).
7839 (linknamespace-libs-ISO): New variable.
7840 (linknamespace-libs-ISO99): Likewise.
7841 (linknamespace-libs-ISO11): Likewise.
7842 (linknamespace-libs-XPG3): Likewise.
7843 (linknamespace-libs-XPG4): Likewise.
7844 (linknamespace-libs-POSIX): Likewise.
7845 (linknamespace-libs-UNIX98): Likewise.
7846 (linknamespace-libs-XOPEN2K): Likewise.
7847 (linknamespace-libs-POSIX2008): Likewise.
7848 (linknamespace-libs-XOPEN2K8): Likewise.
7849 ($(objpfx)symlist-stdlibs): Replace by
7850 $(linknamespace-symlist-stdlibs-tests). Use
7851 $(linknamespace-libs-$*) as set of libraries.
7852 ($(linknamespace-header-tests)): Update dependencies. Use
7853 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7854 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7855 * conform/linknamespace.pl: Remove comment about considering
7856 definitions of symbols from irrelevant libraries.
7858 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
7861 * elf/dl-tls.c: Include <atomic.h>.
7862 (oom): Remove #ifdef SHARED/#endif.
7863 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7864 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
7865 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7867 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7868 * nptl/Makefile (tests): Add tst-stack4.
7869 (modules-names): Add tst-stack4mod.
7870 ($(objpfx)tst-stack4): New.
7871 (tst-stack4mod.sos): Likewise.
7872 ($(objpfx)tst-stack4.out): Likewise.
7873 ($(tst-stack4mod.sos)): Likewise.
7875 * nptl/tst-stack4.c: New file.
7876 * nptl/tst-stack4mod.c: Likewise.
7878 2014-11-27 J. Brown <jb999@gmx.de>
7880 * sysdeps/x86/bits/string.h: Add recent CPUs.
7882 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7884 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7887 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7890 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7893 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
7895 * nscd/connections.c: Include libc-internal.h because of macro
7898 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7900 * string/bits/string3.h (__warn_memset_zero_len): Don't
7901 declare for gcc newer than 5.0.
7902 (memset): Don't test for zero-length __LEN for gcc newer than
7905 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7907 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7908 size_t for %zu format.
7910 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7911 difference, not %ju.
7913 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7915 * include/libc-internal.h (ignore_value): New macro.
7916 * nscd/connections.c (restart): Wrap calls to setuid and setgid
7919 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7922 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7923 pthread_cleanup_push to void *.
7925 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7930 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7931 instead of 1L << 52.
7933 * libio/bug-rewind.c (do_test): Check fwscanf return values.
7934 * libio/bug-rewind2.c (do_test): Likewise.
7936 * debug/test-stpcpy_chk-ifunc.c: Remove file.
7937 * debug/test-strcpy_chk-ifunc.c: Likewise.
7938 * wcsmbs/test-wcschr-ifunc.c: Likewise.
7939 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7940 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7941 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7942 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7943 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7944 * Rules [$(multi-arch) = no] (tests): Do not filter out
7946 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7947 * debug/Makefile (tests-ifunc): Remove variable.
7948 (tests): Do not add $(tests-ifunc).
7949 * wcsmbs/Makefile (tests-ifunc): Remove variable.
7950 (tests): Do not add $(tests-ifunc).
7951 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7952 [TEST_IFUNC]: Remove conditionals.
7953 * string/test-string.h (TEST_IFUNC): Remove macro.
7954 [TEST_IFUNC]: Remove conditionals.
7956 * string/test-strchr.c [!WIDE] (L): New macro.
7957 [WIDE] (L): Likewise.
7958 (check1): Use CHAR instead of char. Use L on string and character
7961 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
7963 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7965 * sysdeps/powerpc/bits/atomic.h
7966 (__arch_atomic_exchange_and_add_32_acq): Add definition.
7967 (__arch_atomic_exchange_and_add_32_rel): Likewise.
7968 (atomic_exchange_and_add_acq): Likewise.
7969 (atomic_exchange_and_add_rel): Likewise.
7970 * sysdeps/powerpc/powerpc32/bits/atomic.h
7971 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7972 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7973 * sysdeps/powerpc/powerpc64/bits/atomic.h
7974 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7975 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7977 2014-11-26 Torvald Riegel <triegel@redhat.com>
7979 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7980 Change synchronization of __sched_fifo_min_prio and
7981 __sched_fifo_max_prio.
7982 * nptl/pthread_mutexattr_getprioceiling.c
7983 (pthread_mutexattr_getprioceiling): Likewise.
7984 * nptl/pthread_mutexattr_setprioceiling.c
7985 (pthread_mutexattr_setprioceiling): Likewise.
7986 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7987 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7990 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7992 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7995 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7997 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7998 third argument const.
8000 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8002 fnmatch: work around GCC compiler warning bug with uninit var
8003 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8004 This works around a bug with x86-64 GCC 4.9.2 and earlier
8005 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8006 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8007 used uninitialized in this function [-Wmaybe-uninitialized]".
8009 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8011 * posix/bug-regex31.c (main): Return RES not 0.
8013 2014-11-25 Anton Blanchard <anton@samba.org>
8015 * sysdeps/powerpc/bits/atomic.h
8016 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8018 2014-11-24 Sterling Augustine <saugustine@google.com>
8020 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8022 2014-11-24 Ryan Cumming <etaoins@gmail.com>
8025 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8027 2014-11-24 Joseph Myers <joseph@codesourcery.com>
8030 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8031 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8033 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8034 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8036 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8038 * string/strncpy.c (strncpy): Improve performance by using memset.
8040 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8042 * string/strcpy.c (strcpy):
8043 Improve performance by using strlen and memcpy.
8045 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
8047 * string/strcoll_l.c (get_next_seq): __always_inline.
8048 * string/strcoll_l.c (do_compare): __always_inline.
8050 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8052 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8054 * include/mqueue.h: Likewise.
8055 * include/stdlib.h: Likewise.
8057 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8058 (get_null_defines): Adjust.
8059 * sunrpc/Makefile: Adjust comment.
8060 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8061 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8062 (CFLAGS-interp.c): Likewise.
8063 (CFLAGS-ldconfig.c): Likewise.
8064 (CPPFLAGS-.os): Likewise.
8065 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8066 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8067 * extra-modules.mk (extra-modules.mk): Likewise.
8068 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8069 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8070 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8071 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8072 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8073 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8074 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8075 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8076 * iconvdata/Makefile (CPPFLAGS): Likewise.
8077 (cpp-srcs-left): Add libof for all iconvdata routines.
8078 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8079 * include/assert.h: Likewise.
8080 * include/ctype.h: Likewise.
8081 * include/errno.h: Likewise.
8082 * include/libc-symbols.h: Likewise.
8083 * include/math.h: Likewise.
8084 * include/netdb.h: Likewise.
8085 * include/resolv.h: Likewise.
8086 * include/stdio.h: Likewise.
8087 * include/stdlib.h: Likewise.
8088 * include/string.h: Likewise.
8089 * include/sys/stat.h: Likewise.
8090 * include/wctype.h: Likewise.
8091 * intl/l10nflist.c: Likewise.
8092 * libidn/idn-stub.c: Likewise.
8093 * libio/libioP.h: Likewise.
8094 * nptl/libc_multiple_threads.c: Likewise.
8095 * nptl/pthreadP.h: Likewise.
8096 * posix/regex_internal.h: Likewise.
8097 * resolv/res_hconf.c: Likewise.
8098 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8099 * sysdeps/arm/memmove.S: Likewise.
8100 * sysdeps/arm/sysdep.h: Likewise.
8101 * sysdeps/generic/_itoa.h: Likewise.
8102 * sysdeps/generic/symbol-hacks.h: Likewise.
8103 * sysdeps/gnu/errlist.awk: Likewise.
8104 * sysdeps/gnu/errlist.c: Likewise.
8105 * sysdeps/i386/i586/memcpy.S: Likewise.
8106 * sysdeps/i386/i586/memset.S: Likewise.
8107 * sysdeps/i386/i686/memcpy.S: Likewise.
8108 * sysdeps/i386/i686/memmove.S: Likewise.
8109 * sysdeps/i386/i686/mempcpy.S: Likewise.
8110 * sysdeps/i386/i686/memset.S: Likewise.
8111 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8112 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8113 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8114 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8115 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8116 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8117 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8118 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8119 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8120 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8121 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8122 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8123 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8124 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8125 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8126 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8127 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8128 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8129 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8130 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8131 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8132 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8133 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8134 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8135 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8136 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8137 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8138 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8139 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8140 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8141 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8142 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8143 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8144 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8145 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8146 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8147 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8148 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8149 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8150 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8151 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8152 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8153 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8154 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8155 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8156 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8157 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8158 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8159 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8160 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8161 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8162 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8163 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8164 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8165 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8166 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8167 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8168 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8169 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8170 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8171 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8172 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8173 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8174 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8175 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8176 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8177 * sysdeps/posix/closedir.c: Likewise.
8178 * sysdeps/posix/opendir.c: Likewise.
8179 * sysdeps/posix/readdir.c: Likewise.
8180 * sysdeps/posix/rewinddir.c: Likewise.
8181 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8182 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8183 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8184 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8185 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8186 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8187 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8188 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8189 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8190 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8191 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8192 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8193 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8194 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8195 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8196 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8197 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8198 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8199 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8200 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8201 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8202 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8203 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8204 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8205 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8206 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8207 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8208 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8209 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8210 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8211 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8215 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8216 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8217 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8218 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8219 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8220 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8221 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8222 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8223 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8224 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8225 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8226 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8227 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8228 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8229 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8230 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8231 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8232 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8233 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8234 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8235 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8236 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8237 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8238 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8239 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8240 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8241 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8242 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8243 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8244 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8245 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8246 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8247 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8248 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8249 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8250 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8251 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8252 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8253 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8254 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8255 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8256 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8257 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8258 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8259 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8260 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8261 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8262 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8263 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8264 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8265 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8266 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8267 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8268 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8269 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8270 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8271 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8272 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8273 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8274 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8275 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8276 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8277 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8278 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8279 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8280 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8281 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8282 * sysdeps/unix/alpha/sysdep.S: Likewise.
8283 * sysdeps/unix/alpha/sysdep.h: Likewise.
8284 * sysdeps/unix/make-syscalls.sh: Likewise.
8285 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8286 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8287 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8288 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8289 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8290 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8291 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8292 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8293 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8294 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8295 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8296 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8297 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8298 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8299 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8300 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8301 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8302 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8303 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8304 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8305 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8306 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8307 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8308 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8309 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8310 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8311 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8314 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8315 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8316 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8317 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8318 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8319 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8320 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8321 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8322 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8323 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8324 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8325 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8326 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8327 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8328 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8329 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8331 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8332 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8333 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8335 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8336 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8337 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8338 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8339 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8340 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8341 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8343 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8344 * sysdeps/x86_64/memcpy.S: Likewise.
8345 * sysdeps/x86_64/memmove.c: Likewise.
8346 * sysdeps/x86_64/memset.S: Likewise.
8347 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8348 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8349 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8350 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8351 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8352 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8353 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8354 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8355 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8356 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8357 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8358 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8359 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8360 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8361 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8362 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8363 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8364 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8365 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8366 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8367 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8368 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8369 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8370 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8371 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8372 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8373 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8374 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8375 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8376 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8377 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8378 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8379 * sysdeps/x86_64/strcmp.S: Likewise.
8381 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8383 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8384 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8385 * elf/rtld-Rules: Likewise.
8386 * elf/setup-vdso.h: Likewise.
8387 * include/assert.h: Likewise.
8388 * include/bits/stdlib-float.h: Likewise.
8389 * include/errno.h: Likewise.
8390 * include/sys/stat.h: Likewise.
8391 * include/unistd.h: Likewise.
8392 * sysdeps/aarch64/setjmp.S: Likewise.
8393 * sysdeps/alpha/setjmp.S: Likewise.
8394 * sysdeps/arm/__longjmp.S: Likewise.
8395 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8396 * sysdeps/arm/setjmp.S: Likewise.
8397 * sysdeps/arm/sysdep.h: Likewise.
8398 * sysdeps/generic/_itoa.h: Likewise.
8399 * sysdeps/generic/dl-sysdep.h: Likewise.
8400 * sysdeps/generic/ldsodefs.h: Likewise.
8401 * sysdeps/i386/dl-tls.h: Likewise.
8402 * sysdeps/i386/setjmp.S: Likewise.
8403 * sysdeps/m68k/setjmp.c: Likewise.
8404 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8405 * sysdeps/mach/hurd/opendir.c: Likewise.
8406 * sysdeps/posix/getcwd.c: Likewise.
8407 * sysdeps/posix/opendir.c: Likewise.
8408 * sysdeps/posix/profil.c: Likewise.
8409 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8410 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8411 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8412 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8413 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8414 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8415 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8416 * sysdeps/s390/dl-tls.h: Likewise.
8417 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8418 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8419 * sysdeps/sh/sh3/setjmp.S: Likewise.
8420 * sysdeps/sh/sh4/setjmp.S: Likewise.
8421 * sysdeps/unix/alpha/sysdep.h: Likewise.
8422 * sysdeps/unix/arm/sysdep.S: Likewise.
8423 * sysdeps/unix/i386/sysdep.S: Likewise.
8424 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8425 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8426 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8427 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8428 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8429 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8430 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8431 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8432 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8433 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8434 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8435 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8436 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8439 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8440 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8441 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8442 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8443 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8444 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8446 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8447 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8448 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8449 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8450 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8451 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8452 * sysdeps/x86_64/setjmp.S: Likewise.
8454 * include/math.h: Use IS_IN instead of IS_IN_libm.
8455 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8456 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8457 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8458 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8459 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8460 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8461 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8462 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8463 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8464 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8465 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8466 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8467 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8468 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8469 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8470 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8471 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8472 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8473 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8474 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8475 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8476 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8477 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8478 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8479 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8480 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8481 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8482 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8483 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8484 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8485 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8486 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8487 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8498 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8499 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8500 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8501 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8502 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8503 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8509 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8510 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8511 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8512 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8513 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8514 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8515 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8516 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8517 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8518 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8519 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8520 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8521 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8522 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8524 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8526 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8527 * nptl/pthreadP.h: Likewise.
8528 * nptl_db/structs.def: Likewise.
8529 * sysdeps/arm/sysdep.h: Likewise.
8530 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8531 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8532 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8533 * sysdeps/unix/alpha/sysdep.h: Likewise.
8534 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8535 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8536 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8537 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8538 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8539 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8540 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8541 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8542 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8543 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8544 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8545 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8546 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8547 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8550 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8551 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8552 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8553 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8554 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8555 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8556 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8557 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8558 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8559 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8561 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8562 * nptl/pthreadP.h: Likewise.
8563 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8564 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8565 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8566 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8567 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8568 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8569 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8570 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8571 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8572 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8573 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8574 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8579 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8580 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8581 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8582 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8583 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8584 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8585 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8586 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8588 * dlfcn/dladdr.c: Use IS_IN.
8589 * dlfcn/dladdr1.c: Likewise.
8590 * dlfcn/dlclose.c: Likewise.
8591 * dlfcn/dlerror.c: Likewise.
8592 * dlfcn/dlinfo.c: Likewise.
8593 * dlfcn/dlmopen.c: Likewise.
8594 * dlfcn/dlopen.c: Likewise.
8595 * dlfcn/dlsym.c: Likewise.
8596 * dlfcn/dlvsym.c: Likewise.
8598 * include/ifaddrs.h: Use IS_IN.
8599 * inet/check_pf.c: Likewise.
8600 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8601 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8603 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8605 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8606 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8608 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8609 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8612 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8614 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8615 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8616 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8617 * include/libc-symbols.h (IS_IN_LIB): New macro.
8618 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8619 * include/netdb.h: Likewise.
8620 * include/stap-probe.h: Remove all uses of IN_LIB.
8622 * Makeconfig (module-cppflags-real): Define MODULE_NAME
8623 instead of IN_MODULE.
8624 * include/libc-symbols.h (IN_MODULE): Define using
8626 (PASTE_NAME, PASTE_NAME1): New macros.
8627 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8629 (STAP_PROBE_ASM): Likewise.
8631 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
8633 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8634 __mach_init in dlopened libc.
8636 2014-11-22 Mike Frysinger <vapier@gentoo.org>
8638 * sysdeps/arm/preconfigure.ac: Delete EABI check.
8639 * sysdeps/arm/preconfigure: Regenerate.
8641 2014-11-21 Roland McGrath <roland@hack.frob.com>
8643 * nptl/pthread_create.c (__pthread_create_2_1): Set
8644 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8645 when copying values from IATTR into PD.
8647 2014-11-21 Will Newton <will.newton@linaro.org>
8648 Andrew Pinski <andrew.pinski@caviumnetworks.com>
8650 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8651 Refactor inline-asm. Also add comment.
8653 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8654 ElfW macro instead of hardcoded Elf64 types.
8655 (la_aarch64_gnu_pltenter): Likewise.
8656 * sysdeps/aarch64/dl-machine.h
8657 (elf_machine_runtime_setup): Use ElfW(Addr).
8659 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8660 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8661 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8662 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8663 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8664 (R_AARCH64_TLS_DTPMOD64): Rename to ..
8665 (R_AARCH64_TLS_DTPMOD): This.
8666 (R_AARCH64_TLS_DTPREL64): Rename to ...
8667 (R_AARCH64_TLS_DTPREL): This.
8668 (R_AARCH64_TLS_TPREL64): Rename to ...
8669 (R_AARCH64_TLS_TPREL): This.
8670 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8671 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8672 R_AARCH64_TLS_TPREL64.
8673 (elf_machine_rela): Likewise.
8675 2014-11-21 Torvald Riegel <triegel@redhat.com>
8677 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8678 by setting it to 0. 64b atomics are not supported currently.
8680 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8683 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8684 search domain names.
8686 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8690 * resolv/res_query.c (__libc_res_nquerydomain): Retain
8692 * posix/tst-getaddrinfo5.c: New.
8693 * posix/Makefile (tests): Add it.
8695 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8699 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8700 after parsing line but before break_if_match.
8701 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8702 if there is a protocol mismatch.
8704 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8706 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8707 because the potential race is on the user-supplied stream.
8709 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8711 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8712 string literal if not passed a buffer.
8713 * manual/job.texi (ctermid): Update reasoning, note deviation
8714 from posix, suggest mtasurace when not passed a buffer, for
8715 future non-preliminary safety notes.
8717 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8719 * manual/users.texi (cuserid): Fix MT-Safety note for the case
8720 of not passing it a buffer.
8721 Reported by Peng Haitao.
8723 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8725 * manual/Makefile ($(objpfx)stamp-summary): Require
8726 check-safety.sh to pass.
8727 * manual/check-safety.sh: Wish for verification that every
8728 @deftypefn and @deftypefun is followed by a @safety remark.
8730 2014-11-20 Roland McGrath <roland@hack.frob.com>
8732 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8734 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8735 PTHREAD_CANCEL_ASYNCHRONOUS.
8736 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8739 * nptl/default-sched.h: New file.
8740 * sysdeps/unix/sysv/linux/default-sched.h: New file.
8741 * nptl/pthread_create.c: Include it.
8742 (__pthread_create_2_1): Use collect_default_sched instead of making
8743 Linux syscalls here directly.
8745 2014-11-20 Torvald Riegel <triegel@redhat.com>
8747 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8748 __pthread_once): Use C11 atomics.
8750 2014-11-20 Torvald Riegel <triegel@redhat.com>
8752 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8754 2014-11-20 Torvald Riegel <triegel@redhat.com>
8756 * include/atomic.h (__atomic_link_error, __atomic_check_size,
8757 atomic_thread_fence_acquire, atomic_thread_fence_release,
8758 atomic_thread_fence_seq_cst, atomic_load_relaxed,
8759 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8760 atomic_compare_exchange_weak_relaxed,
8761 atomic_compare_exchange_weak_acquire,
8762 atomic_compare_exchange_weak_release,
8763 atomic_exchange_acquire, atomic_exchange_release,
8764 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8765 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8766 atomic_fetch_and_acquire,
8767 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8769 2014-11-20 Torvald Riegel <triegel@redhat.com>
8771 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8772 USE_ATOMIC_COMPILER_BUILTINS): Define.
8773 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8774 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8775 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8776 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8777 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8778 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8779 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8780 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8781 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8782 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8783 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8784 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8785 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8786 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8787 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8788 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8789 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8790 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8791 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8792 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8793 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8794 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8795 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8796 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8797 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8798 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8799 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8800 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8801 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8802 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8803 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8804 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8805 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8806 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8807 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8808 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8809 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8810 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8811 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8812 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8814 2014-11-19 Roland McGrath <roland@hack.frob.com>
8816 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8817 the sched_priority value here. It was already checked when the user
8818 called pthread_attr_setschedparam.
8820 * nptl/tst-bad-schedattr.c: New file.
8821 * nptl/Makefile (tests): Add it.
8823 2014-11-19 Carlos O'Donell <carlos@redhat.com>
8824 Florian Weimer <fweimer@redhat.com>
8825 Joseph Myers <joseph@codesourcery.com>
8826 Adam Conrad <adconrad@0c3.net>
8827 Andreas Schwab <schwab@suse.de>
8828 Brooks <bmoses@google.com>
8831 * wordexp-test.c (__dso_handle): Add prototype.
8832 (__register_atfork): Likewise.
8833 (__app_register_atfork): New function.
8834 (registered_forks): New global.
8835 (register_fork): New function.
8836 (test_case): Add 3 new tests for WRDE_CMDSUB.
8837 (main): Call __app_register_atfork.
8838 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8839 fork count is non-zero fail the test.
8840 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8842 (parse_dollars): Remove check for WRDE_NOCMD.
8843 (parse_dquote): Likewise.
8845 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8847 * Makeconfig (built-modules): List non-library modules to be
8849 (module-cppflags): Include libc-modules.h for
8850 everything except shlib-versions.v.i.
8852 (before-compile): Add libc-modules.h.
8853 ($(common-objpfx)libc-modules.h,
8854 $(common-objpfx)libc-modules.stmp): New targets.
8855 (common-generated): Add libc-modules.h and libc-modules.stmp.
8856 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8857 * include/libc-symbols.h: Don't include libc-modules.h.
8858 * include/libc-modules.h: Remove file.
8859 * scripts/gen-libc-modules.awk: New script to generate
8861 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8862 Depend on libc-modules.stmp.
8864 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8866 * Makeconfig (in-module): Get value of libof set for the
8868 (CPPFLAGS): Use $(in-module).
8869 * Makerules: Don't suffix routine names for nonlib.
8870 * include/libc-modules.h: New file.
8871 * include/libc-symbols.h: Include libc-modules.h
8872 (IS_IN): New macro to replace IS_IN_* macros.
8873 * elf/Makefile: Set libof-* for each routine.
8874 * elf/rtld-Rules: Likewise.
8875 * extra-modules.mk: Likewise.
8876 * iconv/Makefile: Likewise.
8877 * iconvdata/Makefile: Likewise.
8878 * locale/Makefile: Likewise.
8879 * malloc/Makefile: Likewise.
8880 * nss/Makefile: Likewise.
8881 * sysdeps/gnu/Makefile: Likewise.
8882 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8883 * sysdeps/unix/sysv/linux/Makefile: Likewise.
8884 * sysdeps/s390/s390-64/Makefile: Likewise.
8885 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
8886 CPPFLAGS for nscd instead of nonlib.
8888 2014-11-18 Roland McGrath <roland@hack.frob.com>
8890 * nptl/createthread.c: New file.
8892 * nptl/createthread.c: Moved ...
8893 * sysdeps/unix/sysv/linux/createthread.c: ... here.
8895 * nptl/createthread.c: Add proper top-line comment.
8896 (do_clone): Folded into ...
8897 (create_thread): ... here. Take new arguments STOPPED_START and
8898 THREAD_RAN. Always set PD->stopped_start to something here. Don't
8899 increment __nptl_threads, do event-reporting logic, do
8900 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8901 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
8902 resource cleanup if sched_setaffinity or sched_setscheduler fails,
8903 just send SIGCANCEL.
8904 * nptl/pthread_create.c: Forward-declare create_thread before
8905 including createthread.c.
8906 (start_thread): Use new macro START_THREAD_DEFN to replace defining
8907 declaration, and new macro START_THREAD_SELF to replace argument.
8908 Remove return statement.
8909 (report_thread_creation): New function.
8910 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
8911 synchronization logic, and __nptl_nthreads increment here, around
8912 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
8913 PD->parent_cancelhandling here, before create_thread. When
8914 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8915 __deallocate_stack, and ENOMEM translation here.
8917 2014-11-18 Joseph Myers <joseph@codesourcery.com>
8920 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8921 (mptwo): Rename to __mptwo.
8922 (__inv): Use __mptwo instead of mptwo.
8923 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8924 (mptwo): Rename to __mptwo.
8925 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8926 of mpone and __mptwo instead of mptwo.
8927 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8930 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8931 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8932 of mpone and __mptwo instead of mptwo.
8933 (__mpranred): Use __mpone instead of mpone.
8934 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8936 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8937 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8938 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8939 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8940 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8941 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8942 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8943 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8944 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8945 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8946 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8947 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8948 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8949 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8950 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8951 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8952 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8953 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8954 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8956 2014-11-18 Tom de Vries <tom@codesoucery.com>
8958 * manual/signal.texi (Primitives Interrupted by Signals): In section,
8959 replace BSD Handler xref with BSD Signal Handling.
8961 2014-11-17 Richard Henderson <rth@redhat.com>
8963 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8964 (_FP_PACK_RAW_2): Remove.
8965 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8966 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8967 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8968 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8969 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8970 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8971 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8972 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8973 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8974 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8975 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8976 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8977 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8978 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8979 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8980 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8982 2014-11-14 Roland McGrath <roland@hack.frob.com>
8984 * signal/signal.h [__USE_MISC]
8985 (struct sigvec): Remove type.
8986 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8987 (sigvec): Remove declaration.
8988 * sysdeps/posix/sigvec.c: Moved ...
8989 * signal/sigvec.c: ... here, replacing old file.
8990 (struct sigvec): New type, copied from old signal.h definition.
8991 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8992 (__sigvec): Convert definition to prototype.
8993 (sigvec): Replace weak_alias with compat_symbol.
8994 * signal/Versions (libc: GLIBC_2.21): New version set.
8995 * include/signal.h: Remove __sigvec declaration.
8996 * sysdeps/unix/bsd/sigvec.c: Remove file.
8997 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8998 * manual/signal.texi (BSD Handler): Remove subsection.
8999 Move siginterrupt up to ...
9000 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9001 (Blocking in BSD): Fold subsection into its parent.
9002 * NEWS: Mention sigvec removal.
9004 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9006 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9007 (DLA_FMS): Make definition conditional only on [__FMA4__].
9008 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9011 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9012 Make definition conditional only on [PROF].
9013 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9015 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9016 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9018 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9020 * include/signal.h (__sigpause): Move declaration above call to
9022 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9024 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9025 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9027 2014-11-14 David S. Miller <davem@davemloft.net>
9029 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9030 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9032 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9034 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9035 * configure: Regenerated.
9036 * manual/install.texi (Tools for Compilation): Document a
9037 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9038 compiler verified to work.
9039 * INSTALL: Regenerated.
9041 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9042 redeclare with asm name.
9043 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9044 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9045 including <string.h>.
9046 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9047 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9048 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9049 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9050 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9051 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9052 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9054 2014-11-13 Joseph Myers <joseph@codesourcery.com>
9056 * stdlib/strtol.c (__strtol): Use prototype definition.
9059 * stdlib/strtol.c (SYM__): New macro.
9061 (__strtol): Likewise.
9062 (strtol): Rename to __strtol and define as weak alias of
9063 __strtol. Use libc_hidden_weak.
9065 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9067 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9068 Use numbered labels in inline assembly.
9070 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9072 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9073 Add setjmp LIBC_PROBE.
9074 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9076 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9077 Add longjmp, longjmp_target LIBC_PROBE.
9078 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9081 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9083 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9084 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9085 to get rid of unused variable warning.
9087 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9089 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9090 Check for unwind_backtrace == NULL only in SHARED case.
9091 (__backchain_backtrace): Compile only in SHARED case.
9092 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9094 (__backchain_backtrace): Declare as static.
9096 2014-11-12 Roland McGrath <roland@hack.frob.com>
9098 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9099 (__libc_multiple_threads_ptr): Variable moved ...
9100 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9102 2014-11-12 Joseph Myers <joseph@codesourcery.com>
9104 * conform/GlibcConform.pm: New file.
9105 * conform/conformtest.pl: Use GlibcConform module.
9106 * conform/linknamespace.pl: New file.
9107 * conform/list-header-symbols.pl: Likewise.
9108 * conform/Makefile (linknamespace-symlists-base): New variable.
9109 (linknamespace-symlists-tests): Likewise.
9110 (linknamespace-header-base): Likewise.
9111 (linknamespace-header-tests): Likewise.
9112 (tests-special): Add new tests.
9113 ($(linknamespace-symlists-tests)): New rule.
9114 (linknamespace-libs): New variable.
9115 ($(objpfx)symlist-stdlibs): New rule.
9116 ($(linknamespace-header-tests)): Likewise.
9117 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9118 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9119 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9120 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9121 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9122 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9123 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9124 (test-xfail-ISO/math.h/linknamespace): Likewise.
9125 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9126 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9127 (test-xfail-ISO/time.h/linknamespace): Likewise.
9128 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9129 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9130 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9131 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9132 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9133 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9134 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9135 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9136 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9137 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9138 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9139 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9140 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9141 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9142 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9143 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9144 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9145 (test-xfail-XPG3/search.h/linknamespace): Likewise.
9146 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9147 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9148 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9149 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9150 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9151 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9152 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9153 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9154 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9155 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9156 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9157 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9158 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9159 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9160 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9161 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9162 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9163 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9164 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9165 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9166 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9167 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9168 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9169 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9170 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9171 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9172 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9173 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9174 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9175 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9176 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9177 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9178 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9179 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9180 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9181 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9182 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9183 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9184 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9185 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9186 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9187 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9188 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9189 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9190 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9191 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9192 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9193 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9194 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9195 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9196 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9197 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9198 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9199 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9200 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9201 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9202 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9203 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9204 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9205 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9206 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9207 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9208 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9209 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9210 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9211 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9212 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9213 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9214 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9215 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9216 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9217 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9218 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9219 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9220 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9221 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9222 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9223 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9224 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9225 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9226 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9227 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9228 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9229 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9230 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9231 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9232 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9233 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9234 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9235 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9236 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9237 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9238 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9239 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9240 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9241 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9242 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9243 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9244 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9245 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9246 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9247 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9248 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9249 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9250 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9251 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9252 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9253 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9254 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9255 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9256 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9257 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9258 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9259 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9260 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9261 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9262 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9263 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9264 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9265 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9266 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9267 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9268 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9269 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9270 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9271 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9272 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9273 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9274 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9275 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9276 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9277 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9280 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9284 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9285 (memmem): Rename to __memmem and define as weak alias of
9286 __memmem. Use libc_hidden_weak.
9287 (__memmem): Use libc_hidden_def.
9288 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9289 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9293 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9294 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9295 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9296 and define as weak alias of __fgets_unlocked. Use
9298 (__fgets_unlocked): Use libc_hidden_def.
9299 * include/stdio.h (__fgets_unlocked): Declare. Use
9301 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9302 __fgets_unlocked instead of fgets_unlocked.
9303 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9304 (GET_NPROCS_CONF_PARSER): Likewise.
9305 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9306 (GET_NPROCS_CONF_PARSER): Likewise.
9309 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9310 weak alias of __wmemset. Use libc_hidden_weak.
9311 (__wmemset): Use libc_hidden_def.
9312 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9313 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9317 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9318 with asm name __mempcpy.
9319 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9322 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9323 and define as weak alias of __rawmemchr.
9324 (__rawmemchr): Do not define as strong alias of rawmemchr.
9327 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9329 (qsort): Call __qsort_r instead of qsort_r.
9330 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9331 (__qsort_r): Declare. Call libc_hidden_proto.
9332 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9334 * nscd/gai.c (__qsort_r): Define to qsort_r.
9335 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9336 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9337 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9340 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9341 define as weak alias of __malloc_info.
9344 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9345 as weak alias of __rewinddir. Don't use libc_hidden_def.
9346 (__rewinddir): Use libc_hidden_def.
9347 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9348 as weak alias of __rewinddir. Don't use libc_hidden_def.
9349 (__rewinddir): Use libc_hidden_def.
9350 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9351 weak alias of __rewinddir. Don't use libc_hidden_def.
9352 (__rewinddir): Use libc_hidden_def.
9353 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9354 (__rewinddir): Use libc_hidden_proto.
9355 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9357 (__getcwd): Use __rewinddir instead of rewinddir.
9360 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9361 alias of __fileno. Use libc_hidden_weak.
9362 (__fileno): Use libc_hidden_def.
9363 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9364 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9366 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9368 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9369 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9371 (fread_unlocked): Don't use libc_hidden_ver.
9372 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9373 and define as weak alias of __fread_unlocked. Don't use
9375 (__fread_unlocked): Use libc_hidden_def.
9376 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
9377 (ftello): Don't use libc_hidden_proto.
9378 (__ftello): Declare. Use libc_hidden_proto.
9379 (fread_unlocked): Don't use libc_hidden_proto.
9380 (__fread_unlocked): Declare. Use libc_hidden_proto.
9381 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9382 and __ftello instead of fileno, fread_unlocked and ftello.
9384 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9386 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9388 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9390 (_dl_start_user): Likewise.
9391 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9393 2014-11-12 Carlos O'Donell <carlos@redhat.com>
9394 Siddhesh Poyarekar <siddhesh@redhat.com>
9396 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9397 Move argv and envp down instead of moving argc up.
9398 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9400 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
9403 * test-skeleton.c (main): Return successful if one of
9404 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9405 * string/tst-strcoll-overflow.c: Define expected status.
9407 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
9410 * locale/iso-639.def: Define Bhili and Tulu language codes.
9412 2014-11-11 Alan Hayward <alan.hayward@arm.com>
9414 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9416 2014-11-10 Renlin Li <Renlin.Li@arm.com>
9419 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9421 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9423 * configure.ac: Updated check of minimal required version to
9425 * manual/install.texi (Tools for Compilation): Updated version
9427 * configure: Regenerated.
9428 * INSTALL: Likewise.
9430 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
9432 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9435 2014-11-07 Joseph Myers <joseph@codesourcery.com>
9437 * include/sys/wait.h (__libc_waitpid): Remove declaration.
9438 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9439 (__waitpid): Don't define as alias. Use libc_hidden_def not
9441 (waitpid): Define as alias of __waitpid.
9442 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9444 (__waitpid): Don't define as alias. Use libc_hidden_def not
9446 (waitpid): Define as alias of __waitpid.
9447 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9448 __libc_waitpid alias.
9449 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9450 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9452 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9453 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9454 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9456 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9458 (__waitpid): Don't define as alias. Use libc_hidden_def not
9460 (waitpid): Define as alias of __waitpid.
9462 2014-11-06 Carlos O'Donell <carlos@redhat.com>
9464 * manual/llio.texi: Add comment that write safety has been
9467 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9468 (localplt-build-dso): Add elf/ld.so.
9469 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9470 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9473 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9478 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9479 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9480 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9481 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9482 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9483 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9484 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9485 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9486 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9487 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9488 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9490 2014-11-05 Joseph Myers <joseph@codesourcery.com>
9493 * include/libc-symbols.h (INTUSE): Remove macro.
9495 (INTVARDEF): Likewise.
9496 (_INTVARDEF): Likewise.
9497 (INTDEF2): Likewise.
9498 (INTVARDEF2): Likewise.
9499 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9500 rtld_hidden_def instead of INTVARDEF.
9501 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9502 (_dl_starting_up_internal): Remove declaration.
9503 (_dl_starting_up): Use rtld_hidden_proto.
9504 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9506 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9507 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9509 * elf/dl-writev.h (_dl_writev): Likewise.
9510 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9511 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9512 _dl_starting_up_internal.
9514 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9516 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9519 2014-11-05 Will Newton <will.newton@linaro.org>
9521 * benchtests/Makefile: (bench-malloc): Add malloc thread
9522 scalability benchmark.
9523 * benchtests/bench-malloc-threads.c: New file.
9525 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
9527 * sysdeps/aarch64/strchrnul.S: New file.
9529 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9531 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9533 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9535 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9537 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9539 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9541 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9544 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
9546 * catgets/test-gencat.c: Use test-skeleton.c.
9547 * catgets/tst-catgets.c: Likewise.
9548 * csu/tst-empty.c: Likewise.
9549 * elf/tst-audit2.c: Likewise.
9550 * elf/tst-global1.c: Likewise.
9551 * elf/tst-pathopt.c: Likewise.
9552 * elf/tst-piemod1.c: Likewise.
9553 * elf/tst-tls10.c: Likewise.
9554 * elf/tst-tls11.c: Likewise.
9555 * elf/tst-tls12.c: Likewise.
9556 * gnulib/tst-gcc.c: Likewise.
9557 * iconvdata/tst-e2big.c: Likewise.
9558 * iconvdata/tst-loading.c: Likewise.
9559 * iconv/tst-iconv1.c: Likewise.
9560 * iconv/tst-iconv2.c: Likewise.
9561 * inet/test-inet6_opt.c: Likewise.
9562 * inet/tst-gethnm.c: Likewise.
9563 * inet/tst-network.c: Likewise.
9564 * inet/tst-ntoa.c: Likewise.
9565 * intl/tst-codeset.c: Likewise.
9566 * intl/tst-gettext2.c: Likewise.
9567 * intl/tst-gettext3.c: Likewise.
9568 * intl/tst-ngettext.c: Likewise.
9569 * intl/tst-translit.c: Likewise.
9570 * io/test-stat.c: Likewise.
9571 * libio/test-fmemopen.c: Likewise.
9572 * libio/tst-freopen.c: Likewise.
9573 * libio/tst-sscanf.c: Likewise.
9574 * libio/tst-ungetwc1.c: Likewise.
9575 * libio/tst-ungetwc2.c: Likewise.
9576 * libio/tst-widetext.c: Likewise.
9577 * localedata/tst-ctype.c: Likewise.
9578 * localedata/tst-digits.c: Likewise.
9579 * localedata/tst-leaks.c: Likewise.
9580 * localedata/tst-mbswcs1.c: Likewise.
9581 * localedata/tst-mbswcs2.c: Likewise.
9582 * localedata/tst-mbswcs3.c: Likewise.
9583 * localedata/tst-mbswcs4.c: Likewise.
9584 * localedata/tst-mbswcs5.c: Likewise.
9585 * localedata/tst-setlocale.c: Likewise.
9586 * localedata/tst-trans.c: Likewise.
9587 * localedata/tst-wctype.c: Likewise.
9588 * localedata/tst-xlocale1.c: Likewise.
9589 * login/tst-grantpt.c: Likewise.
9590 * malloc/tst-calloc.c: Likewise.
9591 * malloc/tst-malloc.c: Likewise.
9592 * malloc/tst-mallocstate.c: Likewise.
9593 * malloc/tst-mcheck.c: Likewise.
9594 * malloc/tst-mtrace.c: Likewise.
9595 * malloc/tst-obstack.c: Likewise.
9596 * math/atest-exp2.c: Likewise.
9597 * math/atest-exp.c: Likewise.
9598 * math/atest-sincos.c: Likewise.
9599 * math/test-matherr.c: Likewise.
9600 * math/test-misc.c: Likewise.
9601 * math/test-powl.c: Likewise.
9602 * math/tst-definitions.c: Likewise.
9603 * misc/tst-dirname.c: Likewise.
9604 * misc/tst-efgcvt.c: Likewise.
9605 * misc/tst-fdset.c: Likewise.
9606 * misc/tst-hsearch.c: Likewise.
9607 * misc/tst-mntent2.c: Likewise.
9608 * nptl/tst-sem7.c: Likewise.
9609 * nptl/tst-sem8.c: Likewise.
9610 * nptl/tst-sem9.c: Likewise.
9611 * nss/test-netdb.c: Likewise.
9612 * posix/tst-fnmatch.c: Likewise.
9613 * posix/tst-getlogin.c: Likewise.
9614 * posix/tst-gnuglob.c: Likewise.
9615 * posix/tst-mmap.c: Likewise.
9616 * pwd/tst-getpw.c: Likewise.
9617 * resolv/tst-inet_ntop.c: Likewise.
9618 * rt/tst-timer.c: Likewise.
9619 * stdio-common/test-fseek.c: Likewise.
9620 * stdio-common/test-popen.c: Likewise.
9621 * stdio-common/test-vfprintf.c: Likewise.
9622 * stdio-common/tst-cookie.c: Likewise.
9623 * stdio-common/tst-fileno.c: Likewise.
9624 * stdio-common/tst-gets.c: Likewise.
9625 * stdio-common/tst-obprintf.c: Likewise.
9626 * stdio-common/tst-perror.c: Likewise.
9627 * stdio-common/tst-sprintf2.c: Likewise.
9628 * stdio-common/tst-sprintf3.c: Likewise.
9629 * stdio-common/tst-sprintf.c: Likewise.
9630 * stdio-common/tst-swprintf.c: Likewise.
9631 * stdio-common/tst-tmpnam.c: Likewise.
9632 * stdio-common/tst-unbputc.c: Likewise.
9633 * stdio-common/tst-wc-printf.c: Likewise.
9634 * stdlib/tst-environ.c: Likewise.
9635 * stdlib/tst-fmtmsg.c: Likewise.
9636 * stdlib/tst-limits.c: Likewise.
9637 * stdlib/tst-rand48-2.c: Likewise.
9638 * stdlib/tst-rand48.c: Likewise.
9639 * stdlib/tst-random2.c: Likewise.
9640 * stdlib/tst-random.c: Likewise.
9641 * stdlib/tst-strtol.c: Likewise.
9642 * stdlib/tst-strtoll.c: Likewise.
9643 * stdlib/tst-tls-atexit.c: Likewise.
9644 * stdlib/tst-xpg-basename.c: Likewise.
9645 * string/test-ffs.c: Likewise.
9646 * string/tst-bswap.c: Likewise.
9647 * string/tst-inlcall.c: Likewise.
9648 * string/tst-strtok.c: Likewise.
9649 * string/tst-strxfrm.c: Likewise.
9650 * sysdeps/x86_64/tst-audit10.c: Likewise.
9651 * sysdeps/x86_64/tst-audit3.c: Likewise.
9652 * sysdeps/x86_64/tst-audit4.c: Likewise.
9653 * sysdeps/x86_64/tst-audit5.c: Likewise.
9654 * time/tst-ftime_l.c: Likewise.
9655 * time/tst-getdate.c: Likewise.
9656 * time/tst-mktime3.c: Likewise.
9657 * time/tst-mktime.c: Likewise.
9658 * time/tst-posixtz.c: Likewise.
9659 * time/tst-strptime2.c: Likewise.
9660 * time/tst-strptime3.c: Likewise.
9661 * wcsmbs/tst-btowc.c: Likewise.
9662 * wcsmbs/tst-mbrtowc.c: Likewise.
9663 * wcsmbs/tst-mbsrtowcs.c: Likewise.
9664 * wcsmbs/tst-wchar-h.c: Likewise.
9665 * wcsmbs/tst-wcpncpy.c: Likewise.
9666 * wcsmbs/tst-wcrtomb.c: Likewise.
9667 * wcsmbs/tst-wcsnlen.c: Likewise.
9668 * wcsmbs/tst-wcstof.c: Likewise.
9670 2014-11-04 Joseph Myers <joseph@codesourcery.com>
9673 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9675 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9677 (_dl_mcount): Use rtld_hidden_proto.
9678 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9680 * elf/rtld.c (_rtld_global_ro): Likewise.
9683 * elf/dl-init.c (_dl_init): Don't use INTDEF.
9684 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9685 of _dl_init_internal.
9686 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9687 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9688 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9689 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9690 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9691 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9692 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9693 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9694 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9695 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9696 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9697 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9698 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9699 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9700 * sysdeps/tile/dl-start.S (_start): Likewise.
9701 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9702 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9705 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9706 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9707 (rtld_progname): Make macro definition unconditional.
9708 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9710 (dlmopen_doit): Do not use INTUSE with _dl_argv.
9711 (dl_main): Likewise.
9712 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9713 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9714 instead of _dl_argv_internal.
9715 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9716 __GI__dl_argv instead of INTUSE(_dl_argv).
9717 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9718 __GI__dl_argv instead of _dl_argv_internal.
9720 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9721 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9723 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9724 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9726 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9727 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9729 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9730 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9732 2014-11-04 Andreas Schwab <schwab@suse.de>
9734 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9736 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9738 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9739 mtvsrd instruction in binary form.
9741 2014-11-03 Andreas Schwab <schwab@suse.de>
9744 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9745 for less than MB_LEN_MAX use a local buffer of that size.
9746 * libio/tst-fputws.c: New file.
9747 * libio/Makefile (tests): Add tst-fputws.
9749 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
9751 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9752 the size of the fpu_fr.fpu_dregs[] array.
9754 2014-11-01 Joseph Myers <joseph@codesourcery.com>
9756 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9757 (__nanosleep): Do not define as alias.
9758 (nanosleep): Define as alias of __nanosleep.
9759 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9760 __libc_nanosleep name.
9762 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9764 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9765 install.texi in comment.
9767 2014-10-31 Torvald Riegel <triegel@redhat.com>
9769 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9770 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9771 ... add here and use lwsync or sync ...
9772 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9773 ... and add here using lwsync.
9775 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
9777 * elf/dl-machine-reject-phdr.h: New file.
9778 * elf/dl-load.c: #include that.
9779 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9780 if that returned true.
9782 2014-10-31 Roland McGrath <roland@hack.frob.com>
9785 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9786 gen-as-const-headers chunk. Add a big scare comment after the last
9787 safe place to touch before-compile.
9789 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9791 * manual/install.texi (Tools for Compilation): Update autoconf
9792 version requirements.
9793 * INSTALL: Regenerated.
9795 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9796 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9797 (__libc_pselect): Likewise.
9800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9805 2014-10-31 Torvald Riegel <triegel@redhat.com>
9807 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9808 correct barrier instruction.
9809 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9811 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9814 2014-10-30 Roland McGrath <roland@hack.frob.com>
9816 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9817 after defining inlines. Instead, just use parens to defeat macro
9818 expansion of __isctype in its declaration.
9820 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9822 * include/sys/uio.h (__libc_readv): Remove declaration.
9823 (__libc_writev): Likewise.
9824 * misc/readv.c (__libc_readv): Rename to __readv.
9825 (__readv): Do not define as alias.
9826 (readv): Define as alias of __readv.
9827 * misc/writev.c (__libc_writev): Rename to __writev.
9828 (__writev): Do not define as alias.
9829 (writev): Define as alias of __writev.
9830 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9831 (__readv): Do not define as alias.
9832 (readv): Define unconditionally as alias of __readv.
9833 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9834 (__writev): Do not define as alias.
9835 (writev): Define unconditionally as alias of __writev.
9836 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9838 (writev): Do not define __libc_writev name.
9840 2014-10-30 Roland McGrath <roland@hack.frob.com>
9842 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9843 (convert_charseq): New function, broken out of ...
9844 (use_from_charmap): ... here. Call it.
9845 (use_to_charmap): Use convert_charseq and free instead of duplicating
9846 its code with a variable-length stack struct.
9848 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9850 * include/fcntl.h (__libc_creat): Remove declaration.
9851 * io/creat.c (__libc_creat): Rename to creat.
9852 (creat): Do not define as alias.
9853 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9854 of creat instead of __libc_creat.
9855 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9857 (creat): Do not define as alias.
9858 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9860 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9862 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9865 2014-10-29 Carlos O'Donell <carlos@redhat.com>
9867 * manual/llio.texi: Add comments discussing why write() may be
9868 considered MT-unsafe on Linux.
9870 2014-10-28 Carlos O'Donell <carlos@redhat.com>
9872 * dl-load.c (local_strdup): Remove.
9873 (expand_dynamic_string_token): Use __strdup.
9874 (decompose_rpath): Likewise.
9875 (_dl_map_object): Likewise.
9877 2014-10-28 Joseph Myers <joseph@codesourcery.com>
9880 * sysdeps/generic/unwind-dw2-fde.c
9881 (__register_frame_info_bases_internal): Do not declare.
9882 (__register_frame_info_table_bases_internal): Likewise.
9883 (__deregister_frame_info_bases_internal): Likewise.
9884 (__register_frame_info_bases): Declare and use hidden_proto before
9885 definition. Use hidden_def instead of INTDEF.
9886 (__register_frame_info_table_bases): Likewise.
9887 (__deregister_frame_info_bases): Likewise.
9888 (__register_frame_info): Do not use INTUSE.
9889 (__register_frame): Likewise.
9890 (__register_frame_info_table): Likewise.
9891 (__register_frame_table): Likewise.
9892 (__deregister_frame_info): Likewise.
9893 (__deregister_frame): Likewise.
9895 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
9897 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9898 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9900 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9902 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9905 2014-10-27 Joseph Myers <joseph@codesourcery.com>
9908 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9909 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9910 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9911 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9912 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9913 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9914 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9915 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9916 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9917 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9918 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9919 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9920 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9922 (setfsuid): Likewise.
9923 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9924 (setfsuid): Likewise.
9925 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9926 (setfsuid): Likewise.
9927 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9929 (setfsuid): Likewise.
9930 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9931 (setfsuid): Likewise.
9932 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9934 (setfsuid): Likewise.
9936 2014-10-27 Andreas Schwab <schwab@suse.de>
9939 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9940 check for Slow_SSE4_2 feature bit.
9941 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9942 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9943 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9944 Likewise. Fix check for Fast_Unaligned_Load feature bit.
9946 2014-10-24 Roland McGrath <roland@hack.frob.com>
9948 * configure.ac: Validate compiler version with a empirical test of
9949 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9951 * configure: Regenerated.
9953 * inet/htons.c (htons): Prototypify.
9954 * inet/htonl.c (htonl): Likewise.
9956 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9958 * string/strncat.c (strncat): Improve performance by using strlen.
9960 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9962 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9964 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9966 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9967 Call libc_fetestexcept_aarch64.
9969 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9971 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9972 Call libc_feholdexcept_aarch64.
9974 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9976 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9977 Call get_rounding_mode.
9979 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9981 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9984 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9986 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9989 2014-10-24 Joseph Myers <joseph@codesourcery.com>
9992 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9993 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9994 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9995 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9996 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9997 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9998 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9999 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10000 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10001 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10002 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10003 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10004 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10005 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10006 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10007 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10008 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10009 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10010 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10011 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10012 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10013 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10014 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10015 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10016 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10017 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10018 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10019 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10020 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10021 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10022 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10023 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10024 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10025 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10026 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10027 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10028 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10029 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10030 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10031 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10032 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10034 (geteuid): Likewise.
10035 (getgid): Likewise.
10036 (getuid): Likewise.
10037 (getresgid): Likewise.
10038 (getresuid): Likewise.
10039 (getgroups): Likewise.
10040 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10041 (geteuid): Likewise.
10042 (getgid): Likewise.
10043 (getuid): Likewise.
10044 (getresgid): Likewise.
10045 (getresuid): Likewise.
10046 (getgroups): Likewise.
10047 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10048 (geteuid): Likewise.
10049 (getgid): Likewise.
10050 (getuid): Likewise.
10051 (getresgid): Likewise.
10052 (getresuid): Likewise.
10053 (getgroups): Likewise.
10054 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10056 (geteuid): Likewise.
10057 (getgid): Likewise.
10058 (getuid): Likewise.
10059 (getresgid): Likewise.
10060 (getresuid): Likewise.
10061 (getgroups): Likewise.
10062 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10063 (geteuid): Likewise.
10064 (getgid): Likewise.
10065 (getuid): Likewise.
10066 (getresgid): Likewise.
10067 (getresuid): Likewise.
10068 (getgroups): Likewise.
10069 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10071 (geteuid): Likewise.
10072 (getgid): Likewise.
10073 (getuid): Likewise.
10074 (getgroups): Likewise.
10077 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10078 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10079 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10080 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10081 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10082 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10083 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10084 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10085 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10086 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10087 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10088 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10089 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10091 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10092 (lchown): Likewise.
10093 (fchown): Likewise.
10094 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10096 (lchown): Likewise.
10097 (fchown): Likewise.
10098 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10099 (lchown): Likewise.
10100 (fchown): Likewise.
10101 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10103 (lchown): Likewise.
10104 (fchown): Likewise.
10106 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10108 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10111 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10113 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10116 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10118 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10119 Remove unused include.
10121 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10123 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10124 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10125 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10126 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10128 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10129 Helge Deller <deller@gmx.de>
10132 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10133 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10134 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10136 2014-10-23 Joseph Myers <joseph@codesourcery.com>
10139 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10140 Remove macro definition.
10141 (__ashrdi3_v_glibc20): Likewise.
10142 (__lshrdi3_v_glibc20): Likewise.
10143 (__cmpdi2_v_glibc20): Likewise.
10144 (__ucmpdi2_v_glibc20): Likewise.
10145 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10146 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10147 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10148 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10149 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10150 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10152 2014-10-22 Roland McGrath <roland@hack.frob.com>
10154 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10155 old GNU extension [0] syntax.
10156 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10157 alloca rather than an array member with variable length.
10158 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10159 * nscd/nscd.c (invalidate_db): New function, broken out of ...
10160 (parse_opt): ... here. Likewise use alloca there.
10161 Validate the -i argument before checking for rootness.
10162 (send_shutdown): New function, broken out of ...
10163 (parse_opt): ... here.
10165 2014-10-22 Roland McGrath <roland@hack.frob.com>
10167 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10168 macro to get at the _rt_local_ro field.
10169 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10170 ([PIC] case) or _dl_hwcap ([!PIC] case).
10171 * sysdeps/arm/setjmp.S: Likewise.
10173 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10174 * sysdeps/arm/configure.ac: New check to define it.
10175 * sysdeps/arm/configure: Regenerated.
10176 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10177 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10178 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10179 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10180 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10181 Use move/movt pair instead of a load.
10182 (LDST_GLOBAL): Macro removed.
10183 (LDR_GLOBAL): New macro replaces it.
10184 (LDR_HIDDEN): New macro.
10185 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10186 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10188 * setjmp/tst-setjmp-static.c: New file.
10189 * setjmp/Makefile (tests): Add it.
10190 (tests-static): New variable.
10192 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10195 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10197 2014-10-21 Joseph Myers <joseph@codesourcery.com>
10200 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10202 2014-10-21 Roland McGrath <roland@hack.frob.com>
10204 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10206 2014-10-20 Roland McGrath <roland@hack.frob.com>
10208 * io/fts.c (dirent_not_directory): New function.
10209 (fts_build): Call it.
10211 2014-10-20 Roland McGrath <roland@hack.frob.com>
10213 * nptl/version.c (__nptl_main): Use normal __write rather than
10215 (banner): Update copyright years.
10217 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10219 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10220 * nptl/pthread_cond_timedwait.c: Likewise.
10221 * nptl/pthread_mutex_timedlock.c: Likewise.
10222 * nptl/sem_timedwait.c: Likewise.
10224 * sysdeps/nptl/bits/libc-lock.h
10225 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10226 (__libc_lock_init_recursive): Return void, not 0.
10227 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10228 (__libc_rwlock_init): Likewise.
10229 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10231 2014-10-20 Torvald Riegel <triegel@redhat.com>
10234 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10235 (__pthread_once_slow): ... here.
10236 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10237 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10239 2014-10-20 Torvald Riegel <triegel@redhat.com>
10242 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10243 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10244 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10245 * nptl/pthread_once.c (__pthread_once): Likewise.
10248 2014-10-20 Joseph Myers <joseph@codesourcery.com>
10251 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10253 (writev): Use __libc_writev as strong name.
10254 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10255 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10257 2014-10-17 Roland McGrath <roland@hack.frob.com>
10259 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10261 * sysdeps/i386/nptl/tls.h
10262 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10263 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10265 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10266 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10267 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10268 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10269 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10270 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10272 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10273 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10275 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10277 (__pthread_mutex_init): ... here. Call it.
10278 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10279 Conditionalize PI cases on [__NR_futex].
10280 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10281 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10282 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10284 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10285 conditional on [SIGSETXID].
10286 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10287 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10288 is defined. Likewise for SIGSETXID.
10289 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10290 Conditionalize definitions on [SIGSETXID].
10291 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10292 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10293 unblocking on [SIGCANCEL].
10295 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10296 [__NR_set_robust_list].
10298 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10300 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10301 (do_compare): Likewise.
10303 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
10306 * string/strcoll_l.c: Don't include stdio.h.
10307 (coll_seq): Remove members idxarr and rulearr.
10308 (get_next_seq_cached): Remove function.
10309 (get_next_seq): Likewise.
10310 (get_next_seq_nocache): Rename to get_next_seq.
10311 (do_compare): Remove function.
10312 (do_compare_nocache): Rename to do_compare.
10313 (STRCOLL): Remove weight and rules cache.
10315 2014-10-16 Roland McGrath <roland@hack.frob.com>
10317 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10318 * sysdeps/arm/sfp-machine.h: ... to here.
10319 * sysdeps/arm/Implies: Remove arm/soft-fp.
10321 2014-10-14 Joseph Myers <joseph@codesourcery.com>
10323 * conform/data/sys/utsname.h-data (*_t): Allow.
10324 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10325 [POSIX] (WEXITED): Do not expect constant.
10326 [POSIX] (WSTOPPED): Likewise.
10327 [POSIX] (WNOHANG): Likewise.
10328 [POSIX] (WNOWAIT): Likewise.
10329 [POSIX] (siginfo_t): Do not expect type or elements.
10330 [POSIX] (pid_t): Do not expect type.
10331 [POSIX] (signal.h): Do not allow header.
10332 [POSIX] (sys/resource.h): Likewise.
10333 [POSIX] (si_*): Do not allow pattern.
10334 [POSIX] (W*): Likewise.
10335 [POSIX] (P_*): Likewise.
10336 [POSIX] (BUS_*): Likewise.
10337 [POSIX] (CLD_*): Likewise.
10338 [POSIX] (FPE_*): Likewise.
10339 [POSIX] (ILL_*): Likewise.
10340 [POSIX] (POLL_*): Likewise.
10341 [POSIX] (SEGV_*): Likewise.
10342 [POSIX] (SI_*): Likewise.
10343 [POSIX] (TRAP_*): Likewise.
10344 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10347 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10350 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10351 infinite loop when __recvmsg returns 0.
10353 2014-10-10 Joseph Myers <joseph@codesourcery.com>
10355 * CANCEL-FCT-WAIVE: Remove file.
10356 * CANCEL-FILE-WAIVE: Likewise.
10359 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10360 instead of INTVARDEF.
10361 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10362 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10363 rtld_hidden_data_def instead of INTVARDEF.
10364 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10365 * elf/dl-deps.c (expand_dst): Likewise.
10366 * elf/dl-load.c (_dl_dst_count): Likewise.
10367 (_dl_dst_substitute): Likewise.
10368 (decompose_rpath): Likewise.
10369 (_dl_init_paths): Likewise.
10370 (open_path): Likewise.
10371 (_dl_map_object): Likewise.
10372 * elf/rtld.c (dl_main): Likewise.
10373 (process_dl_audit): Likewise.
10374 (process_envvars): Likewise.
10375 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10376 Remove declaration.
10377 (__libc_enable_secure): Use rtld_hidden_proto.
10379 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10382 (add_path): New function broken out of _dl_rtld_di_serinfo.
10383 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
10385 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10387 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10388 parentheses around macro arguments.
10389 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10390 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10391 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10392 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10393 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10394 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10395 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10396 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10397 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10398 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10399 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10400 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10401 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10402 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10403 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10404 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10405 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10406 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10407 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10408 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10409 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10410 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10411 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10412 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10413 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10414 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10415 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10416 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10417 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10418 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10419 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10420 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10421 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10422 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10423 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10424 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10426 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10427 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10428 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10429 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10430 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10431 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10432 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10433 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10434 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10435 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10436 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10437 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10438 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10439 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10440 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10441 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10442 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10443 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10444 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10445 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10446 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10447 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10448 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10449 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10450 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10451 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10452 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10453 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10454 (_FP_FRAC_SRS_1): Likewise.
10455 (_FP_FRAC_CLZ_1): Likewise.
10456 (_FP_MUL_MEAT_1_imm): Likewise.
10457 (_FP_MUL_MEAT_1_wide): Likewise.
10458 (_FP_MUL_MEAT_1_hard): Likewise.
10459 (_FP_SQRT_MEAT_1): Likewise.
10460 (_FP_FRAC_ASSEMBLE_1): Likewise.
10461 (_FP_FRAC_DISASSEMBLE_1): Likewise.
10462 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10463 (__FP_CLZ_2): Likewise.
10464 (_FP_MUL_MEAT_2_wide): Likewise.
10465 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10466 (_FP_MUL_MEAT_2_gmp): Likewise.
10467 (_FP_MUL_MEAT_2_120_240_double): Likewise.
10468 (_FP_SQRT_MEAT_2): Likewise.
10469 (_FP_FRAC_ASSEMBLE_2): Likewise.
10470 (_FP_FRAC_DISASSEMBLE_2): Likewise.
10471 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10472 (_FP_FRAC_CLZ_4): Likewise.
10473 (_FP_MUL_MEAT_4_wide): Likewise.
10474 (_FP_MUL_MEAT_4_gmp): Likewise.
10475 (_FP_SQRT_MEAT_4): Likewise.
10476 (_FP_FRAC_ASSEMBLE_4): Likewise.
10477 (_FP_FRAC_DISASSEMBLE_4): Likewise.
10478 * soft-fp/op-common.h (_FP_CMP): Likewise.
10479 (_FP_CMP_EQ): Likewise.
10480 (_FP_CMP_UNORD): Likewise.
10481 (_FP_TO_INT): Likewise.
10482 (_FP_FROM_INT): Likewise.
10483 [!__FP_CLZ] (__FP_CLZ): Likewise.
10484 (_FP_DIV_HELP_imm): Likewise.
10485 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10487 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10488 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10489 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10490 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10491 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10492 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10493 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10494 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10495 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10496 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10497 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10498 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10499 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10500 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10501 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10502 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10503 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10504 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10505 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10506 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10507 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10508 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10509 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10510 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10511 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10512 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10513 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10514 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10515 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10516 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10517 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10518 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10519 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10520 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10521 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10522 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10523 (FP_UNPACK_RAW_SP): Likewise.
10524 (FP_PACK_RAW_S): Likewise.
10525 (FP_PACK_RAW_SP): Likewise.
10526 (FP_UNPACK_S): Likewise.
10527 (FP_UNPACK_SP): Likewise.
10528 (FP_UNPACK_SEMIRAW_S): Likewise.
10529 (FP_UNPACK_SEMIRAW_SP): Likewise.
10530 (FP_PACK_S): Likewise.
10531 (FP_PACK_SP): Likewise.
10532 (FP_PACK_SEMIRAW_S): Likewise.
10533 (FP_PACK_SEMIRAW_SP): Likewise.
10534 (_FP_SQRT_MEAT_S): Likewise.
10535 (FP_CMP_S): Likewise.
10536 (FP_CMP_EQ_S): Likewise.
10537 (FP_CMP_UNORD_S): Likewise.
10538 (FP_TO_INT_S): Likewise.
10539 (FP_FROM_INT_S): Likewise.
10541 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10543 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10544 (FP_EX_INVALID_IMZ): Likewise.
10545 (FP_EX_INVALID_IMZ_FMA): Likewise.
10546 (FP_EX_INVALID_ISI): Likewise.
10547 (FP_EX_INVALID_ZDZ): Likewise.
10548 (FP_EX_INVALID_IDI): Likewise.
10549 (FP_EX_INVALID_SQRT): Likewise.
10550 (FP_EX_INVALID_CVI): Likewise.
10551 (FP_EX_INVALID_VC): Likewise.
10552 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10553 "invalid" exceptions.
10554 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10555 (_FP_ADD_INTERNAL): Likewise.
10556 (_FP_MUL): Likewise.
10557 (_FP_FMA): Likewise.
10558 (_FP_DIV): Likewise.
10559 (_FP_CMP_CHECK_NAN): Likewise.
10560 (_FP_SQRT): Likewise.
10561 (_FP_TO_INT): Likewise.
10562 (FP_EXTEND): Likewise.
10564 2014-10-09 Allan McRae <allan@archlinux.org>
10566 * po/fr.po: Update French translation from translation project.
10568 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10571 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10573 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10574 (__cxa_atexit): Use libc_hidden_proto.
10575 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10578 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10580 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10581 [!_ISOMAC] (__iswspace_l_internal): Likewise.
10582 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10583 [!_ISOMAC] (__iswctype_internal): Likewise.
10584 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10585 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10587 (fcntl): Remove __fcntl_internal alias.
10588 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10589 __connect_internal alias.
10590 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10593 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10594 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10596 (_FP_CHECK_FLUSH_ZERO): New macro.
10597 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10598 (_FP_CMP): Likewise.
10599 (_FP_CMP_EQ): Likewise.
10600 (_FP_TO_INT): Do not set inexact for subnormal arguments if
10602 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10603 (FP_TRUNC): Likewise.
10605 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10606 treated as invalid conversion, not as normal exponent.
10608 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10609 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
10610 (_FP_CMP_EQ): Likewise.
10611 (_FP_CMP_UNORD): Likewise.
10612 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10613 (FP_CMP_EQ_D): Likewise.
10614 (FP_CMP_UNORD_D): Likewise.
10615 * soft-fp/extended.h (FP_CMP_E): Likewise.
10616 (FP_CMP_EQ_E): Likewise.
10617 (FP_CMP_UNORD_E): Likewise.
10618 * soft-fp/quad.h (FP_CMP_Q): Likewise.
10619 (FP_CMP_EQ_Q): Likewise.
10620 (FP_CMP_UNORD_Q): Likewise.
10621 * soft-fp/single.h (FP_CMP_S): Likewise.
10622 (FP_CMP_EQ_S): Likewise.
10623 (FP_CMP_UNORD_S): Likewise.
10624 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10625 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10626 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10627 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10628 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10629 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10630 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10631 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10632 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10633 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10634 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10635 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10636 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10638 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10640 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10641 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10643 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10645 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10646 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10647 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10648 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10650 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10652 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10653 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10655 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10657 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10658 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10659 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10660 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10663 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10664 a subnormal result, set the underflow exception if trapping on
10665 underflow is enabled.
10666 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10667 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10668 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10670 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10671 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10672 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10673 * soft-fp/extendxftf2.c (__extendxftf2): Use
10674 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10676 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10677 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10678 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10679 FP_HANDLE_EXCEPTIONS.
10680 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10681 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10682 FP_HANDLE_EXCEPTIONS.
10683 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10684 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10685 FP_HANDLE_EXCEPTIONS.
10686 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10687 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10688 FP_HANDLE_EXCEPTIONS.
10690 2014-10-08 Joseph Myers <joseph@codesourcery.com>
10693 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10694 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10696 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10697 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10699 (__adjtimex): Define using libc_hidden_ver.
10700 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10701 Remove declaration.
10702 (ntp_gettime): Call __adjtimex directly.
10703 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10704 Remove declaration.
10705 (ntp_gettimex): Call __adjtimex directly.
10706 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10707 __adjtimex_internal alias.
10709 2014-10-08 Roland McGrath <roland@hack.frob.com>
10712 * nscd/nscd.c (more_help): Rewrite list of tables collection
10713 using xstrdup and asprintf.
10715 * nscd/nscd_conf.c: Remove local xstrdup declaration.
10717 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10718 Roland McGrath <roland@hack.frob.com>
10720 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10721 (do_lookup_unique): ... local function 'enter' here; update callers.
10723 2014-10-06 Joseph Myers <joseph@codesourcery.com>
10725 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10726 compat_symbol calls on [SHARED].
10727 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10728 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10730 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10731 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10732 (oldsetrlimit): Remove.
10733 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10735 (lchown): New syscall entry.
10736 (oldsetrlimit): Remove.
10737 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10738 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10739 (oldsetrlimit): Remove.
10740 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10743 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10744 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10745 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10746 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10747 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10748 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10749 (fchown): Likewise.
10750 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10751 (fchown): Likewise.
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10755 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10757 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10758 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10759 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10760 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10761 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10763 (__old_sem_post): Likewise.
10765 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
10767 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10768 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10769 HAVE_CLOCK_GETTIME_VSYSCALL macros.
10770 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10771 Use INLINE_VSYSCALL macro.
10772 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10773 __vdso_clock_gettime.
10774 * sysdeps/unix/sysv/linux/tile/init-first.c
10775 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10776 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10777 __vdso_clock_gettime.
10779 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10780 to set up frame more cleanly.
10782 * sysdeps/tile/memcmp.c: New file.
10784 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10786 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10787 * sysdeps/tile/tilegx/strcasestr.c: New file.
10788 * sysdeps/tile/tilegx/strnlen.c: New file.
10789 * sysdeps/tile/tilegx/strstr.c: New file.
10791 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10793 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
10795 * nptl/tst-setuid3.c: Write errors to stdout.
10797 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10800 (preload): New functions broken out of _dl_map_object_deps.
10801 (_dl_map_object_deps): Remove a nested function. Update call sites.
10803 2014-10-01 Joseph Myers <joseph@codesourcery.com>
10806 * sysdeps/unix/sysv/linux/execve.c: Remove file.
10807 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10809 2014-10-01 Steve Ellcey <sellcey@mips.com>
10811 * sysdeps/mips/strcmp.S: New.
10813 2014-09-30 Joseph Myers <joseph@codesourcery.com>
10816 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10817 (linkat): Likewise.
10818 (mkdirat): Likewise.
10819 (readlinkat): Likewise.
10820 (renameat): Likewise.
10821 (symlinkat): Likewise.
10822 (unlinkat): Likewise.
10823 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10824 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10825 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10826 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10827 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10828 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10829 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10831 2014-09-30 Will Newton <will.newton@linaro.org>
10833 * math/math.h: Define long double math functions if
10834 _LIBC_TEST is defined.
10835 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10837 * localedata/Makefile: Move assignment to tests-special
10838 into an ifdef testing run-built-tests.
10839 * timezone/Makefile: Likewise.
10841 2014-09-29 Joseph Myers <joseph@codesourcery.com>
10843 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10844 with $(BASH) not $(SHELL).
10846 2014-09-29 Carlos O'Donell <carlos@redhat.com>
10847 Matthew LeGendre <legendre1@llnl.gov>
10850 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10853 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10855 * stdio-common/printf_fp.c
10856 (hack_digit): New function, broken out of ...
10857 (__printf_fp): ... local function here. Update call sites.
10858 hack_digit now takes an additional parameter that is a pointer
10859 to a struct of the referenced locals. Those locals moved inside
10860 the struct and references updated.
10862 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
10864 * aclocal.m4: Require autoconf 2.69.
10865 * configure: Regenerated.
10866 * sysdeps/aarch64/configure: Likewise.
10867 * sysdeps/alpha/configure: Likewise.
10868 * sysdeps/arm/armv7/configure: Likewise.
10869 * sysdeps/arm/configure: Likewise.
10870 * sysdeps/ia64/configure: Likewise.
10871 * sysdeps/mach/configure: Likewise.
10872 * sysdeps/mips/configure: Likewise.
10873 * sysdeps/s390/configure: Likewise.
10874 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10877 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10879 * sysdeps/ia64/configure.ac: Likewise.
10881 2014-09-26 Joseph Myers <joseph@codesourcery.com>
10883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10884 specify symbol version for ld.so. Do not include entry for
10886 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10887 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10888 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10891 * Makeconfig [$(build-shared) = yes]
10892 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10894 [$(build-shared) = yes && $(soversions.mk-done) = t]
10895 ($(common-objpfx)gnu/lib-names.h): Remove rule.
10896 [$(build-shared) = yes && $(soversions.mk-done) = t]
10897 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
10899 [$(build-shared) = yes && $(soversions.mk-done) = t]
10900 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10902 [$(build-shared) = yes && $(soversions.mk-done) = t]
10903 (common-generated): Don't append gnu/lib-names.h and
10904 gnu/lib-names.stmp here.
10905 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10906 (lib-names-h-abi): New variable.
10907 [$(build-shared) = yes && $(soversions.mk-done) = t]
10908 (lib-names-stmp-abi): Likewise.
10909 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10910 abi-variants] (before-compile): Append
10911 $(common-objpfx)$(lib-names-h-abi).
10912 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10913 abi-variants] (common-generated): Append gnu/lib-names.h.
10914 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10915 abi-variants] (install-others-nosubdir): Depend on
10916 $(inst_includedir)/$(lib-names-h-abi).
10917 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10918 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10919 [$(build-shared) = yes && $(soversions.mk-done) = t]
10920 ($(common-objpfx)$(lib-names-h-abi)): New rule.
10921 [$(build-shared) = yes && $(soversions.mk-done) = t]
10922 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10923 [$(build-shared) = yes && $(soversions.mk-done) = t]
10924 (common-generated): Append $(lib-names-h-abi) and
10925 $(lib-names-stmp-abi).
10926 * scripts/lib-names.awk: Do not handle multi being set.
10927 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10929 (abi-lp64_be-ld-soname): Likewise.
10930 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10932 (abi-hard-ld-soname): Likewise.
10933 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10934 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10936 (abi-o32_hard-ld-soname): Likewise.
10937 (abi-o32_soft_2008-ld-soname): Likewise.
10938 (abi-o32_hard_2008-ld-soname): Likewise.
10939 (abi-n32_soft-ld-soname): Likewise.
10940 (abi-n32_hard-ld-soname): Likewise.
10941 (abi-n32_soft_2008-ld-soname): Likewise.
10942 (abi-n32_hard_2008-ld-soname): Likewise.
10943 (abi-n64_soft-ld-soname): Likewise.
10944 (abi-n64_hard-ld-soname): Likewise.
10945 (abi-n64_soft_2008-ld-soname): Likewise.
10946 (abi-n64_hard_2008-ld-soname): Likewise.
10947 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10949 (abi-64-v2-ld-soname): Likewise.
10950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10952 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10954 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10956 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10958 (abi-64-ld-soname): Likewise.
10959 (abi-x32-ld-soname): Likewise.
10960 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10962 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10964 2014-09-23 Joseph Myers <joseph@codesourcery.com>
10967 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10968 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10969 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10970 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10971 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10972 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10973 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10974 syscall entry for GLIBC_2.2 symbol version.
10975 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10978 (setrlimit): Likewise.
10979 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10982 2014-09-23 Will Newton <will.newton@linaro.org>
10984 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10985 _LINUX_ARM_SYSDEP_H include guard too.
10986 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10989 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10991 * sysdeps/unix/sysv/linux/eventfd.c:
10992 Make first argument unsigned.
10993 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10994 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10996 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
10998 * socket/recvmmsg.c (recvmmsg): Drop const argument.
10999 * socket/sys/socket.h: Likewise
11000 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11002 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11004 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11006 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
11008 * time/tst-ftime.c: New test.
11009 * time/Makefile (tests): Add tst-ftime.
11011 2014-09-17 Joseph Myers <joseph@codesourcery.com>
11013 * soft-fp/extended.h: Fix comment formatting.
11014 * soft-fp/op-1.h: Likewise.
11015 * soft-fp/op-2.h: Likewise.
11016 * soft-fp/op-4.h: Likewise.
11017 * soft-fp/op-8.h: Likewise.
11018 * soft-fp/op-common.h: Likewise.
11019 * soft-fp/soft-fp.h: Likewise.
11021 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11023 2014-09-16 Joseph Myers <joseph@codesourcery.com>
11026 * Makeconfig (soversions-default-setname): Remove variable.
11027 ($(common-objpfx)soversions.i): Don't pass default_setname to
11029 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11030 oldest_abi to abi-versions.awk.
11031 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11032 * config.make.in (oldest-abi): Remove variable.
11033 * configure.ac (--enable-oldest-abi): Remove configure option.
11034 * configure: Regenerated.
11035 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11037 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11038 * scripts/soversions.awk: Do not handle default_setname variable.
11039 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11041 * sysdeps/mach/hurd/configure: Regenerated.
11042 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11044 * sysdeps/unix/sysv/linux/configure: Regenerated.
11046 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11048 * elf/Makefile (CFLAGS-interp.c): Remove.
11049 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11051 * elf/interp.c: Include generated runtime-linker.h
11053 * Makerules (lib%.so): Don't include $(+interp) in
11055 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11056 * dlfcn/eval.c: Remove file.
11058 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11062 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11066 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11068 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11069 Jakub Jelinek <jakub@redhat.com>
11072 * libio/stdio.h: Check definition of __fortify_function
11073 instead of __extern_always_inline to include bits/stdio2.h.
11074 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11075 check if __extern_always_inline is defined.
11076 [__USE_MISC || __USE_XOPEN]: Likewise.
11077 [__USE_ISOC99] Likewise.
11078 * misc/sys/cdefs.h (__fortify_function): Define only if
11079 __extern_always_inline is defined.
11080 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11081 __extern_always_inline and __extern_inline only for g++-4.3
11082 and newer or a compatible gcc.
11084 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11087 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11088 last change to handle zero prefix length.
11090 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11092 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11095 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11096 _POSIX_RAW_SOCKETS.
11098 2014-09-13 Allan McRae <allan@archlinux.org>
11100 * po/ru.po: Update Russian translation from translation project.
11102 2014-09-12 Roland McGrath <roland@hack.frob.com>
11104 * locale/programs/locale.c (show_locale_vars): Inline local function
11105 into its sole call site. Clean up some style nits.
11106 (print_item): New function, broken out of ...
11107 (show_info): ... local function here. Clean up style nits.
11109 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11111 (set_class_defaults): ... local function set_default here.
11112 Define set_default as a macro locally to pass constant parameters.
11113 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11114 rather than a shared local.
11116 * stdlib/rpmatch.c (try): New function, broken out of ...
11117 (rpmatch): ... local function here. Also, prototypify definition.
11119 2014-09-12 Joseph Myers <joseph@codesourcery.com>
11121 * scripts/soversions.awk: Do not handle configuration names.
11122 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11123 vendor and os variables to soversions.awk.
11124 * configure.ac: Do not modify gnu-* host_os.
11125 * configure: Regenerated
11126 * shlib-versions: Remove first column with configuration names.
11127 * nptl/shlib-versions: Likewise.
11128 * nptl_db/shlib-versions: Likewise.
11129 * sysdeps/hppa/shlib-versions: Likewise.
11130 * sysdeps/m68k/shlib-versions: Likewise.
11131 * sysdeps/mach/hurd/shlib-versions: Likewise.
11132 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11133 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11134 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11135 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11136 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11137 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11138 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11139 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11142 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11143 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11144 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11145 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11146 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11147 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11148 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11149 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11152 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11155 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11157 Condition symbol version definitions on [HAVE_ELFV2_ABI].
11159 * shlib-versions: Remove OS-specific entries. Moved to files in
11161 * sysdeps/mach/hurd/shlib-versions: New file.
11162 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11164 * nptl/shlib-versions: Remove architecture-specific entries.
11165 Moved to files in sysdeps.
11166 * shlib-versions: Likewise.
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11169 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11170 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11171 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11172 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11174 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11175 (UDP_NO_CHECK6_RX): Likewise.
11177 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11179 * sysdeps/posix/sysconf.c (__sysconf): Spell
11180 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11182 2014-08-12 Florian Weimer <fweimer@redhat.com>
11184 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11186 * iconv/Versions (__gconv_transliterate): Export for use from
11188 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11189 (struct __gconv_trans_data, __gconv_trans_fct,
11190 __gconv_trans_context_fct, __gconv_trans_query_fct,
11191 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11193 (struct __gconv_step_data): Remove __trans member.
11194 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11195 longer hidden. Remove unused trans_data argument.
11196 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11197 (__gconv_translit_find): Remove declaration.
11198 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11200 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11201 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11202 trans_data argument. Add hidden definition.
11203 (__gconv_translit_find): Remove.
11204 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11205 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11206 * iconv/skeleton.c: Remove transliteration initialization.
11207 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11208 __gconv_step_data initialization.
11209 * libio/iofwide.c (__libio_translit_): Remove.
11210 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11211 * wcsmbs/btowc.c (__btowc): Likewise.
11212 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11213 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11214 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11215 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11216 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11217 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11218 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11219 * wcsmbs/wctob.c (wctob): Likewise.
11221 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11224 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11225 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11227 * sysdeps/x86/Makefile: Adjust.
11229 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11230 Roland McGrath <roland@hack.frob.com>
11232 * locale/weight.h: Add include guard.
11233 (findidx): Make static rather than auto; take new parameters
11234 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11235 * locale/weightwc.h: Likewise.
11236 * posix/fnmatch_loop.c
11237 (FCT): Change type of EXTRA from int32_t to wint_t.
11238 Don't include either header inside the function.
11239 Call FINDIDX rather than findidx, and pass new arguments.
11240 #undef FINDIDX at the end of the file.
11241 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11242 FINDIDX before including fnmatch_loop.c for the non-wide version.
11243 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11244 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11245 for the wide version.
11246 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11247 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11248 Pass new arguments to findidx.
11249 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11250 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11251 Don't #include it inside the function. Pass new arguments to findidx.
11252 * posix/regex_internal.h
11253 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11254 (re_string_elem_size_at): Don't #include it inside the function.
11255 Pass new arguments to findidx.
11256 * string/strcoll_l.c: #include WEIGHT_H at top level.
11257 (get_next_seq): Don't #include it inside the function.
11258 Pass new arguments to findidx.
11259 (get_next_seq_nocache): Likewise.
11260 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11261 (STRXFRM): Don't #include it inside the function.
11262 Pass new arguments to findidx.
11264 2014-09-11 Florian Weimer <fweimer@redhat.com>
11267 * malloc/malloc.c (unlink): Turn asserts into a call to
11270 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
11273 * libio/wfileops (do_ftell_wide): Free OUT.
11275 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11277 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11279 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11282 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11283 group if the current group is empty.
11285 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11287 * benchtests/bench-memset.c (test_main): Add more test from size
11288 from 32 to 512 bytes.
11289 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11290 Add POWER8 memset object.
11291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11292 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11293 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11295 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11297 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11298 multiarch POWER8 memset optimization.
11299 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11300 POWER8 memset optimization.
11302 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11303 Remove bzero multiarch objects.
11304 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11305 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11306 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11307 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11309 [__bzero]: Redefine to specific name.
11310 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11311 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11312 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11314 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11315 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11317 2014-09-10 Florian Weimer <fweimer@redhat.com>
11319 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11320 warnings into errors.
11322 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11323 __cxa_thread_atexit_impl prototype.
11325 2014-09-09 Steve Ellcey <sellcey@mips.com>
11327 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11328 Fix capitalization of error message.
11330 2014-09-09 Steve Ellcey <sellcey@mips.com>
11332 * sysdeps/mips/preconfigure: Modify ABI tests.
11334 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11336 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11338 2014-09-07 Roland McGrath <roland@hack.frob.com>
11339 Carlos O'Donell <carlos@systemhalted.org>
11341 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11342 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11343 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11344 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11345 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11346 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11347 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11348 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11349 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11350 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11351 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11352 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11353 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11354 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11355 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11356 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11357 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11358 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11359 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11360 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11361 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11362 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11363 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11364 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11365 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11366 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11367 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11368 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11369 Deconditionalize the code that was previously under [RESET_PID].
11370 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11371 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11372 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11373 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11376 2014-09-08 Allan McRae <allan@archlinux.org>
11378 * version.h (RELEASE): Set to "development".
11379 (VERSION): Set to "2.20.90"
11381 2014-09-07 Allan McRae <allan@archlinux.org
11383 * version.h (RELEASE): Set to "stable".
11384 (VERSION): Set to "2.20"
11385 * include/features.h (__GLIBC_MINOR__): Set to 20.
11387 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11390 * po/ko.po: Update Korean translation from translation project.
11392 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
11395 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11396 macro for handling signed relocations.
11398 2014-09-03 Florian Weimer <fweimer@redhat.com>
11401 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11402 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11404 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11405 * iconvdata/ibm935.c (BODY): Likewise.
11406 * iconvdata/ibm937.c (BODY): Likewise.
11407 * iconvdata/ibm939.c (BODY): Likewise.
11408 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11410 * iconvdata/Makefile (iconv-test.out): Pass module list to test
11412 * iconvdata/run-iconv-test.sh: New test loop for checking for
11415 2014-09-02 Khem Raj <raj.khem@gmail.com>
11417 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11420 2014-09-01 Allan McRae <allan@archlinux.org>
11422 * po/eo.po: Update Esperanto translation from translation project.
11424 * po/ca.po: Update Catalan translation from translation project.
11426 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11428 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11429 __proc_dostop call.
11431 2014-08-27 Mark Wielaard <mjw@redhat.com>
11434 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11435 to call set_thread_area instead of hand written asm.
11436 (__NR_set_thread_area): Removed define.
11437 (TLS_FLAG_WRITABLE): Likewise.
11438 (__ASSUME_SET_THREAD_AREA): Remove check.
11439 (TLS_EBX_ARG): Remove define.
11440 (TLS_LOAD_EBX): Likewise.
11442 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11444 Simplify atomicity of socket creation in bind.
11446 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11447 looking up the name after linking the file.
11449 2014-08-27 Allan McRae <allan@archlinux.org>
11451 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11453 2014-08-26 Florian Weimer <fweimer@redhat.com>
11456 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11457 trans_compare, open_translit, __gconv_translit_find):
11458 Remove module loading code.
11460 2014-08-26 Allan McRae <allan@archlinux.org>
11462 * po/vi.po: Update Vietnamese translation from translation project.
11464 * po/uk.po: Update Ukrainian translation from translation project.
11466 * po/fr.po: Update French translation from translation project.
11468 * po/ru.po: Update Russian translation from translation project.
11470 * po/pl.po: Update Polish translation from translation project.
11472 * po/cs.po: Update Czech translation from translation project.
11474 * po/de.po: Update German translation from translation project.
11476 * po/bg.po: Update Bulgarian translation from translation project.
11478 * po/sv.po: Update Sweedish translation from translation project.
11480 * po/nl.po: Update Dutch translation from translation project.
11482 * po/es.po: Update Spanish translation from translation project.
11484 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11486 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11488 * catgets/Makefile (CPPFLAGS-gencat): Remove.
11489 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11490 (CPPFLAGS-iconvconfig): Likewise.
11491 * timezone/Makefile (CPPFLAGS-zic): Likewise.
11493 * include/libc-symbols.h: Remove unnecessary check for
11495 * nptl/pthreadP.h: Likewise.
11496 * sysdeps/aarch64/setjmp.S: Likewise.
11497 * sysdeps/alpha/setjmp.S: Likewise.
11498 * sysdeps/arm/sysdep.h: Likewise.
11499 * sysdeps/i386/setjmp.S: Likewise.
11500 * sysdeps/m68k/setjmp.c: Likewise.
11501 * sysdeps/posix/getcwd.c: Likewise.
11502 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11503 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11504 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11505 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11506 * sysdeps/sh/sh3/setjmp.S: Likewise.
11507 * sysdeps/sh/sh4/setjmp.S: Likewise.
11508 * sysdeps/unix/alpha/sysdep.h: Likewise.
11509 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11510 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11511 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11512 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11515 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11516 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11517 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11520 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11522 * sysdeps/x86_64/setjmp.S: Likewise.
11524 2014-08-13 Joseph Myers <joseph@codesourcery.com>
11527 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11529 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11530 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11532 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11534 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11537 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11538 and __x86_64__ when disabling x87 inline functions.
11540 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
11543 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11544 asm statement with __cpuid_count.
11546 2014-08-12 Mike Frysinger <vapier@gentoo.org>
11548 * configure.ac: Change __ehdr_start code to dereference the struct.
11549 Run readelf on the output to look for relocations.
11550 * configure: Regenerated.
11552 2014-08-12 Joseph Myers <joseph@codesourcery.com>
11555 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11557 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11559 2014-08-12 Roland McGrath <roland@hack.frob.com>
11561 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11563 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
11566 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11567 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11569 2014-08-12 Sean Anderson <seanga2@gmail.com>
11571 * malloc/malloc.c: Fix typo in comment.
11573 2014-08-09 Allan McRae <allan@archlinux.org>
11575 * Regenerate libc.po.
11577 2014-08-08 Mike Frysinger <vapier@gentoo.org>
11579 * intl/tst-gettext2.sh: Check every lang file for creation.
11581 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11583 * sysdeps/aarch64/fpu/math_private.h
11584 (libc_feholdsetround_noex_aarch64_ctx): New function.
11586 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11588 * sysdeps/arm/armv6/strcpy.S (strcpy):
11589 Fix performance issue in misaligned cases.
11591 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11593 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11594 Move definition from termios.h.
11595 (struct termio): Likewise.
11596 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11597 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11598 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11599 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11601 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11602 Move definition to ioctl-types.h
11603 (struct termio): Likewise.
11604 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11605 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11606 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11607 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11610 2014-08-05 Richard Henderson <rth@redhat.com>
11612 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11614 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11616 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11617 Use __feraiseexcept.
11618 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11619 Protect libm symbols with IS_IN_libm.
11621 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11623 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
11625 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11627 2014-08-04 Will Newton <will.newton@linaro.org>
11629 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11632 2014-08-04 Mike Frysinger <vapier@gentoo.org>
11634 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11635 variants for each function.
11637 2014-08-04 Roland McGrath <roland@hack.frob.com>
11639 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11641 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11642 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11644 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11645 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11646 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11647 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11648 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11649 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11650 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11651 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11652 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11653 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11654 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11655 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11656 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11657 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11658 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11659 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11660 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11661 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11662 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11663 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11664 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11665 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11666 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11667 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11668 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11669 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11670 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11671 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11672 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11673 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11674 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11675 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11676 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11677 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11678 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11679 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11680 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11681 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11682 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11683 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11684 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11685 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11686 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11687 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11688 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11689 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11690 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11691 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11692 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11693 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11694 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11695 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11696 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11698 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11699 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11701 2014-08-04 Roland McGrath <roland@hack.frob.com>
11703 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11704 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11705 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11706 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11707 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11708 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11710 2014-08-04 Roland McGrath <roland@hack.frob.com>
11712 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11713 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11714 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11715 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11717 2014-08-04 Roland McGrath <roland@hack.frob.com>
11719 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11720 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11721 (__libc_vfork): Define function under this name.
11722 (__vfork): Define as an alias.
11723 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11724 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11726 2014-08-04 Roland McGrath <roland@hack.frob.com>
11728 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11729 that was previously under [RESET_PID].
11730 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11732 2014-08-04 Andreas Schwab <schwab@suse.de>
11734 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11736 2014-08-03 Mike Frysinger <vapier@gentoo.org>
11738 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11741 2014-08-01 Roland McGrath <roland@hack.frob.com>
11743 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11745 2014-08-01 Richard Henderon <rth@redhat.com>
11747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11748 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11749 typo in exact zero test.
11750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11751 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11752 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11754 2014-08-01 Roland McGrath <roland@hack.frob.com>
11756 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11757 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11758 * sysdeps/arm/sysdep.h: ... here.
11759 [!__ASSEMBLER__]: Include <stdint.h>.
11761 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11763 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11764 (HAVE_WCTYPE_H): Likewise.
11765 (HAVE_ISWCTYPE): Likewise.
11766 (ENABLE_NLS): Likewise.
11767 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11768 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11770 * posix/regex_internal.c: Check if DEBUG is defined and is
11773 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11774 (HAVE_MBSRTOWCS): Likewise.
11775 * posix/fnmatch.c: Include string.h unconditionally.
11777 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11779 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11782 2014-07-31 Roland McGrath <roland@hack.frob.com>
11784 * sysdeps/generic/safe-fatal.h: New file.
11785 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11786 * nptl/forward.c: Include it.
11787 (__pthread_unwind): Use __safe_fatal as default action, rather
11788 than a bogus use of INTERNAL_SYSCALL that could never work.
11790 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11791 * configure.ac (libc_cv_builtin_trap): New test.
11792 * configure: Regenerated.
11793 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11794 (ABORT_INSTRUCTION): Define using __builtin_trap.
11796 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11797 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11798 * sysdeps/nptl/nptl-signals.h: New file.
11799 * nptl/pthreadP.h: Include <nptl-signals.h>.
11801 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11803 * sysdeps/s390/s390-64/utf16-utf32-z9.c
11804 (ONE_DIRECTION): Define.
11805 * sysdeps/s390/s390-64/utf8-utf16-z9.c
11806 (ONE_DIRECTION): Define.
11807 * sysdeps/s390/s390-64/utf8-utf32-z9.c
11808 (ONE_DIRECTION): Define.
11810 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11812 * sysdeps/s390/Makefile: Delete file.
11813 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11814 * sysdeps/s390/__longjmp.c: Delete file.
11815 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11816 Remove fields __flags and __reserved.
11817 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11818 and add versioning.
11819 * sysdeps/s390/rtld-__longjmp.c: Delete file.
11820 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11821 * sysdeps/s390/rtld-setjmp.S: Likewise.
11822 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11823 * sysdeps/s390/s390-32/__longjmp.c: ... here.
11824 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11825 * sysdeps/s390/s390-32/setjmp.S: ... here.
11827 (__sigsetjmp): Remove setting __flags field.
11828 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11829 * sysdeps/s390/s390-64/__longjmp.c: ... here.
11830 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11831 * sysdeps/s390/s390-64/setjmp.S: ... here.
11833 (__sigsetjmp): Remove setting __flags field.
11834 * sysdeps/s390/setjmp.S: Delete file.
11835 * sysdeps/s390/sigjmp.c: Likewise.
11836 * sysdeps/s390/v1-longjmp.c: Likewise.
11837 * sysdeps/s390/v1-setjmp.h: Likewise.
11838 * sysdeps/s390/v1-sigjmp.c: Likewise.
11839 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11840 Remove v1-longjmp_chk.
11841 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11842 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11843 Include debug/longjmp_chk.c and add versioning.
11844 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11845 Include nptl/pt-longjmp.c and add versioning.
11846 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11847 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11848 Include __longjmp.c.
11849 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11851 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11852 (__getcontext): Remove setting __flags field.
11854 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11855 Don't restore upper high grps.
11856 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11858 (__swapcontext): Remove setting uc_flags field.
11859 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11861 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11862 Include __longjmp.c.
11863 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11865 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11866 (__getcontext): Remove setting __flags field.
11868 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11869 (__swapcontext): Remove setting uc_flags field.
11870 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11871 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11872 Remove fields uc_high_gprs and __reserved.
11873 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11874 New file with reverted content.
11875 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11876 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11878 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11881 2014-07-31 Andreas Schwab <schwab@suse.de>
11883 * config.h.in (HAVE_IFUNC): Define to 0.
11884 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11887 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
11889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11890 memmove-avx-unaligned, memcpy-avx-unaligned and
11891 mempcpy-avx-unaligned.
11892 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11893 Add tests for AVX memcpy functions.
11894 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11895 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11897 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11898 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11900 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11901 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11903 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11904 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11905 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11907 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11910 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11913 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
11916 * manual/llio.texi: Add section about open file description locks.
11917 * manual/examples/ofdlocks.c: Example of open file description
11919 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11920 F_OFD_SETLK, and F_OFD_SETLKW.
11922 2014-07-23 Allan McRae <allan@archlinux.org>
11924 * po/es.po: Update Spanish translation from translation project.
11926 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
11928 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11930 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
11933 * sysdeps/arm/dl-machine.h (elf_machine_rela)
11934 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11935 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11937 2014-07-17 Joseph Myers <joseph@codesourcery.com>
11940 * math/fesetenv.c (__fesetenv)
11941 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11942 * math/feupdateenv.c (__feupdateenv)
11943 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11945 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11946 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11947 (__ASSUME_SOCKETCALL): Do not define.
11949 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11950 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11951 (__ASSUME_SOCKETCALL): Do not define.
11952 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11953 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11954 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11955 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11956 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11957 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11958 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11959 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11961 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11962 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11963 (__ASSUME_SOCKETCALL): Do not define.
11964 (__ASSUME_IPC64): Define unconditionally.
11965 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11966 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11967 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11968 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11969 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11970 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11971 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11974 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11975 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11976 (__ASSUME_SOCKETCALL): Do not define.
11977 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11978 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11979 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11980 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11981 (__ASSUME_REQUEUE_PI): Define unconditionally.
11982 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11983 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11984 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11985 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11986 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11987 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11989 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11990 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11991 (__ASSUME_SOCKETCALL): Do not define.
11992 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11993 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11994 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11995 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11996 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11997 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11999 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12000 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12001 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12002 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12003 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12004 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12005 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12006 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12007 (__ASSUME_GETCPU_SYSCALL): Likewise.
12009 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12010 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12011 cases for individual architectures.
12012 * sysdeps/gnu/configure: Regenerated.
12013 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12014 LIBC_SLIBDIR_RTLDDIR.
12015 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12016 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12017 LIBC_SLIBDIR_RTLDDIR.
12018 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12020 LIBC_SLIBDIR_RTLDDIR.
12021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12023 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12024 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12026 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12027 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12029 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12030 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12031 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12032 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12034 * sysdeps/aarch64/shlib-versions: Move to ...
12035 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12036 * sysdeps/alpha/shlib-versions: Move to ...
12037 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12038 * sysdeps/arm/shlib-versions: Move to ...
12039 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12040 * sysdeps/hppa/shlib-versions: Move all contents except for
12041 libgcc_s entry to ...
12042 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12044 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12045 * sysdeps/ia64/shlib-versions: Move to ...
12046 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12048 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12049 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12050 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12051 * sysdeps/microblaze/shlib-versions: Move to ...
12052 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12053 * sysdeps/mips/shlib-versions: Move to ...
12054 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12056 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12057 * sysdeps/tile/shlib-versions: Move to ...
12058 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12059 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12061 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12062 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12064 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12066 2014-07-17 Will Newton <will.newton@linaro.org>
12068 * sysdeps/arm/bits/atomic.h
12069 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12070 (__arch_compare_and_exchange_bool_16_int): Likewise.
12071 (__arch_compare_and_exchange_bool_64_int): Likewise.
12073 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12074 into an #else block.
12076 2014-07-16 Roland McGrath <roland@hack.frob.com>
12078 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12079 just Linux configurations. Test empirically that the compiler sets
12080 __ARM_EABI__, rather than using the tuple to decide.
12081 * sysdeps/arm/preconfigure: Regenerated.
12082 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12083 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12084 contents appended ...
12085 * sysdeps/arm/configure.ac: ... here.
12086 * sysdeps/arm/configure: Regenerated.
12088 2014-07-15 Roland McGrath <roland@hack.frob.com>
12090 * nptl/pthread_kill.c: New file.
12091 * nptl/pthread_sigmask.c: New file.
12092 * nptl/pthread_sigqueue.c: New file.
12094 * sysdeps/nptl/lowlevellock.h: New file.
12095 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12096 * sysdeps/nptl/lowlevellock-futex.h: New file.
12098 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12099 Remove dead declarations.
12101 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12103 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12104 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12105 config-cflags-avx2.
12106 * sysdeps/x86_64/configure.ac: Likewise.
12107 * sysdeps/i386/configure: Regenerated.
12108 * sysdeps/x86_64/configure: Likewise.
12109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12110 memset-avx2 only if config-cflags-avx2 is yes.
12111 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12112 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12114 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12115 only if HAVE_AVX2_SUPPORT is defined.
12116 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12118 2014-07-14 Alan Modra <amodra@gmail.com>
12121 * elf/elf.h (DT_PPC64_NUM): Correct value.
12122 * NEWS: Add to fixed bug list.
12124 2014-07-13 Jim Meyering <meyering@fb.com>
12127 regex: don't deref NULL upon heap allocation failure
12128 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12129 failure in one more place.
12130 To trigger the segfault, configure grep -with-included-regex,
12131 build it, and run these commands:
12132 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12134 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
12136 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12138 2014-07-11 Richard Henderson <rth@redhat.com>
12140 * sysdeps/aarch64/libm-test-ulps: Update.
12142 2014-07-10 Florian Weimer <fweimer@redhat.com>
12145 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12146 * nptl/allocatestack.c (__nptl_setxid_error): New function.
12147 (__nptl_setxid): Initialize error member. Call
12148 __nptl_setxid_error.
12149 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12150 * nptl/descr.h (struct xid_command): Add error member.
12151 * nptl/tst-setuid3.c: New file.
12152 * nptl/Makefile (tests): Add it.
12154 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12156 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12158 (__lll_trylock): Use __lll_base_trylock.
12159 (__lll_cond_trylock): Likewise.
12161 2014-07-10 Roland McGrath <roland@hack.frob.com>
12163 * nptl/pthread_create.c (start_thread): Use atomic_or and
12164 lll_futex_wake directly rather than lll_robust_dead.
12165 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12166 (lll_robust_dead): Macro removed.
12167 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12168 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12169 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12170 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12171 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12172 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12173 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12174 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12175 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12176 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12177 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12178 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12179 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12180 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12181 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12183 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12184 Use atomic_compare_and_exchange_val_acq directly rather than
12185 lll_robust_trylock.
12186 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12187 (__lll_robust_trylock, lll_robust_trylock): Removed.
12188 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12189 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12190 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12191 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12192 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12193 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12194 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12195 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12196 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12197 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12198 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12199 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12200 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12201 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12203 2014-07-02 Florian Weimer <fweimer@redhat.com>
12205 * manual/locale.texi (Locale Names): New section documenting
12206 locale name syntax. Adjust menu and node chaining accordingly.
12207 (Choosing Locale): Reference Locale Names, Locale Categories.
12208 Mention setting LC_ALL=C. Reflect that name syntax is now
12210 (Locale Categories): New section title. Reference Locale Names.
12211 LC_ALL is an environment variable, but not a category.
12212 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12213 description, now in Locale Name. Reference that section. Locale
12214 name syntax is now documented.
12216 2014-07-02 Florian Weimer <fweimer@redhat.com>
12219 * locale/findlocale.c (name_present, valid_locale_name): New
12221 (_nl_find_locale): Use the loc_name variable to store name
12222 candidates. Call name_present and valid_locale_name to check and
12223 validate locale names. Return an error if the locale is invalid.
12225 2014-07-02 Florian Weimer <fweimer@redhat.com>
12227 * locale/setlocale.c (setlocale): Use strdup for allocating
12228 composite name copy.
12230 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12232 Sync up with gnulib.
12233 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12234 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12235 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12236 and _GL_ARG_NONNULL.
12237 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12238 [!_LIBC]: Include code for Windows and Cygwin.
12239 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12240 Include prototype for int strerror_r.
12241 [!_LIBC] (is_open): New function.
12242 (flush_stdout): New function.
12243 (print_errno_message): Use it.
12245 (error_at_line): Likewise.
12246 (error_tail) Add function attribute macros. Use
12249 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12251 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12253 * io/ftw.c: Include sys/param.h unconditionally.
12255 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12258 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12260 (freecache): New function to free CACHE on exit.
12262 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12265 2014-07-09 David S. Miller <davem@davemloft.net>
12267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12269 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12270 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12271 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12272 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12273 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12274 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12275 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12276 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12277 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12278 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12279 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12280 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12281 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12283 2014-07-09 Andreas Schwab <schwab@suse.de>
12285 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12287 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12288 (do_test): Likewise.
12290 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12292 2014-07-09 Will Newton <will.newton@linaro.org>
12294 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12295 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12296 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12297 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12298 * sysdeps/hppa/start.S (_start): Likewise.
12300 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12302 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12304 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12307 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12309 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12310 after checking that it is non-NULL.
12312 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12314 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12316 * sysdeps/powerpc/memmove.c: Remove file.
12317 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12318 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12319 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12320 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12321 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12322 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12323 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12324 string memmove instead of removed powerpc one.
12326 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12327 [weak_alias]: Fix compiler warning due trailing data.
12328 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12329 [weak_alias]: Likewise.
12330 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12331 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12333 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12334 (__libc_ifunc_impl_list): Add memmove functions.
12336 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12338 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12340 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12342 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12344 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12346 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12348 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12350 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12352 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12354 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12356 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12358 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12360 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12362 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12364 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12366 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12368 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12370 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12373 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12375 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12376 to avoid alignment traps in non-cacheable memory.
12377 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12381 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12382 file: multiarch power7 memmove.
12383 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12384 multiarch default memmove.
12385 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12386 multiarch memove for powerpc32/power4.
12388 * string/bcopy.c: Use full path to include memmove.c.
12389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12391 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12392 bcopy for powerpc64.
12393 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12394 bcopy for powerpc64.
12395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12396 and memmove implementations.
12397 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12398 optimized multiarch memmove for POWER7/powerpc64.
12399 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12400 default multiarch memmove for powerpc64.
12401 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12402 multiarch for powerpc64.
12403 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12404 for POWER7/powerpc64.
12405 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12406 memmove for POWER7/powerpc64.
12408 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12411 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12412 __ELF_NATIVE_CLASS equal to 64.
12414 2014-07-07 Roland McGrath <roland@hack.frob.com>
12416 * sysdeps/nptl/lowlevellock.h: File removed.
12418 * NEWS: NPTL is no longer an add-on!
12419 * nptl/internaltypes.h: Moved ...
12420 * sysdeps/nptl/internaltypes.h: ... here.
12421 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12422 * sysdeps/nptl/fork.c: Likewise.
12423 * sysdeps/nptl/gai_misc.h: Likewise.
12424 * sysdeps/nptl/librt-cancellation.c: Likewise.
12425 * sysdeps/nptl/jmp-unwind.c: Likewise.
12426 * sysdeps/nptl/setxid.h: Likewise.
12427 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12428 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12429 * sysdeps/unix/sysv/linux/arm/Implies: New file.
12430 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12431 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12432 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12433 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12434 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12435 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12436 * sysdeps/unix/sysv/linux/mips/Implies: New file.
12437 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12438 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12439 * sysdeps/unix/sysv/linux/sh/Implies: New file.
12440 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12441 * sysdeps/unix/sysv/linux/tile/Implies: New file.
12442 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12443 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12444 * nptl/Makeconfig: Moved ...
12445 * sysdeps/nptl/Makeconfig: ... here.
12446 * nptl/configure: File removed.
12447 * nptl/ANNOUNCE: File removed.
12448 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12449 * sysdeps/unix/sysv/linux/configure: Regenerated.
12451 * nptl/Makefile (routines): Add libc_pthread_init,
12452 libc_multiple_threads, register-atfork and unregister-atfork.
12453 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12454 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12455 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12456 pthread-pi-defines.sym, structsem.sym.
12457 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12458 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12459 [$(subdir) = nptl] (tests): Add tst-setgetname.
12460 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12461 * sysdeps/unix/sysv/linux/sigaction.c: Just include
12462 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12463 [!LIBC_SIGACTION]: Remove aliases.
12464 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12465 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12466 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12467 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12468 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12469 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12470 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12471 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12472 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12473 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12474 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12475 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12476 __libc_allocate_rtsig_private.
12477 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12478 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12479 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12480 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12481 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12482 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12483 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12484 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12485 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12486 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12487 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12488 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12489 * nptl/internaltypes.h: ... here.
12490 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12491 * sysdeps/nptl/jmp-unwind.c: ... here.
12492 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12493 * nptl/libc-lowlevellock.c: ... here.
12494 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12495 * nptl/libc_multiple_threads.c: ... here.
12496 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12497 * nptl/libc_pthread_init.c: ... here.
12498 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12499 * nptl/lowlevelbarrier.sym: ... here.
12500 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12501 * nptl/lowlevelcond.sym: ... here.
12502 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12503 * nptl/lowlevellock.c: ... here.
12504 * nptl/lowlevellock.h: Moved ...
12505 * sysdeps/nptl/lowlevellock.h: ... here.
12506 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12507 * nptl/lowlevelrobustlock.c: ... here.
12508 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12509 * nptl/lowlevelrobustlock.sym: ... here.
12510 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12511 * nptl/lowlevelrwlock.sym: ... here.
12512 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12513 * nptl/pt-fork.c: ... here.
12514 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12515 * nptl/pthread-pi-defines.sym: ... here.
12516 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12517 * nptl/pthread_attr_getaffinity.c: ... here.
12518 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12519 * nptl/pthread_attr_setaffinity.c: ... here.
12520 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12521 * nptl/pthread_mutex_cond_lock.c: ... here.
12522 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12524 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12525 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12526 * nptl/pthread_once.c: ... here, replacing old file.
12527 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12528 * nptl/pthread_yield.c: ... here.
12529 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12530 * nptl/register-atfork.c: ... here.
12531 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12532 * nptl/sem_post.c: ... here.
12533 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12534 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12535 * nptl/sem_timedwait.c: ... here.
12536 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12537 * nptl/sem_trywait.c: ... here.
12538 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12539 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12540 * nptl/sem_wait.c: ... here.
12541 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12542 * nptl/structsem.sym: ... here.
12543 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12544 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12545 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12546 * nptl/unregister-atfork.c: ... here.
12547 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12548 * nptl/unwindbuf.sym: ... here.
12549 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12550 * sysdeps/nptl/fork.c: ... here.
12551 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12552 * sysdeps/nptl/fork.h: ... here.
12553 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12554 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12555 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12556 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12557 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12558 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12559 * sysdeps/unix/sysv/linux/getpid.c: ... here.
12560 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12561 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12562 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12563 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12564 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12565 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12566 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12567 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12568 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12569 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12570 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12571 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12572 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12573 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12574 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12575 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12576 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12577 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12578 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12579 * sysdeps/unix/sysv/linux/raise.c: ... here.
12580 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12581 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12582 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12583 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12584 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12585 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12586 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12587 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12588 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12589 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12590 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12591 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12592 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12593 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12594 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12596 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12598 * sysdeps/generic/memcopy.h: Add comment for
12599 MEMCPY_OK_FOR_FWD_MEMMOVE.
12601 2014-07-04 Will Newton <will.newton@linaro.org>
12603 * string/memchr.c: Merge from gnulib.
12604 [_LIBC]: Remove conditionals.
12605 (__ptr_t): Remove define.
12606 (LONG_MAX_32_BITS): Likewise.
12607 (LONG_MAX): Likewise.
12608 (MEMCHR): Use ANSI prototype and optimize algorithm.
12610 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12612 2014-07-03 Roland McGrath <roland@hack.frob.com>
12614 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12615 (lll_futex_timed_wait_bitset): Fix syscall argument count.
12617 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12618 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12619 in a bare environment with no <stdlib.h> installed.
12620 * sysdeps/nptl/configure: Regenerated.
12622 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12624 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12625 AC_EGREP_CPP for kernel header checks, so they only succeed if
12626 including <linux/version.h> actually works right.
12627 * sysdeps/unix/sysv/linux/configure: Regenerated.
12629 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12630 value so it's not diagnosed as unused.
12632 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12633 thing) with "ifeq ($(subdir),rt)".
12635 2014-07-03 Richard Henderson <rth@redhat.com>
12637 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12638 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12639 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12641 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12642 (math_force_eval): New.
12644 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12645 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12647 * sysdeps/alpha/fpu/s_round.c: Remove file.
12648 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12650 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12651 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12652 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12653 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12654 (_dl_start, print_statistics): Likewise.
12655 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12656 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12658 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12659 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12660 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12661 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12662 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12663 (HP_SMALL_TIMING_AVAIL): Define.
12664 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12665 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12666 (HP_SMALL_TIMING_AVAIL): Define.
12667 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12668 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12670 * sysdeps/aarch64/hp-timing.h: New file.
12672 * sysdeps/generic/hp-timing.h: Remove dead comment.
12673 * sysdeps/generic/hp-timing-common.h: New file.
12674 * sysdeps/alpha/hp-timing.h: Include it.
12675 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12676 * sysdeps/i386/i686/hp-timing.h: Likewise.
12677 * sysdeps/ia64/hp-timing.h: Likewise.
12678 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12679 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12680 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12681 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12682 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12683 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12684 (hp_timing_t): New.
12686 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12687 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12688 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12689 * elf/rtld.c (_dl_start_final): Likewise.
12690 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12691 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12692 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12693 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12694 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12695 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12696 (HP_TIMING_DIFF_INIT): Remove.
12697 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12698 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12699 (HP_TIMING_DIFF_INIT): Remove.
12700 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12701 * sysdeps/i386/i686/hp-timing.c: Remove file.
12702 * sysdeps/x86_64/hp-timing.c: Remove file.
12703 * sysdeps/ia64/hp-timing.c: Remove file.
12704 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12705 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12706 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12707 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12709 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12710 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12711 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12712 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12713 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12714 (HP_TIMING_ACCUM): Remove.
12715 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12716 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12717 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12719 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12720 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12721 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12722 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12723 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12724 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12725 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12726 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12728 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12730 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
12732 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12734 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12736 Sync up with gettext.
12737 * intl/loadmsgcat.c: Define O_BINARY if not defined.
12738 [_MSC_VER]: Include malloc.h
12739 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12740 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12741 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
12742 TEMP_FAILURE_RETRY. Cast return of alloca.
12743 [!_LIBC] Call gl_rwlock_init.
12744 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12746 2014-07-02 Roland McGrath <roland@hack.frob.com>
12748 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12749 before checking its value.
12751 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12753 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12755 * debug/memcpy_chk.c: Don't include pagecopy.h.
12756 * debug/mempcpy_chk.c: Likewise.
12757 * string/memcpy.c: Likewise.
12758 * string/memmove.c: Likewise.
12759 * sysdeps/powerpc/memmove.c: Likewise.
12760 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
12761 definition of PAGE_COPY_FWD_MAYBE here...
12762 * sysdeps/generic/pagecopy.h: ... from here.
12763 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12765 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12766 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12768 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12772 (__libc_ifunc_impl_list): Likewise.
12773 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12774 multiarch strcat for PPC64.
12775 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12776 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12778 2014-07-02 Roland McGrath <roland@hack.frob.com>
12780 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12782 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12784 * intl/loadmsgcat.c: Remove declaration of
12785 get_sysdep_segment_value.
12786 (get_sysdep_segment_value): Use ISO C style.
12787 (_nl_load_domain): Use ISO C style. Get rid of redundant
12788 semicolon. Fix typo and formatting in comment.
12789 (_nl_unload_domain): Use ISO C style.
12791 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12793 2014-07-02 Will Newton <will.newton@linaro.org>
12795 * malloc/obstack.c: Merge from gnulib master.
12796 [HAVE_CONFIG_H]: Remove conditional code.
12797 [!_LIBC]: Include config.h.
12798 [!ELIDE_CODE]: Don't include inttypes.h, include
12799 stdint.h unconditionally.
12800 (print_and_abort): Mark as _Noreturn.
12801 (_obstack_allocated_p): Mark as __attribute_pure__.
12802 (obstack_free): Rename to __obstack_free.
12803 [!__attribute__]: Remove conditional code.
12804 * malloc/obstack.h: Merge from gnulib master.
12805 [__cplusplus]: Move conditional down.
12806 [!__attribute_pure__]: Define __attribute_pure__ here
12807 if it is not already defined.
12808 (_obstack_memory_used): Mark as __attribute_pure__.
12809 [!__obstack_free]: Define as obstack_free.
12810 [__GNUC__]: Remove check for ancient NeXT gcc.
12812 2014-07-02 Will Newton <will.newton@linaro.org>
12813 Paul Eggert <eggert@cs.ucla.edu>
12815 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12817 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12819 * resolv/gethnamaddr.c: Add comment warning that the file is
12822 2014-07-01 Carlos O'Donell <carlos@redhat.com>
12824 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12827 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12828 entry for aio_cancel and aio_cancel64.
12829 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12830 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12831 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12832 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12833 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12834 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12835 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12836 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12837 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12838 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12839 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12840 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12841 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12843 2014-07-01 Roland McGrath <roland@hack.frob.com>
12845 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12846 * nptl/pthread_mutex_lock.c: Likewise.
12847 * nptl/pthread_mutex_timedlock.c: Likewise.
12848 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12850 2014-07-01 Richard henderson <rth@redhat.com>
12852 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12853 (__isnan, __isnanl): Remove.
12854 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12856 * sysdeps/alpha/fpu/libm-test-ulps: Update.
12858 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12860 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12862 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12864 * resolv/nss_dns/dns-host.c (getanswer_r)
12865 [MULTI_PTRS_ARE_ALIASES]: Remove code.
12867 2014-07-01 Joseph Myers <joseph@codesourcery.com>
12869 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12870 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12872 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12873 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12875 2014-07-01 Roland McGrath <roland@hack.frob.com>
12877 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12878 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12880 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12881 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12883 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12884 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12886 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12887 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12889 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12890 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12891 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12892 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12894 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12895 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12896 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12897 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12898 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12900 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12902 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12903 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12904 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12905 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12906 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12907 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12908 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12909 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12910 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12911 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12912 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12913 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12914 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12915 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12916 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12917 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12918 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12919 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12920 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12921 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12923 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12924 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12925 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12926 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12927 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12928 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12929 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12930 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12932 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
12934 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12935 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12936 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12939 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12943 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12945 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12946 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12948 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12950 * sysdeps/arm/libm-test-ulps: Regenerated.
12952 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12953 Roland McGrath <roland@hack.frob.com>
12955 * test-skeleton.c (signal_handler): Kill the whole process group
12956 before killing the child individually.
12957 (main): Report any failure on `setpgid'.
12959 2014-06-30 Roland McGrath <roland@hack.frob.com>
12961 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12962 from _TLS_H to _ARM_NPTL_TLS_H.
12963 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12964 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12966 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12969 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12970 (__expm1l): Return argument unchanged when small but not
12973 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12974 include macro name.
12975 (_FP_UNPACK_RAW_1_P): Likewise.
12976 (_FP_PACK_RAW_1): Likewise.
12977 (_FP_PACK_RAW_1_P): Likewise.
12978 (_FP_MUL_MEAT_1_wide): Likewise.
12979 (_FP_MUL_MEAT_DW_1_hard): Likewise.
12980 (_FP_MUL_MEAT_1_hard): Likewise.
12981 (_FP_DIV_MEAT_1_imm): Likewise.
12982 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12983 (_FP_DIV_MEAT_1_udiv): Likewise.
12984 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12985 (_FP_UNPACK_RAW_2): Likewise.
12986 (_FP_UNPACK_RAW_2_P): Likewise.
12987 (_FP_PACK_RAW_2): Likewise.
12988 (_FP_PACK_RAW_2_P): Likewise.
12989 (_FP_MUL_MEAT_DW_2_wide): Likewise.
12990 (_FP_MUL_MEAT_2_wide): Likewise.
12991 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12992 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12993 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12994 (_FP_MUL_MEAT_2_gmp): Likewise.
12995 (_FP_DIV_MEAT_2_udiv): Likewise.
12996 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12997 (_FP_FRAC_SRL_4): Likewise.
12998 (_FP_FRAC_SRST_4): Likewise.
12999 (_FP_FRAC_SRS_4): Likewise.
13000 (_FP_UNPACK_RAW_4): Likewise.
13001 (_FP_UNPACK_RAW_4_P): Likewise.
13002 (_FP_PACK_RAW_4): Likewise.
13003 (_FP_PACK_RAW_4_P): Likewise.
13004 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13005 (_FP_MUL_MEAT_4_wide): Likewise.
13006 (_FP_MUL_MEAT_4_gmp): Likewise.
13007 (umul_ppppmnnn): Likewise.
13008 (_FP_DIV_MEAT_4_udiv): Likewise.
13009 (__FP_FRAC_ADD_4): Likewise.
13010 (__FP_FRAC_SUB_3): Likewise.
13011 (__FP_FRAC_SUB_4): Likewise.
13012 (__FP_FRAC_DEC_3): Likewise.
13013 (__FP_FRAC_DEC_4): Likewise.
13014 (__FP_FRAC_ADDI_4): Likewise.
13015 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13016 (_FP_FRAC_SRL_8): Likewise.
13017 (_FP_FRAC_SRS_8): Likewise.
13019 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13020 include macro name.
13021 (FP_UNPACK_RAW_EP): Likewise.
13022 (FP_PACK_RAW_E): Likewise.
13023 (FP_PACK_RAW_EP): Likewise.
13024 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13025 (_FP_ISSIGNAN): Likewise.
13026 (_FP_ADD_INTERNAL): Likewise.
13027 (_FP_FMA): Likewise.
13028 (_FP_CMP): Likewise.
13029 (_FP_SQRT): Likewise.
13030 (_FP_TO_INT): Likewise.
13031 (_FP_FROM_INT): Likewise.
13032 (FP_EXTEND): Likewise.
13033 (_FP_DIV_MEAT_N_loop): Likewise.
13035 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13037 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13040 2014-06-29 Joseph Myers <joseph@codesourcery.com>
13043 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13044 result with correct sign in case of exponents that produce
13045 overflow except for X very close to 1.
13047 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13049 mktime: merge #if/#ifdef usage from glibc
13050 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13051 as that works with both Glibc's and Gnulib's style.
13052 See thread starting at Siddhesh Poyarekar's bug report at:
13053 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13055 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13057 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13058 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13059 * sysdeps/tile/tilegx/memmove.c: Remove file.
13061 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13063 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13064 abi-name definition.
13065 * scripts/soversions.awk: Do not handle or generate ABI lines.
13066 * shlib-versions: Remove ABI entries.
13067 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13068 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13070 2014-06-27 Roland McGrath <roland@hack.frob.com>
13072 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13073 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13074 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13075 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13076 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13077 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13078 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13080 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13082 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13083 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13084 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13085 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13086 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13087 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13088 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13089 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13090 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13091 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13092 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13093 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13094 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13096 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13097 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13098 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13099 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13100 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13101 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13103 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13104 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13106 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13107 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13108 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13109 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13111 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13112 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13113 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13114 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13115 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13116 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13117 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13118 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13120 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13121 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13122 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13123 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13125 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13126 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13128 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13129 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13130 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13131 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13133 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13135 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13136 Identical file removed.
13137 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13139 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13140 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13141 Identical file removed.
13142 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13143 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13144 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13146 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13147 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13148 Identical file removed.
13149 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13150 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13151 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13152 Identical file removed.
13153 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13154 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13155 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13156 Identical file removed.
13157 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13158 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13159 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13160 Identical file removed.
13161 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13163 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13164 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13165 Identical file removed.
13166 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13168 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13169 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13170 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13171 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13172 Identical file removed.
13173 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13175 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13177 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13178 Identical file removed.
13179 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13181 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13182 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13183 Identical file removed.
13184 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13186 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13187 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13188 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13189 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13190 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13191 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13193 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13194 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13195 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13197 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13198 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13199 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13200 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13201 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13203 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
13206 * nscd/nscd.c (monitor_child): Return exit status of child
13207 instead of return value from wait syscall.
13209 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13211 * configure.ac (libc_commonpagesize): Remove variable.
13212 (libc_relro_required): Likewise.
13213 (libc_cv_z_relro): Remove configure test.
13214 * configure: Regenerated.
13215 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13217 (libc_relro_required): Likewise.
13218 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13219 (libc_relro_required): Likewise.
13220 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13221 (libc_relro_required): Likewise.
13222 * sysdeps/arm/preconfigure: Regenerated.
13223 * sysdeps/ia64/preconfigure: Remove file.
13224 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13226 (libc_relro_required): Likewise.
13230 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13231 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13232 recompute overflowing results in original rounding mode.
13233 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13234 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13235 recompute overflowing results in original rounding mode.
13236 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13237 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13238 recompute overflowing results in original rounding mode.
13239 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13240 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13241 recompute overflowing results in original rounding mode.
13242 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13243 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13244 recompute overflowing results in original rounding mode.
13245 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13246 (libc_feholdsetround_ctx): New macro.
13247 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13248 * sysdeps/i386/fpu/libm-test-ulps: Update.
13249 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13251 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13253 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13254 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13255 corresponding .cpsetup call.
13257 2014-06-26 Roland McGrath <roland@hack.frob.com>
13259 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13260 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13261 * sysdeps/arm/Makefile [$(subdir) = csu]
13262 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13263 (static-only-routines): Add aeabi_read_tp here.
13264 (shared-only-routines): Add libc-aeabi_read_tp here.
13265 (CFLAGS-libc-start.c): Add -fexceptions here.
13266 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13267 (sysdep_routines, static-only-routines, shared-only-routines):
13268 Don't add to these here.
13269 (CFLAGS-libc-start.c): Likewise.
13271 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13272 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13273 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13274 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13275 * sysdeps/arm/Makefile [$(subdir) = rt]
13276 (librt-sysdep_routines, librt-shared-only-routines):
13277 Append rt-aeabi_unwind_cpp_pr1 here.
13278 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13279 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13280 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13281 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13282 Append nptl-aeabi_unwind_cpp_pr1 here.
13283 (tests): Filter out tst-cleanupx4 here.
13284 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13285 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13286 Don't do those here.
13288 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13290 * scripts/list-sources.sh: Do not handle ports specially.
13292 2014-06-26 Roland McGrath <roland@hack.frob.com>
13294 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13295 * sysdeps/arm/feupdateenv.c: Likewise.
13297 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13299 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13301 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13302 trailing whitespace removed.
13303 * scripts/config.guess: Update to version 2014-03-23.
13304 * scripts/config.sub: Update to version 2014-05-01
13305 * scripts/install-sh: Update to version 2013-12-25.23.
13306 * scripts/move-if-change: Update from gnulib.
13308 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13310 * debug/memmove_chk.c: Remove pagecopy.h include.
13312 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13314 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13315 identical to gnulib mktime.
13317 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13319 * configure.ac: Do not test for machine being rs6000. Do not test
13320 for powerpc*-*soft.
13321 * configure: Regenerated.
13324 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13326 * configure: Regenerated.
13327 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13328 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13329 Remove configure test.
13330 * sysdeps/arm/configure: Regenerated.
13331 * sysdeps/nptl/configure.ac: Do not check
13332 libc_cv_asm_cfi_directives.
13333 * sysdeps/nptl/configure: Regenerated.
13334 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13335 * sysdeps/x86_64/nptl/configure: Remove generated file.
13336 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13338 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13340 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13342 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13343 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13344 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13347 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13348 instead of whether it is defined.
13349 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13350 * sysdeps/hppa/dl-machine.h: Likewise.
13351 * sysdeps/ia64/dl-machine.h: Likewise.
13352 * sysdeps/m68k/dl-machine.h: Likewise.
13353 * sysdeps/microblaze/dl-machine.h: Likewise.
13354 * sysdeps/mips/dl-machine.: Likewise.
13355 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13356 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13357 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13358 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13359 * sysdeps/sh/dl-machine.h: Likewise.
13360 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13361 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13362 * sysdeps/tile/dl-machine.h: Likewise.
13363 * sysdeps/x86_64/dl-machine.h: Likewise.
13365 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13367 (verify_persistent_db): Likewise.
13369 2014-06-26 Roland McGrath <roland@hack.frob.com>
13371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13372 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13374 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13377 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13380 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13382 Identical file removed.
13383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13384 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13386 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13388 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13390 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13392 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13395 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13397 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13399 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13402 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13404 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13406 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13408 Identical file removed.
13409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13410 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13412 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13415 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13418 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13420 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13422 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13424 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13426 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13429 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13432 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13434 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13437 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13439 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13441 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13443 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13444 * sysdeps/unix/sysv/linux/s390/Versions
13445 (libpthread: GLIBC_2.19): New version set.
13446 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13447 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13448 (librt: GLIBC_2.3.3): New version set.
13449 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13450 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13451 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13452 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13453 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13454 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13455 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13456 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13457 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13458 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13459 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13460 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13461 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13462 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13463 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13464 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13465 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13466 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13467 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13468 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13469 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13470 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13471 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13472 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13473 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13474 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13475 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13476 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13477 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13478 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13479 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13480 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13481 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13482 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13483 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13485 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13486 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13487 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13488 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13489 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13490 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13491 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13492 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13493 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13495 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13496 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13497 (__libc_vfork): Define the function under this name.
13498 [!NOT_IN_libc] (__vfork): Make this an alias.
13499 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13500 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13501 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13502 (__libc_vfork): Define the function under this name.
13503 [!NOT_IN_libc] (__vfork): Make this an alias.
13504 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13505 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13506 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13507 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13508 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13509 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13511 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13512 code that was previously under [RESET_PID].
13513 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13514 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13515 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13517 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13518 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13519 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13520 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13521 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13522 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13523 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13524 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13525 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13526 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13527 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13529 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13530 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13531 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13532 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13533 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13534 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13535 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13536 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13537 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13538 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13539 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13540 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13541 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13542 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13543 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13544 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13545 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13546 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13547 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13548 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13549 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13550 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13551 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13552 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13553 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13554 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13555 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13556 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13557 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13559 2014-06-25 Roland McGrath <roland@hack.frob.com>
13561 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13562 that was previously under [RESET_PID].
13563 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13565 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13567 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13568 not undefine and redefine.
13569 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13570 [O_CLOEXEC]: Make code unconditional.
13571 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13572 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13573 <kernel-features.h>.
13574 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13575 conditional variable definition.
13576 (shm_open) [O_CLOEXEC]: Make code unconditional.
13577 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13580 * configure.ac (USE_REGPARMS): Don't define here.
13581 * configure: Regenerated.
13582 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13583 * sysdeps/i386/configure: Regenerated.
13585 * nptl/createthread.c: Don't include kernel-features.h.
13586 * nptl/pthread_cancel.c: Likewise.
13587 * nptl/pthread_condattr_setclock.c: Likewise.
13588 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13589 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13590 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13591 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13592 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13593 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13594 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13595 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13596 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13597 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13598 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13599 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13600 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13601 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13602 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13603 * nscd/gai.c: Likewise.
13604 * nss/nss_db/db-open.c: Likewise.
13605 * sysdeps/generic/ldsodefs.h: Likewise.
13606 * sysdeps/sh/nptl/tls.h: Likewise.
13607 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13608 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13609 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13610 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13611 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13612 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13613 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13614 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13615 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13616 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13617 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13618 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13619 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13620 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13621 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13622 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13623 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13624 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13625 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13626 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13627 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13628 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13629 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13630 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13631 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13632 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13633 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13634 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13635 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13636 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13637 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13638 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13639 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13640 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13641 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13642 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13643 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13644 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13645 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13646 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13647 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13648 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13649 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13650 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13651 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13652 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13653 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13654 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13655 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13656 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13657 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13658 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13659 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13660 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13661 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13662 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13663 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13664 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13687 * sysdeps/unix/sysv/linux/pread.c: Likewise.
13688 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13689 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13690 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13691 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13692 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13693 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13694 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13695 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13696 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13697 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13698 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13699 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13700 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13701 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13702 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13703 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13704 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13705 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13706 * sysdeps/unix/sysv/linux/system.c: Likewise.
13707 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13708 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13709 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13710 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13711 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13712 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13713 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13715 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13716 * configure: Regenerated.
13717 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13719 * configure.ac (base_machine): Do not set specially for particular
13721 * configure: Regenerated.
13722 * sysdeps/powerpc/preconfigure: Move machine and base_machine
13723 settings from configure.ac.
13724 * sysdeps/i386/preconfigure: New file.
13725 * sysdeps/s390/preconfigure: Likewise.
13726 * sysdeps/sh/preconfigure: Likewise.
13727 * sysdeps/sparc/preconfigure: Likewise.
13729 2014-06-25 Roland McGrath <roland@hack.frob.com>
13731 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13732 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13733 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13734 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13735 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13736 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13737 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13738 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13739 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13740 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13741 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13742 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13743 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13744 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13745 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13746 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13747 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13748 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13749 * sysdeps/sparc/sparc64/Makefile: ... appended here.
13751 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13752 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13753 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13754 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13755 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13756 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13757 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13758 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13759 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13760 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13761 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13762 * sysdeps/sparc/sparc32/sem_post.c: ... here.
13763 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13764 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13765 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13766 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13767 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13768 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13769 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13770 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13771 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13772 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13773 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13774 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13775 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13776 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13777 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13778 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13779 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13780 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13781 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13782 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13783 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13784 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13785 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13786 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13787 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13788 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13791 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13793 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13796 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13799 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13801 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13804 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13806 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13808 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13810 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13813 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13816 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13818 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13821 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13823 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13825 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13827 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13829 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13832 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13835 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13837 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13840 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13842 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13844 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13846 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13849 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13852 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13854 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13857 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13859 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13861 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13863 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13865 * timezone/checktab.awk: Update from tzcode 2014e.
13866 * timezone/private.h: Likewise.
13867 * timezone/tzfile.h: Likewise.
13868 * timezone/zdump.c: Likewise.
13869 * timezone/zic.c: Likewise.
13871 * sysdeps/unix/sysv/linux/kernel-features.h
13872 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13873 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13874 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13875 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13876 Remove conditional code.
13878 2014-06-25 Will Newton <will.newton@linaro.org>
13880 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13881 (_dl_arm_cap_flags): Add HWCAP2 values.
13882 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13883 (_DL_HWCAP_COUNT): Increase to 37.
13884 (_DL_HWCAP_LAST): New define.
13885 (_DL_HWCAP2_LAST): New define.
13886 (_dl_procinfo): Add support for printing
13888 (_dl_string_hwcap): Use _dl_hwcap_string.
13890 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13894 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13896 * README: Do not mention ports directory.
13898 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13900 * sysdeps/unix/sysv/linux/futimes.c: Do not include
13901 <kernel-features.h>.
13902 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13903 conditional variable definition.
13904 (__futimes): Update comment.
13905 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13906 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13909 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13910 arguments close to 0.
13911 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13913 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13915 * math/auto-libm-test-in: Add more tests of exp10.
13916 * math/auto-libm-test-out: Regenerated.
13917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13919 * sysdeps/unix/sysv/linux/kernel-features.h
13920 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13921 * sysdeps/unix/sysv/linux/readv.c: Do not include
13922 <kernel-features.h>.
13923 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13924 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13925 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13927 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13929 * sysdeps/unix/sysv/linux/writev.c: Do not include
13930 <kernel-features.h>.
13931 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13932 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13933 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13935 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13938 2014-06-25 Will Newton <will.newton@linaro.org>
13940 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13941 comment changes throughout the file. Remove checks
13942 for HAVE_*_H definitions that are not required.
13943 (__gen_tempname): Call abort if an unknown kind value is
13946 2014-06-25 Andreas Schwab <schwab@suse.de>
13949 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13950 scalbln, scalblnf, scalblnl in libc.
13952 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13955 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13956 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13957 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13959 2014-06-24 Roland McGrath <roland@hack.frob.com>
13961 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13962 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13963 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13964 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13966 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13967 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13969 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13970 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13971 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13972 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13973 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13974 * sysdeps/x86/bits/pthreadtypes.h: ... here.
13975 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13976 * sysdeps/x86/bits/semaphore.h: ... here.
13977 * sysdeps/x86/nptl/elide.h: Moved ...
13978 * sysdeps/x86/elide.h: ... here.
13979 * sysdeps/x86_64/nptl/Implies: File removed.
13980 * sysdeps/i386/nptl/Implies: File removed.
13982 2014-06-24 Joseph Myers <joseph@codesourcery.com>
13985 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13986 return the argument for normal arguments with exponent below -64.
13987 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13989 * math/auto-libm-test-in: Add another test of expm1.
13990 * math/auto-libm-test-out: Regenerated.
13993 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13994 calling __erfcl for arguments at least 16.
13995 * math/auto-libm-test-in: Add more tests of erf.
13996 * math/auto-libm-test-out: Regenerated.
13998 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13999 individual architectures.
14000 * sysdeps/unix/sysv/linux/configure: Regenerated.
14001 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14002 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14003 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14004 (ldd_rewrite_script): Define variable.
14005 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14010 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14011 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14012 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14013 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14014 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14015 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14016 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14017 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14019 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14022 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14023 Rename member __data.d to __data.__elision_data.
14025 2014-06-24 Wilco <wdijkstr@arm.com>
14027 * NEWS: Add 16918 to fixed bug list.
14029 2014-06-24 Wilco <wdijkstr@arm.com>
14031 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14033 2014-06-24 Wilco <wdijkstr@arm.com>
14035 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14036 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14037 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14038 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14039 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14040 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14041 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14044 2014-06-24 Wilco <wdijkstr@arm.com>
14046 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14048 2014-06-24 Wilco <wdijkstr@arm.com>
14050 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14051 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14052 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14053 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14055 2014-06-24 Wilco <wdijkstr@arm.com>
14058 * sysdeps/arm/feupdateenv.c (feupdateenv):
14059 Rewrite to reduce FPSCR accesses and fix return value.
14061 2014-06-24 Wilco <wdijkstr@arm.com>
14063 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14064 Optimize to avoid unnecessary FPSCR writes.
14065 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14066 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14067 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14068 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14070 2014-06-24 Wilco <wdijkstr@arm.com>
14072 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14073 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14074 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14075 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14076 Call libc_fetestexcept_vfp.
14077 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14078 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14079 __SOFTFP__ ifdef so that they can be built for softfp.
14081 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14083 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14084 argument type signed char.
14086 * Makerules (check-abi): Dump diff of symlist if the test
14089 2014-06-23 Roland McGrath <roland@hack.frob.com>
14091 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14094 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14095 Remove unused variable ST.
14097 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14101 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14102 small arguments before calling __expm1.
14103 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14104 small arguments before calling __expm1f.
14105 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14106 small arguments before calling __expm1l.
14107 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14109 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14110 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14111 spurious underflow for some cosh tests.
14112 * math/auto-libm-test-out: Regenerated.
14113 * sysdeps/i386/fpu/libm-test-ulps: Update.
14116 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14117 (__ieee754_y1): Set errno if return value overflows.
14118 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14119 (__ieee754_y1f): Set errno if return value overflows.
14120 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14121 (__ieee754_y1l): Set errno if return value overflows.
14122 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14123 (__ieee754_y1l): Set errno if return value overflows.
14124 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14125 * math/auto-libm-test-out: Regenerated.
14127 * math/gen-auto-libm-tests.c: Document use of
14128 ignore-zero-inf-sign.
14129 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14130 (input_flags): Add ignore-zero-inf-sign.
14131 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14132 * math/gen-libm-test.pl (generate_testfile): Handle
14133 ignore-zero-inf-sign.
14134 * math/auto-libm-test-in: Mark some cpow tests with
14135 ignore-zero-inf-sign and some with xfail-rounding.
14136 * math/auto-libm-test-out: Regenerated.
14137 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14138 * sysdeps/i386/fpu/libm-test-ulps: Update.
14139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14142 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14143 overflowing or underflowing operations take place with sign of
14145 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14146 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14147 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14148 (__ieee754_pow): Recompute overflowing and underflowing results in
14149 original rounding mode.
14150 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14151 (__powl_helper): Allow negative argument X and scale negated value
14152 as needed. Avoid passing value outside [-1, 1] to f2xm1.
14153 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14154 overflowing or underflowing operations take place with sign of
14156 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14158 * math/auto-libm-test-in: Add more tests of pow.
14159 * math/auto-libm-test-out: Regenerated.
14160 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14161 (pow_tonearest_test_data): Remove.
14162 (pow_test_tonearest): Likewise.
14163 (pow_towardzero_test_data): Likewise.
14164 (pow_test_towardzero): Likewise.
14165 (pow_downward_test_data): Likewise.
14166 (pow_test_downward): Likewise.
14167 (pow_upward_test_data): Likewise.
14168 (pow_test_upward): Likewise.
14169 (main): Don't call removed functions.
14170 * sysdeps/i386/fpu/libm-test-ulps: Update.
14171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14173 2014-06-23 Roland McGrath <roland@hack.frob.com>
14175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14349 2014-06-23 Will Newton <will.newton@linaro.org>
14350 Wilco <wdijkstr@arm.com>
14352 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14353 implementation. Include get-rounding-mode.h.
14354 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14355 [!libc_feholdsetround_noex_ctx]: Define
14356 libc_feholdsetround_noex_ctx.
14357 [!libc_feholdsetround_noexf_ctx]: Define
14358 libc_feholdsetround_noexf_ctx.
14359 [!libc_feholdsetround_noexl_ctx]: Define
14360 libc_feholdsetround_noexl_ctx.
14361 (libc_feholdsetround_ctx): New function.
14362 (libc_feresetround_ctx): New function.
14363 (libc_feholdsetround_noex_ctx): New function.
14364 (libc_feresetround_noex_ctx): New function.
14366 2014-06-23 Roland McGrath <roland@hack.frob.com>
14368 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14369 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14370 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14371 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14372 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14373 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14375 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14376 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14377 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14378 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14379 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14380 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14381 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14382 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14383 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14384 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14385 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14387 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14389 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14390 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14391 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14392 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14393 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14395 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14396 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14397 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14398 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14399 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14400 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14401 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14402 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14404 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14405 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14407 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14408 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14409 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14410 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14412 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14413 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14414 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14415 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14416 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14417 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14418 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14419 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14420 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14421 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14423 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14425 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14426 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14427 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14428 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14429 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14430 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14431 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14432 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14433 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14434 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14435 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14436 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14437 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14439 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14440 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14441 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14442 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14443 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14444 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14446 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14447 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14448 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14449 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14450 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14452 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14453 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14454 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14455 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14456 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14457 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14458 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14459 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14460 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14461 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14462 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14463 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14464 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14465 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14466 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14467 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14468 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14469 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14470 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14471 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14472 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14473 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14474 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14475 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14476 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14477 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14478 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14479 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14481 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14483 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14484 (FALLOC_FL_COLLAPSE_RANGE): New macro.
14485 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14486 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14487 (IPV6_PMTUDISC_INTERFACE): Likewise.
14488 (IPV6_PMTUDISC_OMIT): Likewise.
14490 2014-06-23 Andreas Schwab <schwab@suse.de>
14492 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14493 Remove unused errout label.
14495 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14497 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14498 macro: hardware supports Vector Crypto instructions.
14500 2014-06-23 Will Newton <will.newton@linaro.org>
14502 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14503 rather than __builtin_expect.
14505 * elf/dl-lookup.c (undefined_msg): Remove variable.
14506 (_dl_lookup_symbol_x): Replace undefined_msg with string
14509 * elf/dl-lookup.c (do_lookup_unique): New function.
14510 (do_lookup_x): Move STB_GNU_UNIQUE handling code
14511 to a separate function.
14513 2014-06-23 Andreas Schwab <schwab@suse.de>
14516 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14517 before reading the next line.
14519 2014-06-23 Will Newton <will.newton@linaro.org>
14521 * test-skeleton.c (signal_handler): Use printf and %m
14522 rather than perror. Use printf rather than fprintf to
14523 stderr. Use puts rather than fputs to stderr.
14526 2014-06-22 Ludovic Courtès <ludo@gnu.org>
14528 * nscd/nscd.c (thread_info_t): Remove typedef.
14529 (thread_info): Remove variable.
14531 2014-06-21 Allan McRae <allan@archlinux.org>
14533 * NEWS: Mention CVE-2014-4043.
14535 2014-06-20 Roland McGrath <roland@hack.frob.com>
14537 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14538 * nptl/smp.h: ... here.
14540 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14542 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14543 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14544 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14545 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14547 * nptl/allocatestack.c: Include <stack-aliasing.h>.
14548 * nptl/stack-aliasing.h: New file.
14549 * sysdeps/i386/i686/stack-aliasing.h: New file.
14550 * sysdeps/i386/i686/nptl/Makefile: File removed.
14551 * sysdeps/x86_64/stack-aliasing.h: New file.
14552 * sysdeps/x86_64/nptl/Makefile
14553 (CFLAGS-pthread_create.c): Variable removed.
14555 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14556 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14558 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14559 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14562 2014-06-21 Joseph Myers <joseph@codesourcery.com>
14564 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14565 (__ASSUME_SIGFRAME_V2): Remove macro.
14566 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14567 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14568 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14569 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14570 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14571 Declare as function. Remove conditional macro definitions.
14572 (__default_rt_sa_restorer): Likewise.
14573 (__default_sa_restorer_v1): Remove declaration.
14574 (__default_sa_restorer_v2): Likewise.
14575 (__default_rt_sa_restorer_v1): Likewise.
14576 (__default_rt_sa_restorer_v2): Likewise.
14577 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14578 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14579 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14581 2014-06-20 Roland McGrath <roland@hack.frob.com>
14583 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14584 (libpthread-routines): Add sysdep.
14585 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14586 * sysdeps/unix/sysv/linux/sparc/Versions
14587 (libpthread: GLIBC_2.3.3): New version set.
14588 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14589 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14590 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14591 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14592 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
14593 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14595 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14596 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14597 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14598 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14599 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14600 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14601 * sysdeps/sparc/nptl/sem_init.c: ... here.
14602 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14603 * sysdeps/sparc/nptl/sem_post.c: ... here.
14604 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14605 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14606 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14607 * sysdeps/sparc/nptl/sem_wait.c: ... here.
14608 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14609 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14610 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14611 (libpthread-routines): Add cpu_relax.
14612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14614 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14615 (librt: GLIBC_2.3.3): New version set.
14616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14617 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14618 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14619 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14622 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14625 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14627 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14629 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14630 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14631 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14632 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14633 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14634 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14636 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14638 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14640 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14642 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14644 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14646 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14648 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14650 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14652 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14654 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14656 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14658 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14659 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14660 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14662 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14663 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14664 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14665 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14666 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14667 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14668 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14670 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14672 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14674 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14676 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14678 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14679 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14680 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14681 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14682 * nscd/nscd.c: Likewise.
14683 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14684 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14685 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14686 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14688 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14689 <kernel-features.h>.
14690 (init_mq_netlink): Remove conditional have_sock_cloexec
14691 definitions. Remove code conditional on have_sock_cloexec < 0.
14692 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14693 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14694 * sysdeps/unix/sysv/linux/opensock.c: Do not include
14695 <kernel-features.h>.
14696 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14697 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14699 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14701 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14702 Add tests for memset_chk and memset.
14704 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14707 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14710 * elf/tst-dl-iter-static.c: New file.
14711 * elf/Makefile (tests-static): Add tst-dl-iter-static.
14713 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14716 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14718 * sysdeps/unix/sysv/linux/kernel-features.h
14719 (__ASSUME_F_GETOWN_EX): Remove macro.
14720 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14721 <kernel-features.h>.
14722 (miss_F_GETOWN_EX): Remove variable or macro.
14723 (do_fcntl): Do not check miss_F_GETOWN_EX.
14724 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14726 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14728 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14729 [!__ASSUME_AT_RANDOM]: Remove conditional code.
14730 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14732 * sysdeps/unix/sysv/linux/kernel-features.h
14733 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14734 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14735 [ADJ_OFFSET_SS_READ]: Make code unconditional.
14736 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14738 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14741 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14742 Fix calculation of the symbol's value.
14743 * sysdeps/arm/tst-armtlsdescloc.c: New file.
14744 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14745 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14746 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14747 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14748 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14749 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14750 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14751 (modules-names): Add `tst-armtlsdescmod',
14752 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14753 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14754 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14755 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14756 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14757 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14758 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14759 ($(objpfx)tst-armtlsdescloc): New dependency.
14760 ($(objpfx)tst-armtlsdescextnow): Likewise.
14761 ($(objpfx)tst-armtlsdescextlazy): Likewise.
14762 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14763 TLS scheme support.
14764 * sysdeps/arm/configure: Regenerate.
14766 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14768 * include/fcntl.h (__atfct_seterrno): Remove prototype.
14769 (__atfct_seterrno_2): Likewise.
14770 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14771 <kernel-features.h>.
14772 (__ASSUME_ATFCTS): Do not undefine and redefine.
14773 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14774 (__have_atfcts): Remove conditional definition.
14775 (__fxstatat([__NR_fstatat64]: Make code unconditional.
14776 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14777 unreachable if [__ASSUME_ATFCTS].
14778 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14779 not undefine and redefine.
14780 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14781 <kernel-features.h>.
14782 (faccessat) [__NR_faccessat]: Make code unconditional.
14783 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14784 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14785 <kernel-features.h>.
14786 (fchmodat) [__NR_fchmodat]: Make code unconditional.
14787 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14788 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14789 <kernel-features.h>.
14790 (fchownat) [__NR_fchownat]: Make code unconditional.
14791 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14792 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14793 <kernel-features.h>.
14794 (futimesat) [__NR_futimesat]: Make code unconditional.
14795 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14796 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14797 <kernel-features.h>.
14798 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14799 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14800 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14801 <kernel-features.h>.
14802 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14803 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14804 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14805 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14806 <kernel-features.h>.
14807 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14808 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14809 * sysdeps/unix/sysv/linux/linkat.c: Do not include
14810 <kernel-features.h>.
14811 (linkat) [__NR_linkat]: Make code unconditional.
14812 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14813 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14814 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14815 <kernel-features.h>.
14816 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14817 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14818 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14819 <kernel-features.h>.
14820 (mkdirat) [__NR_mkdirat]: Make code unconditional.
14821 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14822 * sysdeps/unix/sysv/linux/openat.c: Do not include
14823 <kernel-features.h>.
14824 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14825 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14826 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14827 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14828 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14829 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14830 <kernel-features.h>.
14831 (readlinkat) [__NR_readlinkat]: Make code unconditional.
14832 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
14833 result of INLINE_SYSCALL directly, not via int variable.
14834 * sysdeps/unix/sysv/linux/renameat.c: Do not include
14835 <kernel-features.h>.
14836 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14837 (renameat) [__NR_renameat]: Make code unconditional.
14838 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14839 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14840 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14841 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14842 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14843 (__ASSUME_ATFCTS): Do not undefine and redefine.
14844 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14845 <kernel-features.h>.
14846 (symlinkat) [__NR_symlinkat]: Make code unconditional.
14847 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14848 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14849 <kernel-features.h>.
14850 (unlinkat) [__NR_unlinkat]: Make code unconditional.
14851 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14852 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14853 (__ASSUME_ATFCTS): Do not undefine and redefine.
14854 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14855 <kernel-features.h>.
14856 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14857 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14858 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14859 <kernel-features.h>.
14860 (__xmknodat) [__NR_mknodat]: Make code unconditional.
14861 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14863 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14865 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14867 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
14870 * posix/regcomp.c (parse_reg_exp): Deallocate partially
14871 constructed tree before returning error.
14872 * posix/bug-regexp36.c: Expand test case.
14874 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
14877 * math/libm-test.inc (scalbln_test_date):
14878 Add errno expectations.
14879 * math/w_scalblnf.c: New File.
14880 Add wrapper which checks for setting errno to ERANGE.
14881 Add weak_alias for corresponding scalbln function.
14882 * math/w_scalbln.c: Likewise.
14883 * math/w_scalblnl.c: Likewise.
14884 * math/Makefile (libm-calls): Add w_scalbln.
14885 * sysdeps/ieee754/flt-32/s_scalblnf.c:
14886 Remove weak_alias for corresponding scalbln function.
14887 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14888 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14889 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14890 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14891 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14892 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14893 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14894 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14895 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14896 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14897 Remove long_double_symbol for scalblnl function in libm, libc.
14898 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14899 Add wrapper which checks for setting errno to ERANGE.
14900 Add long_double_symbol for scalblnl function in libm, libc.
14901 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14902 Remove long_double_symbol for scalblnl in libm.
14903 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14904 Add wrapper which checks for setting errno to ERANGE.
14905 Add long_double_symbol for scalblnl function in libm.
14906 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14907 Do not use wrapper because of own implementation.
14909 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
14911 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14912 3 bytes for __pad1 for x32.
14913 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14915 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
14916 H.J. Lu <hongjiu.lu@intel.com>
14918 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14919 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14920 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14921 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14922 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14924 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
14927 * posix/regcomp.c (parse_expression): Deallocate partially
14928 constructed tree before returning error.
14929 * posix/Makefile.c (tests): Add bug-regex36.
14930 (generated): Add bug-regex36.mtrace.
14931 (tests-special): Add $(objpfx)bug-regex36-mem.out
14932 (bug-regex36-ENV): New variable.
14933 ($(objpfx)bug-regex36-mem.out): New rule.
14934 * posix/bug-regex36.c: New file.
14936 2014-06-19 Will Newton <will.newton@linaro.org>
14938 * malloc/malloc.c (systrim): If extra is zero then return
14941 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14943 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14945 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
14947 * sysdeps/aarch64/strchr.S: New file.
14949 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14952 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14953 from arguments -2 or below.
14954 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14955 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14957 2014-06-18 Andreas Schwab <schwab@suse.de>
14960 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14961 of a bracket expr not to run off the end of the string.
14962 * posix/Makefile (tests): Add tst-fnmatch3.
14963 * posix/tst-fnmatch3.c: New file.
14965 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14967 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14968 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14969 [$(cross-compiling) = no]: Likewise.
14970 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14971 [$(cross-compiling) = no]: Likewise.
14973 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14976 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14977 double, adjusted for any remainder from the high double.
14978 * math/libm-test.inc (nearbyint): Add tests.
14981 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14983 * nptl/sysdeps/powerpc/Makefile: Moved ...
14984 * sysdeps/powerpc/nptl/Makefile: ... here.
14985 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14986 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14987 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14988 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14989 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14990 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14991 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14992 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14993 * nptl/sysdeps/powerpc/tls.h: Moved ...
14994 * sysdeps/powerpc/nptl/tls.h: ... here.
14996 2014-06-16 Joseph Myers <joseph@codesourcery.com>
14999 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15000 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15001 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15002 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15003 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15004 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15005 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15006 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15007 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15009 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15011 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15013 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15015 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15018 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15021 2014-06-16 Florian Weimer <fweimer@redhat.com>
15024 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15025 non-executed part of the test.
15027 2014-06-16 Andreas Schwab <schwab@suse.de>
15029 * string/bits/string2.h (strdup, strndup): Update feature guard.
15031 2014-06-14 David S. Miller <davem@davemloft.net>
15033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15035 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15037 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15038 that was previously under [RESET_PID].
15039 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15041 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15042 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15043 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15044 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15045 (__libc_vfork): New strong alias.
15046 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15048 2014-06-14 Andi Kleen <ak@linux.intel.com>
15050 * sysdeps/generic/elide.h: New file.
15052 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15054 * Makefile (installed-headers): Adjust path of pthread.h header.
15056 2014-06-13 Roland McGrath <roland@hack.frob.com>
15058 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15059 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15060 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15061 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15063 * nptl/sysdeps/s390/Makefile: Moved ...
15064 * sysdeps/s390/nptl/Makefile: ... here.
15065 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15066 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15067 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15068 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15069 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15070 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15071 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15072 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15073 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15074 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15075 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15076 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15077 * nptl/sysdeps/s390/tls.h: Moved ...
15078 * sysdeps/s390/nptl/tls.h: ... here.
15080 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15081 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15083 2014-06-13 David S. Miller <davem@davemloft.net>
15085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15086 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15088 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15092 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15093 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15094 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15095 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15096 Remove RESET_PID cpp guards.
15097 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15098 Remove RESET_PID cpp guards.
15099 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15101 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15103 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15106 2014-06-13 Andi Kleen <ak@linux.intel.com>
15108 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15109 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15110 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15111 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15112 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15113 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15114 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15115 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15116 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15117 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15118 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15119 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15120 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15121 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15122 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15123 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15124 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15125 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15126 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15127 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15129 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15130 (pthread_rwlock_rdlock): Add elision.
15131 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15132 (pthread_rwlock_wrlock): Add elision.
15133 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15134 (pthread_rwlock_trywrlock): Add elision.
15135 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15136 (pthread_rwlock_tryrdlock): Add elision.
15137 * nptl/pthread_rwlock_unlock.c: Include elide.h.
15138 (pthread_rwlock_tryrdlock): Add elision unlock.
15139 * nptl/sysdeps/pthread/pthread.h:
15140 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15141 (PTHREAD_RWLOCK_INITIALIZER,
15142 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15143 Handle new elision field.
15144 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15145 * sysdeps/arm/nptl/bits/pthreadtypes.h
15146 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15147 * sysdeps/sh/nptl/bits/pthreadtypes.h
15148 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15149 * sysdeps/tile/nptl/bits/pthreadtypes.h
15150 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15151 * sysdeps/a/nptl/bits/pthreadtypes.h
15152 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15153 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15154 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15155 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15156 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15157 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15158 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15159 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15160 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15161 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15162 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15163 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15164 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15165 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15166 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15167 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15168 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15169 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15170 (elision_init): Set try_xbegin to zero when no RTM.
15171 * sysdeps/x86/nptl/bits/pthreadtypes.h
15172 (pthread_rwlock_t): Change __pad1 to __rwelision.
15173 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15175 2014-06-13 Andi Kleen <ak@linux.intel.com>
15177 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15178 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15179 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15180 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15182 2014-06-13 Meador Inge <meadori@codesourcery.com>
15185 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15186 that the cached result has been set before returning it.
15188 2014-06-12 Roland McGrath <roland@hack.frob.com>
15190 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15191 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15192 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15193 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15194 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15195 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15197 * nptl/sysdeps/sparc/Makefile: Moved ...
15198 * sysdeps/sparc/nptl/Makefile: ... here.
15199 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15200 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15201 * nptl/sysdeps/sparc/tls.h: Moved ...
15202 * sysdeps/sparc/nptl/tls.h: ... here.
15203 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15204 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15205 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15206 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15207 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15208 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15209 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15210 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15211 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15212 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15213 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15214 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15215 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15216 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15217 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15218 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15219 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15220 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15222 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15223 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15225 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15226 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15228 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15229 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15232 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15234 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15235 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15237 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15238 (struct list_links): Type removed.
15239 (struct thread_node, struct timer_node): Replace struct list_links
15240 with struct list_head.
15241 (list_unlink_ip): Likewise.
15242 * sysdeps/pthread/timer_routines.c
15243 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15244 (list_append, list_insbefore): Likewise.
15245 (list_init): Function removed.
15246 (thread_init, init_module): Use INIT_LIST_HEAD instead.
15247 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15248 * sysdeps/pthread/Makefile: ... here, new file.
15250 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15251 * sysdeps/nptl/Implies: ... here.
15252 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15253 * nptl/sysdeps/pthread/list.h: Moved ...
15254 * include/list.h: ... here.
15255 * nptl/sysdeps/pthread/createthread.c: Moved ...
15256 * nptl/createthread.c: ... here.
15257 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15258 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15259 * nptl/pt-longjmp.c: ... here.
15260 * nptl/sysdeps/pthread/Makefile: Moved ...
15261 * sysdeps/nptl/Makefile: ... here.
15262 * nptl/sysdeps/pthread/Subdirs: Moved ...
15263 * sysdeps/nptl/Subdirs: ... here.
15264 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15265 * sysdeps/nptl/aio_misc.h: ... here.
15266 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15267 * sysdeps/nptl/bits/libc-lock.h: ... here.
15268 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15269 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15270 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15271 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15272 * nptl/sysdeps/pthread/configure: Moved ...
15273 * sysdeps/nptl/configure: ... here.
15274 * nptl/sysdeps/pthread/configure.ac: Moved ...
15275 * sysdeps/nptl/configure.ac: ... here.
15276 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15277 * sysdeps/nptl/gai_misc.h: ... here.
15278 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15279 * sysdeps/nptl/librt-cancellation.c: ... here.
15280 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15281 * sysdeps/nptl/malloc-machine.h: ... here.
15282 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15283 * sysdeps/nptl/pthread-functions.h: ... here.
15284 * nptl/sysdeps/pthread/pthread.h: Moved ...
15285 * sysdeps/nptl/pthread.h: ... here.
15286 * nptl/sysdeps/pthread/setxid.h: Moved ...
15287 * sysdeps/nptl/setxid.h: ... here.
15288 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15289 * sysdeps/nptl/sigfillset.c: ... here.
15290 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15291 * sysdeps/nptl/tcb-offsets.h: ... here.
15292 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15293 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15294 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15295 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15296 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15297 * sysdeps/pthread/allocalim.h: ... here.
15298 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15299 * sysdeps/pthread/bits/sigthread.h: ... here.
15300 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15301 * sysdeps/pthread/flockfile.c: ... here.
15302 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15303 * sysdeps/pthread/ftrylockfile.c: ... here.
15304 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15305 * sysdeps/pthread/funlockfile.c: ... here.
15306 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15307 * sysdeps/pthread/posix-timer.h: ... here.
15308 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15309 * sysdeps/pthread/timer_create.c: ... here.
15310 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15311 * sysdeps/pthread/timer_delete.c: ... here.
15312 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15313 * sysdeps/pthread/timer_getoverr.c: ... here.
15314 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15315 * sysdeps/pthread/timer_gettime.c: ... here.
15316 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15317 * sysdeps/pthread/timer_routines.c: ... here.
15318 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15319 * sysdeps/pthread/timer_settime.c: ... here.
15320 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15321 * sysdeps/pthread/tst-timer.c: ... here.
15322 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15323 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15325 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15326 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15328 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15329 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15330 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15331 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15332 Update #include target.
15333 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15334 * sysdeps/i386/i686/nptl/Makefile: ... here.
15335 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15336 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15337 Update #include target.
15338 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15339 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15340 * nptl/sysdeps/i386/Makefile: Moved ...
15341 * sysdeps/i386/nptl/Makefile: ... here.
15342 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15343 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15344 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15345 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15346 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15347 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15348 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15349 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15350 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15351 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15352 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15353 * nptl/sysdeps/i386/tls.h: Moved ...
15354 * sysdeps/i386/nptl/tls.h: ... here.
15356 * sysdeps/sh/Makefile [$(subdir) = csu]
15357 (gen-as-const-headers): Add tcb-offsets.sym.
15358 * nptl/sysdeps/sh/Makefile: File removed.
15359 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15360 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15361 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15362 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15363 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15364 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15365 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15366 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15367 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15368 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15369 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15370 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15371 * nptl/sysdeps/sh/tls.h: Moved ...
15372 * sysdeps/sh/nptl/tls.h: ... here.
15373 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15374 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15375 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15376 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15377 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15378 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15379 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15380 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15381 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15382 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15383 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15384 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15385 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15386 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15387 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15388 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15389 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15390 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15391 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15392 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15393 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15394 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15395 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15396 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15397 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15399 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15400 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15402 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15403 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15404 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15405 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15406 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15407 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15408 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15409 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15410 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15411 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15412 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15413 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15414 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15415 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15416 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15417 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15418 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15419 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15420 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15422 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15424 * posix/spawn_faction_addopen.c: Include string.h.
15426 2014-06-11 Roland McGrath <roland@hack.frob.com>
15428 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15429 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15430 * nptl/sysdeps/x86_64/Makefile: Moved ...
15431 * sysdeps/x86_64/nptl/Makefile: ... here.
15432 * nptl/sysdeps/x86_64/configure: Moved ...
15433 * sysdeps/x86_64/nptl/configure: ... here.
15434 * nptl/sysdeps/x86_64/configure.ac: Moved ...
15435 * sysdeps/x86_64/nptl/configure.ac: ... here.
15436 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15437 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15438 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15439 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15440 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15441 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15442 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15443 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15444 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15445 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15446 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15447 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15448 * nptl/sysdeps/x86_64/tls.h: Moved ...
15449 * sysdeps/x86_64/nptl/tls.h: ... here.
15450 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15451 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15452 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15453 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15455 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15457 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15461 2014-06-11 Joseph Myers <joseph@codesourcery.com>
15463 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15465 [POSIX] (off_t): Likewise.
15466 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15467 [POSIX] (S_ISBLK): Require macro.
15468 [POSIX] (S_ISCHR): Likewise.
15469 [POSIX] (S_ISDIR): Likewise.
15470 [POSIX] (S_ISFIFO): Likewise.
15471 [POSIX] (S_ISREG): Likewise.
15472 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15474 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15476 [POSIX] (time_t): Likewise.
15477 [POSIX] (timer_t): Likewise.
15479 2014-06-11 Florian Weimer <fweimer@redhat.com>
15482 * posix/spawn_int.h (struct __spawn_action): Make the path string
15483 non-const to support deallocation.
15484 * posix/spawn_faction_addopen.c
15485 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15486 * posix/spawn_faction_destroy.c
15487 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
15488 path in all spawn_do_open actions.
15489 * posix/tst-spawn.c (do_test): Exercise the copy operation in
15490 posix_spawn_file_actions_addopen.
15492 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
15494 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15495 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15496 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15497 conditional code always true.
15498 (__libc_vfork): New alias.
15500 2014-06-11 Roland McGrath <roland@hack.frob.com>
15502 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15503 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15505 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15507 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15508 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15510 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15511 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15513 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15514 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15516 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15518 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15519 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15520 multiarch strcmp for PPC64.
15521 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15522 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15524 multiarch optimizations.
15525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15526 (__libc_ifunc_impl_list): Likewise.
15528 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15530 * benchtests/scripts/validate_benchout.py: New script.
15531 * benchtests/Makefile (bench-func): Call it.
15532 * benchtests/scripts/benchout.schema.json: New file.
15534 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
15536 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15537 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15538 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15539 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15540 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15541 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15542 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15543 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15544 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15545 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15546 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15547 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15548 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15549 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15550 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15551 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15655 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15656 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15657 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15658 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15659 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15661 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15663 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15664 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15665 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15666 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15667 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15668 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15669 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15670 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15671 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15672 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15673 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15674 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15675 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15677 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15678 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15680 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15681 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15682 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15683 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15685 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15686 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15687 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15688 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15689 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15690 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15691 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15693 2014-06-10 Wilco <wdijkstr@arm.com>
15695 * math/test-fenv-return.c: New file.
15696 * math/Makefile: Add new test test-fenv-return.
15698 2014-06-10 Joseph Myers <joseph@codesourcery.com>
15701 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15702 when x - 1 is zero.
15703 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15704 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15705 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15706 0.0L for an argument of 1.0L.
15707 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15709 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15710 value when x - 1 is zero.
15711 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15712 * sysdeps/i386/fpu/libm-test-ulps: Update.
15713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15715 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
15718 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15720 2014-06-09 Roland McGrath <roland@hack.frob.com>
15722 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15723 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15725 2014-06-09 Roland McGrath <roland@hack.frob.com>
15727 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15728 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15730 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15731 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15733 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15734 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15736 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15737 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15739 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15740 if not already defined.
15741 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15742 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15743 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15744 (TLS_INIT_TP): Use it.
15745 (TLS_DEFINE_INIT_TP): New macro.
15746 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15748 2014-06-09 Joseph Myers <joseph@codesourcery.com>
15750 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15752 [POSIX] (IXANY): Likewise.
15753 [POSIX] (OLCUC): Likewise.
15754 [POSIX || POSIX2008] (CBAUD): Do not allow.
15755 [POSIX || POSIX2008] (DEFECHO): Likewise.
15756 [POSIX || POSIX2008] (ECHOCTL): Likewise.
15757 [POSIX || POSIX2008] (ECHOKE): Likewise.
15758 [POSIX || POSIX2008] (ECHOPRT): Likewise.
15759 [POSIX || POSIX2008] (EXTA): Likewise.
15760 [POSIX || POSIX2008] (EXTB): Likewise.
15761 [POSIX || POSIX2008] (FLUSHO): Likewise.
15762 [POSIX || POSIX2008] (LOBLK): Likewise.
15763 [POSIX || POSIX2008] (PENDIN): Likewise.
15764 [POSIX || POSIX2008] (SWTCH): Likewise.
15765 [POSIX || POSIX2008] (VDISCARD): Likewise.
15766 [POSIX || POSIX2008] (VDSUSP): Likewise.
15767 [POSIX || POSIX2008] (VLNEXT): Likewise.
15768 [POSIX || POSIX2008] (VREPRINT): Likewise.
15769 [POSIX || POSIX2008] (VSTATUS): Likewise.
15770 [POSIX || POSIX2008] (VWERASE): Likewise.
15771 (B*): Change to B[0123456789]*.
15772 * conform/data/time.h-data [POSIX || UNIX98]
15773 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15774 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15775 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15776 [POSIX] (tm_*): Do not allow.
15778 2014-06-07 Joseph Myers <joseph@codesourcery.com>
15780 * Makefile (install): Don't set LANGUAGE.
15781 * Makefile.in (install): Likewise.
15782 * assert/Makefile (test-assert-ENV): Remove variable.
15783 (test-assert-perr-ENV): Likewise.
15784 * elf/Makefile (neededtest4-ENV): Likewise.
15785 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15786 [$(cross-compiling) = no]: Don't set LANGUAGE.
15787 * io/ftwtest-sh (LANG): Remove variable.
15788 * libio/Makefile (tst-widetext-ENV): Likewise.
15789 * manual/install.texi (Running make install): Don't refer to
15790 environment settings for make install.
15791 * INSTALL: Regenerated.
15792 * nptl/tst-tls6.sh: Don't set LANG.
15793 * posix/globtest.sh (LANG): Remove variable.
15794 * string/Makefile (tester-ENV): Likewise.
15795 (inl-tester-ENV): Likewise.
15796 (noinl-tester-ENV): Likewise.
15797 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15798 [$(cross-compiling) = no]: Don't set LANGUAGE.
15799 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15800 without explicit environment settings.
15802 2014-06-06 Roland McGrath <roland@hack.frob.com>
15804 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15805 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15806 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15807 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15809 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
15811 * crypt/crypt-private.h [DOS]: Add some includes taken from the
15812 other files in the crypt directory.
15813 * crypt/crypt.c: Remove duplicate includes.
15814 * crypt/crypt-entry.c: Likewise.
15815 * crypt/crypt_util.c: Likewise.
15817 2014-06-06 Joseph Myers <joseph@codesourcery.com>
15819 * Makeconfig (run-program-env): New variable.
15820 (run-program-prefix-before-env): Likewise.
15821 (run-program-prefix-after-env): Likewise.
15822 (run-program-prefix): Define in terms of new variables.
15823 (built-program-cmd-before-env): New variable.
15824 (built-program-cmd-after-env): Likewise.
15825 (built-program-cmd): Define in terms of new variables.
15826 (test-program-prefix-before-env): New variable.
15827 (test-program-prefix-after-env): Likewise.
15828 (test-program-prefix): Define in terms of new variables.
15829 (test-program-cmd-before-env): New variable.
15830 (test-program-cmd-after-env): Likewise.
15831 (test-program-cmd): Define in terms of new variables.
15832 * Rules (make-test-out): Use $(run-program-env).
15833 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15834 (help): Do not mention environment variables. Mention
15835 --timeoutfactor option.
15836 (timeoutfactor): New variable.
15837 (blacklist_exports): Remove function.
15838 (exports): Remove variable.
15839 (command): Do not include ${exports}.
15840 * manual/install.texi (Configuring and compiling): Do not mention
15841 test wrappers preserving environment variables. Mention that last
15842 assignment to a variable must take precedence.
15843 * INSTALL: Regenerated.
15844 * benchtests/Makefile (run-bench): Use $(run-program-env).
15845 * catgets/Makefile ($(objpfx)test1.cat): Use
15846 $(built-program-cmd-before-env), $(run-program-env) and
15847 $(built-program-cmd-after-env).
15848 ($(objpfx)test2.cat): Do not specify environment variables
15850 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15851 $(run-program-env) and $(built-program-cmd-after-env).
15852 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15853 $(run-program-env) and $(test-program-cmd-after-env).
15854 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15856 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15857 run_program_env and test_program_cmd_after_env arguments.
15858 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15859 * elf/tst-pathopt.sh: Use run_program_env argument.
15860 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15861 $(test-wrapper-env) and $(run-program-env).
15862 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15863 run_program_env arguments.
15864 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15865 * intl/Makefile ($(objpfx)tst-gettext.out): Use
15866 $(test-program-prefix-before-env), $(run-program-env) and
15867 $(test-program-prefix-after-env).
15868 ($(objpfx)tst-gettext2.out): Likewise.
15869 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15870 run_program_env and test_program_prefix_after_env arguments.
15871 * intl/tst-gettext2.sh: Likewise.
15872 * intl/tst-gettext4.sh: Do not set environment variables
15874 * intl/tst-gettext6.sh: Likewise.
15875 * intl/tst-translit.sh: Likewise.
15876 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15877 $(test-program-prefix-before-env), $(run-program-env) and
15878 $(test-program-prefix-after-env).
15879 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15880 run_program_env and test_program_prefix_after_env arguments.
15881 * math/Makefile (run-regen-ulps): Use $(run-program-env).
15882 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15883 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
15884 explicitly with each use of ${test_wrapper_env}.
15885 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15886 $(test-program-prefix-before-env), $(run-program-env) and
15887 $(test-program-prefix-after-env).
15888 * posix/tst-getconf.sh: Do not set environment variables
15890 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15891 run_program_env and test_program_prefix_after_env arguments.
15892 * stdio-common/tst-printf.sh: Do not set environment variables
15894 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15895 $(test-program-prefix-before-env), $(run-program-env) and
15896 $(test-program-prefix-after-env).
15897 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15898 run_program_env and test_program_prefix_after_env arguments.
15899 Split $test calls into $test_pre and $test.
15900 * timezone/Makefile (build-testdata): Use
15901 $(built-program-cmd-before-env), $(run-program-env) and
15902 $(built-program-cmd-after-env).
15904 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15906 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15907 strlen for non SHARED builds.
15909 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15911 * nptl/allocatestack.c (check_list): Inlined function...
15912 (__reclaim_stacks): ... here.
15914 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15917 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15920 2014-06-05 Joseph Myers <joseph@codesourcery.com>
15922 * Rules (make-test-out): Include
15923 LOCPATH=$(common-objpfx)localedata in default environment.
15924 * debug/Makefile (tst-chk1-ENV): Remove variable.
15925 (tst-chk2-ENV): Likewise.
15926 (tst-chk3-ENV): Likewise.
15927 (tst-chk4-ENV): Likewise.
15928 (tst-chk5-ENV): Likewise.
15929 (tst-chk6-ENV): Likewise.
15930 (tst-lfschk1-ENV): Likewise.
15931 (tst-lfschk2-ENV): Likewise.
15932 (tst-lfschk3-ENV): Likewise.
15933 (tst-lfschk4-ENV): Likewise.
15934 (tst-lfschk5-ENV): Likewise.
15935 (tst-lfschk6-ENV): Likewise.
15936 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15937 (tst-iconv7-ENV): Likewise.
15938 * intl/Makefile (LOCPATH-ENV): Likewise.
15939 (tst-codeset-ENV): Likewise.
15940 (tst-gettext3-ENV): Likewise.
15941 (tst-gettext5-ENV): Likewise.
15942 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15943 (tst-fopenloc-ENV): Likewise.
15944 (tst-fgetws-ENV): Remove variable.
15945 (tst-ungetwc1-ENV): Likewise.
15946 (tst-ungetwc2-ENV): Likewise.
15947 (bug-ungetwc2-ENV): Likewise.
15948 (tst-swscanf-ENV): Likewise.
15949 (bug-ftell-ENV): Likewise.
15950 (tst-fgetwc-ENV): Likewise.
15951 (tst-fseek-ENV): Likewise.
15952 (tst-ftell-partial-wide-ENV): Likewise.
15953 (tst-ftell-active-handler-ENV): Likewise.
15954 (tst-ftell-append-ENV): Likewise.
15955 * posix/Makefile (tst-fnmatch-ENV): Likewise.
15956 (tst-regexloc-ENV): Likewise.
15957 (bug-regex1-ENV): Likewise.
15958 (tst-regex-ENV): Likewise.
15959 (tst-regex2-ENV): Likewise.
15960 (bug-regex5-ENV): Likewise.
15961 (bug-regex6-ENV): Likewise.
15962 (bug-regex17-ENV): Likewise.
15963 (bug-regex18-ENV): Likewise.
15964 (bug-regex19-ENV): Likewise.
15965 (bug-regex20-ENV): Likewise.
15966 (bug-regex22-ENV): Likewise.
15967 (bug-regex23-ENV): Likewise.
15968 (bug-regex25-ENV): Likewise.
15969 (bug-regex26-ENV): Likewise.
15970 (bug-regex30-ENV): Likewise.
15971 (bug-regex32-ENV): Likewise.
15972 (bug-regex33-ENV): Likewise.
15973 (bug-regex34-ENV): Likewise.
15974 (bug-regex35-ENV): Likewise.
15975 (tst-rxspencer-ENV): Likewise.
15976 (tst-rxspencer-no-utf8-ENV): Likewise.
15977 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15978 (tst-sscanf-ENV): Likewise.
15979 (tst-swprintf-ENV): Likewise.
15980 (tst-swscanf-ENV): Likewise.
15981 (test-vfprintf-ENV): Likewise.
15982 (scanf13-ENV): Likewise.
15983 (bug14-ENV): Likewise.
15984 (tst-grouping-ENV): Likewise.
15985 * stdlib/Makefile (tst-strtod-ENV): Likewise.
15986 (tst-strtod3-ENV): Likewise.
15987 (tst-strtod4-ENV): Likewise.
15988 (tst-strtod5-ENV): Likewise.
15989 (testmb2-ENV): Likewise./
15990 * string/Makefile (tst-strxfrm-ENV): Likewise.
15991 (tst-strxfrm2-ENV): Likewise.
15992 (bug-strcoll1-ENV): Likewise.
15993 (test-strcasecmp-ENV): Likewise.
15994 (test-strncasecmp-ENV): Likewise.
15995 * time/Makefile (tst-strptime-ENV): Likewise.
15996 (tst-ftime_l-ENV): Likewise.
15997 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15998 (tst-mbrtowc-ENV): Likewise.
15999 (tst-wcrtomb-ENV): Likewise.
16000 (tst-mbrtowc2-ENV): Likewise.
16001 (tst-c16c32-1-ENV): Likewise.
16002 (tst-mbsnrtowcs-ENV): Likewise.
16004 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16006 * manual/resource.texi (How to get information about the memory
16007 subsystem?): Fix typo.
16008 Reported by Peon de la Parra Ivan <peon@keba.com>
16010 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16013 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16014 (pthread_spin_lock): Branch out of spin loop to proper location.
16015 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16016 (pthread_spin_lock): Likewise.
16018 * nptl/tst-spin4.c: New test.
16019 * nptl/Makefile (tests): Add tst-spin4.
16021 2014-06-03 Andreas Schwab <schwab@suse.de>
16024 * resolv/res_send.c (send_dg): Reload file descriptor after
16027 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16029 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16031 2014-06-03 Richard Henderson <rth@redhat.com>
16033 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16034 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16035 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16036 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16037 in the SAVE_PID block.
16038 (__libc_vfork): New alias.
16039 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16041 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16042 child in registers, not on the stack. Remove RESET_PID conditionals.
16043 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16045 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16047 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16049 2014-06-03 Wilco <wdijkstr@arm.com>
16051 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16052 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16053 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16054 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16055 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16058 2014-06-03 Wilco <wdijkstr@arm.com>
16060 * sysdeps/aarch64/fpu/math_private.h
16061 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16062 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16063 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16064 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16067 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16069 * crypt/crypt-private.h: Include ufc-crypt.h.
16070 (__b64_from_24bit): Declare extern.
16071 * crypt/crypt_util.c(__b64_from_24bit): New function.
16072 (b64t): New static const variable.
16073 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16074 (b64t): Remove variable.
16075 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16076 * crypt/sha256-crypt.c: Include crypt-private.h.
16077 (b64t): Remove variable.
16078 (__sha256_crypt_r): Remove b64_from_24bit and replace
16079 with __b64_from_24bit.
16080 * crypt/sha512-crypt.c: Likewise.
16082 2014-06-02 Roland McGrath <roland@hack.frob.com>
16084 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16085 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16086 Label the code __libc_vfork rather than __vfork.
16087 [!NOT_IN_libc] (vfork): Define as weak alias.
16088 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16089 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16090 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16092 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16094 * malloc/malloc.c (malloc_info): Fix format specifier for
16097 2014-06-02 Wilco <wdijkstr@arm.com>
16099 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16102 2014-06-02 Wilco <wdijkstr@arm.com>
16105 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16106 Rewrite to reduce FPCR/FPSR accesses.
16108 2014-06-01 David S. Miller <davem@davemloft.net>
16110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16112 2014-05-31 David S. Miller <davem@davemloft.net>
16114 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16115 to occur in round to nearest mode when |x| >= 2.0
16117 2014-05-30 Richard Henderson <rth@twiddle.net>
16119 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16120 (PSEUDO_RET_NOERRNO): Remove.
16121 (ret): Don't redefine.
16122 (ret_NOERRNO): Define in terms of ret.
16123 (ret_ERRVAL): Likewise.
16125 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16126 use of PSEUDO_RET; perform the error check directly.
16128 2014-05-30 Marko Myllynen <myllynen@redhat.com>
16130 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16133 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16135 * malloc/malloc (malloc_info): Fix formatting.
16137 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16138 Roland McGrath <roland@hack.frob.com>
16140 * malloc/malloc (malloc_info): Also print mmapped statistics.
16142 2014-05-30 Roland McGrath <roland@hack.frob.com>
16144 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16145 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16147 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
16149 * malloc/malloc.c (malloc_info): Inline mi_arena.
16151 2014-05-29 Richard Henderson <rth@twiddle.net>
16153 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16154 Remove comma before expanding ASM_ARGS_##nr.
16155 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16156 Make _x0 a strict output; make _x8 a strict input; adjust expansion
16158 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16159 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16160 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16161 (ASM_ARGS_1): Add leading comma.
16163 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16164 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16165 to __errno_location.
16166 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16167 Remove the expected plt for __errno_location.
16169 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16170 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16173 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16174 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16175 it and break it down.
16176 (DOCARGS_0, DOCARGS_1): Do nothing.
16177 (DOCARGS_2): Update to store into the new stack frame.
16178 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16179 (UNDOCARGS_1): Update to restore from the new stack frame.
16180 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16181 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16183 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16184 (SINGLE_THREAD_P): New parameter for result regno.
16185 (PSEUDO): Update to match; use cbz instead of beq.
16187 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16188 Use ENTRY to define the _nocancel entry point. Share the syscall
16189 and syscall error check paths with the cancel path.
16192 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16193 whitespace; tabs before and after asm mnemonics.
16195 2014-05-29 Eric Wong <normalperson@yhbt.net>
16198 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16199 Call fstat64 or stat64 internally, depending on arguments passed.
16200 Replace stat buffer argument with file descriptor argument.
16201 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16202 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16203 Pass fd to __internal_statvfs instead of calling fstat64.
16204 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16205 Pass fd to __internal_statvfs64 instead of calling fstat64.
16206 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16207 Pass -1 to __internal_statvfs instead of calling stat64.
16208 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16209 Pass -1 to __internal_statvfs64 instead of calling stat64.
16211 2014-05-28 Roland McGrath <roland@hack.frob.com>
16213 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16214 that was previously under [RESET_PID].
16215 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16217 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16218 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16220 2014-05-27 Roland McGrath <roland@hack.frob.com>
16222 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16224 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16225 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16227 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
16229 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16231 2014-05-27 Andreas Schwab <schwab@suse.de>
16233 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16235 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16236 * elf/rtld.c (init_tls, dl_main): Likewise.
16237 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16238 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16239 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16240 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16241 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16242 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16243 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16244 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16245 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16246 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16247 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16248 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16249 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16250 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16251 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16252 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16253 * sysdeps/generic/tls.h: Update description.
16255 2014-05-27 Will Newton <will.newton@linaro.org>
16258 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16259 and restore r2 rather than just restoring.
16261 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16264 * libio/tst-ftell-append.c: New test case.
16265 * libio/Makefile (tests): Add test case.
16266 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16268 * libio/wfileops.c (do_ftell_wide): Likewise.
16270 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16274 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16278 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16279 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16280 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16281 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16282 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16283 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16290 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16291 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16292 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16293 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16294 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16296 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16297 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16299 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16301 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16303 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16304 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16305 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16307 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16308 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16309 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16310 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16312 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16321 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16325 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16328 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16333 conditional [RESET_PID].
16334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16335 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16337 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16342 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16343 (__libc_vfork): New strong alias.
16344 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16351 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16352 (__libc_vfork): New strong alias.
16353 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16355 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16358 2014-05-26 Carlos O'Donell <carlos@redhat.com>
16360 * malloc/malloc.c (mi_arena): New function.
16361 (malloc_info): Remove nested function mi_arena. Call non-nosted
16364 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16366 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16368 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16369 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16370 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16371 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16372 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16373 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16374 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16376 2014-05-26 Andreas Schwab <schwab@suse.de>
16379 * locale/programs/repertoire.c (repertoire_read): Add slash
16380 between I18NPATH element and file name.
16381 * locale/programs/locfile.c (locfile_read): Likewise.
16383 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16385 * nptl/pthread_mutexattr_settype.c
16386 (__pthread_mutexattr_settype):
16387 Disable lock elision for PTHREAD_MUTEX_NORMAL.
16389 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16391 * nptl/tst-mutex5 (do_test):
16392 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16394 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16396 * benchtests/README: Document 'init' directive.
16397 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16399 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16400 (parse_file): Recognize 'init' directive.
16402 2014-05-26 Kyle McMartin <kyle@redhat.com>
16405 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16406 alignment of struct pthread.
16408 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16411 * nscd/netgroupcache.c (addgetnetgrentX): Look for
16412 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16413 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16414 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16416 2014-05-25 Richard Henderson <rth@twiddle.net>
16418 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16419 (SINGLE_THREAD_P_PIC): Remove.
16420 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16421 (SINGLE_THREAD_P_PIC): Remove.
16423 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16424 branch to syscall error ...
16425 (PSEUDO): ... here.
16426 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16427 from __local_syscall_error to .Lsyscall_error.
16428 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16429 (SYSCALL_ERROR): Update label name.
16431 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16432 Do not use DOARGS/UNDOARGS.
16433 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16434 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16435 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16436 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16437 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16439 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16442 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16443 define if !NOT_IN_libc.
16444 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16445 define with non-default symbol versions.
16447 2014-05-23 Richard Henderson <rth@twiddle.net>
16449 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16450 (vfork, __vfork): Define via compat_symbol.
16452 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16453 [!HAVE_IFUNC] (vfork_compat): Remove.
16454 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16456 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16459 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16460 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16463 2014-05-23 Richard Henderson <rth@twiddle.net>
16465 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16466 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16467 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16468 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16470 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16471 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16472 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16473 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16474 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16475 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16476 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16477 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16478 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16479 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16480 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16481 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16482 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16483 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16484 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16485 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16486 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16487 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16488 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16489 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16490 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16491 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16492 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16493 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16494 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16495 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16496 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16497 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16498 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16499 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16500 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16501 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16502 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16503 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16504 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16505 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16506 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16507 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16508 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16509 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16510 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16511 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16512 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16513 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16514 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16515 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16516 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16517 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16518 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16519 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16520 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16521 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16522 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16523 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16524 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16525 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16527 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16528 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16529 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
16530 before exiting on error.
16531 (__libc_vfork): New strong alias.
16532 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16533 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16535 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16536 that was previously under [RESET_PID].
16537 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16539 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16541 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16544 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16545 value when x - 1 is zero.
16546 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16547 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16548 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16549 0.0L for an argument of 1.0L.
16550 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16552 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16553 value when x - 1 is zero.
16554 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16555 * sysdeps/i386/fpu/libm-test-ulps: Update.
16556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16558 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16560 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16561 alphasort and versionsort.
16563 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16565 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16567 [copysignf]: Likewise.
16569 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16571 * crypt/md5-crypt.c: Fix formatting.
16573 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16575 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16576 (b64_from_24bit): New function.
16578 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16580 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16581 libc_hidden_builtin_def to ifunc.
16582 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16583 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16585 2014-05-21 Roland McGrath <roland@hack.frob.com>
16587 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16588 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16590 2014-05-21 Joseph Myers <joseph@codesourcery.com>
16592 * nscd/Depend (linuxthreads): Remove.
16594 * resolv/Depend (linuxthreads): Remove.
16595 * rt/Depend (linuxthreads): Remove.
16597 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16598 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16599 $(common-objpfx)elf/.
16600 (link-libc-before-gnulib): Likewise.
16601 (elfobjdir): Remove variable.
16602 * Makefile (install): Use $(elf-objpfx) instead of
16603 $(common-objpfx)elf/.
16604 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16606 (link-libc-deps): Likewise.
16607 ($(common-objpfx)libc.so): Likewise.
16608 ($(common-objpfx)linkobj/libc.so): Likewise.
16609 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16610 instead of $(common-objpfx)elf/.
16611 (symbolic-link-list): Likewise.
16612 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16613 [$(cross-compiling) = no]: Likewise.
16614 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16616 (static-gnulib-arch): Likewise.
16617 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16618 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16619 $(common-objpfx)elf/.
16621 2014-05-21 Richard Henderson <rth@redhat.com>
16623 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16624 (SINGLE_THREAD_P): Use the correct width load. Fold
16625 into the ldr offset.
16627 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16628 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16630 2014-05-20 Joseph Myers <joseph@codesourcery.com>
16632 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16633 (libgcc_s_resume): Use __attribute_used__.
16634 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16637 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16639 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16640 optimization when used with float constants.
16642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16644 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
16647 * locale/nl_langinfo_l.c: Make direct reference to every
16648 _nl_current_CATEGORY symbol.
16649 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16650 (tests-static): Add tst-langinfo-static.
16651 (tests-special): Add tst-langinfo-static.out.
16652 ($(objpfx)tst-langinfo.out): Redirect output.
16653 ($(objpfx)tst-langinfo-static.out): New.
16654 * localedata/tst-langinfo.sh: Send output to stdout.
16655 * localedata/tst-langinfo-static.c: New file.
16658 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16659 when the shift amount is modulo the limb size.
16661 2014-05-20 Richard Henderson <rth@redhat.com>
16664 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16665 Change type of sa_flags from unsigned int to int.
16668 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16670 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16672 2014-05-20 Will Newton <will.newton@linaro.org>
16674 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16675 Test the return value of the system call in the nocancel case.
16677 2014-05-20 Will Newton <will.newton@linaro.org>
16678 Yvan Roux <yvan.roux@linaro.org>
16680 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16681 #include of asm/ptrace.h.
16682 (PTRACE_GET_THREAD_AREA): Remove #undef.
16683 (PTRACE_GETHBPREGS): Likewise.
16684 (PTRACE_SETHBPREGS): Likewise.
16685 (struct user_regs_struct): New structure.
16686 (struct user_fpsimd_struct): New structure.
16687 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16688 #include of asm/ptrace.h and second #include of sys/user.h.
16689 (PTRACE_GET_THREAD_AREA): Remove #undef.
16690 (PTRACE_GETHBPREGS): Likewise.
16691 (PTRACE_SETHBPREGS): Likewise.
16692 (ELF_NGREG): Use new struct user_regs_struct.
16693 (elf_fpregset_t): Use new struct user_fpsimd_struct.
16695 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16697 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16698 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16700 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16703 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16704 membar to avoid block loads/stores to overlap previous stores.
16706 2014-05-17 Richard Henderson <rth@redhat.com>
16708 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16709 Create the __##syscall_name##_nocancel entry point.
16710 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16711 Remove; let the sysdep-cancel.h code create it.
16713 2014-05-17 David S. Miller <davem@davemloft.net>
16715 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16716 Protect with __USE_GNU.
16717 (TIOCSET_TEMPT): Likewise.
16718 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16719 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16720 these are already provided in bits/ioctl-types.h
16722 2014-05-16 Roland McGrath <roland@hack.frob.com>
16724 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16725 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16727 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16728 Use wait4 regardless of [__NR_waitpid].
16730 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16733 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16734 (_FP_NANSIGN_Q): Set the quiet bit.
16736 2014-05-16 Joseph Myers <joseph@codesourcery.com>
16738 * benchtests/Makefile
16739 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16740 not $(common-objpfx)math/libm.so.
16741 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16742 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16743 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16744 $(common-objpfx)dlfcn/libdl.so.
16745 ($(objpfx)tst-audit8): Depend on $(libm), not
16746 $(common-objpfx)math/libm.so.
16747 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16748 not $(common-objpfx)dlfcn/libdl.so.
16750 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16751 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
16752 [$(build-shared) = yes].
16753 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16754 $(common-objpfx)nptl/libpthread.so.
16755 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16756 $(common-objpfx)math/libm.so$(libm.so-version) or
16757 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16758 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16759 $(common-objpfx)dlfcn/libdl.so.
16760 * setjmp/Makefile (link-libm): Remove variable.
16761 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16762 * stdio-common/Makefile (link-libm): Remove variable.
16763 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16764 * stdlib/Makefile (link-libm): Remove variable.
16765 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16766 ($(objpfx)tst-strtod-round): Likewise.
16767 ($(objpfx)tst-tininess): Likewise.
16768 ($(objpfx)tst-strtod-underflow): Likewise.
16769 ($(objpfx)tst-strtod6): Likewise.
16770 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16771 $(libdl), not $(common-objpfx)nptl/libpthread.so and
16772 $(common-objpfx)dlfcn/libdl.so.
16774 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16776 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16777 BSD terminal modes definitions.
16779 2014-05-16 Roland McGrath <roland@hack.frob.com>
16781 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16782 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16784 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16785 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16786 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16787 Don't do #include_next.
16788 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16789 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16790 Don't do #include_next.
16791 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16792 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16793 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16794 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16796 2014-05-16 Allan McRae <allan@archlinux.org>
16798 * po/sv.po: Update Swedish translation from translation project.
16800 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16803 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
16806 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16807 errno if the TIOCGPTN ioctl fails with an error different than
16809 * login/tst-ptsname.c: New file.
16810 * login/Makefile (tests): Add tst-ptsname.
16813 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16816 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16820 herrno to return EAI_AGAIN.
16822 2014-05-14 Roland McGrath <roland@hack.frob.com>
16824 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16825 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16826 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16827 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16828 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16829 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16830 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16831 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16832 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16833 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16834 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16835 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16836 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16837 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16838 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16839 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16840 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16841 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16842 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16843 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16844 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16845 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16846 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16847 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16848 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16849 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16850 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16851 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16852 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16853 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16855 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16857 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16860 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16862 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16864 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16866 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16868 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16870 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16872 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16874 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16876 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16878 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16880 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16882 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16884 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16886 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16889 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16891 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16893 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16895 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16897 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16899 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16901 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16903 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16905 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16907 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16910 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16912 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16914 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16915 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16916 (libpthread-sysdep_routines): Add elision-related stuff here instead.
16917 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16918 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16919 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16920 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16921 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16922 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16923 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16924 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16925 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16926 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16927 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16928 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16929 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16930 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16931 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16932 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16933 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16934 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16935 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16936 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16937 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16938 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16939 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16940 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16941 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16942 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16943 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16944 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16946 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16947 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16949 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16950 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16951 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16952 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16953 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16954 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16956 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16957 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16959 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16960 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16962 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16963 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16965 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16966 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16967 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16968 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16970 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16971 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16972 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16973 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16974 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16975 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16976 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16977 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16979 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16980 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16982 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16984 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16985 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16986 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16987 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16988 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16990 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16992 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16994 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16995 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16996 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16997 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16998 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16999 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17001 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17002 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17004 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17005 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17007 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17008 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17010 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17011 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17012 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17013 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17015 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17016 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17017 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17018 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17019 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17020 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17021 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17022 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17024 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17025 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17027 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17029 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17030 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17031 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17032 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17033 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17035 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17037 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17039 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17040 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17041 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17042 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17043 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17044 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17045 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17046 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17047 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17048 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17050 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17051 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17053 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17054 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17056 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17057 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17059 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17060 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17061 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17062 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17063 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17064 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17066 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17067 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17068 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17069 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17070 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17071 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17072 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17073 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17075 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17076 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17078 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17080 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17081 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17082 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17083 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17084 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17086 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17088 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17090 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17091 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17092 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17093 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17094 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17095 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17096 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17097 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17098 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17099 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17100 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17102 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17103 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17105 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17106 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17108 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17109 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17110 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17111 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17112 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17113 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17114 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17115 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17116 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17117 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17118 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17119 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17120 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17121 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17122 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17123 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17124 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17125 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17127 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17128 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17129 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17130 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17132 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17133 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17134 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17135 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17136 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17137 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17138 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17139 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17141 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17142 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17144 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17145 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17146 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17147 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17148 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17149 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17150 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17151 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17152 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17153 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17154 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17155 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17156 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17157 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17158 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17159 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17160 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17162 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17163 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17164 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17165 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17166 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17168 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17169 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17170 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17171 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17172 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17173 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17174 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17175 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17176 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17177 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17179 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17180 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17182 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17183 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17184 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17185 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17186 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17187 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17188 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17189 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17190 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17191 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17192 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17193 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17194 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17195 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17196 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17198 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17200 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17202 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17204 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17208 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17210 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17212 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17214 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17216 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17217 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17218 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17219 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17220 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17221 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17222 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17223 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17224 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17225 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17226 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17227 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17228 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17229 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17230 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
17232 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17233 that was previously under [RESET_PID].
17234 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17235 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17236 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17238 * sysdeps/i386/nptl/Implies: New file.
17239 * sysdeps/x86_64/nptl/Implies: New file.
17240 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17241 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17242 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17243 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17245 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17246 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17247 (__libc_vfork): New strong alias.
17248 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17249 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17251 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17252 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17253 (__libc_vfork): New strong alias.
17254 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17255 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17257 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17258 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17259 (__libc_vfork): New strong alias.
17260 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17261 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17262 * nptl/pt-vfork.c: New file.
17263 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17264 (libpthread: GLIBC_2.20): New version set (empty).
17266 2014-05-14 Will Newton <will.newton@linaro.org>
17268 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17271 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17274 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17275 arguments with exponent 65 or above.
17276 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17277 arguments 0x1p113L or above.
17278 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17279 to arguments 0x1p107L or above.
17280 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17281 positive arguments with exponent 65 or above.
17282 * math/auto-libm-test-in: Add more tests of log1p.
17283 * math/auto-libm-test-out: Regenerated.
17286 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17287 non-finite arguments is +0.
17288 * math/s_cacosf.c (__cacosf): Likewise.
17289 * math/s_cacosl.c (__cacosl): Likewise.
17290 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17291 * sysdeps/i386/fpu/libm-test-ulps: Update.
17292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17295 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17297 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17298 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17299 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17300 for explicit high bit of mantissa when testing for argument equal
17302 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17303 * sysdeps/i386/fpu/libm-test-ulps: Update.
17304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17307 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17308 (__erf): Scale by 16 instead of 8 in potentially underflowing
17309 case. Ensure exception if result actually underflows.
17310 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17311 (__erff): Scale by 16 instead of 8 in potentially underflowing
17312 case. Ensure exception if result actually underflows.
17313 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17314 (efx8): Remove variable.
17315 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17316 case. Ensure exception if result actually underflows.
17317 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17318 (efx8): Remove variable.
17319 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17320 case. Ensure exception if result actually underflows.
17321 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17322 (efx8): Remove variable.
17323 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17324 case. Ensure exception if result actually underflows.
17325 * math/auto-libm-test-in: Add more tests of erf.
17326 * math/auto-libm-test-out: Regenerated.
17328 2014-05-14 Andreas Schwab <schwab@suse.de>
17330 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17331 Remove code conditionalized on USE___THREAD.
17333 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17334 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17337 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17339 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17340 Define unconditionally.
17341 (__ASSUME_O_CLOEXEC): Likewise.
17342 (__ASSUME_SOCK_CLOEXEC): Likewise.
17343 (__ASSUME_IN_NONBLOCK): Likewise.
17344 (__ASSUME_PIPE2): Likewise.
17345 (__ASSUME_EVENTFD2): Likewise.
17346 (__ASSUME_SIGNALFD4): Likewise.
17347 (__ASSUME_DUP3): Likewise.
17348 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17349 (__ASSUME_DUP3): Do not define.
17350 (__ASSUME_EVENTFD2): Likewise.
17351 (__ASSUME_IN_NONBLOCK): Likewise.
17352 (__ASSUME_O_CLOEXEC): Likewise.
17353 (__ASSUME_PIPE2): Likewise.
17354 (__ASSUME_SIGNALFD4): Likewise.
17355 (__ASSUME_SOCK_CLOEXEC): Likewise.
17356 (__ASSUME_UTIMES): Undefine.
17357 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17358 (__ASSUME_UTIMES): Do not define.
17359 (__ASSUME_O_CLOEXEC): Likewise.
17360 (__ASSUME_SOCK_CLOEXEC): Likewise.
17361 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17362 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17364 (__ASSUME_PIPE2): Likewise.
17365 (__ASSUME_EVENTFD2): Likewise.
17366 (__ASSUME_SIGNALFD4): Likewise.
17367 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17368 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17370 (__ASSUME_EVENTFD2): Likewise.
17371 (__ASSUME_SIGNALFD4): Likewise.
17372 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17373 (__ASSUME_32BITUIDS): Likewise.
17374 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17375 (__ASSUME_IPC64): Likewise.
17376 (__ASSUME_ST_INO_64_BIT): Likewise.
17377 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17378 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17379 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17380 (__ASSUME_UTIMES): Do not define.
17381 (__ASSUME_PSELECT): Likewise.
17382 (__ASSUME_PPOLL): Likewise.
17383 (__ASSUME_O_CLOEXEC): Likewise.
17384 (__ASSUME_SOCK_CLOEXEC): Likewise.
17385 (__ASSUME_IN_NONBLOCK): Likewise.
17386 (__ASSUME_PIPE2): Likewise.
17387 (__ASSUME_EVENTFD2): Likewise.
17388 (__ASSUME_SIGNALFD4): Likewise.
17389 (__ASSUME_DUP3): Likewise.
17390 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17391 (__ASSUME_UTIMES): Likewise.
17392 (__ASSUME_O_CLOEXEC): Likewise.
17393 (__ASSUME_SOCK_CLOEXEC): Likewise.
17394 (__ASSUME_IN_NONBLOCK): Likewise.
17395 (__ASSUME_PIPE2): Likewise.
17396 (__ASSUME_EVENTFD2): Likewise.
17397 (__ASSUME_SIGNALFD4): Likewise.
17398 (__ASSUME_DUP3): Likewise.
17399 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17400 (__ASSUME_UTIMES): Likewise.
17401 (__ASSUME_O_CLOEXEC): Likewise.
17402 (__ASSUME_SOCK_CLOEXEC): Likewise.
17403 (__ASSUME_IN_NONBLOCK): Likewise.
17404 (__ASSUME_PIPE2): Likewise.
17405 (__ASSUME_EVENTFD2): Likewise.
17406 (__ASSUME_SIGNALFD4): Likewise.
17407 (__ASSUME_DUP3): Likewise.
17408 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17410 (__ASSUME_UTIMES): Likewise.
17411 (__ASSUME_EVENTFD2): Likewise.
17412 (__ASSUME_SIGNALFD4): Likewise.
17413 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17414 (__ASSUME_O_CLOEXEC): Likewise.
17415 (__ASSUME_SOCK_CLOEXEC): Likewise.
17416 (__ASSUME_IN_NONBLOCK): Likewise.
17417 (__ASSUME_PIPE2): Likewise.
17418 (__ASSUME_EVENTFD2): Likewise.
17419 (__ASSUME_SIGNALFD4): Likewise.
17420 (__ASSUME_DUP3): Likewise.
17421 (__ASSUME_UTIMES): Undefine.
17423 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17424 feclearexcept. Remove symbol versioning code.
17425 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
17426 symbol versioning code.
17427 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
17428 symbol versioning code.
17429 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17430 feupdateenv. Remove symbol versioning code.
17431 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17432 fegetexceptflag. Remove symbol versioning code.
17433 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17434 fesetexceptflag. Remove symbol versioning code.
17435 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17436 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
17437 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17438 (__posix_fadvise64_l32): Remove prototype.
17439 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17442 2014-05-13 Roland McGrath <roland@hack.frob.com>
17444 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17445 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17446 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17447 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17449 2014-05-13 Sami Kerola <kerolasa@iki.fi>
17451 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17452 current working directory
17454 2014-05-13 Roland McGrath <roland@hack.frob.com>
17456 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17457 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17458 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17459 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17460 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17461 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17462 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17463 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17464 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17465 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17466 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17467 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17468 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17469 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17470 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17471 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17472 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17473 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17474 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17475 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17476 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17477 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17478 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17479 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17480 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17481 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17482 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17483 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17484 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17485 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17486 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17487 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17488 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17489 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17490 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17491 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17492 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17493 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17494 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17495 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17496 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17497 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17499 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17500 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17502 * sysdeps/unix/sysv/linux/arm/Makefile
17503 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17504 Add rt-aeabi_unwind_cpp_pr1.
17505 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17506 Add nptl-aeabi_unwind_cpp_pr1.
17507 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17508 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17509 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17510 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17511 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17512 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17514 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17515 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17516 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17517 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17519 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17520 Deconditionalize the code that was previously under [RESET_PID].
17521 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17523 * sysdeps/generic/exit-thread.h: New file.
17524 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17525 * include/unistd.h (__exit_thread): Remove declaration.
17526 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17527 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17528 * csu/libc-start.c: Include <exit-thread.h>.
17529 (LIBC_START_MAIN): Pass no argument to __exit_thread.
17530 * nptl/pthread_create.c: Include <exit-thread.h>.
17531 (start_thread): Call __exit_thread in place of __exit_thread_inline.
17532 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17533 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17534 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17535 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17536 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17537 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17538 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17539 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17540 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17541 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17542 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17543 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17544 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17545 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17546 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17547 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17549 2014-05-13 Andreas Schwab <schwab@suse.de>
17551 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17553 2014-05-12 Joseph Myers <joseph@codesourcery.com>
17555 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17556 (__ASSUME_UTIMES): Do not condition on kernel version.
17557 (__ASSUME_PSELECT): Define unconditionally.
17558 (__ASSUME_PPOLL): Likewise.
17559 (__ASSUME_ATFCTS): Likewise.
17560 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17561 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17562 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17563 (__ASSUME_UTIMENSAT): Define unconditionally.
17564 (__ASSUME_PRIVATE_FUTEX): Likewise.
17565 (__ASSUME_FALLOCATE): Likewise.
17566 (__ASSUME_O_CLOEXEC): Likewise.
17567 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17568 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17569 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17570 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17571 (__ASSUME_IN_NONBLOCK): Likewise.
17572 (__ASSUME_PIPE2): Likewise.
17573 (__ASSUME_EVENTFD2): Likewise.
17574 (__ASSUME_SIGNALFD4): Likewise.
17575 (__ASSUME_DUP3): Likewise.
17576 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17577 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17578 (__ASSUME_AT_RANDOM): Likewise.
17579 (__ASSUME_PREADV): Likewise.
17580 (__ASSUME_PWRITEV): Likewise.
17581 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17582 (__ASSUME_F_GETOWN_EX): Define unconditionally.
17583 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17584 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17585 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17586 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17587 (__ASSUME_O_CLOEXEC): Define unconditionally.
17588 (__ASSUME_PSELECT): Do not undefine conditionally.
17589 (__ASSUME_PPOLL): Likewise.
17590 (__ASSUME_ATFCTS): Likewise.
17591 (__ASSUME_SET_ROBUST_LIST): Likewise.
17592 (__ASSUME_UTIMENSAT): Likewise.
17593 (__ASSUME_FDATASYNC): Define unconditionally.
17594 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17595 (__ASSUME_SIGFRAME_V2): Likewise.
17596 )__ASSUME_EVENTFD2): Likewise.
17597 (__ASSUME_SIGNALFD4): Likewise.
17598 (__ASSUME_PSELECT): Do not undefine conditionally.
17599 (__ASSUME_PPOLL): Likewise.
17600 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17601 (__ASSUME_PSELECT): Define unconditionally.
17602 (__ASSUME_PPOLL): Likewise.
17603 (__ASSUME_O_CLOEXEC): Likewise.
17604 (__ASSUME_SOCK_CLOEXEC): Likewise.
17605 (__ASSUME_IN_NONBLOCK): Likewise.
17606 (__ASSUME_PIPE2): Likewise.
17607 (__ASSUME_EVENTFD2): Likewise.
17608 (__ASSUME_SIGNALFD4): Likewise.
17609 (__ASSUME_DUP3): Likewise.
17610 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17611 (__ASSUME_O_CLOEXEC): Likewise.
17612 (__ASSUME_SOCK_CLOEXEC): Likewise.
17613 (__ASSUME_IN_NONBLOCK): Likewise.
17614 (__ASSUME_PIPE2): Likewise.
17615 (__ASSUME_EVENTFD2): Likewise.
17616 (__ASSUME_SIGNALFD4): Likewise.
17617 (__ASSUME_DUP3): Likewise.
17618 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17619 (__ASSUME_EVENTFD2): Likewise.
17620 (__ASSUME_SIGNALFD4): Likewise.
17621 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17623 2014-05-12 Andreas Schwab <schwab@suse.de>
17626 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17627 (_nss_nis_gethostbyname4_r): Return error if item length is larger
17628 than maximum RPC packet size.
17629 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17630 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17631 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17632 (_nss_nis_getservbyport_r): Likewise.
17634 2014-05-12 Will Newton <will.newton@linaro.org>
17636 * malloc/Makefile (tests): Add tst-mallopt.
17637 * malloc/tst-mallopt.c: New file.
17639 2014-05-09 Roland McGrath <roland@hack.frob.com>
17641 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17642 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17644 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17646 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17647 (tst-tlsmod6.so): Likewise.
17649 2014-05-09 Roland McGrath <roland@hack.frob.com>
17651 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17653 2014-05-09 Joseph Myers <joseph@codesourcery.com>
17656 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17657 and <dl-procinfo.h>.
17658 (__fegetenv): Save SSE state in envp->__eip if supported.
17659 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17660 envp->__eip if supported.
17661 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17662 and <dl-procinfo.h>.
17663 (__fesetenv): Always set __eip, __cs_selector, __opcode,
17664 __data_offset and __data_selector in environment to 0. Set SSE
17665 state if supported.
17666 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17668 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17670 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17672 2014-05-09 Will Newton <will.newton@linaro.org>
17674 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17675 and libc_relro_required for ARM.
17676 * sysdeps/arm/preconfigure: Regenerate.
17678 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
17679 Stefan Liebler <stli@linux.vnet.ibm.com>
17681 * config.make.in (enable-lock-elision): New Makefile variable.
17682 * configure.ac: Likewise.
17683 * configure: Regenerate.
17684 * sysdeps/s390/configure.ac:
17685 Add check for gcc transactions support.
17686 * sysdeps/s390/configure: Regenerate.
17687 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17688 Build elision files if enabled.
17689 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17690 Add lock elision support for s390.
17691 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17692 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17693 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17694 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17695 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17696 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17697 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17699 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17701 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17703 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17705 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17706 (__lll_timedlock_elision, __lll_lock_elision)
17707 (__lll_unlock_elision, __lll_trylock_elision)
17708 (lll_timedlock_elision, lll_lock_elision)
17709 (lll_unlock_elision, lll_trylock_elision): Add.
17710 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17711 (pthread_mutex_t): Add lock elision support for s390.
17713 2014-05-14 Wilco <wdijkstr@arm.com>
17715 * sysdeps/arm/fclrexcpt.c: Cleanup.
17716 * sysdeps/arm/fedisblxcpt.c: Cleanup.
17717 * sysdeps/arm/feenablxcpt.c: Cleanup.
17718 * sysdeps/arm/fegetenv.c: Cleanup.
17719 * sysdeps/arm/fegetexcept.c: Cleanup.
17720 * sysdeps/arm/fegetround.c: Cleanup.
17721 * sysdeps/arm/feholdexcpt.c: Cleanup.
17722 * sysdeps/arm/fesetenv.c: Cleanup.
17723 * sysdeps/arm/fesetround.c: Cleanup.
17724 * sysdeps/arm/feupdateenv.c: Cleanup.
17725 * sysdeps/arm/fgetexcptflg.c: Cleanup.
17726 * sysdeps/arm/fraiseexcpt.c: Cleanup.
17727 * sysdeps/arm/fsetexcptflg.c: Cleanup.
17728 * sysdeps/arm/ftestexcept.c: Cleanup.
17729 * sysdeps/arm/get-rounding-mode.h: Cleanup.
17730 * sysdeps/arm/setfpucw.c: Cleanup.
17732 2014-05-09 Will Newton <will.newton@linaro.org>
17734 * sysdeps/arm/armv7/strcmp.S: New file.
17735 * NEWS: Mention addition of ARMv7 optimized strcmp.
17737 2014-05-08 Roland McGrath <roland@hack.frob.com>
17739 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17740 look for %.ac rather than %.in.
17742 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17743 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17744 * sysdeps/mach/hurd/configure: Regenerated.
17745 * sysdeps/unix/sysv/linux/configure: Regenerated.
17747 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17749 2014-05-07 Steve Ellcey <sellcey@mips.com>
17752 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17756 2014-05-07 Andreas Schwab <schwab@suse.de>
17758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17759 when skipping over non-matching result from nscd.
17761 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
17764 * nptl/sockperf.c (client): Check socket return value.
17767 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17768 nscd security class.
17770 2014-05-06 Roland McGrath <roland@hack.frob.com>
17772 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17773 * sysdeps/arm/unwind.h: ... here.
17775 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
17778 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17781 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17783 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17784 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17785 multiarch strncpy for PPC64.
17786 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17787 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17788 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17789 multiarch optimizations.
17790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17791 (__libc_ifunc_impl_list): Likewise.
17792 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17793 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17794 multiarch stpncpy for PPC64.
17795 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17796 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17798 2014-05-06 Andreas Schwab <schwab@suse.de>
17801 * gmon/mcount.c (_MCOUNT_DECL): Use
17802 atomic_compare_and_exchange_bool_acq instead of
17803 catomic_compare_and_exchange_bool_acq.
17805 2014-05-05 Roland McGrath <roland@hack.frob.com>
17807 * elf/Makefile (others, install-bin): Remove pldd.
17808 (pldd-modules): Variable removed.
17809 ($(objpfx)pldd): Target removed.
17810 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17811 (others, install-bin): Append pldd here.
17812 ($(objpfx)pldd): New target.
17814 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17815 to 0, so the first #if test emitted later doesn't see it undefined.
17816 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17817 * sysdeps/gnu/errlist.c: Regenerated.
17819 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17821 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17822 [libc_hidden_builtin_def]: Define to empty value.
17823 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17824 [libc_hidden_builtin_def]: Likewise.
17825 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17826 [libc_hidden_builtin_def]: Likewise.
17827 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17828 [libc_hidden_builtin_def]: Likewise.
17829 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17830 __redirect_memcpy and define ifunc as default hidden symbol.
17831 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17832 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17834 2014-05-04 Adam Conrad <adconrad@0c3.net>
17836 * locale/iso-4217.def: Reintroduce XDR currency.
17838 2014-05-04 Allan McRae <allan@archlinux.org>
17840 * po/eo.po: Update Esperanto translation from translation project.
17842 2014-05-02 Carlos O'Donell <carlos@redhat.com>
17844 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17845 and FEATURE_INDEX_MAX to 1.
17846 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17848 2014-05-01 Steve Ellcey <sellcey@mips.com>
17850 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17851 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17852 * iconvdata/big5.c (ONE_DIRECTION): Define.
17853 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17854 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17855 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17856 * iconvdata/cp932.c (ONE_DIRECTION): Define.
17857 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17858 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17859 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17860 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17861 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17862 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17863 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17864 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17865 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17866 * iconvdata/gbk.c (ONE_DIRECTION): Define.
17867 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17868 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17869 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17870 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17871 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17872 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17873 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17874 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17875 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17876 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17877 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17878 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17879 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17880 * iconvdata/iso646.c (ONE_DIRECTION): Define.
17881 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17882 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17883 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17884 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17885 * iconvdata/johab.c (ONE_DIRECTION): Define.
17886 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17887 * iconvdata/sjis.c (ONE_DIRECTION): Define.
17888 * iconvdata/t.61.c (ONE_DIRECTION): Define.
17889 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17890 * iconvdata/tscii.c (ONE_DIRECTION): Define.
17891 * iconvdata/uhc.c (ONE_DIRECTION): Define.
17892 * iconvdata/unicode.c (ONE_DIRECTION): Define.
17893 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17894 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17895 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17897 2014-05-01 Roland McGrath <roland@hack.frob.com>
17899 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17900 (_IO_JUMPS_OFFSET): Define to 0.
17902 * nptl/sysdeps/pthread/bits/libc-lock.h
17903 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17904 (__libc_lock_define_initialized_recursive): Always define using
17905 initializer. Modern compilers treat uninitialized (implicit zero) and
17906 explicit zero initializers the same (i.e. put the datum in bss).
17908 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17910 * nscd/nscd-client.h: Include <string.h>.
17912 2014-05-01 David S. Miller <davem@davemloft.net>
17915 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17916 multiple zero bytes exist at the end of a string.
17917 Reported by Aurelien Jarno <aurelien@aurel32.net>
17919 * string/test-strcmp.c (check): Add explicit test for situations where
17920 there are multiple zero bytes after the first.
17922 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17925 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17926 when compiling wprintf.
17927 * stdio-common/tstdiomisc.c (t3): New function.
17930 2014-05-01 Steve Ellcey <sellcey@mips.com>
17932 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17933 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17934 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17935 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17937 2014-05-01 Steve Ellcey <sellcey@mips.com>
17939 * stdlib/longlong.h: Updated from GCC.
17941 2014-05-01 Will Newton <will.newton@linaro.org>
17942 Bernard Ogden <bernie.ogden@linaro.org>
17944 * NEWS: Update fixed bug list.
17947 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17949 2014-04-30 David S. Miller <davem@davemloft.net>
17951 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17952 (libc_feholdexcept_setround_sparc_ctx): New function.
17953 (libc_fesetenv_sparc_ctx): Likewise.
17954 (libc_feupdateenv_sparc_ctx): Likewise.
17955 (libc_feholdsetround_sparc_ctx): Likewise.
17956 (libc_feholdexcept_setround_ctx): Define.
17957 (libc_feholdexcept_setroundf_ctx): Likewise.
17958 (libc_feholdexcept_setroundl_ctx): Likewise.
17959 (libc_fesetenv_ctx): Likewise.
17960 (libc_fesetenvf_ctx): Likewise.
17961 (libc_fesetenvl_ctx): Likewise.
17962 (libc_feupdateenv_ctx): Likewise.
17963 (libc_feupdateenvf_ctx): Likewise.
17964 (libc_feupdateenvl_ctx): Likewise.
17965 (libc_feresetround_ctx): Likewise.
17966 (libc_feresetroundf_ctx): Likewise.
17967 (libc_feresetroundl_ctx): Likewise.
17968 (libc_feholdsetround_ctx): Likewise.
17969 (libc_feholdsetroundf_ctx): Likewise.
17970 (libc_feholdsetroundl_ctx): Likewise.
17972 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17973 with __USE_GNU instead of XOPEN cpp guards.
17975 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17978 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17979 with XOPEN cpp guards.
17981 2014-04-30 Julian Brown <julian@codesourcery.com>
17984 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17987 2014-04-30 Joseph Myers <joseph@codesourcery.com>
17990 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17992 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17993 * sysdeps/unix/sysv/linux/configure: Regenerated.
17994 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17995 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17996 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17997 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17998 * README: Update reference to required Linux kernel version.
17999 * manual/install.texi (Linux): Update reference to required Linux
18000 kernel headers version.
18001 * INSTALL: Regenerated.
18003 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18005 [POSIX] (limits.h): Likewise.
18006 [POSIX] (math.h): Likewise.
18007 [POSIX] (sys/wait.h): Likewise.
18008 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18010 [POSIX] (stddef.h): Do not allow header inclusion.
18012 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18014 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18016 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18018 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18019 Return immediately after lll_futex_wake.
18021 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18024 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18026 (datahead_init_pos): Call datahead_init_common early.
18027 (datahead_init_neg): Likewise.
18029 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18030 datahead_init_neg): New functions.
18031 * nscd/aicache.c (addhstaiX): Use them.
18032 * nscd/grpcache.c (cache_addgr): Likewise.
18033 * nscd/hstcache.c (cache_addhst): Likewise.
18034 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18035 * nscd/netgroupcache.c (do_notfound): Likewise.
18036 (addgetnetgrentX): Likewise.
18037 (addinnetgrX): Likewise.
18038 * nscd/pwdcache.c (cache_addpw): Likewise.
18039 * nscd/servicescache.c (cache_addserv): Likewise.
18041 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18042 Atsushi Onoe <atsushi@onoe.org>
18047 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18048 one response is valid.
18049 * resolv/res_send.c (send_dg): Check for validity of other
18050 response if the current response is a referral.
18052 2014-04-29 Steve Ellcey <sellcey@mips.com>
18054 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18056 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18059 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18060 Always divide by positive zero when computing -Inf result.
18061 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18062 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18064 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18066 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18067 FPSCR if value do not change.
18068 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18069 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18070 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18071 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18072 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18073 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18076 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18078 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18079 * sysdeps/unix/sysv/linux/hppa: Move directory from
18080 ports/systeps/unix/sysv/linux/hppa.
18081 * README: Update listing for hppa-*-linux-gnu.
18083 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
18086 * manual/stdio.texi (Hook functions): Fix types of stream hook
18089 * socket/sys/socket.h: Fix typo in comment.
18091 2014-04-28 Wilco <wdijkstr@arm.com>
18093 * sysdeps/arm/fenv_private.h: New file.
18094 * sysdeps/arm/math_private.h: New file.
18095 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18097 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18099 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18101 (La_x86_64_retval): Likewise.
18103 2014-04-24 Ian Bolton <ian.bolton@arm.com>
18105 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18106 fpsr if value didn't change.
18107 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18108 to fpcr if value didn't change.
18109 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18110 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18111 fpsr or fpcr if value didn't change.
18112 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18113 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18114 fpcr if value didn't change.
18115 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18116 to fpsr if value didn't change.
18118 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18120 * nptl/tst-sem3.c: Use test-skeleton.c
18121 (main): Rename to do_test. Use return instead of
18123 * nptl/tst-sem4.c: Use test-skeleton.c
18124 (main): Rename to do_test.
18126 2014-04-22 David S. Miller <davem@davemloft.net>
18128 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18129 (struct sigaction): New struct member __glibc_reserved0, change
18130 type of sa_flags to int.
18132 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
18134 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18135 (COUNT_LEADING_ZEROS_0): Define for AArch64.
18137 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18139 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18140 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18142 2014-04-22 Will Newton <will.newton@linaro.org>
18143 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
18145 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18146 (__longjmp): Add longjmp and longjmp_target SystemTap
18148 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18149 (__sigsetjmp): Add setjmp SystemTap probe.
18151 2014-04-17 Carlos O'Donell <carlos@redhat.com>
18153 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18154 match manual order.
18156 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18158 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18160 * sysdeps/powerpc/fpu/fenv_private.h
18161 (libc_feholdexcept_setroundl_ctx): Define to
18162 libc_feholdexcept_setround_ppc_ctx.
18163 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18164 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18165 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18166 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18168 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18170 * sysdeps/aarch64/math-tests.h: New file.
18172 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18174 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18177 Check and set bit_AVX2_Usable.
18178 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18180 (bit_AVX2): Likewise.
18181 (index_AVX2_Usable): Likewise.
18182 (CPUID_AVX2): Likewise.
18183 (HAS_AVX2): Likewise.
18185 2014-04-17 Will Newton <will.newton@linaro.org>
18187 * manual/setjmp.texi (System V contexts): Add note that
18188 calling setcontext on a context created by a call to a
18189 signal handler is undefined. Update text to note that
18190 setcontext from a signal handler is possible but not
18194 * stdlib/tst-setcontext.c: Include signal.h.
18195 (main): Check that the signal stack before and
18196 after swapcontext is the same.
18198 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18199 Re-implement to restore registers in user code and avoid
18200 rt_sigreturn system call.
18202 2014-04-17 Wilco <wdijkstr@arm.com>
18204 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18205 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18206 * math/test-fenv.c: Skip exception trap tests on targets which only
18207 support non-stop mode.
18209 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18210 Wilco Dijkstra <wilco.dijkstra@arm.com>
18212 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18213 (libc_feholdsetround_aarch64_ctx)
18214 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18215 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18216 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18217 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18218 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18219 (libc_feresetround_noexl_ctx): Define.
18221 2014-04-16 Richard Henderson <rth@redhat.com>
18223 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18225 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18228 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18229 const from the non-libc, non-ldso copy.
18231 * sysdeps/alpha/libm-test-ulps: Regenerate.
18233 2014-04-16 Ian Bolton <ian.bolton@arm.com>
18234 Wilco Dijkstra <wilco.dijkstra@arm.com>
18236 * sysdeps/aarch64/fpu/math_private.h: New file.
18238 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18240 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18242 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18245 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18246 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18247 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18248 Intel MPX bound registers before _dl_profile_fixup.
18249 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18250 registers after _dl_profile_fixup. Save and restore bound
18251 registers bnd0/bnd1 when calling _dl_call_pltexit.
18252 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18253 (LR_BND_OFFSET): Likewise.
18254 (LRV_BND0_OFFSET): Likewise.
18255 (LRV_BND1_OFFSET): Likewise.
18257 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18259 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18261 * sysdeps/mach/hurd/i386/tls.h: ... here.
18262 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18263 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18266 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18268 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18270 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18272 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18274 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18277 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18278 * sysdeps/s390/configure: Regenerate.
18281 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18282 Set round-to-nearest internally to reduce error accumulation.
18284 2014-04-16 Alan Modra <amodra@gmail.com>
18288 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18289 * math/libm-test.inc (frexp_test_data): Add tests.
18290 * NEWS: Update fixed bug list.
18292 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18294 * benchtests/Makefile: Depend on libraries in build directory.
18295 (bench-math): Separate out math tests.
18296 (bench-pthread): Separate out pthread tests.
18297 (bench): Include math and pthread tests.
18299 2014-04-14 Carlos O'Donell <carlos@redhat.com>
18302 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18303 _dl_debug_initialize.
18305 * configure.ac: Remove SELinux header check.
18306 * configure: Regenerate.
18307 * nscd/selinux.c (perms): Array of const char* to permission names.
18308 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18309 default policy. Call string_to_security_class and string_to_av_perm to
18310 translate strings. Enforce default policy and call avs_has_perm with
18311 results of translated strings.
18313 2014-04-13 David S. Miller <davem@davemloft.net>
18315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18317 2014-04-12 Allan McRae <allan@archlinux.org>
18320 * manual/string.texi (Collation Functions): Fix qsort argument
18322 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18324 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18326 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18327 Make the test a no-op if there are no exceptions defined.
18329 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18331 * elf/Makefile (tests): make tst-dlopen-aout conditional on
18332 enable-hardcoded-path-in-tests
18334 2014-04-11 Will Newton <will.newton@linaro.org>
18336 * benchtests/Makefile (extra-objs): Add json-lib.o.
18337 (bench-func): Tidy up JSON output.
18338 * benchtests/bench-skeleton.c: Include json-lib.h.
18339 (main): Use JSON library functions to do output of
18341 * benchtests/bench-timing-type.c (main): Output the
18342 timing type simply, leaving formatting to the user.
18343 * benchtests/json-lib.c: New file.
18344 * benchtests/json-lib.h: Likewise.
18346 2014-04-11 Torvald Riegel <triegel@redhat.com>
18349 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18350 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18351 memory barriers. Add comments.
18352 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18353 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18354 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18355 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18356 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18357 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18359 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18361 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18362 * sysdeps/s390/s390-64/configure.ac: ... this ...
18363 * sysdeps/s390/configure.ac: ... to here.
18364 * sysdeps/s390/s390-32/configure: Delete file.
18365 * sysdeps/s390/s390-64/configure: Delete file.
18366 * sysdeps/s390/configure: Regenerate.
18368 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18370 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18372 2014-04-11 Will Newton <will.newton@linaro.org>
18374 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18375 to zero if it is not defined elsewhere. (mtrim): Test
18376 the value of MALLOC_DEBUG with #if rather than #ifdef.
18378 2014-04-10 Torvald Riegel <triegel@redhat.com>
18380 * benchtests/pthread_once-inputs: New file.
18381 * benchtests/pthread_once-source.c: New file.
18382 * benchtests/README: Update documentation.
18384 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
18385 H.J. Lu <hongjiu.lu@intel.com>
18388 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18389 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18390 * sysdeps/x86_64/configure: Regenerated.
18391 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18393 (REGISTER_SAVE_RAX): Likewise.
18394 (REGISTER_SAVE_RCX): Likewise.
18395 (REGISTER_SAVE_RDX): Likewise.
18396 (REGISTER_SAVE_RSI): Likewise.
18397 (REGISTER_SAVE_RDI): Likewise.
18398 (REGISTER_SAVE_R8): Likewise.
18399 (REGISTER_SAVE_R9): Likewise.
18400 (REGISTER_SAVE_BND0): Likewise.
18401 (REGISTER_SAVE_BND1): Likewise.
18402 (REGISTER_SAVE_BND2): Likewise.
18403 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
18404 bound registers when calling _dl_fixup.
18406 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18408 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18409 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18411 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18412 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18413 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18414 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18415 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18416 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18417 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18419 2014-04-09 Peter Brett <peter@peter-b.co.uk>
18422 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18423 pathconf(_PC_NAME_MAX).
18425 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18427 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18428 Remove macro usage.
18429 (__PTHREAD_SPINS): Move definition to ...
18430 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18431 (__PTHREAD_SPINS): ... here.
18432 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18433 (__PTHREAD_SPIN): Likewise.
18434 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18435 (__PTHREAD_SPIN): Likewise.
18436 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18437 (__PTHREAD_SPIN): Likewise.
18438 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18439 (__PTHREAD_SPIN): Likewise.
18440 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18441 (__PTHREAD_SPIN): Likewise.
18442 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18443 (__PTHREAD_SPIN): Likewise.
18444 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18445 (__PTHREAD_SPIN): Likewise.
18446 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18447 (__PTHREAD_SPIN): Likewise.
18448 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18449 (__PTHREAD_SPIN): Likewise.
18450 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18451 (__PTHREAD_SPIN): Likewise.
18452 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18453 (__PTHREAD_SPIN): Likewise.
18454 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18455 (__PTHREAD_SPIN): Likewise.
18457 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18458 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18459 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18460 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18462 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18463 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18464 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18465 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18466 correct imply path.
18467 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18468 strlen symbol for non multi-arch builds.
18469 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18470 missing hidden_def and weak_alias.
18472 2014-04-08 Carlos O'Donell <carlos@redhat.com>
18474 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18476 2014-04-07 Will Newton <will.newton@linaro.org>
18478 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18479 and contents. [!_LIBC] Remove #ifndef and contents.
18480 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
18481 * string/memccpy.c (__memccpy): Use ANSI prototype.
18482 * string/memfrob.c (memfrob): Likewise.
18483 * string/strcoll.c (STRCOLL): Likewise.
18484 * string/strlen.c (strlen): Likewise.
18485 * string/strtok.c (STRTOK): Likewise.
18486 * string/strcat.c: Remove unused #include of memcopy.h.
18487 (strcat): Use ANSI prototype.
18488 * string/strchr.c: Remove unused #include of memcopy.h.
18489 (strchr): Use ANSI prototype.
18490 * string/strcmp.c: Remove unused #include of memcopy.h.
18491 (strcmp): Use ANSI prototype.
18492 * string/strcpy.c: Remove unused #include of memcopy.h.
18493 (strcpy): Use ANSI prototype.
18495 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18497 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18498 * config.make.in (config-extra-cppflags): Set it from
18499 libc_extra_cppflags.
18500 * configure.ac (libc_extra_cflags): Make it accumulate over
18501 configure fragments.
18502 (libc_extra_cppflags): New flag.
18503 * configure. Regenerate.
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18505 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18506 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18510 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18511 result for FE_DOWNWARD rounding mode.
18512 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18516 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
18518 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18519 in function argument name.
18521 2014-04-03 David Svoboda <svoboda@cert.org>
18524 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18527 2014-04-03 Roland McGrath <roland@hack.frob.com>
18529 * elf/dl-unmap-segments.h: New file.
18530 * sysdeps/generic/ldsodefs.h
18531 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18532 * elf/dl-close.c: Include <dl-unmap-segments.h>.
18533 * elf/dl-fptr.c: Likewise.
18534 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18535 * sysdeps/aarch64/tlsdesc.c: Likewise.
18536 * sysdeps/arm/tlsdesc.c: Likewise.
18537 * sysdeps/i386/tlsdesc.c: Likewise.
18538 * sysdeps/tile/dl-runtime.c: Likewise.
18539 * sysdeps/x86_64/tlsdesc.c: Likewise.
18540 * elf/dl-load.h: New file.
18541 * elf/dl-load.c: Include it.
18542 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18543 Macros moved to dl-load.h.
18544 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18545 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18546 Use _dl_unmap_segments in place of __munmap.
18547 Break out segment-mapping loop into ...
18548 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18550 2014-04-03 Will Newton <will.newton@linaro.org>
18552 * elf/dl-lookup.c (do_lookup_x): Remove comment
18553 referring to nested function and move variable
18554 declarations down to before first use.
18556 2014-04-02 Joseph Myers <joseph@codesourcery.com>
18560 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18562 * math/s_catanf.c (__catanf): Likewise.
18563 * math/s_catanh.c (__catanh): Likewise.
18564 * math/s_catanhf.c (__catanhf): Likewise.
18565 * math/s_catanhl.c (__catanhl): Likewise.
18566 * math/s_catanl.c (__catanl): Likewise.
18567 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18568 by positive zero when computing -Inf result.
18569 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18570 (catanh_test): Likewise.
18571 * sysdeps/i386/fpu/libm-test-ulps: Update.
18572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18575 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18576 instead of using underflowing value in computing result.
18577 * math/s_clog10.c (__clog10): Likewise.
18578 * math/s_clog10f.c (__clog10f): Likewise.
18579 * math/s_clog10l.c (__clog10l): Likewise.
18580 * math/s_clogf.c (__clogf): Likewise.
18581 * math/s_clogl.c (__clogl): Likewise.
18582 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18583 (clog10_test): Likewise.
18584 * sysdeps/i386/fpu/libm-test-ulps: Update.
18585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18587 2014-04-02 Alan Modra <amodra@gmail.com>
18590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18591 output when value is near a power of two. Use int64_t for lx and
18592 remove casts. Use decimal rather than hex exponent constants.
18593 Don't use long double multiplication when double will suffice.
18594 * math/libm-test.inc (nextafter_test_data): Add tests.
18595 * NEWS: Add 16739 and 16786 to bug list.
18597 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18599 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18601 2014-04-01 Will Newton <will.newton@linaro.org>
18603 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18604 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
18606 2014-04-01 Florian Weimer <fweimer@redhat.com>
18609 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18610 * nptl/tst-setuid2.c: New file.
18611 * nptl/Makefile (xtests): Add tst-setuid2.
18613 2014-04-01 Alan Modra <amodra@gmail.com>
18616 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18618 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18622 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18623 set errno as appropriate.
18624 * math/w_scalbf.c (__scalbf): Likewise.
18625 * math/w_scalbl.c (__scalbl): Likewise.
18626 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18627 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18628 * math/libm-test.inc (scalb_test_data): Add errno expectations.
18629 Add more NaN tests.
18632 * math/w_atan2.c: Include <errno.h>.
18633 (__atan2): Set errno for result underflowing to zero.
18634 * math/w_atan2f.c: Include <errno.h>.
18635 (__atan2f): Set errno for result underflowing to zero.
18636 * math/w_atan2l.c: Include <errno.h>.
18637 (__atan2l): Set errno for result underflowing to zero.
18638 * math/auto-libm-test-in: Don't allow missing errno for some atan2
18640 * math/auto-libm-test-out: Regenerated.
18642 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18644 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18645 Encode instruction correctly in little endian.
18646 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18648 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18650 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18652 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18655 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18658 * sysdeps/unix/sysv/linux/kernel-features.h
18659 [__sparc__ && !__arch64__ && !__sparc_v9__]
18660 (__ASSUME_SET_ROBUST_LIST): Do not define.
18661 [__sparc__ && !__arch64__ && !__sparc_v9__]
18662 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18663 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18665 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18666 (__ASSUME_FUTEX_LOCK_PI): Undefine.
18667 (__ASSUME_REQUEUE_PI): Likewise.
18668 (__ASSUME_SET_ROBUST_LIST): Likewise.
18669 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18670 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18672 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18673 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18675 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18677 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18679 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18680 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18682 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18683 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18687 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18688 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18689 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18691 2014-03-31 Will Newton <will.newton@linaro.org>
18693 * benchtests/Makefile (bench): Add ffs and ffsll to list
18695 * benchtests/ffs-inputs: New file.
18696 * benchtests/ffsll-inputs: Likewise.
18698 2014-03-29 Joseph Myers <joseph@codesourcery.com>
18701 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18702 too large before casting to int.
18703 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18704 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18705 * math/libm-test.inc (scalb_test_data): Add more tests.
18707 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18709 * benchtests/Makefile (DETAILED_OPT): New make option.
18710 (bench-func): Run benchmark program with -d if DETAILED_OPT is
18712 * benchtests/bench-skeleton.c: Include stdbool.h.
18713 (main): Store and print timings per input.
18714 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18715 member to each argument value.
18716 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18717 (_print_arg_data): Initialize per-input timing to 0.
18719 * benchtests/Makefile (timing-type): New binary.
18720 (bench-clean): Also remove bench-timing-type.
18721 (bench): New target for timing-type.
18722 (bench-func): Print output in JSON format.
18723 * benchtests/bench-skeleton.c (main): Print output in JSON
18725 * benchtests/bench-timing-type.c: New file.
18726 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18727 (TIMING_PRINT_STATS): Remove.
18728 * benchtests/scripts/bench.py (_print_arg_data): Store variant
18731 * benchtests/bench-modf.c: Remove.
18732 * benchtests/modf-inputs: New inputs file.
18734 2014-03-28 Joseph Myers <joseph@codesourcery.com>
18737 * math/s_clog10.c (M_PI_LOG10E): New macro.
18738 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18739 imaginary parts are 0.
18740 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18741 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18742 imaginary parts are 0.
18743 * math/s_clog10l.c (M_PI_LOG10El): New macro.
18744 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18745 imaginary parts are 0.
18746 * math/libm-test.inc (clog10_test_data): Update expected results
18747 for when real and imaginary parts are 0.
18749 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
18751 * elf/dl-load.c: Finish conversion of __builtin_expect into
18752 __glibc_{un}likely.
18754 2014-03-27 Joseph Myers <joseph@codesourcery.com>
18757 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18758 1+x for argument with exponent below -67.
18759 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18761 * math/auto-libm-test-in: Add more tests of exp.
18762 * math/auto-libm-test-out: Regenerated.
18764 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18767 * inet/getnetgrent_r.c (get_nonempty_val): New function.
18768 (nscd_getnetgrent): Use it.
18771 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18774 2014-03-27 Andi Kleen <ak@linux.intel.com>
18776 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18777 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18778 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18779 (lll_robust_unlock): Remove out of line section. Use cfi
18781 (LLL_STUB_UNWIND_INFO*): Remove.
18782 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18783 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18784 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18785 (lll_robust_unlock): Remove out of line section. Use cfi
18787 (LLL_STUB_UNWIND_INFO*): Remove.
18789 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18792 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18795 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
18797 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18799 2014-03-26 Joseph Myers <joseph@codesourcery.com>
18802 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18804 * math/test-fenv-preserve.c: New file.
18805 * math/Makefile (tests): Add test-fenv-preserve.
18807 2014-03-26 Will Newton <will.newton@linaro.org>
18809 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18811 2014-03-25 Roland McGrath <roland@hack.frob.com>
18813 * scripts/versionlist.awk: Partition the version sets and emit all
18814 GLIBC_* (sorted) before all others (sorted).
18816 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18818 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18819 GLIBC_2.2.5 version.
18821 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18823 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18826 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18831 2014-03-25 Andreas Schwab <schwab@suse.de>
18833 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18834 label to be used after in6ailist is initialized.
18836 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18838 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18839 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18841 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18845 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18847 (fp_formats): Update initializers.
18848 (init_fp_formats): Initialize new field.
18849 (output_for_one_input_case): Allow underflow for results up to
18851 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18852 * math/auto-libm-test-in: Don't mark some underflows from asin and
18854 * math/auto-libm-test-out: Regenerated.
18855 * sysdeps/i386/fpu/libm-test-ulps: Update.
18856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18858 2014-03-25 Andreas Schwab <schwab@suse.de>
18860 * libio/Makefile (tst-ftell-partial-wide-ENV)
18861 (tst-ftell-active-handler-ENV): Define.
18863 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18865 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18867 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18869 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18871 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18873 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18874 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18875 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18877 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18880 * elf/dl-load.c (open_verify): Add mode parameter.
18881 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18882 (open_path): Change from boolean 'secure' to complete flag 'mode'
18883 (_dl_map_object): Adjust.
18884 * elf/Makefile (tests): Add tst-dlopen-aout.
18885 * elf/tst-dlopen-aout.c: New test.
18887 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18890 * sysdeps/unix/sysv/linux/s390/bits/stat.h
18891 (struct stat): Rename member pad0 to __glibc_reserved0.
18894 * sysdeps/s390/s390-32/bits/wordsize.h
18895 (__WORDSIZE32_SIZE_ULONG): New define.
18896 * sysdeps/s390/s390-64/bits/wordsize.h
18897 (__WORDSIZE32_SIZE_ULONG): Likewise.
18898 * sysdeps/generic/stdint.h (SIZE_MAX):
18899 Define as UL if __WORDSIZE32_SIZE_ULONG.
18902 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18903 (__glibc_reserved0): New variable.
18904 (sa_flags): Change type to int.
18906 * posix/Makefile (before-compile): Use += before-compile instead
18909 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18910 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18912 2014-03-20 Andreas Schwab <schwab@suse.de>
18915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18916 non-matching result from nscd.
18918 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18920 * scripts/bench.py: Moved to ...
18921 * benchtests/scripts/bench.py: ... here.
18922 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18924 2014-03-24 Andreas Schwab <schwab@suse.de>
18927 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18928 alloca_account and account alloca use for struct in6ailist.
18930 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18933 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18934 rounding mode to recompute results that overflow to infinity or
18936 * math/auto-libm-test-in: Don't mark tests as expected to fail for
18938 * math/auto-libm-test-out: Regenerated.
18939 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18940 (ccosh_test): Likewise.
18941 (csin_test_data): Use plus_oflow.
18942 (csin_test): Use ALL_RM_TEST.
18943 (csinh_test_data): Use plus_oflow.
18944 (csinh_test): Use ALL_RM_TEST.
18945 * sysdeps/i386/fpu/libm-test-ulps: Update.
18946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18948 2014-03-21 Joseph Myers <joseph@codesourcery.com>
18950 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18951 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18952 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18955 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18956 when x - 1 is zero.
18957 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18958 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18959 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18960 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18962 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18963 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18965 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18966 * sysdeps/i386/fpu/libm-test-ulps: Update.
18967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18969 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18971 * scripts/bench.pl: Remove file.
18972 * scripts/bench.py: New benchmark script.
18973 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18974 * benchtests/README: Mention python dependency.
18975 * scripts/pylintrc: New file.
18976 * scripts/pylint: New file.
18978 * bits/mathdef.h: Use #ifdef instead of #if.
18979 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18980 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18981 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18982 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18983 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18984 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18986 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18987 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18989 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18991 and strpbrk-ppc64 objects.
18992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18993 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18994 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18995 multiarch strpbrk for POWER7.
18996 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18997 multiarch strpbrk for PPC64.
18998 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19000 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19001 strpbrk for POWER7.
19003 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19005 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19006 (atan_test): Likewise.
19007 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19008 (atanh_test): Use ALL_RM_TEST.
19009 (atan2_test_data): Likewise.
19010 (cabs_test): Likewise.
19011 (cacosh_test): Likewise.
19012 (carg_test): Likewise.
19013 (casin_test): Likewise.
19014 (casinh_test): Likewise.
19015 (cbrt_test): Likewise.
19016 (csqrt_test): Likewise.
19017 (erf_test): Likewise.
19018 (erfc_test): Likewise.
19019 (pow10_test): Likewise.
19020 (exp2_test): Likewise.
19021 (hypot_test): Likewise.
19022 (j0_test): Likewise.
19023 (j1_test): Likewise.
19024 (lgamma_test): Likewise.
19025 (gamma_test): Likewise.
19026 (sincos_test): Likewise.
19027 (tanh_test): Likewise.
19028 (y0_test): Likewise.
19029 (y1_test): Likewise.
19030 * sysdeps/i386/fpu/libm-test-ulps: Update.
19031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19033 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19035 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19037 and strcspn-ppc64 objects.
19038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19039 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19040 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19041 multiarch strcspn for POWER7.
19042 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19043 multiarch strcspn for PPC64.
19044 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19046 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19047 strcspn for POWER7.
19049 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19051 * math/gen-libm-test.pl (generate_testfile): Expect only function
19052 name as argument to AUTO_TESTS_* and pass results for all rounding
19053 modes to parse_args.
19054 (parse_auto_input): Separate inputs of automatic tests from
19055 outputs before storing in %auto_tests.
19056 * math/libm-test.inc (acos_test_data): Update call to
19058 (acos_test): Use ALL_RM_TEST.
19059 (acos_tonearest_test_data): Remove.
19060 (acos_test_tonearest): Likewise.
19061 (acos_towardzero_test_data): Likewise.
19062 (acos_test_towardzero): Likewise.
19063 (acos_downward_test_data): Likewise.
19064 (acos_test_downward): Likewise.
19065 (acos_upward_test_data): Likewise.
19066 (acos_test_upward): Likewise.
19067 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19068 (asin_test_data): Likewise.
19069 (asin_test): Use ALL_RM_TEST.
19070 (asin_tonearest_test_data): Remove.
19071 (asin_test_tonearest): Likewise.
19072 (asin_towardzero_test_data): Likewise.
19073 (asin_test_towardzero): Likewise.
19074 (asin_downward_test_data): Likewise.
19075 (asin_test_downward): Likewise.
19076 (asin_upward_test_data): Likewise.
19077 (asin_test_upward): Likewise.
19078 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19079 (atan_test_data): Likewise.
19080 (atanh_test_data): Likewise.
19081 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19082 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19083 (carg_test_data): Likewise.
19084 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19085 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19086 (ccosh_test_data): Likewise.
19087 (cexp_test_data): Likewise.
19088 (clog_test_data): Likewise.
19089 (clog10_test_data): Likewise.
19090 (cos_test_data): Update call to AUTO_TESTS_f_f.
19091 (cos_test): Use ALL_RM_TEST.
19092 (cos_tonearest_test_data): Remove.
19093 (cos_test_tonearest): Likewise.
19094 (cos_towardzero_test_data): Likewise.
19095 (cos_test_towardzero): Likewise.
19096 (cos_downward_test_data): Likewise.
19097 (cos_test_downward): Likewise.
19098 (cos_upward_test_data): Likewise.
19099 (cos_test_upward): Likewise.
19100 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19101 (cosh_test): Use ALL_RM_TEST.
19102 (cosh_tonearest_test_data): Remove.
19103 (cosh_test_tonearest): Likewise.
19104 (cosh_towardzero_test_data): Likewise.
19105 (cosh_test_towardzero): Likewise.
19106 (cosh_downward_test_data): Likewise.
19107 (cosh_test_downward): Likewise.
19108 (cosh_upward_test_data): Likewise.
19109 (cosh_test_upward): Likewise.
19110 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19111 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19112 (ctan_test_data): Likewise.
19113 (ctan_test): Use ALL_RM_TEST.
19114 (ctan_tonearest_test_data): Remove.
19115 (ctan_test_tonearest): Likewise.
19116 (ctan_towardzero_test_data): Likewise.
19117 (ctan_test_towardzero): Likewise.
19118 (ctan_downward_test_data): Likewise.
19119 (ctan_test_downward): Likewise.
19120 (ctan_upward_test_data): Likewise.
19121 (ctan_test_upward): Likewise.
19122 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19123 (ctanh_test): Use ALL_RM_TEST.
19124 (ctanh_tonearest_test_data): Remove.
19125 (ctanh_test_tonearest): Likewise.
19126 (ctanh_towardzero_test_data): Likewise.
19127 (ctanh_test_towardzero): Likewise.
19128 (ctanh_downward_test_data): Likewise.
19129 (ctanh_test_downward): Likewise.
19130 (ctanh_upward_test_data): Likewise.
19131 (ctanh_test_upward): Likewise.
19132 (erf_test_data): Update call to AUTO_TESTS_f_f.
19133 (erfc_test_data): Likewise.
19134 (exp_test_data): Likewise.
19135 (exp_test): Use ALL_RM_TEST.
19136 (exp_tonearest_test_data): Remove.
19137 (exp_test_tonearest): Likewise.
19138 (exp_towardzero_test_data): Likewise.
19139 (exp_test_towardzero): Likewise.
19140 (exp_downward_test_data): Likewise.
19141 (exp_test_downward): Likewise.
19142 (exp_upward_test_data): Likewise.
19143 (exp_test_upward): Likewise.
19144 (exp10_test_data): Update call to AUTO_TESTS_f_f.
19145 (exp10_test): Use ALL_RM_TEST.
19146 (exp10_tonearest_test_data): Remove.
19147 (exp10_test_tonearest): Likewise.
19148 (exp10_towardzero_test_data): Likewise.
19149 (exp10_test_towardzero): Likewise.
19150 (exp10_downward_test_data): Likewise.
19151 (exp10_test_downward): Likewise.
19152 (exp10_upward_test_data): Likewise.
19153 (exp10_test_upward): Likewise.
19154 (exp2_test_data): Update call to AUTO_TESTS_f_f.
19155 (expm1_test_data): Likewise.
19156 (expm1_test): Use ALL_RM_TEST.
19157 (expm1_tonearest_test_data): Remove.
19158 (expm1_test_tonearest): Likewise.
19159 (expm1_towardzero_test_data): Likewise.
19160 (expm1_test_towardzero): Likewise.
19161 (expm1_downward_test_data): Likewise.
19162 (expm1_test_downward): Likewise.
19163 (expm1_upward_test_data): Likewise.
19164 (expm1_test_upward): Likewise.
19165 (fma_test_data): Update call to AUTO_TESTS_fff_f.
19166 (fma_test): Use ALL_RM_TEST.
19167 (fma_towardzero_test_data): Remove.
19168 (fma_test_towardzero): Likewise.
19169 (fma_downward_test_data): Likewise.
19170 (fma_test_downward): Likewise.
19171 (fma_upward_test_data): Likewise.
19172 (fma_test_upward): Likewise.
19173 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19174 (j0_test_data): Update call to AUTO_TESTS_f_f.
19175 (j1_test_data): Likewise.
19176 (jn_test_data): Update call to AUTO_TESTS_if_f.
19177 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19178 (log_test_data): Update call to AUTO_TESTS_f_f.
19179 (log10_test_data): Likewise.
19180 (log1p_test_data): Likewise.
19181 (log2_test_data): Likewise.
19182 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19183 (pow_tonearest_test_data): Likewise.
19184 (sin_test_data): Update call to AUTO_TESTS_f_f.
19185 (sin_test): Use ALL_RM_TEST.
19186 (sin_tonearest_test_data): Remove.
19187 (sin_test_tonearest): Likewise.
19188 (sin_towardzero_test_data): Likewise.
19189 (sin_test_towardzero): Likewise.
19190 (sin_downward_test_data): Likewise.
19191 (sin_test_downward): Likewise.
19192 (sin_upward_test_data): Likewise.
19193 (sin_test_upward): Likewise.
19194 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19195 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19196 (sinh_test): Use ALL_RM_TEST.
19197 (sinh_tonearest_test_data): Remove.
19198 (sinh_test_tonearest): Likewise.
19199 (sinh_towardzero_test_data): Likewise.
19200 (sinh_test_towardzero): Likewise.
19201 (sinh_downward_test_data): Likewise.
19202 (sinh_test_downward): Likewise.
19203 (sinh_upward_test_data): Likewise.
19204 (sinh_test_upward): Likewise.
19205 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19206 (sqrt_test): Use ALL_RM_TEST.
19207 (sqrt_tonearest_test_data): Remove.
19208 (sqrt_test_tonearest): Likewise.
19209 (sqrt_towardzero_test_data): Likewise.
19210 (sqrt_test_towardzero): Likewise.
19211 (sqrt_downward_test_data): Likewise.
19212 (sqrt_test_downward): Likewise.
19213 (sqrt_upward_test_data): Likewise.
19214 (sqrt_test_upward): Likewise.
19215 (tan_test_data): Update call to AUTO_TESTS_f_f.
19216 (tan_test): Use ALL_RM_TEST.
19217 (tan_tonearest_test_data): Remove.
19218 (tan_test_tonearest): Likewise.
19219 (tan_towardzero_test_data): Likewise.
19220 (tan_test_towardzero): Likewise.
19221 (tan_downward_test_data): Likewise.
19222 (tan_test_downward): Likewise.
19223 (tan_upward_test_data): Likewise.
19224 (tan_test_upward): Likewise.
19225 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19226 (tgamma_test_data): Likewise.
19227 (y0_test_data): Likewise.
19228 (y1_test_data): Likewise.
19229 (yn_test_data): Update call to AUTO_TESTS_if_f.
19230 (main): Do not call removed functions.
19232 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19234 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19235 (ldexp_test_data): Remove.
19236 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19238 (scalb_test): Use ALL_RM_TEST.
19240 2014-03-19 Andreas Schwab <schwab@suse.de>
19242 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19244 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19247 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19248 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19249 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19250 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19251 (__ASSUME_PREADV): Undefine.
19252 (__ASSUME_PWRITEV): Likewise.
19254 2014-03-18 Roland McGrath <roland@hack.frob.com>
19256 * bits/mman-linux.h: Add comment about non-Linux use.
19257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19258 bits/mman-linux.h resting place.
19260 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19261 * bits/mman-linux.h: ... here.
19263 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19265 * conform/conformtest.pl: Add standard definition when calling C
19266 preprocessor on data files.
19267 (checknamespace): Remove unused variable.
19269 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19271 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19272 minus_oflow, plus_uflow and minus_uflow in expected results.
19273 * math/libm-test.inc (scalbn_test_data): Add more tests of
19274 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19276 (scalbn_test): Use ALL_RM_TEST.
19277 (scalbln_test_data): Add more tests of negative arguments. Use
19278 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19279 (scalbln_test): Use ALL_RM_TEST.
19281 2014-03-18 Roland McGrath <roland@hack.frob.com>
19283 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19285 2014-03-18 Will Newton <will.newton@linaro.org>
19287 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19288 inaccurate comment.
19290 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19292 * Makerules [!subdir] (check-abi): Exit with error status if a
19295 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19297 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19298 for rint. Include results for all rounding modes.
19299 (nearbyint_test): Use ALL_RM_TEST.
19300 (rint_test_data): Include all tests used for nearbyint.
19302 2014-03-17 Will Newton <will.newton@linaro.org>
19304 * nptl/sysdeps/pthread/pthread.h: Revert previous
19307 * sysdeps/generic/ldsodefs.h: Revert previous
19310 * libio/genops.c: Revert previous change.
19311 * libio/libioP.h: Likewise.
19312 * stdio-common/vfprintf.c: Likewise.
19314 * sysdeps/generic/math_private.h: Revert previous
19317 * sysdeps/generic/math_private.h: Check whether
19318 HAVE_RM_CTX is defined with #ifdef rather
19321 * argp/argp-fmtstream.h: Check whether
19322 __STRICT_ANSI__ is defined with #ifdef rather
19324 * argp/argp.h: Likewise.
19326 * libio/genops.c: Check whether
19327 _IO_JUMPS_OFFSET is defined with #ifdef rather
19329 * libio/libioP.h: Likewise.
19330 * stdio-common/vfprintf.c: Likewise.
19332 * sysdeps/generic/ldsodefs.h: Check whether
19333 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19336 * nptl/sysdeps/pthread/pthread.h: Check
19337 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19340 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19342 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19344 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19348 * libio/fileops.c (_IO_file_open): Seek to end of file but
19349 don't cache the offset.
19350 (get_file_offset): Remove function.
19351 (do_ftell): Use cached offset when available.
19352 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19353 don't cache the offset.
19354 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19356 (do_one_test): Call it.
19357 (do_ftell_test): Fix up expected old offset for a+ mode.
19358 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19361 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19362 up test status with function return status.
19363 (do_write_test): Likewise.
19364 (do_append_test): Likewise.
19366 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19367 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19370 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19372 * math/gen-libm-test.pl (parse_args): Handle results specified for
19373 each rounding mode separately.
19374 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19375 tests and results from lrint_tonearest_test_data,
19376 lrint_towardzero_test_data, lrint_downward_test_data and
19377 lrint_upward_test_data.
19378 (lrint_test): Use ALL_RM_TEST.
19379 (lrint_tonearest_test_data): Remove.
19380 (lrint_test_tonearest): Likewise.
19381 (lrint_towardzero_test_data): Likewise.
19382 (lrint_test_towardzero): Likewise.
19383 (lrint_downward_test_data): Likewise.
19384 (lrint_test_downward): Likewise.
19385 (lrint_upward_test_data): Likewise.
19386 (lrint_test_upward): Likewise.
19387 (llrint_test_data): Merge in per-rounding-mode tests and results
19388 from llrint_tonearest_test_data, llrint_towardzero_test_data,
19389 llrint_downward_test_data and llrint_upward_test_data.
19390 (llrint_test): Use ALL_RM_TEST.
19391 (llrint_tonearest_test_data): Remove.
19392 (llrint_test_tonearest): Likewise.
19393 (llrint_towardzero_test_data): Likewise.
19394 (llrint_test_towardzero): Likewise.
19395 (llrint_downward_test_data): Likewise.
19396 (llrint_test_downward): Likewise.
19397 (llrint_upward_test_data): Likewise.
19398 (llrint_test_upward): Likewise.
19399 (rint_test_data): Merge in per-rounding-mode tests and results
19400 from rint_tonearest_test_data, rint_towardzero_test_data,
19401 rint_downward_test_data and rint_upward_test_data. Add
19402 per-rounding-mode results for tests not in those arrays.
19403 (rint_test): Use ALL_RM_TEST.
19404 (rint_tonearest_test_data): Remove.
19405 (rint_test_tonearest): Likewise.
19406 (rint_towardzero_test_data): Likewise.
19407 (rint_test_towardzero): Likewise.
19408 (rint_downward_test_data): Likewise.
19409 (rint_test_downward): Likewise.
19410 (rint_upward_test_data): Likewise.
19411 (rint_test_upward): Likewise.
19412 (main): Don't call removed functions.
19414 2014-03-14 Roland McGrath <roland@hack.frob.com>
19416 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19417 "Compiled on ..." crapola. It is anti-useful.
19419 2014-03-14 Joseph Myers <joseph@codesourcery.com>
19421 * scripts/evaluate-test.sh: Handle fourth argument to determine
19422 whether test run should stop on failure.
19423 * Makeconfig (stop-on-test-failure): New variable.
19424 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19425 $(stop-on-test-failure).
19426 * Makefile (tests): Give a summary of results from testing and
19427 exit with failure status if they include an ERROR or FAIL.
19428 (xtests): Likewise.
19429 * manual/install.texi (Configuring and compiling): Mention
19430 stop-on-test-failure=y.
19431 * INSTALL: Regenerated.
19433 2014-03-14 Roland McGrath <roland@hack.frob.com>
19435 * scripts/versionlist.awk: New file.
19436 * Makerules [$(build-shared) = yes]
19437 (postclean-generated): Add Versions.def, not Versions.def.v and
19439 ($(common-objpfx)Versions.def.v.i): Target removed.
19440 ($(common-objpfx)Versions.def): New target.
19441 ($(common-objpfx)Versions.all): Depend on that rather that
19442 $(common-objpfx)Versions.def.v.
19443 * Versions.def: File removed.
19445 * Makeconfig (+gccwarn): Add -Wundef.
19446 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19447 a dl-sysdep.h breaking its contract.
19448 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19449 * include/stackinfo.h: New file.
19450 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19451 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19452 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19453 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19454 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19455 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19456 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19457 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19458 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19459 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19460 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19461 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19462 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19463 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19464 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19466 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19469 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19471 * math/libm-test.inc (round_test_data): Add more tests.
19474 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19476 * math/libm-test.inc (nearbyint_test_data): Add more tests.
19479 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19481 * math/libm-test.inc (ceil_test_data): Add more tests.
19483 * math/libm-test.inc (trunc_test_data): Add more tests related to
19486 2014-03-14 Roland McGrath <roland@hack.frob.com>
19488 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19489 with #if rather than #ifdef.
19490 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19492 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
19494 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19495 first. Disable AVX-512 GCC support if assembler doesn't support
19497 * sysdeps/x86_64/configure: Regenerated.
19499 2014-03-13 Carlos O'Donell <carlos@redhat.com>
19501 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19502 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19503 (__old_pthread_attr_setstack): Likewise.
19504 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19505 [!_STACK_GROWS_DOWN]: Likewise.
19507 2014-03-13 Mike Frysinger <vapier@gentoo.org>
19509 * config.make.in (have-bash2): Delete.
19510 * configure.ac (libc_cv_have_bash2): Delete.
19511 * configure: Regenerate.
19512 * elf/Makefile (common-ldd-rewrite): Rename to ...
19513 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
19514 (sh-ldd-rewrite): Delete.
19515 (bash-ldd-rewrite): Delete.
19516 (have-bash2): Delete checks.
19517 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19520 * config.make.in (have-ksh): Delete.
19522 * configure.ac (libc_cv_have_ksh): Delete.
19523 * configure: Regenerate.
19525 * elf/Makefile: Delete $(have-ksh) check.
19526 ($(objpfx)sotruss): Change KSH to BASH.
19527 * elf/sotruss.ksh: Rename to ...
19528 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
19529 function style to match POSIX. Drop ksh vim mode setting.
19531 * manual/time.texi (Specifying the Time Zone with TZ): Change
19532 Tuesday to Thursday.
19534 * debug/tst-longjmp_chk2.c: Update header comment.
19535 (stackoverflow_handler): Add comment. Call assert on pass value.
19537 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
19540 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19541 (HAVE_AVX512_ASM_SUPPORT): Likewise.
19542 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19543 (La_x86_64_vector): Add zmm.
19544 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19545 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19546 ($(objpfx)tst-audit10): New target.
19547 ($(objpfx)tst-audit10.out): Likewise.
19548 (tst-audit10-ENV): New.
19549 (AVX512-CFLAGS): Likewise.
19550 (CFLAGS-tst-audit10.c): Likewise.
19551 (CFLAGS-tst-auditmod10a.c): Likewise.
19552 (CFLAGS-tst-auditmod10b.c): Likewise.
19553 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19554 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19555 * sysdeps/x86_64/configure: Regenerated.
19556 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19557 AVX-512 zmm register support.
19558 (_dl_x86_64_save_sse): Likewise.
19559 (_dl_x86_64_restore_sse): Likewise.
19560 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19561 size vector registers.
19562 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19563 (ZMM_SIZE): Likewise.
19564 * sysdeps/x86_64/tst-audit10.c: New file.
19565 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19566 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19568 2014-03-13 Roland McGrath <roland@hack.frob.com>
19570 * configure.ac (HAVE_EHDR_START): New check.
19571 * configure: Regenerated.
19572 * config.h.in (HAVE_EHDR_START): New #undef.
19573 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19574 assuming the lowest-addressed segment maps the start of the file.
19576 2014-03-13 Joseph Myers <joseph@codesourcery.com>
19578 * INSTALL: Regenerated.
19580 2014-03-13 Will Newton <will.newton@linaro.org>
19582 * manual/setjmp.texi (System V contexts): Improve
19583 clarity and grammar of documentation.
19585 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
19588 * elf/Makefile (tests): Add tst-pie2.
19589 (tests-pie): Add tst-pie2.
19590 * elf/tst-pie2.c: New file.
19591 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19593 * elf/rtld.c (map_doit): Load executable as lt_executable.
19594 (dl_main): Likewise.
19596 2014-03-12 Joseph Myers <joseph@codesourcery.com>
19599 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19600 (__ASSUME_PSELECT): Undefine.
19602 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19605 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19606 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19608 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19609 selector for static builds.
19611 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19614 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19617 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19619 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19620 IFUNC selector for static builds.
19622 2014-03-11 Joseph Myers <joseph@codesourcery.com>
19624 * sysdeps/mips/math_private.h [__mips_hard_float]
19625 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19626 libc_feresetround_mips_ctx.
19627 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19628 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19629 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19632 * math/s_nextafter.c (__nextafter): Do not return value from
19633 overflowing computation.
19634 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19635 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19636 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19638 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19640 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19641 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19643 2014-03-11 Roland McGrath <roland@hack.frob.com>
19645 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19646 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19647 Move sfi_sp use from the load-multiple (that no longer sets sp) to
19648 the new mov targetting sp.
19650 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19653 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19654 Define it for static builds as well.
19655 (NO_BZERO_IMPL): Likewise.
19657 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19659 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19660 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19661 multiarch strspn for PPC64.
19662 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19663 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19665 (__libc_ifunc_impl_list): Likewise.
19666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19667 multiarch optimizations
19668 * string/strspn.c (strspn): Using macro to redefine symbol name.
19670 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19671 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19673 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19674 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19675 multiarch strncat for PPC64.
19676 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19677 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19679 (__libc_ifunc_impl_list): Likewise.
19680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19681 multiarch optimizations
19683 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19686 * nscd/nscd.service: Make service type forking.
19688 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19690 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19691 sign in non default rounding modes.
19692 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19694 2014-03-08 Joseph Myers <joseph@codesourcery.com>
19696 * math/libm-test.inc (ALL_RM_TEST): New macro.
19697 (ceil_test): Use ALL_RM_TEST.
19698 (cimag_test): Likewise.
19699 (conj_test): Likewise.
19700 (copysign_test): Likewise.
19701 (cproj_test): Likewise.
19702 (creal_test): Likewise.
19703 (fabs_test): Likewise.
19704 (floor_test): Likewise.
19705 (fmax_test): Likewise.
19706 (fmin_test): Likewise.
19707 (fmod_test): Likewise.
19708 (fpclassify_test): Likewise.
19709 (frexp_test): Likewise.
19710 (ilogb_test): Likewise.
19711 (isfinite_test): Likewise.
19712 (finite_test): Likewise.
19713 (isgreater_test): Likewise.
19714 (isgreaterequal_test): Likewise.
19715 (isinf_test): Likewise.
19716 (isless_test): Likewise.
19717 (islessequal_test): Likewise.
19718 (islessgreater_test): Likewise.
19719 (isnan_test): Likewise.
19720 (isnormal_test): Likewise.
19721 (issignaling_test): Likewise.
19722 (isunordered_test): Likewise.
19723 (logb_test): Likewise.
19724 (logb_downward_test_data): Remove.
19725 (logb_test_downward): Likewise.
19726 (lround_test): Use ALL_RM_TEST.
19727 (llround_test): Likewise.
19728 (modf_test): Likewise.
19729 (nexttoward_test): Likewise.
19730 (remainder_test): Likewise.
19731 (drem_test): Likewise.
19732 (remainder_tonearest_test_data): Likewise.
19733 (remainder_test_tonearest): Likewise.
19734 (drem_test_tonearest): Likewise.
19735 (remainder_towardzero_test_data): Likewise.
19736 (remainder_test_towardzero): Likewise.
19737 (drem_test_towardzero): Likewise.
19738 (remainder_downward_test_data): Likewise.
19739 (remainder_test_downward): Likewise.
19740 (drem_test_downward): Likewise.
19741 (remainder_upward_test_data): Likewise.
19742 (remainder_test_upward): Likewise.
19743 (drem_test_upward): Likewise.
19744 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
19745 (round_test): Use ALL_RM_TEST.
19746 (signbit_test): Likewise.
19747 (trunc_test): Likewise.
19748 (significand_test): Likewise.
19749 (main): Don't call removed functions.
19751 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19754 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19755 || __USE_XOPEN2K8].
19756 (ILL_ILLOPN): Likewise.
19757 (ILL_ILLADR): Likewise.
19758 (ILL_ILLTRP): Likewise.
19759 (ILL_PRVOPC): Likewise.
19760 (ILL_PRVREG): Likewise.
19761 (ILL_COPROC): Likewise.
19762 (ILL_BADSTK): Likewise.
19763 (FPE_INTDIV): Likewise.
19764 (FPE_INTOVF): Likewise.
19765 (FPE_FLTDIV): Likewise.
19766 (FPE_FLTOVF): Likewise.
19767 (FPE_FLTUND): Likewise.
19768 (FPE_FLTRES): Likewise.
19769 (FPE_FLTINV): Likewise.
19770 (FPE_FLTSUB): Likewise.
19771 (SEGV_MAPERR): Likewise.
19772 (SEGV_ACCERR): Likewise.
19773 (BUS_ADRALN): Likewise.
19774 (BUS_ADRERR): Likewise.
19775 (BUS_OBJERR): Likewise.
19776 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19777 (TRAP_TRACE): Likewise.
19778 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19780 (CLD_KILLED): Likewise.
19781 (CLD_DUMPED): Likewise.
19782 (CLD_TRAPPED): Likewise.
19783 (CLD_STOPPED): Likewise.
19784 (CLD_CONTINUED): Likewise.
19785 (POLL_IN): Likewise.
19786 (POLL_OUT): Likewise.
19787 (POLL_MSG): Likewise.
19788 (POLL_ERR): Likewise.
19789 (POLL_PRI): Likewise.
19790 (POLL_HUP): Likewise.
19791 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19793 (ILL_ILLOPN): Likewise.
19794 (ILL_ILLADR): Likewise.
19795 (ILL_ILLTRP): Likewise.
19796 (ILL_PRVOPC): Likewise.
19797 (ILL_PRVREG): Likewise.
19798 (ILL_COPROC): Likewise.
19799 (ILL_BADSTK): Likewise.
19800 (FPE_INTDIV): Likewise.
19801 (FPE_INTOVF): Likewise.
19802 (FPE_FLTDIV): Likewise.
19803 (FPE_FLTOVF): Likewise.
19804 (FPE_FLTUND): Likewise.
19805 (FPE_FLTRES): Likewise.
19806 (FPE_FLTINV): Likewise.
19807 (FPE_FLTSUB): Likewise.
19808 (SEGV_MAPERR): Likewise.
19809 (SEGV_ACCERR): Likewise.
19810 (BUS_ADRALN): Likewise.
19811 (BUS_ADRERR): Likewise.
19812 (BUS_OBJERR): Likewise.
19813 (BUS_MCEERR_AR): Likewise.
19814 (BUS_MCEERR_AO): Likewise.
19815 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19816 (TRAP_TRACE): Likewise.
19817 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19819 (CLD_KILLED): Likewise.
19820 (CLD_DUMPED): Likewise.
19821 (CLD_TRAPPED): Likewise.
19822 (CLD_STOPPED): Likewise.
19823 (CLD_CONTINUED): Likewise.
19824 (POLL_IN): Likewise.
19825 (POLL_OUT): Likewise.
19826 (POLL_MSG): Likewise.
19827 (POLL_ERR): Likewise.
19828 (POLL_PRI): Likewise.
19829 (POLL_HUP): Likewise.
19830 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19831 (ILL_ILLOPN): Likewise.
19832 (ILL_ILLADR): Likewise.
19833 (ILL_ILLTRP): Likewise.
19834 (ILL_PRVOPC): Likewise.
19835 (ILL_PRVREG): Likewise.
19836 (ILL_COPROC): Likewise.
19837 (ILL_BADSTK): Likewise.
19838 (FPE_INTDIV): Likewise.
19839 (FPE_INTOVF): Likewise.
19840 (FPE_FLTDIV): Likewise.
19841 (FPE_FLTOVF): Likewise.
19842 (FPE_FLTUND): Likewise.
19843 (FPE_FLTRES): Likewise.
19844 (FPE_FLTINV): Likewise.
19845 (FPE_FLTSUB): Likewise.
19846 (SEGV_MAPERR): Likewise.
19847 (SEGV_ACCERR): Likewise.
19848 (BUS_ADRALN): Likewise.
19849 (BUS_ADRERR): Likewise.
19850 (BUS_OBJERR): Likewise.
19851 (BUS_MCEERR_AR): Likewise.
19852 (BUS_MCEERR_AO): Likewise.
19853 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19854 (TRAP_TRACE): Likewise.
19855 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19857 (CLD_KILLED): Likewise.
19858 (CLD_DUMPED): Likewise.
19859 (CLD_TRAPPED): Likewise.
19860 (CLD_STOPPED): Likewise.
19861 (CLD_CONTINUED): Likewise.
19862 (POLL_IN): Likewise.
19863 (POLL_OUT): Likewise.
19864 (POLL_MSG): Likewise.
19865 (POLL_ERR): Likewise.
19866 (POLL_PRI): Likewise.
19867 (POLL_HUP): Likewise.
19868 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19870 (ILL_ILLOPN): Likewise.
19871 (ILL_ILLADR): Likewise.
19872 (ILL_ILLTRP): Likewise.
19873 (ILL_PRVOPC): Likewise.
19874 (ILL_PRVREG): Likewise.
19875 (ILL_COPROC): Likewise.
19876 (ILL_BADSTK): Likewise.
19877 (ILL_BADIADDR): Likewise.
19878 (ILL_BREAK): Likewise.
19879 (FPE_INTDIV): Likewise.
19880 (FPE_INTOVF): Likewise.
19881 (FPE_FLTDIV): Likewise.
19882 (FPE_FLTOVF): Likewise.
19883 (FPE_FLTUND): Likewise.
19884 (FPE_FLTRES): Likewise.
19885 (FPE_FLTINV): Likewise.
19886 (FPE_FLTSUB): Likewise.
19887 (FPE_DECOVF): Likewise.
19888 (FPE_DECDIV): Likewise.
19889 (FPE_DECERR): Likewise.
19890 (FPE_INVASC): Likewise.
19891 (FPE_INVDEC): Likewise.
19892 (SEGV_MAPERR): Likewise.
19893 (SEGV_ACCERR): Likewise.
19894 (SEGV_PSTKOVF): Likewise.
19895 (BUS_ADRALN): Likewise.
19896 (BUS_ADRERR): Likewise.
19897 (BUS_OBJERR): Likewise.
19898 (BUS_MCEERR_AR): Likewise.
19899 (BUS_MCEERR_AO): Likewise.
19900 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19901 (TRAP_TRACE): Likewise.
19902 (TRAP_BRANCH): Likewise.
19903 (TRAP_HWBKPT): Likewise.
19904 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19906 (CLD_KILLED): Likewise.
19907 (CLD_DUMPED): Likewise.
19908 (CLD_TRAPPED): Likewise.
19909 (CLD_STOPPED): Likewise.
19910 (CLD_CONTINUED): Likewise.
19911 (POLL_IN): Likewise.
19912 (POLL_OUT): Likewise.
19913 (POLL_MSG): Likewise.
19914 (POLL_ERR): Likewise.
19915 (POLL_PRI): Likewise.
19916 (POLL_HUP): Likewise.
19917 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19918 (ILL_ILLOPN): Likewise.
19919 (ILL_ILLADR): Likewise.
19920 (ILL_ILLTRP): Likewise.
19921 (ILL_PRVOPC): Likewise.
19922 (ILL_PRVREG): Likewise.
19923 (ILL_COPROC): Likewise.
19924 (ILL_BADSTK): Likewise.
19925 (FPE_INTDIV): Likewise.
19926 (FPE_INTOVF): Likewise.
19927 (FPE_FLTDIV): Likewise.
19928 (FPE_FLTOVF): Likewise.
19929 (FPE_FLTUND): Likewise.
19930 (FPE_FLTRES): Likewise.
19931 (FPE_FLTINV): Likewise.
19932 (FPE_FLTSUB): Likewise.
19933 (SEGV_MAPERR): Likewise.
19934 (SEGV_ACCERR): Likewise.
19935 (BUS_ADRALN): Likewise.
19936 (BUS_ADRERR): Likewise.
19937 (BUS_OBJERR): Likewise.
19938 (BUS_MCEERR_AR): Likewise.
19939 (BUS_MCEERR_AO): Likewise.
19940 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19941 (TRAP_TRACE): Likewise.
19942 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19944 (CLD_KILLED): Likewise.
19945 (CLD_DUMPED): Likewise.
19946 (CLD_TRAPPED): Likewise.
19947 (CLD_STOPPED): Likewise.
19948 (CLD_CONTINUED): Likewise.
19949 (POLL_IN): Likewise.
19950 (POLL_OUT): Likewise.
19951 (POLL_MSG): Likewise.
19952 (POLL_ERR): Likewise.
19953 (POLL_PRI): Likewise.
19954 (POLL_HUP): Likewise.
19955 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19956 (ILL_ILLOPN): Likewise.
19957 (ILL_ILLADR): Likewise.
19958 (ILL_ILLTRP): Likewise.
19959 (ILL_PRVOPC): Likewise.
19960 (ILL_PRVREG): Likewise.
19961 (ILL_COPROC): Likewise.
19962 (ILL_BADSTK): Likewise.
19963 (FPE_INTDIV): Likewise.
19964 (FPE_INTOVF): Likewise.
19965 (FPE_FLTDIV): Likewise.
19966 (FPE_FLTOVF): Likewise.
19967 (FPE_FLTUND): Likewise.
19968 (FPE_FLTRES): Likewise.
19969 (FPE_FLTINV): Likewise.
19970 (FPE_FLTSUB): Likewise.
19971 (SEGV_MAPERR): Likewise.
19972 (SEGV_ACCERR): Likewise.
19973 (BUS_ADRALN): Likewise.
19974 (BUS_ADRERR): Likewise.
19975 (BUS_OBJERR): Likewise.
19976 (BUS_MCEERR_AR): Likewise.
19977 (BUS_MCEERR_AO): Likewise.
19978 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19979 (TRAP_TRACE): Likewise.
19980 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19982 (CLD_KILLED): Likewise.
19983 (CLD_DUMPED): Likewise.
19984 (CLD_TRAPPED): Likewise.
19985 (CLD_STOPPED): Likewise.
19986 (CLD_CONTINUED): Likewise.
19987 (POLL_IN): Likewise.
19988 (POLL_OUT): Likewise.
19989 (POLL_MSG): Likewise.
19990 (POLL_ERR): Likewise.
19991 (POLL_PRI): Likewise.
19992 (POLL_HUP): Likewise.
19993 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19994 (ILL_ILLOPN): Likewise.
19995 (ILL_ILLADR): Likewise.
19996 (ILL_ILLTRP): Likewise.
19997 (ILL_PRVOPC): Likewise.
19998 (ILL_PRVREG): Likewise.
19999 (ILL_COPROC): Likewise.
20000 (ILL_BADSTK): Likewise.
20001 (FPE_INTDIV): Likewise.
20002 (FPE_INTOVF): Likewise.
20003 (FPE_FLTDIV): Likewise.
20004 (FPE_FLTOVF): Likewise.
20005 (FPE_FLTUND): Likewise.
20006 (FPE_FLTRES): Likewise.
20007 (FPE_FLTINV): Likewise.
20008 (FPE_FLTSUB): Likewise.
20009 (SEGV_MAPERR): Likewise.
20010 (SEGV_ACCERR): Likewise.
20011 (BUS_ADRALN): Likewise.
20012 (BUS_ADRERR): Likewise.
20013 (BUS_OBJERR): Likewise.
20014 (BUS_MCEERR_AR): Likewise.
20015 (BUS_MCEERR_AO): Likewise.
20016 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20017 (TRAP_TRACE): Likewise.
20018 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20020 (CLD_KILLED): Likewise.
20021 (CLD_DUMPED): Likewise.
20022 (CLD_TRAPPED): Likewise.
20023 (CLD_STOPPED): Likewise.
20024 (CLD_CONTINUED): Likewise.
20025 (POLL_IN): Likewise.
20026 (POLL_OUT): Likewise.
20027 (POLL_MSG): Likewise.
20028 (POLL_ERR): Likewise.
20029 (POLL_PRI): Likewise.
20030 (POLL_HUP): Likewise.
20031 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20032 (ILL_ILLOPN): Likewise.
20033 (ILL_ILLADR): Likewise.
20034 (ILL_ILLTRP): Likewise.
20035 (ILL_PRVOPC): Likewise.
20036 (ILL_PRVREG): Likewise.
20037 (ILL_COPROC): Likewise.
20038 (ILL_BADSTK): Likewise.
20039 (ILL_DBLFLT): Likewise.
20040 (ILL_HARDWALL): Likewise.
20041 (FPE_INTDIV): Likewise.
20042 (FPE_INTOVF): Likewise.
20043 (FPE_FLTDIV): Likewise.
20044 (FPE_FLTOVF): Likewise.
20045 (FPE_FLTUND): Likewise.
20046 (FPE_FLTRES): Likewise.
20047 (FPE_FLTINV): Likewise.
20048 (FPE_FLTSUB): Likewise.
20049 (SEGV_MAPERR): Likewise.
20050 (SEGV_ACCERR): Likewise.
20051 (BUS_ADRALN): Likewise.
20052 (BUS_ADRERR): Likewise.
20053 (BUS_OBJERR): Likewise.
20054 (BUS_MCEERR_AR): Likewise.
20055 (BUS_MCEERR_AO): Likewise.
20056 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20057 (TRAP_TRACE): Likewise.
20058 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20060 (CLD_KILLED): Likewise.
20061 (CLD_DUMPED): Likewise.
20062 (CLD_TRAPPED): Likewise.
20063 (CLD_STOPPED): Likewise.
20064 (CLD_CONTINUED): Likewise.
20065 (POLL_IN): Likewise.
20066 (POLL_OUT): Likewise.
20067 (POLL_MSG): Likewise.
20068 (POLL_ERR): Likewise.
20069 (POLL_PRI): Likewise.
20070 (POLL_HUP): Likewise.
20071 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20072 (ILL_ILLOPN): Likewise.
20073 (ILL_ILLADR): Likewise.
20074 (ILL_ILLTRP): Likewise.
20075 (ILL_PRVOPC): Likewise.
20076 (ILL_PRVREG): Likewise.
20077 (ILL_COPROC): Likewise.
20078 (ILL_BADSTK): Likewise.
20079 (FPE_INTDIV): Likewise.
20080 (FPE_INTOVF): Likewise.
20081 (FPE_FLTDIV): Likewise.
20082 (FPE_FLTOVF): Likewise.
20083 (FPE_FLTUND): Likewise.
20084 (FPE_FLTRES): Likewise.
20085 (FPE_FLTINV): Likewise.
20086 (FPE_FLTSUB): Likewise.
20087 (SEGV_MAPERR): Likewise.
20088 (SEGV_ACCERR): Likewise.
20089 (BUS_ADRALN): Likewise.
20090 (BUS_ADRERR): Likewise.
20091 (BUS_OBJERR): Likewise.
20092 (BUS_MCEERR_AR): Likewise.
20093 (BUS_MCEERR_AO): Likewise.
20094 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20095 (TRAP_TRACE): Likewise.
20096 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20098 (CLD_KILLED): Likewise.
20099 (CLD_DUMPED): Likewise.
20100 (CLD_TRAPPED): Likewise.
20101 (CLD_STOPPED): Likewise.
20102 (CLD_CONTINUED): Likewise.
20103 (POLL_IN): Likewise.
20104 (POLL_OUT): Likewise.
20105 (POLL_MSG): Likewise.
20106 (POLL_ERR): Likewise.
20107 (POLL_PRI): Likewise.
20108 (POLL_HUP): Likewise.
20109 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20110 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20113 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20114 before #include of <time.h>.
20115 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20116 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20117 (test-xfail-UNIX98/sched.h/conform): Likewise.
20119 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20121 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20122 error absence of trapping exception support.
20123 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20125 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20127 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20128 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20129 * timezone/Makefile (testdata): Move definition above include of
20131 (test-zones): New variable.
20132 (tests-special): Add zone files.
20133 (build-testdata): Use $(evaluate-test).
20135 * elf/Makefile (tests-special): Rename tests to end with .out.
20136 ($(objpfx)noload-mem): Likewise.
20137 ($(objpfx)tst-leaks1-mem): Likewise.
20138 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20139 * iconv/Makefile (xtests-special): Change test-iconvconfig to
20140 $(objpfx)test-iconvconfig.out.
20141 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
20142 set -e inside subshell and redirect output to file.
20143 * iconvdata/Makefile (generated): Rename tests to end with .out.
20145 (tests-special): Rename tests to end with .out.
20146 ($(objpfx)mtrace-tst-loading): Likewise.
20147 * intl/Makefile (generated): Likewise.
20148 (tests-special): Likewise.
20149 ($(objpfx)mtrace-tst-gettext): Likewise.
20150 * misc/Makefile (generated): Likewise.
20151 (tests-special): Likewise.
20152 ($(objpfx)tst-error1-mem): Likewise.
20153 * nptl/Makefile (tests-special): Likewise.
20154 ($(objpfx)tst-stack3-mem): Likewise.
20155 (generated): Likewise.
20156 * posix/Makefile (generated): Likewise.
20157 (tests-special): Likewise.
20158 (xtests-special): Likewise.
20159 ($(objpfx)tst-fnmatch-mem): Likewise.
20160 ($(objpfx)bug-regex2-mem): Likewise.
20161 ($(objpfx)bug-regex14-mem): Likewise.
20162 ($(objpfx)bug-regex21-mem): Likewise.
20163 ($(objpfx)bug-regex31-mem): Likewise.
20164 ($(objpfx)tst-vfork3-mem): Likewise.
20165 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20166 ($(objpfx)tst-pcre-mem): Likewise.
20167 ($(objpfx)tst-boost-mem): Likewise.
20168 ($(objpfx)bug-ga2-mem): Likewise.
20169 ($(objpfx)bug-glob2-mem): Likewise.
20170 * resolv/Makefile (generate): Likewise.
20171 (tests-special): Likewise.
20172 (xtests-special): Likewise.
20173 (generated): Likewise.
20174 ($(objpfx)mtrace-tst-leaks): Likewise.
20175 ($(objpfx)mtrace-tst-leaks2): Likewise.
20177 * scripts/merge-test-results.sh: New file.
20178 * Makefile (tests-special-notdir): New variable.
20179 (tests): Run merge-test-results.sh.
20180 (xtests): Likewise.
20181 * Rules (tests-special-notdir): New variable.
20182 (xtests-special-notdir): Likewise.
20183 (tests): Run merge-test-results.sh
20184 (xtests): Likewise.
20186 * Makeconfig (test-xfail-name): New variable.
20187 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20188 compute variable name for expected failures.
20189 * conform/Makefile (conformtest-headers-data): New variable.
20190 (conformtest-standards): Likewise.
20191 (conformtest-headers-ISO): Likewise.
20192 (conformtest-headers-ISO99): Likewise.
20193 (conformtest-headers-ISO11): Likewise.
20194 (conformtest-headers-POSIX): Likewise.
20195 (conformtest-headers-XPG3): Likewise.
20196 (conformtest-headers-XPG4): Likewise.
20197 (conformtest-headers-UNIX98): Likewise.
20198 (conformtest-headers-XOPEN2K): Likewise.
20199 (conformtest-headers-POSIX2008): Likewise.
20200 (conformtest-headers-XOPEN2K8): Likewise.
20201 (conformtest-header-list-base): Likewise.
20202 (conformtest-header-list-tests): Likewise.
20203 (conformtest-header-base): Likewise.
20204 (conformtest-header-tests): Likewise.
20205 (tests-special): Add $(conformtest-header-list-tests). If
20206 [$(fast-check) && !$(cross-compiling)], add
20207 $(conformtest-header-tests) instead of
20208 $(objpfx)run-conformtest.out.
20209 (generated): Add $(conformtest-header-list-base). If
20210 [$(fast-check) && !$(cross-compiling)], add
20211 $(conformtest-header-base). Remove previous setting.
20212 ($(conformtest-header-list-tests)): New target.
20213 (test-xfail-run-conformtest): Remove variable.
20214 ($(objpfx)run-conformtest.out): Remove target.
20215 (test-xfail-ISO11/complex.h/conform): New variable.
20216 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20217 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20218 (test-xfail-XPG3/varargs.h/conform): Likewise.
20219 (test-xfail-XPG4/varargs.h/conform): Likewise.
20220 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20221 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20222 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20223 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20224 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20225 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20226 (test-xfail-XPG3/ftw.h/conform): Likewise.
20227 (test-xfail-XPG3/grp.h/conform): Likewise.
20228 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20229 (test-xfail-XPG3/limits.h/conform): Likewise.
20230 (test-xfail-XPG3/pwd.h/conform): Likewise.
20231 (test-xfail-XPG3/search.h/conform): Likewise.
20232 (test-xfail-XPG3/signal.h/conform): Likewise.
20233 (test-xfail-XPG3/stdio.h/conform): Likewise.
20234 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20235 (test-xfail-XPG3/string.h/conform): Likewise.
20236 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20237 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20238 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20239 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20240 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20241 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20242 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20243 (test-xfail-XPG3/termios.h/conform): Likewise.
20244 (test-xfail-XPG3/time.h/conform): Likewise.
20245 (test-xfail-XPG3/unistd.h/conform): Likewise.
20246 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20247 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20248 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20249 (test-xfail-XPG4/netdb.h/conform): Likewise.
20250 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20251 (test-xfail-XPG4/signal.h/conform): Likewise.
20252 (test-xfail-XPG4/stdio.h/conform): Likewise.
20253 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20254 (test-xfail-XPG4/stropts.h/conform): Likewise.
20255 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20256 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20257 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20258 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20259 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20260 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20261 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20262 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20263 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20264 (test-xfail-XPG4/termios.h/conform): Likewise.
20265 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20266 (test-xfail-XPG4/unistd.h/conform): Likewise.
20267 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20268 (test-xfail-POSIX/sched.h/conform): Likewise.
20269 (test-xfail-POSIX/signal.h/conform): Likewise.
20270 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20271 (test-xfail-POSIX/tar.h/conform): Likewise.
20272 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20273 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20274 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20275 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20276 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20277 (test-xfail-UNIX98/sched.h/conform): Likewise.
20278 (test-xfail-UNIX98/signal.h/conform): Likewise.
20279 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20280 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20281 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20282 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20283 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20284 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20285 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20286 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20287 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20288 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20289 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20290 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20291 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20292 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20293 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20294 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20295 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20296 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20297 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20298 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20299 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20300 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20301 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20302 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20303 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20304 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20305 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20306 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20307 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20308 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20309 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20310 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20311 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20312 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20313 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20314 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20315 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20316 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20317 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20318 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20319 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20320 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20321 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20322 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20323 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20324 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20325 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20326 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20327 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20328 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20329 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20330 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20331 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20332 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20333 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20334 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20335 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20336 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20337 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20338 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20339 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20340 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20341 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20342 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20343 (conformtest-cc-flags): Likewise.
20344 ($(conformtest-header-tests): New target.
20345 * conform/check-header-lists.sh: New file.
20346 * conform/run-conformtest.sh: Remove.
20348 * conform/conformtest.pl: Allow ' and \ in values given for
20350 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20352 [POSIX] (sys/types.h): Likewise.
20353 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20355 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20357 * conform/data/signal.h-data (SIGIO): Remove expectation.
20358 [XPG3] (SIGBUS): Do not expect.
20359 [POSIX || XPG3] (SIGPOLL): Likewise.
20360 [POSIX || XPG3] (SIGPROF): Likewise.
20361 [POSIX || XPG3] (SIGSYS): Likewise.
20362 [XPG3] (SIGTRAP): Likewise.
20363 [POSIX || XPG3] (SIGURG): Likewise.
20364 [POSIX || XPG3] (SIGVTALRM): Likewise.
20365 [POSIX || XPG3] (SIGXCPU): Likewise.
20366 [POSIX || XPG3] (SIGXFSZ): Likewise.
20367 [POSIX] (SA_SIGINFO): Expect.
20368 [XPG3] (siginfo_t): Do not expect type or contents.
20369 [POSIX] (si_pid): Do not expect element.
20370 [POSIX] (si_uid): Likewise.
20371 [POSIX] (si_addr): Likewise.
20372 [POSIX] (si_status): Likewise.
20373 [POSIX] (si_band): Likewise.
20374 [XPG4] (si_value): Likewise.
20375 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20376 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20377 [POSIX || XPG3] (ILL_ILLADR): Likewise.
20378 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20379 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20380 [POSIX || XPG3] (ILL_PRVREG): Likewise.
20381 [POSIX || XPG3] (ILL_COPROC): Likewise.
20382 [POSIX || XPG3] (ILL_BADSTK): Likewise.
20383 [POSIX || XPG3] (FPE_INTDIV): Likewise.
20384 [POSIX || XPG3] (FPE_INTOVF): Likewise.
20385 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20386 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20387 [POSIX || XPG3] (FPE_FLTUND): Likewise.
20388 [POSIX || XPG3] (FPE_FLTRES): Likewise.
20389 [POSIX || XPG3] (FPE_FLTINV): Likewise.
20390 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20391 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20392 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20393 [POSIX || XPG3] (BUS_ADRALN): Likewise.
20394 [POSIX || XPG3] (BUS_ADRERR): Likewise.
20395 [POSIX || XPG3] (BUS_OBJERR): Likewise.
20396 [POSIX || XPG3] (CLD_EXITED): Likewise.
20397 [POSIX || XPG3] (CLD_KILLED): Likewise.
20398 [POSIX || XPG3] (CLD_DUMPED): Likewise.
20399 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20400 [POSIX || XPG3] (CLD_STOPPED): Likewise.
20401 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20402 [POSIX || XPG3] (POLL_IN): Likewise.
20403 [POSIX || XPG3] (POLL_OUT): Likewise.
20404 [POSIX || XPG3] (POLL_MSG): Likewise.
20405 [POSIX || XPG3] (POLL_ERR): Likewise.
20406 [POSIX || XPG3] (POLL_PRI): Likewise.
20407 [POSIX || XPG3] (POLL_HUP): Likewise.
20408 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20409 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20410 (SIG*): Do not allow.
20411 [XPG3] (si_*): Likewise.
20412 [XPG3] (SI_*): Likewise.
20413 [XPG3 || XPG4] (sigev_*): Likewise.
20414 [XPG3 || XPG4] (SIGEV_*): Likewise.
20415 [XPG3 || XPG4] (sival_*): Likewise.
20416 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20417 [POSIX || XPG3] (BUS_*): Likewise.
20418 [POSIX || XPG3] (CLD_*): Likewise.
20419 [POSIX || XPG3] (FPE_*): Likewise.
20420 [POSIX || XPG3] (ILL_*): Likewise.
20421 [POSIX || XPG3] (POLL_*): Likewise.
20422 [POSIX || XPG3] (SEGV_*): Likewise.
20423 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20424 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20425 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20426 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20427 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20428 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20429 Specify type and value.
20430 (TVERSLEN): Likewise.
20431 (REGTYPE): Likewise.
20432 (AREGTYPE): Likewise.
20433 (LNKTYPE): Likewise.
20434 (SYMTYPE): Likewise.
20435 (CHRTYPE): Likewise.
20436 (BLKTYPE): Likewise.
20437 (DIRTYPE): Likewise.
20438 (FIFOTYPE): Likewise.
20439 (CONTTYPE): Likewise.
20443 (TUREAD): Likewise.
20444 (TUWRITE): Likewise.
20445 (TUEXEC): Likewise.
20446 (TGREAD): Likewise.
20447 (TGWRITE): Likewise.
20448 (TGEXEC): Likewise.
20449 (TOREAD): Likewise.
20450 (TOWRITE): Likewise.
20451 (TOEXEC): Likewise.
20452 [POSIX] (TSVTX): Expect constant.
20454 2014-03-06 Joseph Myers <joseph@codesourcery.com>
20456 * Makefile (tests): Change dependencies to ....
20457 (tests-special): ... additions to this variable.
20458 (tests): Depend on $(tests-special).
20459 * Makerules (check-abi-list): New variable.
20460 (check-abi): Depend on $(check-abi-list).
20461 [$(subdir) = elf] (tests-special): Add
20462 $(objpfx)check-abi-libc.out.
20463 [$(build-shared) = yes && subdir] (tests-special): Add
20465 [$(build-shared) = yes && subdir] (tests): Do not depend on
20467 * Rules (tests): Depend on $(tests-special).
20468 (xtests): Depend on $(xtests-special).
20469 * catgets/Makefile (tests): Change dependencies to ....
20470 (tests-special): ... additions to this variable.
20471 * conform/Makefile (tests): Change dependencies to ....
20472 (tests-special): ... additions to this variable.
20473 * elf/Makefile (tests): Change dependencies to ....
20474 (tests-special): ... additions to this variable.
20475 * grp/Makefile (tests): Change dependencies to ....
20476 (tests-special): ... additions to this variable.
20477 * iconv/Makefile (xtests): Change dependencies to ....
20478 (xtests-special): ... additions to this variable.
20479 * iconvdata/Makefile (tests): Change dependencies to ....
20480 (tests-special): ... additions to this variable.
20481 * intl/Makefile (tests): Change dependencies to ....
20482 (tests-special): ... additions to this variable. Also add
20483 $(objpfx)tst-gettext.out.
20484 * io/Makefile (tests): Change dependencies to ....
20485 (tests-special): ... additions to this variable.
20486 * libio/Makefile (tests): Change dependencies to ....
20487 (tests-special): ... additions to this variable.
20488 * malloc/Makefile (tests): Change dependencies to ....
20489 (tests-special): ... additions to this variable.
20490 * misc/Makefile (tests): Change dependencies to ....
20491 (tests-special): ... additions to this variable.
20492 * nptl/Makefile (tests): Change dependencies to ....
20493 (tests-special): ... additions to this variable.
20494 * nptl_db/Makefile (tests): Change dependencies to ....
20495 (tests-special): ... additions to this variable.
20496 * posix/Makefile (tests): Change dependencies to ....
20497 (tests-special): ... additions to this variable.
20498 (xtests): Change dependencies to ....
20499 (xtests-special): ... additions to this variable.
20500 * resolv/Makefile (tests): Change dependencies to ....
20501 (tests-special): ... additions to this variable.
20502 (xtests): Change dependencies to ....
20503 (xtests-special): ... additions to this variable.
20504 * stdio-common/Makefile (tests): Change dependencies to ....
20505 (tests-special): ... additions to this variable.
20506 (do-tst-unbputc): Remove target.
20507 (do-tst-printf): Likewise.
20508 * stdlib/Makefile (tests): Change dependencies to ....
20509 (tests-special): ... additions to this variable.
20510 * string/Makefile (tests): Change dependencies to ....
20511 (tests-special): ... additions to this variable.
20512 * sysdeps/x86/Makefile (tests): Change dependencies to ....
20513 (tests-special): ... additions to this variable.
20515 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20517 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20519 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20520 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20522 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20523 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20524 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20525 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20526 * conform/data/libgen.h-data [XPG3]: Likewise.
20527 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20528 * conform/data/ndbm.h-data [XPG3]: Likewise.
20529 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20530 * conform/data/netdb.h-data [XPG3]: Likewise.
20531 * conform/data/netinet/in.h-data [XPG3]: Likewise.
20532 * conform/data/poll.h-data [XPG3]: Likewise.
20533 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20534 * conform/data/strings.h-data [XPG3]: Likewise.
20535 * conform/data/stropts.h-data [XPG3]: Likewise.
20536 * conform/data/sys/mman.h-data [XPG3]: Likewise.
20537 * conform/data/sys/resource.h-data [XPG3]: Likewise.
20538 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20540 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20541 * conform/data/sys/time.h-data [XPG3]: Likewise.
20542 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20543 * conform/data/sys/uio.h-data [XPG3]: Likewise.
20544 * conform/data/sys/un.h-data [XPG3]: Likewise.
20545 * conform/data/syslog.h-data [XPG3]: Likewise.
20546 * conform/data/ucontext.h-data [XPG3]: Likewise.
20547 * conform/data/utmpx.h-data [XPG3]: Likewise.
20548 * conform/data/varargs.h-data [UNIX98]: Enable file.
20550 * manual/Makefile (INSTALL_INFO): Remove variable setting.
20552 * math/libm-test.inc (struct test_f_f_data): Move expected results
20553 into structure for each rounding mode.
20554 (struct test_ff_f_data): Likewise.
20555 (struct test_ff_f_data_nexttoward): Likewise.
20556 (struct test_fi_f_data): Likewise.
20557 (struct test_fl_f_data): Likewise.
20558 (struct test_if_f_data): Likewise.
20559 (struct test_fff_f_data): Likewise.
20560 (struct test_c_f_data): Likewise.
20561 (struct test_f_f1_data): Likewise.
20562 (struct test_fF_f1_data): Likewise.
20563 (struct test_ffI_f1_data): Likewise.
20564 (struct test_c_c_data): Likewise.
20565 (struct test_cc_c_data): Likewise.
20566 (struct test_f_i_data): Likewise.
20567 (struct test_ff_i_data): Likewise.
20568 (struct test_f_l_data): Likewise.
20569 (struct test_f_L_data): Likewise.
20570 (struct test_fFF_11_data): Likewise.
20572 (RM_FE_DOWNWARD): Likewise.
20573 (RM_FE_TONEAREST): Likewise.
20574 (RM_FE_TOWARDZERO): Likewise.
20575 (RM_FE_UPWARD): Likewise.
20576 (RUN_TEST_LOOP_f_f): Update references to expected results.
20577 (RUN_TEST_LOOP_2_f): Likewise.
20578 (RUN_TEST_LOOP_fff_f): Likewise.
20579 (RUN_TEST_LOOP_c_f): Likewise.
20580 (RUN_TEST_LOOP_f_f1): Likewise.
20581 (RUN_TEST_LOOP_fF_f1): Likewise.
20582 (RUN_TEST_LOOP_fI_f1): Likewise.
20583 (RUN_TEST_LOOP_ffI_f1): Likewise.
20584 (RUN_TEST_LOOP_c_c): Likewise.
20585 (RUN_TEST_LOOP_cc_c): Likewise.
20586 (RUN_TEST_LOOP_f_i): Likewise.
20587 (RUN_TEST_LOOP_f_i_tg): Likewise.
20588 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20589 (RUN_TEST_LOOP_f_b): Likewise.
20590 (RUN_TEST_LOOP_f_b_tg): Likewise.
20591 (RUN_TEST_LOOP_f_l): Likewise.
20592 (RUN_TEST_LOOP_f_L): Likewise.
20593 (RUN_TEST_LOOP_fFF_11): Likewise.
20594 * math/gen-libm-test.pl (parse_args): Output four copies of
20595 expected results for each test.
20597 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20598 (__ASSUME_UTIMES): Remove.
20599 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20600 (__ASSUME_UTIMES): Likewise.
20602 * math/gen-auto-libm-tests.c: Update comment on output format.
20603 (output_for_one_input_case): Generate before-rounding and
20604 after-rounding information as conditions on output flags not
20605 floating-point format.
20606 * math/auto-libm-test-out: Regenerated.
20607 * math/gen-libm-test.pl (cond_value): New function.
20608 (or_cond_value): Use cond_value.
20609 (generate_testfile): Handle conditional exceptions.
20611 2014-03-05 Joseph Myers <joseph@codesourcery.com>
20613 * math/libm-test.inc (max_valid_error): New variable.
20614 (init_max_error): Take new argument specifying whether function
20615 results are exactly determined. Set max_valid_error and bound
20616 other variables for errors based on this argument.
20617 (set_max_error): Do not record results above max_valid_error.
20618 (check_float_internal): Only accept errors of up to 0.5ulps if
20619 also at most max_valid_error.
20620 (START): Take new argument EXACT and pass it to init_max_error.
20621 (acos_test): Update call to START.
20622 (acos_test_tonearest): Likewise.
20623 (acos_test_towardzero): Likewise.
20624 (acos_test_downward): Likewise.
20625 (acos_test_upward): Likewise.
20626 (acosh_test): Likewise.
20627 (asin_test): Likewise.
20628 (asin_test_tonearest): Likewise.
20629 (asin_test_towardzero): Likewise.
20630 (asin_test_downward): Likewise.
20631 (asin_test_upward): Likewise.
20632 (asinh_test): Likewise.
20633 (atan_test): Likewise.
20634 (atanh_test): Likewise.
20635 (atan2_test): Likewise.
20636 (cabs_test): Likewise.
20637 (cacos_test): Likewise.
20638 (cacosh_test): Likewise.
20639 (carg_test): Likewise.
20640 (casin_test): Likewise.
20641 (casinh_test): Likewise.
20642 (catan_test): Likewise.
20643 (catanh_test): Likewise.
20644 (cbrt_test): Likewise.
20645 (ccos_test): Likewise.
20646 (ccosh_test): Likewise.
20647 (ceil_test): Likewise.
20648 (cexp_test): Likewise.
20649 (cimag_test): Likewise.
20650 (clog_test): Likewise.
20651 (clog10_test): Likewise.
20652 (conj_test): Likewise.
20653 (copysign_test): Likewise.
20654 (cos_test): Likewise.
20655 (cos_test_tonearest): Likewise.
20656 (cos_test_towardzero): Likewise.
20657 (cos_test_downward): Likewise.
20658 (cos_test_upward): Likewise.
20659 (cosh_test): Likewise.
20660 (cosh_test_tonearest): Likewise.
20661 (cosh_test_towardzero): Likewise.
20662 (cosh_test_downward): Likewise.
20663 (cosh_test_upward): Likewise.
20664 (cpow_test): Likewise.
20665 (cproj_test): Likewise.
20666 (creal_test): Likewise.
20667 (csin_test): Likewise.
20668 (csinh_test): Likewise.
20669 (csqrt_test): Likewise.
20670 (ctan_test): Likewise.
20671 (ctan_test_tonearest): Likewise.
20672 (ctan_test_towardzero): Likewise.
20673 (ctan_test_downward): Likewise.
20674 (ctan_test_upward): Likewise.
20675 (ctanh_test): Likewise.
20676 (ctanh_test_tonearest): Likewise.
20677 (ctanh_test_towardzero): Likewise.
20678 (ctanh_test_downward): Likewise.
20679 (ctanh_test_upward): Likewise.
20680 (erf_test): Likewise.
20681 (erfc_test): Likewise.
20682 (exp_test): Likewise.
20683 (exp_test_tonearest): Likewise.
20684 (exp_test_towardzero): Likewise.
20685 (exp_test_downward): Likewise.
20686 (exp_test_upward): Likewise.
20687 (exp10_test): Likewise.
20688 (exp10_test_tonearest): Likewise.
20689 (exp10_test_towardzero): Likewise.
20690 (exp10_test_downward): Likewise.
20691 (exp10_test_upward): Likewise.
20692 (pow10_test): Likewise.
20693 (exp2_test): Likewise.
20694 (expm1_test): Likewise.
20695 (expm1_test_tonearest): Likewise.
20696 (expm1_test_towardzero): Likewise.
20697 (expm1_test_downward): Likewise.
20698 (expm1_test_upward): Likewise.
20699 (fabs_test): Likewise.
20700 (fdim_test): Likewise.
20701 (floor_test): Likewise.
20702 (fma_test): Likewise.
20703 (fma_test_towardzero): Likewise.
20704 (fma_test_downward): Likewise.
20705 (fma_test_upward): Likewise.
20706 (fmax_test): Likewise.
20707 (fmin_test): Likewise.
20708 (fmod_test): Likewise.
20709 (fpclassify_test): Likewise.
20710 (frexp_test): Likewise.
20711 (hypot_test): Likewise.
20712 (ilogb_test): Likewise.
20713 (isfinite_test): Likewise.
20714 (finite_test): Likewise.
20715 (isgreater_test): Likewise.
20716 (isgreaterequal_test): Likewise.
20717 (isinf_test): Likewise.
20718 (isless_test): Likewise.
20719 (islessequal_test): Likewise.
20720 (islessgreater_test): Likewise.
20721 (isnan_test): Likewise.
20722 (isnormal_test): Likewise.
20723 (issignaling_test): Likewise.
20724 (isunordered_test): Likewise.
20725 (j0_test): Likewise.
20726 (j1_test): Likewise.
20727 (jn_test): Likewise.
20728 (ldexp_test): Likewise.
20729 (lgamma_test): Likewise.
20730 (gamma_test): Likewise.
20731 (lrint_test): Likewise.
20732 (lrint_test_tonearest): Likewise.
20733 (lrint_test_towardzero): Likewise.
20734 (lrint_test_downward): Likewise.
20735 (lrint_test_upward): Likewise.
20736 (llrint_test): Likewise.
20737 (llrint_test_tonearest): Likewise.
20738 (llrint_test_towardzero): Likewise.
20739 (llrint_test_downward): Likewise.
20740 (llrint_test_upward): Likewise.
20741 (log_test): Likewise.
20742 (log10_test): Likewise.
20743 (log1p_test): Likewise.
20744 (log2_test): Likewise.
20745 (logb_test): Likewise.
20746 (logb_test_downward): Likewise.
20747 (lround_test): Likewise.
20748 (llround_test): Likewise.
20749 (modf_test): Likewise.
20750 (nearbyint_test): Likewise.
20751 (nextafter_test): Likewise.
20752 (nexttoward_test): Likewise.
20753 (pow_test): Likewise.
20754 (pow_test_tonearest): Likewise.
20755 (pow_test_towardzero): Likewise.
20756 (pow_test_downward): Likewise.
20757 (pow_test_upward): Likewise.
20758 (remainder_test): Likewise.
20759 (drem_test): Likewise.
20760 (remainder_test_tonearest): Likewise.
20761 (drem_test_tonearest): Likewise.
20762 (remainder_test_towardzero): Likewise.
20763 (drem_test_towardzero): Likewise.
20764 (remainder_test_downward): Likewise.
20765 (drem_test_downward): Likewise.
20766 (remainder_test_upward): Likewise.
20767 (drem_test_upward): Likewise.
20768 (remquo_test): Likewise.
20769 (rint_test): Likewise.
20770 (rint_test_tonearest): Likewise.
20771 (rint_test_towardzero): Likewise.
20772 (rint_test_downward): Likewise.
20773 (rint_test_upward): Likewise.
20774 (round_test): Likewise.
20775 (scalb_test): Likewise.
20776 (scalbn_test): Likewise.
20777 (scalbln_test): Likewise.
20778 (signbit_test): Likewise.
20779 (sin_test): Likewise.
20780 (sin_test_tonearest): Likewise.
20781 (sin_test_towardzero): Likewise.
20782 (sin_test_downward): Likewise.
20783 (sin_test_upward): Likewise.
20784 (sincos_test): Likewise.
20785 (sinh_test): Likewise.
20786 (sinh_test_tonearest): Likewise.
20787 (sinh_test_towardzero): Likewise.
20788 (sinh_test_downward): Likewise.
20789 (sinh_test_upward): Likewise.
20790 (sqrt_test): Likewise.
20791 (sqrt_test_tonearest): Likewise.
20792 (sqrt_test_towardzero): Likewise.
20793 (sqrt_test_downward): Likewise.
20794 (sqrt_test_upward): Likewise.
20795 (tan_test): Likewise.
20796 (tan_test_tonearest): Likewise.
20797 (tan_test_towardzero): Likewise.
20798 (tan_test_downward): Likewise.
20799 (tan_test_upward): Likewise.
20800 (tanh_test): Likewise.
20801 (tgamma_test): Likewise.
20802 (trunc_test): Likewise.
20803 (y0_test): Likewise.
20804 (y1_test): Likewise.
20805 (yn_test): Likewise.
20806 (significand_test): Likewise.
20808 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20809 individual tests in comment.
20810 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20811 (prev_max_error): New variable.
20812 (prev_real_max_error): Likewise.
20813 (prev_imag_max_error): Likewise.
20814 (compare_ulp_data): Don't refer to test names in comment.
20815 (find_test_ulps): Remove function.
20816 (find_function_ulps): Likewise.
20817 (find_complex_function_ulps): Likewise.
20818 (init_max_error): Take function name as argument. Look up ulps
20820 (print_ulps): Remove function.
20821 (print_max_error): Use prev_max_error instead of calling
20822 find_function_ulps.
20823 (print_complex_max_error): Use prev_real_max_error and
20824 prev_imag_max_error instead of calling find_complex_function_ulps.
20825 (check_float_internal): Take max_ulp parameter instead of calling
20826 find_test_ulps. Don't call print_ulps.
20827 (check_float): Update call to check_float_internal.
20828 (check_complex): Update calls to check_float_internal.
20829 (START): Pass argument to init_max_error.
20830 * math/gen-libm-test.pl (%results): Don't include "kind"
20832 (parse_ulps): Don't handle ulps of individual tests.
20833 (print_ulps_file): Likewise.
20834 (output_ulps): Likewise.
20835 * math/README.libm-test: Update.
20836 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20838 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20839 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20840 * sysdeps/arm/libm-test-ulps: Likewise.
20841 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20842 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20843 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20844 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20845 * sysdeps/microblaze/libm-test-ulps: Likewise.
20846 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20847 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20848 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20849 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20850 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20851 * sysdeps/sh/libm-test-ulps: Likewise.
20852 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20853 * sysdeps/tile/libm-test-ulps: Likewise.
20854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20856 2014-03-04 Joseph Myers <joseph@codesourcery.com>
20858 * math/libm-test.inc (print_complex_max_error): Check separately
20859 whether real and imaginary errors are within allowed range and
20860 pass 0 to print_complex_function_ulps instead of value within
20863 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20865 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20867 (get_handles_fopen): Likewise.
20868 (do_write_test): Likewise.
20870 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20872 * libio/fileops.c (do_ftell): Use cached offset when
20874 * libio/iofwide.c (do_ftell_wide): Likewise.
20875 * libio/iofdopen.c (_IO_new_fdopen): Don't use
20877 * libio/wfileops.c (_IO_fwide): Don't cache offset.
20880 * libio/libioP.h (get_file_offset): New function.
20881 * libio/fileops.c (get_file_offset): Likewise.
20882 (do_ftell): Likewise.
20883 (_IO_new_file_seekoff): Split out ftell logic.
20884 * libio/wfileops.c (do_ftell_wide): Likewise.
20885 (_IO_wfile_seekoff): Split out ftell logic.
20886 * libio/tst-ftell-active-handler.c: New test case.
20887 * libio/Makefile (tests): Add it.
20889 2014-03-03 Roland McGrath <roland@hack.frob.com>
20891 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20892 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20894 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20897 * nscd/connections.c (nscd_init): Call do_exit.
20898 (start_threads): Call do_exit and notify_parent.
20899 (begin_drop_privileges): Call do_exit.
20900 (finish_drop_privileges): Likewise.
20901 * nscd/selinux.c (preserve_capabilities): Likewise.
20902 (install_real_capabilities): Likewise.
20903 (nscd_selinux_enabled): Likewise.
20904 (avc_create_thread): Likewise.
20905 (avc_alloc_lock): Likewise.
20906 (nscd_avc_init): Likewise.
20907 * nscd/nscd.c (parent_fd): New static variable.
20908 (main): Create a pipe between parent and child processes.
20909 Skip closing parent_fd.
20910 (monitor_child): New function.
20911 (do_exit): Likewise.
20912 (notify_parent): Likewise.
20913 * nscd/nscd.h (notify_parent): Likewise.
20914 (do_exit): Likewise.
20916 2014-03-03 Carlos O'Donell <carlos@redhat.com>
20918 * malloc/malloc.c (__libc_calloc): Revert last change.
20920 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20924 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20926 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20930 (__libc_ifunc_impl_list): Likewise.
20931 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20932 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20933 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20934 * string/strrchr.c: Define STRRCHR.
20936 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
20938 * benchtest/bench-strtok.c (simple_strtok): Delete.
20939 (strtok_string): Use as benchmark.
20940 * string/strtok (STRTOK): New macro.
20942 2014-02-28 Carlos O'Donell <carlos@redhat.com>
20944 * manual/threads.texi: Add header and standard comments to all
20947 * elf/dl-lookup.c (check_match): New function.
20948 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20949 (do_lookup_x): Remove nested function check_match. Use non-nested
20950 function check_match.
20952 2014-02-28 Roland McGrath <roland@hack.frob.com>
20954 * csu/Makefile (generated, before-compile): Use += rather than =.
20955 * catgets/Makefile (generated, generated-dirs): Likewise.
20956 * debug/Makefile (generated): Likewise.
20957 * dlfcn/Makefile (generated): Likewise.
20958 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20959 * iconvdata/Makefile (before-compile, generated): Likewise.
20960 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20961 * libio/Makefile (generated): Likewise.
20962 * malloc/Makefile (generated): Likewise.
20963 * manual/Makefile (generated, generated-dirs): Likewise.
20964 * misc/Makefile (generated): Likewise.
20965 * posix/Makefile (generated): Likewise.
20966 * resolv/Makefile (generated): Likewise.
20967 * sunrpc/Makefile (generated, generated-dirs): Likewise.
20968 * timezone/Makefile (generated, generated-dirs): Likewise.
20970 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20972 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20975 power8 implementation.
20976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20977 file: POWER8 llround ifunc implementation.
20978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20979 (__lllround): Add POWER8 implementation.
20980 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20981 POWER8 llround implementation.
20983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20984 power8 implementation.
20985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20986 file: POWER8 llrint ifunc implementation.
20987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20988 Add POWER8 implementation.
20989 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20990 POWER8 llrint implementation.
20992 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20993 power8 implementation.
20994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20995 file: POWER8 finite ifunc implementation.
20996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20997 Add POWER8 implementation.
20998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21000 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21001 POWER8 finite implementation.
21002 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21005 power8 implementation.
21006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21007 file: POWER8 isinf ifunc implementation.
21008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21009 POWER8 implementation.
21010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21012 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21013 isinf implementation.
21014 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21016 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21017 (INIT_ARCH): Add hwcap2 initialization.
21018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21019 power8 implementation.
21020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21021 file: POWER8 isnan ifunc implementation.
21022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21023 POWER8 implementation.
21024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21026 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21027 isnan implementation.
21028 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21030 2014-02-27 Joey Ye <joey.ye@arm.com>
21032 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21033 (_FP_NANFRAC_Q): Set to zero.
21035 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21038 * math/auto-libm-test-in: New test inputs.
21039 * math/auto-libm-test-out: Regenerate.
21040 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21043 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21045 2014-02-27 Joseph Myers <joseph@codesourcery.com>
21047 * scripts/evaluate-test.sh: Take new argument indicating whether
21048 failure is expected.
21049 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21050 indicating whether failure is expected.
21051 * conform/Makefile (test-xfail-run-conformtest): New variable.
21052 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21054 * posix/Makefile (test-xfail-annexc): New variable.
21055 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21057 2014-02-26 Joseph Myers <joseph@codesourcery.com>
21059 * argp/Makefile: Include Makeconfig immediately after defining
21061 * assert/Makefile: Likewise.
21062 * benchtests/Makefile: Likewise.
21063 * catgets/Makefile: Likewise.
21064 * conform/Makefile: Likewise.
21065 * crypt/Makefile: Likewise.
21066 * csu/Makefile: Likewise.
21067 (all): Remove target.
21068 * ctype/Makefile: Include Makeconfig immediately after defining
21070 * debug/Makefile: Likewise.
21071 * dirent/Makefile: Likewise.
21072 * dlfcn/Makefile: Likewise.
21073 * gmon/Makefile: Likewise.
21074 * gnulib/Makefile: Likewise.
21075 * grp/Makefile: Likewise.
21076 * gshadow/Makefile: Likewise.
21077 * hesiod/Makefile: Likewise.
21078 * hurd/Makefile: Likewise.
21079 (all): Remove target.
21080 * iconvdata/Makefile: Include Makeconfig immediately after
21082 * inet/Makefile: Likewise.
21083 * intl/Makefile: Likewise.
21084 * io/Makefile: Likewise.
21085 * libio/Makefile: Likewise.
21086 (all): Remove target.
21087 * locale/Makefile: Include Makeconfig immediately after defining
21089 * login/Makefile: Likewise.
21090 * mach/Makefile: Likewise.
21091 (all): Remove target.
21092 * malloc/Makefile: Include Makeconfig immediately after defining
21094 (all): Remove target.
21095 * manual/Makefile: Include Makeconfig immediately after defining
21097 * math/Makefile: Likewise.
21098 * misc/Makefile: Likewise.
21099 * nis/Makefile: Likewise.
21100 * nss/Makefile: Likewise.
21101 * po/Makefile: Likewise.
21102 (all): Remove target.
21103 * posix/Makefile: Include Makeconfig immediately after defining
21105 * pwd/Makefile: Likewise.
21106 * resolv/Makefile: Likewise.
21107 * resource/Makefile: Likewise.
21108 * rt/Makefile: Likewise.
21109 * setjmp/Makefile: Likewise.
21110 * shadow/Makefile: Likewise.
21111 * signal/Makefile: Likewise.
21112 * socket/Makefile: Likewise.
21113 * soft-fp/Makefile: Likewise.
21114 * stdio-common/Makefile: Likewise.
21115 * stdlib/Makefile: Likewise.
21116 * streams/Makefile: Likewise.
21117 * string/Makefile: Likewise.
21118 * sunrpc/Makefile: Likewise.
21119 (all): Remove target.
21120 * sysvipc/Makefile: Include Makeconfig immediately after defining
21122 * termios/Makefile: Likewise.
21123 * time/Makefile: Likewise.
21124 * timezone/Makefile: Likewise.
21125 (all): Remove target.
21126 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21128 * wctype/Makefile: Likewise.
21130 2014-02-26 Steve Ellcey <sellcey@mips.com>
21132 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21133 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21134 (libc_feholdexcept_setround_mips): Ditto.
21135 (libc_feholdsetround): New.
21136 (libc_feholdsetroundf): New.
21137 (libc_feholdsetroundl): New.
21138 (libc_feupdateenv_test_mips): New.
21139 (libc_feupdateenv_test): New.
21140 (libc_feupdateenv_testf): New.
21141 (libc_feupdateenv_testl): New.
21142 (libc_feresetround): New.
21143 (libc_feresetroundf): New.
21144 (libc_feresetroundl): New.
21145 (libc_fetestexcept_mips): New.
21146 (libc_fetestexcept): New.
21147 (libc_fetestexceptf): New.
21148 (libc_fetestexceptl): New.
21149 (HAVE_RM_CTX): New.
21150 (libc_feholdexcept_setround_mips_ctx): New.
21151 (libc_feholdexcept_setround_ctx): New.
21152 (libc_feholdexcept_setroundf_ctx): New.
21153 (libc_feholdexcept_setroundl_ctx): New.
21154 (libc_fesetenv_mips_ctx): New.
21155 (libc_fesetenv_ctx): New.
21156 (libc_fesetenv_ctxf): New.
21157 (libc_fesetenv_ctxl): New.
21158 (libc_feupdateenv_mips_ctx): New.
21159 (libc_feupdateenv_ctx): New.
21160 (libc_feupdateenvf_ctx): New.
21161 (libc_feupdateenvl_ctx): New.
21162 (libc_feholdsetround_mips_ctx): New.
21163 (libc_feholdsetround_ctx): New.
21164 (libc_feholdsetroundf_ctx): New.
21165 (libc_feholdsetroundl_ctx): New.
21166 (libc_feresetround_mips_ctx): New.
21167 (libc_feresetround_ctx): New.
21168 (libc_feresetroundf_ctx): New.
21169 (libc_feresetroundl_ctx): New.
21171 2014-02-26 Carlos O'Donell <carlos@redhat.com>
21173 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21175 * manual/ipc.texi: New file.
21176 * manual/Makefile (chapters): Add ipc.
21177 * manual/job.texi: Add "Inter-Process Communication" to next.
21178 * manual/process.texi: Add "Inter-Process Communication" to prev.
21180 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21184 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
21186 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21188 * manual/arith.texi: Fix spaces after sentences.
21189 * manual/charset.texi: Likewise.
21190 * manual/errno.texi: Likewise.
21191 * manual/install.texi: Likewise.
21192 * manual/llio.texi: Likewise.
21193 * manual/locale.texi: Likewise.
21194 * manual/maint.texi: Likewise.
21195 * manual/math.texi: Likewise.
21196 * manual/memory.texi: Likewise.
21197 * manual/message.texi: Likewise.
21198 * manual/probes.texi: Likewise.
21199 * manual/resource.texi: Likewise.
21200 * manual/signal.texi: Likewise.
21201 * manual/socket.texi: Likewise.
21202 * manual/stdio.texi: Likewise.
21203 * manual/string.texi: Likewise.
21204 * manual/time.texi: Likewise.
21205 * manual/users.texi: Likewise.
21207 2014-02-25 Carlos O'Donell <carlos@redhat.com>
21210 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21211 _DEFAULT_SOURCE is defined.
21213 2014-02-25 Ulrich Drepper <drepper@gmail.com>
21214 Carlos O'Donell <carlos@redhat.com>
21217 * elf/dl-tls.c (_dl_count_modids): New function.
21218 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21219 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21220 audit library and increment generation counter.
21221 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21222 * elf/tst-audit9.c: New file.
21223 * elf/tst-auditmod9a.c: New file.
21224 * elf/tst-auditmod9b.c: New file.
21225 * elf/Makefile: Add rules to build and run tst-audit9.
21227 2014-02-25 Florian Weimer <fweimer@redhat.com>
21230 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21232 2014-02-25 Will Newton <will.newton@linaro.org>
21234 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21235 (__longjmp): Restore sp and lr before restoring callee
21236 saved registers. Add longjmp and longjmp_target
21237 SystemTap probe point.
21238 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21239 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21240 Define to zero to match jmpbuf layout.
21241 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21242 (__sigsetjmp): Save sp and lr before saving callee
21243 saved registers. Add setjmp SystemTap probe point.
21245 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21247 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21249 2014-02-24 Andreas Schwab <schwab@suse.de>
21252 * elf/pldd.c (wait_for_ptrace_stop): New function.
21253 (main): Call it after attaching.
21255 2014-02-22 Roland McGrath <roland@hack.frob.com>
21257 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21258 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21259 Versions files is now verboten.
21260 * hurd/Versions (libc: GLIBC_2.0):
21261 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21262 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21263 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21264 * mach/Versions: Likewise.
21266 * csu/Versions: Remove unused %include.
21267 * resolv/Versions: Likewise.
21269 2014-02-21 Joseph Myers <joseph@codesourcery.com>
21271 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21272 ($(objpfx)check-local-headers.out): Likewise.
21273 ($(objpfx)begin-end-check.out): Likewise.
21274 * Makerules (check-abi-%.out): Likewise.
21275 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21276 ($(objpfx)test2.cat): Likewise.
21277 ($(objpfx)de/libc.cat): Likewise.
21278 ($(objpfx)test-gencat.out): Likewise.
21279 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21280 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21281 ($(objpfx)noload-mem): Likewise.
21282 ($(objpfx)tst-pathopt.out): Likewise.
21283 ($(objpfx)tst-rtld-load-self.out): Likewise.
21284 ($(objpfx)tst-array1-cmp.out): Likewise.
21285 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21286 ($(objpfx)tst-array2-cmp.out): Likewise.
21287 ($(objpfx)tst-array3-cmp.out): Likewise.
21288 ($(objpfx)tst-array4-cmp.out): Likewise.
21289 ($(objpfx)tst-array5-cmp.out): Likewise.
21290 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21291 ($(objpfx)check-textrel.out): Likewise.
21292 ($(objpfx)check-execstack.out): Likewise.
21293 ($(objpfx)check-localplt.out): Likewise.
21294 ($(objpfx)order2-cmp.out): Likewise.
21295 ($(objpfx)tst-leaks1-mem): Likewise.
21296 ($(objpfx)tst-leaks1-static-mem): Likewise.
21297 ($(objpfx)tst-initorder-cmp.out): Likewise.
21298 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21299 ($(objpfx)tst-unused-dep.out): Likewise.
21300 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21301 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21302 * iconv/Makefile (test-iconvconfig): Likewise.
21303 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21304 ($(objpfx)iconv-test.out): Likewise.
21305 ($(objpfx)tst-tables.out): Likewise.
21306 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21307 ($(objpfx)tst-gettext.out): Likewise.
21308 ($(objpfx)tst-translit.out): Likewise.
21309 ($(objpfx)tst-gettext2.out): Likewise.
21310 ($(objpfx)tst-gettext4.out): Likewise.
21311 ($(objpfx)tst-gettext6.out): Likewise.
21312 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21313 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21314 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21315 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21316 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21317 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21318 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21319 ($(objpfx)wordexp-tst.out): Likewise.
21320 ($(objpfx)annexc.out): Likewise.
21321 ($(objpfx)tst-fnmatch-mem): Likewise.
21322 ($(objpfx)bug-regex2-mem): Likewise.
21323 ($(objpfx)bug-regex14-mem): Likewise.
21324 ($(objpfx)bug-regex21-mem): Likewise.
21325 ($(objpfx)bug-regex31-mem): Likewise.
21326 ($(objpfx)tst-vfork3-mem): Likewise.
21327 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21328 ($(objpfx)tst-pcre-mem): Likewise.
21329 ($(objpfx)tst-boost-mem): Likewise.
21330 ($(objpfx)tst-getconf.out): Likewise.
21331 ($(objpfx)bug-ga2-mem): Likewise.
21332 ($(objpfx)bug-glob2-mem): Likewise.
21333 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21334 ($(objpfx)mtrace-tst-leaks2): Likewise.
21335 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21336 ($(objpfx)tst-printf.out): Likewise.
21337 ($(objpfx)tst-setvbuf1.out): Likewise.
21338 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21339 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21340 ($(objpfx)tst-fmtmsg.out): Likewise.
21341 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21342 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21344 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21345 * bits/sigaction.h [__USE_MISC]: Likewise.
21346 * bits/waitstatus.h: Update #endif comments.
21347 * ctype/ctype.h: Likewise.
21348 * dirent/dirent.h: Likewise.
21349 [__USE_MISC]: Remove redundant conditionals.
21350 * grp/grp.h: Update #endif comments.
21351 [__USE_GNU]: Remove redundant conditionals.
21352 [__USE_MISC]: Likewise.
21353 * inet/netinet/in.h [__USE_GNU]: Likewise.
21354 * io/sys/stat.h [__USE_MISC]: Likewise.
21355 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21356 * libio/bits/stdio.h: Update #endif comments.
21357 [__USE_MISC]: Remove redundant conditionals.
21358 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21359 * libio/stdio.h: Update #endif comments.
21360 [__USE_MISC]: Remove redundant conditionals.
21361 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21362 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21363 * math/math.h: Update #else and #endif comments.
21364 [__USE_MISC]: Remove redundant conditionals.
21365 * misc/sys/uio.h: Update #endif comments.
21366 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21367 * posix/glob.h [__USE_MISC]: Likewise.
21368 * posix/sys/types.h: Update #endif comments.
21369 [__USE_MISC]: Remove redundant conditionals.
21370 * posix/sys/wait.h: Update #endif comments.
21371 [__USE_MISC]: Remove redundant conditionals.
21372 * posix/unistd.h: Update #endif comments.
21373 [__USE_MISC]: Remove redundant conditionals.
21374 * pwd/pwd.h [__USE_GNU]: Likewise.
21375 [__USE_MISC]: Likewise.
21376 * resolv/netdb.h [__USE_GNU]: Likewise.
21377 * signal/signal.h: Update #endif comments.
21378 [__USE_MISC]: Remove redundant conditionals.
21379 * stdlib/stdlib.h: Update #else and #endif comments.
21380 [__USE_MISC]: Remove redundant conditionals.
21381 [__USE_GNU]: Likewise.
21382 * string/bits/string2.h [__USE_MISC]: Likewise.
21383 * string/string.h: Update #endif comments.
21384 [__USE_MISC]: Remove redundant conditionals.
21385 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21387 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21388 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21389 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21391 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21393 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21395 [__USE_MISC]: Remove redundant conditionals.
21396 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21397 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21398 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21399 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21400 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21402 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21403 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21405 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21406 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21408 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21410 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21411 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21413 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21415 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21416 * sysdeps/x86/bits/string.h: Update #endif comments.
21417 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21419 * time/sys/time.h: Update #endif comments.
21420 * time/time.h: Likewise.
21421 [__USE_MISC]: Remove redundant conditionals.
21423 2014-02-21 Yury Gribov <y.gribov@samsung.com>
21426 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21428 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
21430 * Versions.def (librt): Add GLIBC_2.17.
21432 2014-02-21 Adam Conrad <adconrad@0c3.net>
21434 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21435 synonym for _SYS_AUXV_H to allow direct inclusion.
21436 * sysdeps/sparc/bits/hwcap.h: Likewise.
21437 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21438 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21439 * sysdeps/sparc/sysdep.h: Likewise.
21441 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21443 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21445 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21447 * benchtests/bench-strrchr.c: Print length instead of position.
21449 2014-02-20 Joseph Myers <joseph@codesourcery.com>
21452 * sysdeps/unix/sysv/linux/kernel-features.h
21453 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21454 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21455 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21456 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21458 [__i386__ || __powerpc__ || __sh__ || __sparc__]
21459 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21460 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21461 (__ASSUME_SENDMMSG): Define instead of using previous
21462 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21463 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21464 (__ASSUME_SENDMMSG_SYSCALL): Define.
21465 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21466 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21468 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21469 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21471 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21472 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21474 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21475 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21476 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21477 [__ASSUME_SENDMMSG]: Change conditionals to
21478 [__ASSUME_SENDMMSG_SOCKETCALL].
21479 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21480 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21482 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21483 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21485 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21486 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21487 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21488 [!__ASSUME_SENDMMSG]: Change conditional to
21489 [!__ASSUME_SENDMMSG_SOCKETCALL].
21490 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21491 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21495 * sysdeps/unix/sysv/linux/kernel-features.h
21496 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21497 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21498 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21499 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21500 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21501 [__i386__ || __sparc__]
21502 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21503 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21504 (__ASSUME_RECVMMSG): Define instead of using previous
21505 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21506 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21507 (__ASSUME_RECVMMSG_SYSCALL): Define.
21508 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21509 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21511 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21512 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21514 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21515 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21517 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21518 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21519 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21520 [__ASSUME_RECVMMSG]: Change condition to
21521 [__ASSUME_RECVMMSG_SOCKETCALL].
21522 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21523 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21525 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21526 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21527 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21529 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21530 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21531 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21532 [!__ASSUME_RECVMMSG]: Change condition to
21533 [!__ASSUME_RECVMMSG_SOCKETCALL].
21534 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21535 (__ASSUME_RECVMMSG_SYSCALL): Define.
21538 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21539 __powerpc__ || __s390__ || __sh__ || __sparc__]
21540 (__ASSUME_SOCKETCALL): Define.
21541 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21542 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21543 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21544 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21545 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21546 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21547 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21548 (__ASSUME_ACCEPT4): Define instead of using previous
21549 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21550 __powerpc__ || __sparc__ || __s390__)] condition.
21551 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21552 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21553 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21554 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21555 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21556 [!__ASSUME_ACCEPT4]: Change condition to
21557 [!__ASSUME_ACCEPT4_SOCKETCALL].
21558 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21559 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
21560 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21561 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21562 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21563 __ASSUME_ACCEPT4_SYSCALL.
21564 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21565 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21566 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21567 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21568 __ASSUME_ACCEPT4_SYSCALL.
21569 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21570 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21571 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21572 [__ASSUME_ACCEPT4]: Change condition to
21573 [__ASSUME_ACCEPT4_SOCKETCALL].
21574 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21575 (__ASSUME_SOCKETCALL): Define.
21576 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21577 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21578 (__ASSUME_SOCKETCALL): Define.
21579 (__ASSUME_ACCEPT4): Remove.
21580 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21582 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21583 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21585 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21586 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21588 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21590 (HWCAP_ARM_LPAE): Likewise.
21591 (HWCAP_ARM_EVTSTRM): Likewise.
21592 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21593 Add vpfd32, lpae and evtstrm.
21594 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21597 2014-02-19 Joseph Myers <joseph@codesourcery.com>
21599 * math/auto-libm-test-in: Add tests of clog10.
21600 * math/auto-libm-test-out: Regenerated.
21601 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21602 * sysdeps/i386/fpu/libm-test-ulps: Update.
21603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21605 2014-02-18 Andreas Schwab <schwab@suse.de>
21608 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21609 Store non-zero if the second buffer was newly allocated.
21610 (send_dg): Likewise.
21611 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21612 to send_vc and send_dg.
21613 (res_nsend): Pass NULL for ansp2_malloced.
21614 * resolv/res_query.c (__libc_res_nquery): Add parameter
21615 answerp2_malloced and pass it down to __libc_res_nsend.
21616 (res_nquery): Pass additional NULL to __libc_res_nquery.
21617 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21618 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
21619 second answer buffer if answerp2_malloced was set.
21620 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21621 (__libc_res_nquerydomain): Add parameter
21622 answerp2_malloced and pass it down to __libc_res_nquery.
21623 (res_nquerydomain): Pass additional NULL to
21624 __libc_res_nquerydomain.
21625 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21626 additional NULL to __libc_res_nsend and __libc_res_nquery.
21627 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21628 additional NULL to __libc_res_nsearch.
21629 (_nss_dns_gethostbyname4_r): Revert last change. Use new
21630 parameter of __libc_res_nsearch to check for separately allocated
21632 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21634 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21635 additional NULL to __libc_res_nquery.
21636 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21637 __libc_res_nsearch.
21638 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21639 * include/resolv.h: Update prototypes of __libc_res_nquery,
21640 __libc_res_nsearch, __libc_res_nsend.
21642 2014-02-18 Joseph Myers <joseph@codesourcery.com>
21644 * math/auto-libm-test-in: Add tests of fma.
21645 * math/auto-libm-test-out: Regenerated.
21646 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21647 (fma_towardzero_test_data): Likewise.
21648 (fma_downward_test_data): Likewise.
21649 (fma_upward_test_data): Likewise.
21650 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21652 (rounding_modes): Add values for new field.
21653 (func_calc_method): Add value mpfr_fff_f.
21654 (func_calc_desc): Add mpfr_fff_f union field.
21655 (test_function): Add field exact_args.
21656 (FUNC): Add macro argument EXACT_ARGS.
21657 (FUNC_mpfr_f_f): Update call to FUNC.
21658 (FUNC_mpfr_f_f): Likewise.
21659 (FUNC_mpfr_ff_f): Likewise.
21660 (FUNC_mpfr_if_f): Likewise.
21661 (FUNC_mpc_c_f): Likewise.
21662 (FUNC_mpc_c_c): Likewise.
21663 (test_functions): Add fma. Update calls to FUNC.
21664 (handle_input_arg): Add argument exact_args.
21665 (add_test): Update call to handle_input_arg.
21666 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
21667 (output_for_one_input_case): Update call to calc_generic_results.
21668 Recalculate exact zero results in each rounding mode.
21670 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21671 non-negative before setting low bit.
21672 * math/auto-libm-test-in: Mark one asin test possibly having
21673 spurious underflow.
21674 * math/auto-libm-test-out: Regenerated.
21675 * sysdeps/i386/fpu/libm-test-ulps: Update.
21676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21678 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
21680 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21681 * sysdeps/unix/sysv/linux/microblaze: Move directory from
21682 ports/sysdeps/unix/sysv/linux/microblaze.
21683 * README: Add missing listing for microblaze*-*-linux-gnu.
21685 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
21687 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21690 2014-02-16 Mike Frysinger <vapier@gentoo.org>
21692 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21693 * sysdeps/unix/sysv/linux/ia64: Move directory from
21694 ports/sysdeps/unix/sysv/linux/ia64.
21695 * README: Update listing for ia64-*-linux-gnu.
21697 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
21698 Joseph Myers <joseph@codesourcery.com>
21700 * Makeconfig (test-name): New variable.
21701 (evaluate-test): Likewise.
21702 * Makerules (do-test-clean): Remove .test-result files.
21703 (common-mostlyclean): Likewise.
21704 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21705 * scripts/evaluate-test.sh: New file.
21707 2014-02-14 Joseph Myers <joseph@codesourcery.com>
21709 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21710 separate $(objpfx)tst-fopenloc-cmp.out and
21711 $(objpfx)tst-fopenloc-mem.out targets.
21712 (tests): Update dependencies.
21713 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21714 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21715 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21716 (tst-rxspencer-no-utf8-ARGS): New variable.
21717 (tst-rxspencer-no-utf8-ENV): Likewise.
21718 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21719 instead of $(objpfx)tst-rxspencer-mem.
21720 ($(objpfx)tst-rxspencer-mem): Change target to
21721 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
21722 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21723 * posix/tst-rxspencer-no-utf8.c: New file.
21725 * elf/Makefile ($(objpfx)order.out): Remove rule.
21726 [$(run-built-tests) = yes] (tests): Depend on
21727 $(objpfx)order-cmp.out.
21728 ($(objpfx)order-cmp.out): New rule.
21729 [$(run-built-tests) = yes] (tests): Depend on
21730 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21731 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21732 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21733 $(objpfx)tst-array5-static-cmp.out.
21734 ($(objpfx)tst-array1.out): Remove rule.
21735 ($(objpfx)tst-array1-cmp.out): New rule.
21736 ($(objpfx)tst-array1-static.out): Remove rule.
21737 ($(objpfx)tst-array1-static-cmp.out): New rule.
21738 ($(objpfx)tst-array2.out): Remove rule.
21739 ($(objpfx)tst-array2-cmp.out): New rule.
21740 ($(objpfx)tst-array3.out): Remove rule.
21741 ($(objpfx)tst-array3-cmp.out): New rule.
21742 ($(objpfx)tst-array4.out): Remove rule.
21743 ($(objpfx)tst-array4-cmp.out): New rule.
21744 ($(objpfx)tst-array5.out): Remove rule.
21745 ($(objpfx)tst-array5-cmp.out): New rule.
21746 ($(objpfx)tst-array5-static.out): Remove rule.
21747 ($(objpfx)tst-array5-static-cmp.out): New rule.
21748 [$(run-built-tests) = yes] (tests): Depend on
21749 $(objpfx)order2-cmp.out.
21750 ($(objpfx)order2.out): Remove rule.
21751 ($(objpfx)order2-cmp.out): New rule.
21752 ($(objpfx)tst-initorder.out): Remove rule.
21753 [$(run-built-tests) = yes] (tests): Depend on
21754 $(objpfx)tst-initorder-cmp.out.
21755 ($(objpfx)tst-initorder-cmp.out): New rule.
21756 ($(objpfx)tst-initorder2.out): Remove rule.
21757 [$(run-built-tests) = yes] (tests): Depend on
21758 $(objpfx)tst-initorder2-cmp.out.
21759 ($(objpfx)tst-initorder2-cmp.out): New rule.
21760 [$(run-built-tests) = yes] (tests): Depend on
21761 $(objpfx)tst-unused-dep-cmp.out.
21762 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21763 ($(objpfx)tst-unused-dep-cmp.out): New rule.
21764 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21765 on $(objpfx)tst-setvbuf1-cmp.out.
21766 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21767 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21768 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21769 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21770 ($(objpfx)tst-svc.out): Remove rule.
21771 ($(objpfx)tst-svc-cmp.out): New rule.
21773 2014-02-13 Joseph Myers <joseph@codesourcery.com>
21775 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21776 * ctype/ctype.h [__USE_MISC]: Likewise.
21777 * dirent/dirent.h [__USE_MISC]: Likewise.
21778 * grp/grp.h [__USE_MISC]: Likewise.
21779 * io/fcntl.h [__USE_MISC]: Likewise.
21780 * io/sys/stat.h [__USE_MISC]: Likewise.
21781 * libio/stdio.h [__USE_MISC]: Likewise.
21782 * posix/unistd.h [__USE_MISC]: Likewise.
21783 * pwd/pwd.h [__USE_MISC]: Likewise.
21784 * stdlib.h [__USE_MISC]: Likewise.
21785 * string/bits/string2.h [__USE_MISC]: Likewise.
21786 * string/string.h [__USE_MISC]: Likewise.
21787 * time/time.h [__USE_MISC]: Likewise.
21789 2014-02-13 Andreas Schwab <schwab@suse.de>
21792 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21793 second answer buffer if it was separately allocated.
21795 2014-02-12 Joseph Myers <joseph@codesourcery.com>
21797 * sysdeps/mips/math-tests.h: Include <features.h>.
21798 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21799 (ROUNDING_TESTS_long_double): Do not define.
21800 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21801 (EXCEPTION_TESTS_long_double): Likewise.
21802 * sysdeps/mips/mips64/libm-test-ulps: Update.
21804 * include/features.h (__USE_BSD): Remove macro definitions.
21805 (__USE_SVID): Likewise.
21806 (_BSD_SOURCE): Likewise.
21807 (_SVID_SOURCE): Likewise.
21808 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21809 from definition of _DEFAULT_SOURCE.
21810 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21812 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21813 * bits/mman.h [__USE_BSD]: Likewise.
21814 * bits/termios.h [__USE_BSD]: Likewise.
21815 * bits/waitstatus.h [__USE_BSD]: Likewise.
21816 * ctype/ctype.h [__USE_SVID]: Likewise.
21817 * dirent/dirent.h [__USE_BSD]: Likewise.
21818 * grp/grp.h [__USE_SVID]: Likewise.
21819 [__USE_BSD]: Likewise.
21820 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21821 * io/fcntl.h [__USE_BSD]: Likewise.
21822 * io/ftw.h [__USE_BSD]: Likewise.
21823 * io/sys/stat.h [__USE_BSD]: Likewise.
21824 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21825 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21826 * libio/stdio.h [__USE_SVID]: Likewise.
21827 [__USE_BSD]: Likewise.
21828 * math/math.h [__USE_SVID]: Likewise.
21829 [__USE_BSD]: Likewise.
21830 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21831 * misc/bits/syslog.h [__USE_BSD]: Likewise.
21832 * misc/search.h [__USE_SVID]: Likewise.
21833 * misc/sys/mman.h [__USE_BSD]: Likewise.
21834 * misc/sys/syslog.h [__USE_BSD]: Likewise.
21835 * misc/sys/uio.h [__USE_BSD]: Likewise.
21836 * posix/bits/unistd.h [__USE_BSD]: Likewise.
21837 * posix/glob.h [__USE_BSD]: Likewise.
21838 * posix/regex.h [__USE_BSD]: Likewise.
21839 * posix/sys/types.h [__USE_BSD]: Likewise.
21840 [__USE_SVID]: Likewise.
21841 * posix/sys/utsname.h [__USE_SVID]: Likewise.
21842 * posix/sys/wait.h [__USE_BSD]: Likewise.
21843 [__USE_SVID]: Likewise.
21844 * posix/unistd.h [__USE_BSD]: Likewise.
21845 [__USE_SVID]: Likewise.
21846 * pwd/pwd.h [__USE_SVID]: Likewise.
21847 * resolv/netdb.h [__USE_BSD]: Likewise.
21848 * setjmp/setjmp.h [__USE_BSD]: Likewise.
21849 * signal/signal.h [__USE_BSD]: Likewise.
21850 [__USE_SVID]: Likewise.
21851 * socket/sys/socket.h [__USE_BSD]: Likewise.
21852 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21853 * stdlib/stdlib.h [__USE_BSD]: Likewise.
21854 [__USE_SVID]: Likewise.
21855 * string/bits/string2.h [__USE_BSD]: Likewise.
21856 [__USE_SVID]: Likewise.
21857 * string/bits/string3.h [__USE_BSD]: Likewise.
21858 * string/endian.h [__USE_BSD]: Likewise.
21859 * string/string.h [__USE_SVID]: Likewise.
21860 [__USE_BSD]: Likewise.
21861 * string/strings.h [__USE_BSD]: Likewise.
21862 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21863 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21864 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21865 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21866 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21867 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21869 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21871 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21872 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21874 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21875 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21877 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21879 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21880 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21881 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21883 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21885 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21886 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21887 * termios/termios.h [__USE_BSD]: Likewise.
21888 * time/sys/time.h [__USE_BSD]: Likewise.
21889 * time/time.h [__USE_BSD]: Likewise.
21890 [__USE_SVID]: Likewise.
21892 * Makefile (subdir_targets): Remove subdir_lint.out.
21894 * stdio-common/Makefile (do-tst-unbputc): Remove target.
21895 (do-tst-printf): Likewise.
21896 (tests): Depend directly on $(objpfx)tst-unbputc.out and
21897 $(objpfx)tst-printf.out.
21899 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21901 * Makerules (check-abi-%): Change target to
21902 $(objpfx)check-abi-%.out.
21903 (check-abi target): Update dependencies.
21904 (check-abi-pattern variable): Redirect output of diff to $@.
21905 (check-abi variable): Likewise.
21906 * elf/Makefile (check-abi): Update dependencies.
21908 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21910 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21911 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21913 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21914 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21915 value has largest subnormal exponent.
21916 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21917 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21918 * sysdeps/aarch64/soft-fp/sfp-machine.h
21919 (_FP_TININESS_AFTER_ROUNDING): New macro.
21920 * sysdeps/alpha/soft-fp/sfp-machine.h
21921 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21922 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21924 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21925 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21926 * sysdeps/mips/soft-fp/sfp-machine.h
21927 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21928 * sysdeps/powerpc/soft-fp/sfp-machine.h
21929 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21930 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21932 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21933 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21934 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21935 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21936 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21939 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
21942 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21945 2014-02-12 Richard Henderson <rth@redhat.com>
21947 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21948 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21949 * sysdeps/unix/sysv/linux/alpha: Move directory from
21950 ports/sysdeps/unix/sysv/linux/alpha.
21951 * README: Update listing for alpha-*-linux-gnu.
21953 2014-02-11 Joseph Myers <joseph@codesourcery.com>
21955 * include/features.h: Update comment documenting feature test
21957 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
21959 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21960 (_SVID_SOURCE): Likewise.
21961 (_DEFAULT_SOURCE): Update description of default features.
21962 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21964 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21965 (S_ISVTX): Likewise.
21966 * manual/math.texi (Mathematical Constants): Likewise.
21967 * manual/signal.texi (Interrupted Primitives): Likewise.
21968 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21969 * math/test-matherr.c (_SVID_SOURCE): Do not define.
21970 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21971 Don't refer to _SVID_SOURCE in warning text.
21973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21975 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21977 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21978 * sysdeps/mips/dl-lookup.c: Remove.
21979 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21981 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21984 * math/auto-libm-test-in: Add testcase for expl.
21985 * math/auto-libm-test-out: Regenerate.
21986 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21987 calculation of unsafe.
21988 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21990 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
21992 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21993 * sysdeps/unix/sysv/linux/aarch64: Move directory from
21994 ports/sysdeps/unix/sysv/linux/aarch64.
21995 * README: Update listing for aarch64*-*-linux-gnu.
21997 2014-02-11 Will Newton <will.newton@linaro.org>
21999 * manual/probes.texi (Mathematical Function Probes): Use
22000 "triggered" instead of "hit".
22002 * manual/probes.texi (Internal Probes): Add documentation
22003 of setjmp, longjmp and longjmp_target probes.
22005 * include/stap-probe.h: Add comment about probe argument
22008 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22009 definition. (tr_where, tr_freehook, tr_mallochook,
22010 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22012 2014-02-11 David S. Miller <davem@davemloft.net>
22014 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22015 processing int_tests.
22017 2014-02-10 Joseph Myers <joseph@codesourcery.com>
22019 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22020 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22021 * sysdeps/unix/sysv/linux/mips: Move directory from
22022 ports/sysdeps/unix/sysv/linux/mips.
22023 * README: Update listing for mips-*-linux-gnu and
22024 mips64-*-linux-gnu.
22026 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22028 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22029 * sysdeps/unix/sysv/linux/m68k: Move directory from
22030 ports/sysdeps/unix/sysv/linux/m68k.
22031 * README: Update listing for m68k-*-linux-gnu.
22033 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22035 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22036 * sysdeps/unix/sysv/linux/generic: Move directory from
22037 ports/sysdeps/unix/sysv/linux/generic.
22038 * sysdeps/unix/sysv/linux/tile: Move directory from
22039 ports/sysdeps/unix/sysv/linux/tile.
22040 * README: Update listing for tile*-*-linux-gnu.
22042 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
22044 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22046 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22047 * catgets/open_catalog.c (__open_catalog): Likewise.
22048 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22049 * debug/confstr_chk.c: Likewise.
22050 * debug/fread_chk.c (__fread_chk): Likewise.
22051 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22052 * debug/getgroups_chk.c: Likewise.
22053 * debug/mbsnrtowcs_chk.c: Likewise.
22054 * debug/mbsrtowcs_chk.c: Likewise.
22055 * debug/mbstowcs_chk.c: Likewise.
22056 * debug/memcpy_chk.c: Likewise.
22057 * debug/memmove_chk.c: Likewise.
22058 * debug/mempcpy_chk.c: Likewise.
22059 * debug/memset_chk.c: Likewise.
22060 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22061 * debug/strcat_chk.c (__strcat_chk): Likewise.
22062 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22063 * debug/strncat_chk.c (__strncat_chk): Likewise.
22064 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22065 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22066 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22067 * debug/wcpncpy_chk.c: Likewise.
22068 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22069 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22070 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22071 * debug/wcsncpy_chk.c: Likewise.
22072 * debug/wcsnrtombs_chk.c: Likewise.
22073 * debug/wcsrtombs_chk.c: Likewise.
22074 * debug/wcstombs_chk.c: Likewise.
22075 * debug/wmemcpy_chk.c: Likewise.
22076 * debug/wmemmove_chk.c: Likewise.
22077 * debug/wmempcpy_chk.c: Likewise.
22078 * debug/wmemset_chk.c: Likewise.
22079 * dirent/scandirat.c (SCANDIRAT): Likewise.
22080 * dlfcn/dladdr1.c (dladdr1): Likewise.
22081 * dlfcn/dladdr.c (dladdr): Likewise.
22082 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22083 * dlfcn/dlerror.c (__dlerror): Likewise.
22084 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22085 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22086 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22087 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22088 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22089 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22090 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22091 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22093 * elf/dl-conflict.c: Likewise.
22094 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22095 * elf/dl-dst.h: Likewise.
22096 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22097 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22098 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22099 * elf/dl-init.c (call_init, _dl_init): Likewise.
22100 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22101 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22102 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22104 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22106 * elf/dl-minimal.c (__libc_memalign): Likewise.
22107 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22108 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22109 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22110 * elf/dl-sym.c (do_sym): Likewise.
22111 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22112 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22113 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22114 * elf/dl-writev.h (_dl_writev): Likewise.
22115 * elf/ldconfig.c (search_dir): Likewise.
22116 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22117 (dl_main): Likewise.
22118 * elf/setup-vdso.h (setup_vdso): Likewise.
22119 * grp/compat-initgroups.c (compat_call): Likewise.
22120 * grp/fgetgrent.c (fgetgrent): Likewise.
22121 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22122 * grp/putgrent.c (putgrent): Likewise.
22123 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22125 * hurd/hurdinit.c: Likewise.
22126 * iconvdata/8bit-gap.c (struct): Likewise.
22127 * iconvdata/ansi_x3.110.c : Likewise.
22128 * iconvdata/big5.c : Likewise.
22129 * iconvdata/big5hkscs.c : Likewise.
22130 * iconvdata/cp1255.c: Likewise.
22131 * iconvdata/cp1258.c : Likewise.
22132 * iconvdata/cp932.c : Likewise.
22133 * iconvdata/euc-cn.c: Likewise.
22134 * iconvdata/euc-jisx0213.c : Likewise.
22135 * iconvdata/euc-jp.c: Likewise.
22136 * iconvdata/euc-jp-ms.c : Likewise.
22137 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22138 * iconvdata/gb18030.c : Likewise.
22139 * iconvdata/gbbig5.c (const): Likewise.
22140 * iconvdata/gbgbk.c: Likewise.
22141 * iconvdata/gbk.c : Likewise.
22142 * iconvdata/ibm1364.c : Likewise.
22143 * iconvdata/ibm930.c : Likewise.
22144 * iconvdata/ibm932.c: Likewise.
22145 * iconvdata/ibm933.c : Likewise.
22146 * iconvdata/ibm935.c : Likewise.
22147 * iconvdata/ibm937.c : Likewise.
22148 * iconvdata/ibm939.c : Likewise.
22149 * iconvdata/ibm943.c: Likewise.
22150 * iconvdata/iso_11548-1.c: Likewise.
22151 * iconvdata/iso-2022-cn.c : Likewise.
22152 * iconvdata/iso-2022-cn-ext.c : Likewise.
22153 * iconvdata/iso-2022-jp-3.c: Likewise.
22154 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22155 * iconvdata/iso-2022-kr.c : Likewise.
22156 * iconvdata/iso646.c (gconv_end): Likewise.
22157 * iconvdata/iso_6937-2.c : Likewise.
22158 * iconvdata/iso_6937.c : Likewise.
22159 * iconvdata/iso8859-1.c: Likewise.
22160 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22161 * iconvdata/shift_jisx0213.c : Likewise.
22162 * iconvdata/sjis.c : Likewise.
22163 * iconvdata/t.61.c : Likewise.
22164 * iconvdata/tcvn5712-1.c : Likewise.
22165 * iconvdata/tscii.c: Likewise.
22166 * iconvdata/uhc.c : Likewise.
22167 * iconvdata/unicode.c (gconv_end): Likewise.
22168 * iconvdata/utf-16.c (gconv_end): Likewise.
22169 * iconvdata/utf-32.c (gconv_end): Likewise.
22170 * iconvdata/utf-7.c (base64): Likewise.
22171 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22172 * iconv/gconv_close.c (__gconv_close): Likewise.
22173 * iconv/gconv_open.c (__gconv_open): Likewise.
22174 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22175 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22176 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22177 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22178 (ucs4le_internal_loop_single): Likewise.
22179 * iconv/iconv.c (iconv): Likewise.
22180 * iconv/iconv_close.c: Likewise.
22181 * iconv/loop.c (SINGLE): Likewise.
22182 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22183 * include/atomic.h: Likewise.
22184 * inet/inet6_option.c (option_alloc): Likewise.
22185 * intl/bindtextdom.c (set_binding_values): Likewise.
22186 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22187 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22188 * intl/localealias.c (read_alias_file): Likewise.
22189 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22190 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22191 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22192 * libio/fmemopen.c (fmemopen): Likewise.
22193 * libio/iofgets.c (_IO_fgets): Likewise.
22194 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22195 * libio/iofgetws.c (fgetws): Likewise.
22196 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22197 * libio/iogetdelim.c (_IO_getdelim): Likewise.
22198 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22199 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22200 * locale/findlocale.c (_nl_find_locale): Likewise.
22201 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22202 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22204 * locale/setlocale.c (setlocale): Likewise.
22205 * login/programs/pt_chown.c (main): Likewise.
22206 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22207 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22208 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22209 (mmap, mmap64, mremap, munmap): Likewise.
22210 * math/e_exp2l.c: Likewise.
22211 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22212 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22213 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22214 * math/s_catan.c (__catan): Likewise.
22215 * math/s_catanf.c (__catanf): Likewise.
22216 * math/s_catanh.c (__catanh): Likewise.
22217 * math/s_catanhf.c (__catanhf): Likewise.
22218 * math/s_catanhl.c (__catanhl): Likewise.
22219 * math/s_catanl.c (__catanl): Likewise.
22220 * math/s_ccosh.c (__ccosh): Likewise.
22221 * math/s_ccoshf.c (__ccoshf): Likewise.
22222 * math/s_ccoshl.c (__ccoshl): Likewise.
22223 * math/s_cexp.c (__cexp): Likewise.
22224 * math/s_cexpf.c (__cexpf): Likewise.
22225 * math/s_cexpl.c (__cexpl): Likewise.
22226 * math/s_clog10.c (__clog10): Likewise.
22227 * math/s_clog10f.c (__clog10f): Likewise.
22228 * math/s_clog10l.c (__clog10l): Likewise.
22229 * math/s_clog.c (__clog): Likewise.
22230 * math/s_clogf.c (__clogf): Likewise.
22231 * math/s_clogl.c (__clogl): Likewise.
22232 * math/s_csin.c (__csin): Likewise.
22233 * math/s_csinf.c (__csinf): Likewise.
22234 * math/s_csinh.c (__csinh): Likewise.
22235 * math/s_csinhf.c (__csinhf): Likewise.
22236 * math/s_csinhl.c (__csinhl): Likewise.
22237 * math/s_csinl.c (__csinl): Likewise.
22238 * math/s_csqrt.c (__csqrt): Likewise.
22239 * math/s_csqrtf.c (__csqrtf): Likewise.
22240 * math/s_csqrtl.c (__csqrtl): Likewise.
22241 * math/s_ctan.c (__ctan): Likewise.
22242 * math/s_ctanf.c (__ctanf): Likewise.
22243 * math/s_ctanh.c (__ctanh): Likewise.
22244 * math/s_ctanhf.c (__ctanhf): Likewise.
22245 * math/s_ctanhl.c (__ctanhl): Likewise.
22246 * math/s_ctanl.c (__ctanl): Likewise.
22247 * math/w_pow.c: Likewise.
22248 * math/w_powf.c: Likewise.
22249 * math/w_powl.c: Likewise.
22250 * math/w_scalb.c (sysv_scalb): Likewise.
22251 * math/w_scalbf.c (sysv_scalbf): Likewise.
22252 * math/w_scalbl.c (sysv_scalbl): Likewise.
22253 * misc/error.c (error_tail): Likewise.
22254 * misc/pselect.c (__pselect): Likewise.
22255 * nis/nis_callback.c (__nis_create_callback): Likewise.
22256 * nis/nis_call.c (__nisfind_server): Likewise.
22257 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22258 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22259 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22260 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22261 * nis/nis_lookup.c (nis_lookup): Likewise.
22262 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22263 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22264 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22265 * nis/nis_xdr.c (xdr_endpoint): Likewise.
22266 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22267 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22268 * nis/nss_compat/compat-initgroups.c (add_group)
22269 (internal_getgrent_r): Likewise.
22270 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22271 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22272 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22273 (internal_getspnam_r): Likewise.
22274 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22275 (_nss_nis_getaliasbyname_r): Likewise.
22276 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22277 (_nss_nis_getntohost_r): Likewise.
22278 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22279 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22280 (_nss_nis_getgrgid_r): Likewise.
22281 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22282 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22283 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22284 (_nss_nis_gethostbyname4_r): Likewise.
22285 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22286 (initgroups_netid): Likewise.
22287 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22288 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22289 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22290 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22291 (_nss_nis_getprotobynumber_r): Likewise.
22292 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22293 (_nss_nis_getsecretkey): Likewise.
22294 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22295 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22296 (_nss_nis_getpwuid_r): Likewise.
22297 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22298 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22299 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22300 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22301 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22302 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22303 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22305 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22306 (_nss_nisplus_getntohost_r): Likewise.
22307 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22308 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22309 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22310 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22312 * nis/nss_nisplus/nisplus-initgroups.c
22313 (_nss_nisplus_initgroups_dyn): Likewise.
22314 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22315 (_nss_nisplus_getnetbyaddr_r): Likewise.
22316 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22317 (_nss_nisplus_getprotobynumber_r): Likewise.
22318 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22319 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22320 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22322 * nis/nss_nisplus/nisplus-service.c
22323 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22324 (_nss_nisplus_getservbyport_r): Likewise.
22325 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22326 (_nss_nisplus_getspnam_r): Likewise.
22327 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22329 * nscd/aicache.c (addhstaiX): Likewise.
22330 * nscd/cache.c (cache_search, prune_cache): Likewise.
22331 * nscd/connections.c (register_traced_file, send_ro_fd)
22332 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22333 (main_loop_epoll): Likewise.
22334 * nscd/grpcache.c (addgrbyX): Likewise.
22335 * nscd/hstcache.c (addhstbyX): Likewise.
22336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22337 * nscd/mem.c (gc, mempool_alloc): Likewise.
22338 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22339 (addinnetgrX): Likewise.
22340 * nscd/nscd-client.h (__nscd_acquire_maplock)
22341 (__nscd_drop_map_ref): Likewise.
22342 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22343 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22344 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22346 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22347 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22348 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22349 (__nscd_get_map_ref): Likewise.
22350 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22351 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22353 * nscd/pwdcache.c (addpwbyX): Likewise.
22354 * nscd/selinux.c (preserve_capabilities): Likewise.
22355 * nscd/servicescache.c (addservbyX): Likewise.
22356 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22357 * posix/fnmatch.c (fnmatch): Likewise.
22358 * posix/getopt.c (_getopt_internal_r): Likewise.
22359 * posix/glob.c (glob, glob_in_dir): Likewise.
22360 * posix/wordexp.c (exec_comm_child): Likewise.
22361 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22362 (getanswer_r, gaih_getanswer_slice): Likewise.
22363 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22364 * resolv/res_init.c: Likewise.
22365 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22366 * resolv/res_query.c (__libc_res_nquery): Likewise.
22367 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22369 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22370 * stdio-common/perror.c (perror): Likewise.
22371 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22372 * stdio-common/tmpnam.c (tmpnam): Likewise.
22373 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22374 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22375 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22377 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22378 * stdlib/putenv.c (putenv): Likewise.
22379 * stdlib/setenv.c (__add_to_environ): Likewise.
22380 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22381 * stdlib/strtol_l.c (INTERNAL): Likewise.
22382 * string/memmem.c (memmem): Likewise.
22383 * string/strerror.c (strerror): Likewise.
22384 * string/strnlen.c (__strnlen): Likewise.
22385 * string/test-memmem.c (simple_memmem): Likewise.
22386 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22387 * sunrpc/pm_getport.c (__get_socket): Likewise.
22388 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22389 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22390 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22391 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22393 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22394 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22395 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22396 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22397 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22398 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22400 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22402 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22403 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22404 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22405 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22406 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22407 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22408 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22409 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22410 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22411 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22412 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22413 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22415 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22417 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22419 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22420 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22421 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22422 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22423 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22424 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22425 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22426 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22427 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22428 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22429 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22430 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22431 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22432 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22434 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22436 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22438 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22440 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22442 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22443 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22444 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22446 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22447 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22448 * sysdeps/posix/opendir.c (__opendirat): Likewise.
22449 * sysdeps/posix/sleep.c: Likewise.
22450 * sysdeps/posix/tempname.c: Likewise.
22451 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22452 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22454 * sysdeps/powerpc/powerpc32/dl-machine.h
22455 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22456 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22457 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22458 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22459 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22461 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22462 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22463 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22464 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22465 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22466 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22467 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22468 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22469 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22470 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22471 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22472 (elf_machine_lazy_rel): Likewise.
22473 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22474 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22475 (elf_machine_lazy_rel): Likewise.
22476 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22477 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22478 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22479 * sysdeps/unix/grantpt.c (grantpt): Likewise.
22480 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22481 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22482 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22483 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22485 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22486 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22487 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22488 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22489 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22490 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22491 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22492 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22493 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22494 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22495 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22497 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22498 (__posix_fallocate64_l64): Likewise.
22499 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22500 (posix_fallocate): Likewise.
22501 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22503 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22504 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22505 (getifaddrs_internal): Likewise.
22506 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22507 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22508 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22509 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22510 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22511 (__posix_fallocate64_l64): Likewise.
22512 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22514 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22515 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22516 (__get_clockfreq): Likewise.
22517 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22518 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22519 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22520 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22522 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22523 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22524 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22526 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22527 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22528 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22529 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22530 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22531 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22532 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22534 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22535 (posix_fallocate): Likewise.
22536 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22537 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22538 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22539 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22540 (elf_machine_rela, elf_machine_rela_relative)
22541 (elf_machine_lazy_rel): Likewise.
22542 * time/asctime.c (asctime_internal): Likewise.
22543 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22544 * time/tzset.c (__tzset_parse_tz): Likewise.
22545 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22546 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22547 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22548 * wcsmbs/wcsmbsload.h: Likewise.
22551 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22553 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22554 (arena_get2): Remove THREAD_STATS conditionals.
22555 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22556 (__malloc_stats, int): Likewise.
22558 2014-02-08 Mike Frysinger <vapier@gentoo.org>
22560 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22561 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
22563 * manual/setjmp.texi: Fix typos/grammar errors.
22565 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22566 Only return early when n is <= 0. Delete unused return statement.
22568 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22569 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22570 * debug/tst-longjmp_chk3.c: New file.
22572 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22573 (test_main): Replace code with set_fortify_handler call.
22574 * debug/test-strcpy_chk.c: Likewise.
22575 * debug/tst-chk1.c: Likewise.
22576 * debug/tst-longjmp_chk.c: Likewise.
22577 * test-skeleton.c: Include fcntl.h & paths.h
22578 (set_fortify_handler): Define.
22580 * debug/tst-longjmp_chk.c: Add header comment and include
22581 ../test-skeleton.c.
22582 (do_test): Mark static.
22583 (TEST_FUNCTION): Define.
22585 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22586 (IP_PMTUDISC_INTERFACE): Likewise.
22587 (IP_MULTICAST_IF): Likewise.
22588 (IP_MULTICAST_TTL): Likewise.
22589 (IP_MULTICAST_LOOP): Likewise.
22590 (IP_ADD_MEMBERSHIP): Likewise.
22591 (IP_DROP_MEMBERSHIP): Likewise.
22592 (IP_UNBLOCK_SOURCE): Likewise.
22593 (IP_BLOCK_SOURCE): Likewise.
22594 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22595 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22596 (IP_MSFILTER): Likewise.
22597 (MCAST_JOIN_GROUP): Likewise.
22598 (MCAST_BLOCK_SOURCE): Likewise.
22599 (MCAST_UNBLOCK_SOURCE): Likewise.
22600 (MCAST_LEAVE_GROUP): Likewise.
22601 (MCAST_JOIN_SOURCE_GROUP): Likewise.
22602 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22603 (MCAST_MSFILTER): Likewise.
22604 (IP_MULTICAST_ALL): Likewise.
22605 (IP_UNICAST_IF): Likewise.
22607 * timezone/Makefile: Delete $(have-ksh) check.
22608 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22609 * timezone/tzselect.ksh: Add +x mode bits.
22611 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22612 (ANON_INODE_FS_MAGIC): Likewise.
22613 (BDEVFS_MAGIC): Likewise.
22614 (BINFMTFS_MAGIC): Likewise.
22615 (BTRFS_TEST_MAGIC): Likewise.
22616 (CRAMFS_MAGIC_WEND): Likewise.
22617 (DEBUGFS_MAGIC): Likewise.
22618 (ECRYPTFS_SUPER_MAGIC): Likewise.
22619 (EXT3_SUPER_MAGIC): Likewise.
22620 (EXT4_SUPER_MAGIC): Likewise.
22621 (FUTEXFS_SUPER_MAGIC): Likewise.
22622 (HOSTFS_SUPER_MAGIC): Likewise.
22623 (HUGETLBFS_MAGIC): Likewise.
22624 (MINIX3_SUPER_MAGIC): Likewise.
22625 (MTD_INODE_FS_MAGIC): Likewise.
22626 (NILFS_SUPER_MAGIC): Likewise.
22627 (OPENPROM_SUPER_MAGIC): Likewise.
22628 (PIPEFS_MAGIC): Likewise.
22629 (PSTOREFS_MAGIC): Likewise.
22630 (QNX6_SUPER_MAGIC): Likewise.
22631 (RAMFS_MAGIC): Likewise.
22632 (REISERFS_SUPER_MAGIC_STRING): Likewise.
22633 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22634 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22635 (SECURITYFS_MAGIC): Likewise.
22636 (SELINUX_MAGIC): Likewise.
22637 (SMACK_MAGIC): Likewise.
22638 (SOCKFS_MAGIC): Likewise.
22639 (SQUASHFS_MAGIC): Likewise.
22640 (STACK_END_MAGIC): Likewise.
22641 (TMPFS_MAGIC): Likewise.
22642 (USBDEVICE_SUPER_MAGIC): Likewise.
22643 (V9FS_MAGIC): Likewise.
22644 (XENFS_SUPER_MAGIC): Likewise.
22645 (CRAMFS_MAGIC): Fix typo in comment.
22646 (EXT2_SUPER_MAGIC): Update comment.
22647 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22649 2014-02-08 Joseph Myers <joseph@codesourcery.com>
22651 * sysdeps/arm: Move directory from ports/sysdeps/arm.
22652 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22653 * sysdeps/unix/sysv/linux/arm: Move directory from
22654 ports/sysdeps/unix/sysv/linux/arm.
22655 * README: Update listing for arm-*-linux-gnueabi.
22657 * README: Remove mention of am33.
22659 2014-02-07 Roland McGrath <roland@hack.frob.com>
22661 * bits/sigset.h (__sigemptyset): Use a statement expression rather
22662 than the comma operator, to avoid "rhs of comma has no effect"
22664 (__sigfillset, __sigandset, __sigorset): Likewise.
22665 * include/signal.h (__sigemptyset): Likewise.
22666 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22668 2014-02-07 Allan McRae <allan@archlinux.org>
22670 * version.h (RELEASE): Set to "development".
22671 (VERSION): Set to "2.19.90"
22672 * NEWS: Add 2.20 section.
22674 2014-02-06 Carlos O'Donell <carlos@redhat.com>
22677 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22679 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22681 * manual/contrib.texi: Update entry for Carlos O'Donell,
22682 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22684 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
22686 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22688 * sysdeps/unix/sysv/linux/kernel-features.h
22689 [__LINUX_KERNEL_VERSION >= 0x020621]
22690 (__ASSUME_PROC_PID_TASK_COMM): Define.
22692 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22695 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22696 conversion when destination buffer does not have enough space.
22697 * libio/tst-ftell-partial-wide.c: New test case.
22698 * libio/Makefile (tests): Add tst-ftell-partial-wide.
22700 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22701 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
22702 Leonard and Allan McRae.
22704 2014-02-04 David S. Miller <davem@davemloft.net>
22706 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22709 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22738 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22740 * nptl/shlib-versions: Change powerpc*le start to 2.17.
22741 * shlib-versions: Likewise.
22743 2014-02-04 Roland McGrath <roland@hack.frob.com>
22744 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22746 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22747 (abilist-pattern): New variable, set to %-le.abilist.
22749 * Makerules (abilist-pattern): New variable.
22750 (vpath): Use $(abilist-pattern) in place of %.abilist.
22751 (check-abi-% pattern rule): Likewise.
22752 (check-abi, update-abi): Likewise.
22754 2014-02-04 Eric Wong <normalperson@yhbt.net>
22756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22758 2014-02-03 Carlos O'Donell <carlos@redhat.com>
22760 * manual/startup.texi: Add next, previous, and top entries for
22761 the `Program Arguments' and `Environment Variables' nodes.
22763 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
22765 * manual/macros.texi: Add comments before MTASC-safety macros.
22767 * manual/users.texi: Document MTASC-safety properties.
22769 * manual/threads.texi (pthread_key_create, pthread_key_delete)
22770 (pthread_getspecific, pthread_setspecific): Format with
22771 @deftypefun, and add @safety note.
22772 * manual/signal.texi: Move comments that analyze the above
22773 functions to their home place.
22775 2014-02-03 Allan McRae <allan@archlinux.org>
22777 * po/sl.po: Update Slovenian translation from translation project.
22779 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
22781 * manual/time.texi (timegm): Add missing blank after @c.
22782 Reported by Joseph Myers <joseph@codesourcery.com>.
22784 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
22786 * manual/check-safety.sh: New.
22787 * manual/Makefile ($(objpfx)stamp-summary): Run it.
22789 * manual/terminal.texi: Document MTASC-safety properties.
22791 * manual/filesys.texi: Document MTASC-safety properties.
22793 * manual/errno.texi: Document MTASC-safety properties.
22795 * manual/intro.texi: Document safety identifiers and
22798 * manual/string.texi (wcstok): Fix prototype.
22799 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22801 * manual/time.texi: Document MTASC-safety properties.
22803 * manual/string.texi: Document MTASC-safety properties.
22805 * manual/threads.texi: Document MTASC-safety properties.
22807 * manual/stdio.texi: Document MTASC-safety properties.
22809 * manual/syslog.texi: Document MTASC-safety properties.
22811 * manual/sysinfo.texi: Document MTASC-safety properties.
22813 * manual/startup.texi: Document MTASC-safety properties.
22815 * manual/socket.texi: Document MTASC-safety properties.
22817 * manual/signal.texi: Document MTASC-safety properties.
22819 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
22821 * manual/setjmp.texi: Document MTASC-safety properties.
22823 * manual/search.texi: Document MTASC-safety properties.
22825 * manual/resource.texi: Document MTASC-safety properties.
22827 * manual/process.texi: Document MTASC-safety properties.
22829 * manual/platform.texi: Document MTASC-safety properties.
22831 * manual/pipe.texi: Document MTASC-safety properties.
22833 * manual/pattern.texi: Document MTASC-safety properties.
22835 * manual/message.texi: Document MTASC-safety properties.
22838 * manual/memory.texi: Document MTASC-safety properties.
22840 * manual/math.texi: Document MTASC-safety properties.
22842 * manual/locale.texi: Document MTASC-safety properties.
22844 * manual/llio.texi: Document MTASC-safety properties.
22846 * manual/libdl.texi: New.
22848 * manual/lang.texi: Document MTASC-safety properties.
22850 * manual/job.texi: Document MTASC-safety properties.
22852 * manual/getopt.texi: Document MTASC-safety properties.
22854 * manual/ctype.texi: Document MTASC-safety properties.
22856 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
22859 * csu/libc-tls.c (static_map): Remove variable.
22860 (__libc_setup_tls): Use main executable's link map for TLS data.
22861 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22862 casing for LM_ID_BASE and GL(dl_nns).
22863 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22864 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
22865 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22866 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22867 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22869 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22872 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
22874 * manual/debug.texi: Document MTASC-safety properties.
22876 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
22879 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22880 of __x86_64__ when disabling x87 inline functions.
22882 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
22884 * manual/charset.texi: Document MTASC-safety properties.
22886 * manual/crypt.texi: Document MTASC-safety properties.
22888 * manual/conf.texi: Document MTASC-safety properties.
22890 * manual/arith.texi: Document MTASC-safety properties.
22892 * manual/argp.texi: Document MTASC-safety properties.
22894 * manual/macros.texi: Introduce macros to document multi
22895 thread, asynchronous signal and asynchronous cancellation
22897 * manual/intro.texi: Introduce the properties themselves.
22899 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22901 * sysdeps/sh/sh4/Makefile: New file.
22903 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
22905 * math/gen-libm-test.pl ($srcdir): New variable.
22906 ($auto_input): Use it.
22908 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22911 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22912 access beyond array bounds when parsing netgroups file.
22914 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22915 the old buffer before realloc.
22917 2014-01-27 Allan McRae <allan@archlinux.org>
22919 * po/fr.po: Update French translation from translation project.
22921 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22923 * sysdeps/sh/libm-test-ulps: Regenerate.
22925 2014-01-24 David S. Miller <davem@davemloft.net>
22927 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22929 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22931 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22932 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22934 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22937 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22938 string pointers after reallocation.
22940 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22942 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22943 __SH4A__ instead of __SH_FPU_ANY__.
22945 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22947 * sysdeps/sh/fpu_control.h: New file.
22948 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22949 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22950 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22951 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22952 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22953 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22954 * sysdeps/sh/sys/ucontext.h: Remove.
22955 * sysdeps/sh/sys: Remove directory.
22957 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22959 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22960 s390/sys/ucontext.h.
22961 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22962 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22964 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
22967 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22969 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22972 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22973 Adjust the vDSO correctly for internal calls.
22974 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22976 2014-01-20 Allan McRae <allan@archlinux.org>
22978 * po/ca.po: Update Catalan translation from translation project.
22980 2014-01-16 Mike Frysinger <vapier@gentoo.org>
22982 * sysdeps/s390/sotruss-lib.c: New file.
22984 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22987 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22988 (__GI___gettimeofday): Alias for a different internal symbol to avoid
22989 local calls issues by not having a PLT stub required for IFUNC calls.
22990 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22992 2014-01-16 Joseph Myers <joseph@codesourcery.com>
22994 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22995 * math/test-fpucw-static.c: Likewise.
22997 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23000 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23002 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23004 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23005 implementation for powerpc.
23007 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
23010 * sysdeps/posix/system.c (__libc_system): Do not enable
23011 asynchronous cancellation.
23013 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23016 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23017 handling only for numbers special also in the IEEE case.
23019 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23021 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23023 2014-01-11 Allan McRae <allan@archlinux.org>
23025 * po/bg.po: Update Bulgarian translation from translation project.
23027 * po/de.po: Update German translation from translation project.
23029 2014-01-10 Roland McGrath <roland@hack.frob.com>
23031 * sysdeps/generic/gcc-compat.h: New file.
23033 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23035 * benchtests/asin-inputs: Correct slow inputs.
23036 * benchtests/acos-inputs: Likewise.
23038 2014-01-10 Allan McRae <allan@archlinux.org>
23040 * po:sv.po: Update Swedish translation from translation project.
23042 * po/vi.po: Update Vietnamese translation from translation project.
23044 * po/eo.po: Update Esperanto translation from translation project.
23046 * po/cs.po: Update Czech translation from translation project.
23048 * po/nl.po: Update Dutch translation from translation project.
23050 * po/pl.po: Update Polish translation from translation project.
23052 * po/ru.po: Update Russian translation from translation project.
23054 * po/uk.po: Update Ukrainian translation from translation project.
23056 2014-01-08 Brooks Moses <bmoses@google.com>
23058 * elf/dl-load.c: Fix comment typo.
23060 2014-01-08 Carlos O'Donell <carlos@redhat.com>
23062 * po/header.pot: Rename to...
23063 * po/pot.header: ... this.
23064 * po/Makefile: Use pot.header.
23066 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23067 Maxim Kuvyrkov <maxim@kugelworks.com>
23070 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23071 SRC and DEST against LEN.
23073 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23076 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23078 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23080 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23084 2014-01-08 Joseph Myers <joseph@codesourcery.com>
23087 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23088 for large positive arguments.
23090 2014-01-07 Joseph Myers <joseph@codesourcery.com>
23092 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23094 * math/auto-libm-test-in: Mark various tests with
23095 xfail-rounding:ldbl-128ibm.
23096 * math/auto-libm-test-out: Regenerated.
23099 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23100 Increase overflow threshold.
23102 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
23105 * stdio-common/vfprintf.c: Check for integer overflow.
23107 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23109 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23110 the first argument and return value of __tls_get_addr_internal.
23112 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23114 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23115 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23117 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23119 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23120 * sysdeps/s390/rtld-global-offsets.sym: New file.
23121 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23123 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23124 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23125 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23127 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23128 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23134 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23135 halfs of GPRs for high_gprs contexts.
23136 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23137 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
23139 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23141 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23143 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23144 for high GPRs (uc_high_gprs) and for future extensions
23146 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23147 for future extensions (__reserved).
23148 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23150 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23151 SC_HIGHGPRS offset definition.
23152 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23153 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23155 * Versions.def: Add GLIBC_2.19 for libpthread.
23156 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23157 siglongjmp for libpthread with GLIBC_2.19 symver.
23158 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23159 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23160 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23161 * sysdeps/s390/__longjmp.c: New file.
23162 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23163 * sysdeps/s390/longjmp.c: New file.
23164 * sysdeps/s390/setjmp.S: New file.
23165 * sysdeps/s390/sigjmp.S: New file.
23166 * sysdeps/s390/v1-longjmp.c: New file.
23167 * sysdeps/s390/v1-setjmp.h: New file.
23168 * sysdeps/s390/v1-sigjmp.c: New file.
23169 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23170 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23171 GLIBC_2.19 version.
23172 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23173 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23174 versioned symbols for ____longjmp_chk.
23175 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23185 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23186 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23187 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23188 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23189 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23190 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23191 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23192 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23193 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23194 * sysdeps/s390/rtld-__longjmp.c: New file.
23195 * sysdeps/s390/rtld-setjmp.S: New file.
23197 2014-01-06 Joseph Myers <joseph@codesourcery.com>
23200 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23201 Return -__logl (x) for small positive arguments without evaluating
23204 2014-01-06 Mike Frysinger <vapier@gentoo.org>
23206 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23208 (__ptrace_peeksiginfo_args): ... this.
23209 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23210 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23211 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23213 2014-01-06 Allan McRae <allan@archlinux.org>
23215 * inet/netinet/in.h: Fix typo in comment.
23217 2014-01-05 Andreas Jaeger <aj@suse.de>
23219 * sysdeps/i386/fpu/libm-test-ulps: Update.
23221 2014-01-05 Allan McRae <allan@archlinux.org>
23223 * po/libc.pot: Regenerated.
23225 * malloc/memusagestat.c: Fix gettext call formatting.
23227 2014-01-04 Sami Kerola <kerolasa@iki.fi>
23229 * nscd/nscd.c: Improve usage() output.
23231 2014-01-04 Mike Frysinger <vapier@gentoo.org>
23233 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23234 * sysdeps/unix/sysv/linux/configure: Regenerated.
23235 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23236 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23238 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23241 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23242 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23244 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23246 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23247 extra tokens at end of #undef directive.
23248 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23249 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23250 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23252 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23254 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23256 * math/auto-libm-test-in: Mark various tests with
23257 xfail-rounding:ldbl-128ibm.
23258 * math/auto-libm-test-out: Regenerated.
23260 2014-01-02 Joseph Myers <joseph@codesourcery.com>
23263 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23264 numbers with subnormal high part when calculating exponent.
23267 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23271 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23273 (__ieee754_acoshl): Use __log1pl not __log1p.
23275 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
23277 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23278 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23279 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23280 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23281 (reused_arena, arena_get2): Convert to GNU style.
23282 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23283 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23284 (memalign_check, __malloc_set_state): Likewise.
23285 * malloc/mallocbug.c (main): Likewise.
23286 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23287 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23288 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23289 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23290 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23291 (__posix_memalign, malloc_info): Likewise.
23292 * malloc/malloc.h: Likewise.
23293 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23294 (mallochook, memalignhook, reallochook, mabort): Likewise.
23295 * malloc/mcheck.h: Likewise.
23296 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23297 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23298 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23299 * malloc/morecore.c (__default_morecore): Likewise.
23300 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23301 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23302 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23303 (print_and_abort): Likewise.
23304 * malloc/obstack.h: Likewise.
23305 * malloc/set-freeres.c (__libc_freeres): Likewise.
23306 * malloc/tst-mallocstate.c (main): Likewise.
23307 * malloc/tst-mtrace.c (main): Likewise.
23308 * malloc/tst-realloc.c (do_test): Likewise.
23310 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23313 * nscd/netgroupcache.c (do_notfound): New function.
23314 (addgetnetgrentX): Use it.
23317 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23318 NSS_STATUS_NOTFOUND.
23320 2014-01-01 Joseph Myers <joseph@codesourcery.com>
23322 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23325 2014-01-01 Allan McRae <allan@archlinux.org>
23327 * scripts/update-copyrights: Update configure input file suffix.
23329 * NEWS: Update copyright year.
23330 * catgets/gencat.c: Likewise.
23331 * csu/version.c: Likewise.
23332 * debug/catchsegv.sh: Likewise.
23333 * debug/pcprofiledump.c: Likewise.
23334 * debug/xtrace.sh: Likewise.
23335 * elf/ldconfig.c: Likewise.
23336 * elf/ldd.bash.in: Likewise.
23337 * elf/pldd.c: Likewise.
23338 * elf/sotruss.ksh: Likewise.
23339 * elf/sprof.c: Likewise.
23340 * iconv/iconv_prog.c: Likewise.
23341 * iconv/iconvconfig.c: Likewise.
23342 * locale/programs/locale.c: Likewise.
23343 * locale/programs/localedef.c: Likewise.
23344 * login/programs/pt_chown.c: Likewise.
23345 * malloc/memusage.sh: Likewise.
23346 * malloc/memusagestat.c: Likewise.
23347 * malloc/mtrace.pl: Likewise.
23348 * manual/libc.texinfo: Likewise.
23349 * nscd/nscd.c: Likewise.
23350 * nss/getent.c: Likewise.
23351 * nss/makedb.c: Likewise.
23352 * posix/getconf.c: Likewise.
23353 * scripts/test-installation.pl: Likewise.
23355 * All files with FSF copyright notices: Update copyright dates
23356 using scripts/update-copyrights.
23357 * intl/plural.c: Regenerated.
23358 * locale/programs/charmap-kw.h: Likewise.
23359 * locale/programs/locfile-kw.h: Likewise.
23361 2013-12-31 Mike Frysinger <vapier@gentoo.org>
23363 * sysdeps/unix/sysv/linux/configure: Regenerated.
23364 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23365 the linux/fanotify.h header.
23366 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23367 HAVE_LINUX_FANOTIFY_H is defined.
23369 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23371 * benchtests/cos-inputs: New inputs.
23372 * benchtests/sin-inputs: Likewise.
23374 * benchtests/atan-inputs: New inputs. Fix name of multiple
23375 precision fallback inputs.
23377 * benchtests/atanh-inputs: New inputs.
23378 * benchtests/tanh-inputs: Likewise.
23380 * benchtests/acosh-inputs: New inputs.
23381 * benchtests/asinh-inputs: Likewise.
23383 * benchtests/cosh-inputs: New inputs.
23384 * benchtests/sinh-inputs: Likewise.
23386 * benchtests/acos-inputs: Add more inputs.
23387 * benchtests/asin-inputs: Likewise.
23389 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
23392 * manual/arith.texi: Fix spelling.
23393 * manual/charset.texi: Likewise.
23394 * manual/errno.texi: Likewise.
23395 * manual/filesys.texi: Likewise.
23396 * manual/lang.texi: Likewise.
23397 * manual/llio.texi: Likewise.
23398 * manual/locale.texi: Likewise.
23399 * manual/message.texi: Likewise.
23400 * manual/resource.texi: Likewise.
23401 * manual/search.texi: Likewise.
23402 * manual/setjmp.texi: Likewise.
23403 * manual/stdio.texi: Likewise.
23404 * manual/string.texi: Likewise.
23405 * manual/sysinfo.texi: Likewise.
23406 * manual/time.texi: Likewise.
23408 2013-12-27 Carlos O'Donell <carlos@redhat.com>
23410 * po/sl.po: New file.
23412 2013-12-27 Mike Frysinger <vapier@gentoo.org>
23414 * .gitignore: Add core/.gdbinit/.gdb_history.
23416 2013-12-27 Allan McRae <allan@archlinux.org>
23419 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23420 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23422 2013-12-24 Brooks Moses <bmoses@google.com>
23424 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23425 all compilers that claim C++98 compliance, not just GCC.
23426 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23429 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23431 * NEWS: Restore accidentally deleted bug-fix entries.
23433 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23434 Ondřej Bílka <neleai@seznam.cz>
23437 * malloc/malloc.c (_int_free): Perform sanity check only if we
23440 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
23443 * manual/stdio.texi (String Input Conversions): Clarify that character
23444 classes are not supported.
23446 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23450 2013-12-22 Joseph Myers <joseph@codesourcery.com>
23453 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23454 Calculate results for small negative arguments directly rather
23455 than using reflection formula with special underflow handling.
23457 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23458 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23459 sysdeps/unix/bsd/bsd4.4/syscalls.list.
23460 (fchflags): Likewise.
23461 (revoke): Likewise.
23462 (setlogin): Likewise.
23463 (sigaltstack): Likewise.
23465 (sigblock): Remove.
23466 (sigsetmask): Likewise.
23468 (waitpid): Likewise.
23469 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23470 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23472 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23473 * sysdeps/unix/bsd/Makefile: ... here.
23474 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23475 * sysdeps/unix/bsd/Versions: ... here.
23476 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23477 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23478 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23479 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23480 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23481 * sysdeps/unix/bsd/sigblock.c: ... here.
23482 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23483 * sysdeps/unix/bsd/sigsetmask.c: ... here.
23484 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23485 * sysdeps/unix/bsd/sigvec.c: ... here.
23486 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23487 * sysdeps/unix/bsd/tcdrain.c: ... here.
23488 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23489 * sysdeps/unix/bsd/tcgetattr.c: ... here.
23490 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23491 * sysdeps/unix/bsd/tcsetattr.c: ... here.
23492 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23493 * sysdeps/unix/bsd/wait.c: ... here.
23494 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23495 * sysdeps/unix/bsd/wait3.c: ... here.
23496 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23497 * sysdeps/unix/bsd/waitpid.c: ... here.
23499 2013-12-21 Joseph Myers <joseph@codesourcery.com>
23502 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23503 round-to-nearest for [!USE_AS_EXPM1L].
23504 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23505 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
23506 more tests of exp and exp10. Expect some exp10 tests to miss
23507 exceptions or fail in directed rounding modes.
23508 * math/auto-libm-test-out: Regenerated.
23509 * math/libm-test.inc (exp10_tonearest_test_data): New array.
23510 (exp10_test_tonearest): New function.
23511 (exp10_towardzero_test_data): New array.
23512 (exp10_test_towardzero): New function.
23513 (exp10_downward_test_data): New array.
23514 (exp10_test_downward): New function.
23515 (exp10_upward_test_data): New array.
23516 (exp10_test_upward): New function.
23517 (main): Call the new functions.
23518 * sysdeps/i386/fpu/libm-test-ulps: Update.
23519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23521 2013-12-20 Joseph Myers <joseph@codesourcery.com>
23523 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23524 asinh, atan, atan2, atanh, cbrt, cos and cosh.
23525 * math/auto-libm-test-out: Regenerated.
23526 * math/libm-test.inc (acosh_test_data): Add more tests.
23527 (atanh_test_data): Likewise.
23528 (ceil_test_data): Likewise.
23529 (copysign_test_data): Likewise.
23530 * sysdeps/i386/fpu/libm-test-ulps: Update.
23531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23533 * timezone/checktab.awk: Update from tzcode 2013i.
23534 * timezone/private.h: Likewise.
23535 * timezone/scheck.c: Likewise.
23536 * timezone/tzfile.h: Likewise.
23537 * timezone/tzselect.ksh: Likewise.
23538 * timezone/zdump.c: Likewise.
23539 * timezone/zic.c: Likewise.
23541 * math/auto-libm-test-in: Add tests of cpow.
23542 * math/auto-libm-test-out: Regenerated.
23543 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23544 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23546 (func_calc_desc): Add mpc_cc_c union field.
23547 (test_functions): Add cpow.
23548 (special_fill_2pi): New function.
23549 (special_real_inputs): Add 2pi.
23550 (calc_generic_results): Handle mpc_cc_c.
23551 * sysdeps/i386/fpu/libm-test-ulps: Update.
23552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23554 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23555 csqrt, ctan and ctanh.
23556 * math/auto-libm-test-out: Regenerated.
23557 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23558 (TEST_COND_x86): Likewise.
23559 (ccos_test_data): Use AUTO_TESTS_c_c.
23560 (ccosh_test_data): Likewise.
23561 (cexp_test_data): Likewise.
23562 (clog_test_data): Likewise.
23563 (csqrt_test_data): Likewise.
23564 (ctan_test_data): Likewise.
23565 (ctan_tonearest_test_data): Likewise.
23566 (ctan_towardzero_test_data): Likewise.
23567 (ctan_downward_test_data): Likewise.
23568 (ctan_upward_test_data): Likewise.
23569 (ctanh_test_data): Likewise.
23570 (ctanh_tonearest_test_data): Likewise.
23571 (ctanh_towardzero_test_data): Likewise.
23572 (ctanh_downward_test_data): Likewise.
23573 (ctanh_upward_test_data): Likewise.
23574 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23576 (func_calc_desc): Add mpc_c_c union field.
23577 (FUNC_mpc_c_c): New macro.
23578 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23579 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23581 (special_fill_min_subnorm_p120): New function.
23582 (special_real_inputs): Add min_subnorm_p120.
23583 (calc_generic_results): Handle mpc_c_c.
23584 * sysdeps/i386/fpu/libm-test-ulps: Update.
23585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23587 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23589 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23590 (do_sin_slow): New functions.
23591 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23592 (cslow2, csloww1, csloww2): Use the new functions.
23594 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23595 Use M to change sign of result instead of X. Assume X is
23597 (csloww1): Likewise.
23601 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23602 arguments A and DA.
23606 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23608 (sloww1): Don't adjust sign of DX.
23609 (csloww1): Likewise.
23610 (sloww2): Use X directly and don't adjust sign of DX.
23611 (csloww2): Likewise.
23613 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23615 * math/auto-libm-test-in: Add tests of cabs and carg.
23616 * math/auto-libm-test-out: Regenerated.
23617 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23618 (carg_test_data): Likewise.
23619 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23621 (func_calc_desc): Add mpc_c_f union field.
23622 (test_functions): Add cabs and carg.
23623 (calc_generic_results): Handle mpc_c_f.
23625 * sysdeps/powerpc/powerpc32/libgcc-compat.S
23626 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23627 as a macro and a compat symbol.
23628 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23629 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23630 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23631 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23632 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23633 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23635 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23637 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23639 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23641 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23643 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23645 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23646 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23649 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23653 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23655 * manual/texinfo.tex: Update to version 2013-11-26.10 with
23656 trailing whitespace removed.
23657 * scripts/config.guess: Update to version 2013-11-29.
23658 * scripts/config.sub: Update to version 2013-10-01.
23660 * math/auto-libm-test-in: Add tests of sincos.
23661 * math/auto-libm-test-out: Regenerated.
23662 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23663 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23665 (func_calc_desc): Add mpfr_f_11 union field.
23666 (test_functions): Add sincos.
23667 (calc_generic_results): Handle mpfr_f_11.
23668 * sysdeps/i386/fpu/libm-test-ulps: Update.
23669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23671 2013-12-19 Andreas Schwab <schwab@suse.de>
23673 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23675 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23676 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23677 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23679 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23681 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23682 * sysdeps/i386/fpu/libm-test-ulps: Update.
23683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23686 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23687 round-to-nearest mode when using frndint.
23688 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23689 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23690 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23692 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
23694 * math/auto-libm-test-out: Regenerated.
23695 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23696 (TEST_COND_x86): Likewise.
23697 (expm1_tonearest_test_data): New array.
23698 (expm1_test_tonearest): New function.
23699 (expm1_towardzero_test_data): New array.
23700 (expm1_test_towardzero): New function.
23701 (expm1_downward_test_data): New array.
23702 (expm1_test_downward): New function.
23703 (expm1_upward_test_data): New array.
23704 (expm1_test_upward): New function.
23705 (main): Run the new test functions.
23706 * sysdeps/i386/fpu/libm-test-ulps: Update.
23707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23709 * include/features.h: Update comment documenting feature test
23710 macros. Mention _DEFAULT_SOURCE in comment.
23711 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23712 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23713 _BSD_SOURCE and _SVID_SOURCE.
23714 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23715 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23716 !_SVID_SOURCE]: Likewise.
23717 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23718 (__USE_POSIX_IMPLICITLY): Define.
23719 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23720 (_POSIX_SOURCE): Undefine and redefine.
23721 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23722 (_POSIX_C_SOURCE): Likewise.
23723 * manual/creature.texi (_DEFAULT_SOURCE): Document.
23724 (Feature Test Macros): Update documentation of default features.
23726 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23728 * benchtests/Makefile: Add bench-strtok.
23729 * benchtests/bench-strtok.c: New file: strtok benchtest.
23731 2013-12-19 Allan McRae <allan@archlinux.org>
23733 * manual/install.texi: Suppress menu for plain text output.
23734 * INSTALL: Regenerated.
23736 2013-12-18 Brooks Moses <bmoses@google.com>
23739 * misc/getauxval.c: Include errno.h.
23740 (__getauxval): Set errno to ENOENT if the requested type is not
23742 * misc/sys/auxv.h (getauxval): Document that it may set errno;
23743 don't declare with __attribute_const__.
23744 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23745 * manual/startup.texi: Document that getauxval sets errno.
23747 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23749 * math/auto-libm-test-in: Add tests of jn and yn.
23750 * math/auto-libm-test-out: Regenerated.
23751 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23752 (yn_test_data): Likewise.
23753 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23755 (func_calc_desc): Add mpfr_if_f union field.
23756 (FUNC_mpfr_if_f): New macro.
23757 (test_functions): Add jn and yn.
23758 (calc_generic_results): Assert type of second input for
23759 mpfr_ff_f. Handle mpfr_if_f.
23760 (output_for_one_input_case): Disable all checking for arguments
23761 fitting floating-point types in case of an integer argument.
23762 * sysdeps/i386/fpu/libm-test-ulps: Update.
23763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23766 Don't expect fegetround reference in libm.so.
23768 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23770 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23771 $(config-cflags-nofma).
23773 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23775 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23776 * math/auto-libm-test-out: Regenerated.
23779 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23780 to determine exponent and adjust argument to have exponent of -1.
23781 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23783 * math/auto-libm-test-out: Regenerated.
23784 * sysdeps/i386/fpu/libm-test-ulps: Update.
23785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23787 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
23789 * manual/probes.texi: Remove cases when per-thread arenas are
23792 2013-12-18 Andreas Schwab <schwab@suse.de>
23794 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23795 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23796 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23797 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23798 * sysdeps/i386/i686/multiarch/Makefile: Update.
23799 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23801 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23803 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23804 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23806 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
23809 Support TZ transition times < 00:00:00.
23810 This is needed for version-3 tz-format files; it supports time
23811 stamps past 2037 for America/Godthab (the only entry in the tz
23812 database for which this change is relevant).
23813 * manual/time.texi (TZ Variable): Document transition times
23814 from -167:59:59 through -00:00:01.
23815 * time/tzset.c (tz_rule): Time of day is now signed.
23816 (__tzset_parse_tz): Parse negative time of day.
23818 Document TZ transition times >= 25:00:00.
23819 * manual/time.texi (TZ Variable): Document transition times from
23820 25:00:00 through 167:59:59. These are already supported, and this
23821 support will help with version-3 tz-format files.
23823 * manual/time.texi (TZ Variable): Modernize North America example
23824 to reflect current (i.e., 2007-and-later) daylight saving rules.
23826 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23828 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23830 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23831 * sysdeps/unix/bsd/bits/stat.h: Likewise.
23832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23833 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23834 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23835 * sysdeps/unix/bsd/bsdstat.h: Likewise.
23836 * sysdeps/unix/bsd/clock.c: Likewise.
23837 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23838 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23839 * sysdeps/unix/bsd/init-posix.c: Likewise.
23840 * sysdeps/unix/bsd/poll.c: Likewise.
23841 * sysdeps/unix/bsd/ptsname.c: Likewise.
23842 * sysdeps/unix/bsd/seekdir.c: Likewise.
23843 * sysdeps/unix/bsd/setegid.c: Likewise.
23844 * sysdeps/unix/bsd/seteuid.c: Likewise.
23845 * sysdeps/unix/bsd/setgid.c: Likewise.
23846 * sysdeps/unix/bsd/setrgid.c: Likewise.
23847 * sysdeps/unix/bsd/setruid.c: Likewise.
23848 * sysdeps/unix/bsd/setsid.c: Likewise.
23849 * sysdeps/unix/bsd/setuid.c: Likewise.
23850 * sysdeps/unix/bsd/sigaction.c: Likewise.
23851 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23852 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23853 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23854 * sysdeps/unix/bsd/telldir.c: Likewise.
23855 * sysdeps/unix/bsd/times.c: Likewise.
23856 * sysdeps/unix/bsd/usleep.c: Likewise.
23858 * misc/Makefile (install-lib): Remove libbsd-compat.a.
23859 ($(objpfx)libbsd-compat.a): Remove rule.
23861 * include/features.h (__FAVOR_BSD): Do not define.
23862 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23863 features conflicting with POSIX.
23864 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23865 (_BSD_SOURCE): Remove description of not being a subset of other
23866 feature test macros.
23867 * manual/job.texi (getpgrp): Do not document BSD version.
23868 (getpgid): Do not document by reference to BSD getpgrp.
23869 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23870 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23871 * signal/signal.h [__FAVOR_BSD]: Likewise.
23872 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23873 instead of making contents conditional on [__FAVOR_BSD].
23874 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23876 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23880 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23883 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23884 values below 2**-450, not 2**-500.
23885 * math/auto-libm-test-in: Don't allow spurious underflow from
23887 * math/auto-libm-test-out: Regenerated.
23891 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23892 values of ha and hb and sort them after adjusting subnormal
23894 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23896 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23897 values of ea and eb and sort them after adjusting subnormal
23899 * math/auto-libm-test-in: Do not expect some hypot tests of
23900 subnormals to fail. Add more hypot tests.
23901 * math/auto-libm-test-out: Regenerated.
23903 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23906 * sysdeps/sh/s_fma.c: New file.
23907 * sysdeps/sh/s_fmaf.c: New file.
23908 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
23910 * sysdeps/sh/Implies: Add sh/soft-fp.
23912 2013-12-16 Roland McGrath <roland@hack.frob.com>
23914 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
23915 level of indirection to members `objname', `errstring', `malloced'.
23916 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23917 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
23918 it as the __longjmp argument (just pass 1 instead).
23919 (_dl_catch_error): Initialize C with argument pointers and address of
23920 volatile local ERRCODE rather than copying values out of C at return.
23922 2013-12-16 Joseph Myers <joseph@codesourcery.com>
23924 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23925 * math/auto-libm-test-out: Regenerated.
23926 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23927 (hypot_test_data): Likewise.
23928 (pow_test_data): Likewise.
23929 (pow_tonearest_test_data): Likewise.
23930 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23932 (func_calc_desc): Add mpfr_ff_f union field.
23933 (FUNC_mpfr_ff_f): New macro.
23934 (test_functions): Add atan2, hypot and pow.
23935 (special_fill_min): New function.
23936 (special_fill_minus_min): Likewise.
23937 (special_fill_min_subnorm): Likewise.
23938 (special_fill_minus_min_subnorm): Likewise.
23939 (special_real_inputs): Add min, -min, min_subnorm and
23941 (calc_generic_results): Handle mpfr_ff_f.
23942 * sysdeps/i386/fpu/libm-test-ulps: Update.
23943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23945 2013-12-16 Will Newton <will.newton@linaro.org>
23947 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23948 (Aligned Memory Blocks): Add documentation for aligned_alloc
23949 and suggest it as an alternative to posix_memalign.
23950 (Hooks for Malloc): Document __memalign_hook is also called
23951 for aligned_alloc. (Summary of Malloc): Add summary for
23952 aligned alloc. Document __memalign_hook is also called
23955 2013-12-16 Will Newton <will.newton@linaro.org>
23957 * manual/memory.texi (Malloc Examples): Clarify default
23958 alignment documentation. Suggest posix_memalign rather
23959 than memalign or valloc.
23960 (Aligned Memory Blocks): Remove suggestion to use memalign
23961 or valloc. Remove obsolete comment about BSD.
23962 Document memalign errno values and mark the function obsolete.
23963 Document posix_memalign returned error codes. Mark valloc
23964 as obsolete. (Hooks for Malloc): __memalign_hook is also
23965 called for posix_memalign and valloc.
23966 (Summary of Malloc): Add posix_memalign to function summary.
23967 __memalign_hook is also called for posix_memalign and valloc.
23969 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23971 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23975 (sloww): Use mynumber union. Expand ternary operator into
23976 if-else statements.
23977 (cslow): use mynumber union.
23979 2013-12-16 Allan McRae <allan@archlinux.org>
23981 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23982 * configure: Regenerated.
23984 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23987 * configure.ac: Added --enable-maintainer-mode. Check for
23988 autoconf when enabled.
23989 * configure: Regenerated.
23991 * nscd/nscd.service: New file.
23992 * nscd/nscd.tmpfiles: New file.
23994 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
23997 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23998 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23999 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24000 (strstr): Add __strstr_sse2_unaligned ifunc.
24001 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24002 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24003 (strcasestr): Remove __strcasestr_sse42 ifunc.
24004 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24008 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24010 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24011 * sysdeps/sh/bits/fenv.h: ... here.
24012 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24014 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24016 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24019 hypotf multiarch implementations.
24020 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24021 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24022 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24023 multiarch hypot for PPC64.
24024 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24025 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24026 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24027 multiarch hypotf for PPC64.
24029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24030 modff multiarch implementations.
24031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24034 multiarch modf for PPC64.
24035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24038 multiarch modff for PPC64.
24040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24041 and logl multiarch implementations.
24042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24045 multiarch logb for PPC64.
24046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24049 multiarch logb for PPC64.
24050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24053 multiarch logb for PPC64.
24055 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24056 isinff multiarch implementation.
24057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24061 multiarch isinf for PPC64.
24062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24065 multiarch isinff for PPC64.
24067 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24068 finitef multiarch implementation.
24069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24073 multiarch finite for PPC64.
24074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24077 multiarch finitef for PPC64.
24079 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24080 lrint multiarch implementation.
24081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24085 multiarch llrint for PPC64.
24086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24087 multiarch lrint for PPC64.
24089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24090 copysignf multiarch implementation.
24091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24096 multiarch copysign for PPC64.
24097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24098 multiarch copysignf for PPC64.
24100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24101 multiarch implementation.
24102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24110 multiarch llround for PPC64.
24111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24112 multiarch trunc for PPC64.
24113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24114 multiarch truncf for PPC64.
24116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24117 multiarch implementation.
24118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24126 multiarch llround for PPC64.
24127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24128 multiarch round for PPC64.
24129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24130 multiarch roundf for PPC64.
24132 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24133 multiarch implementation.
24134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24142 multiarch llround for PPC64.
24143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24144 multiarch floor for PPC64.
24145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24146 multiarch floorf for PPC64.
24148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24149 multiarch implementation.
24150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24158 multiarch llround for PPC64.
24159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24160 multiarch ceil for PPC64.
24161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24162 multiarch ceilf for PPC64.
24164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24165 multiarch implementation.
24166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24173 multiarch llround for PPC64.
24174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24175 multiarch lround for PPC64.
24177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24178 multiarch implementation.
24179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24186 multiarch isnan for PPC64.
24187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24188 multiarch isnanf for PPC64.
24190 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24191 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24192 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24193 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24194 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24197 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24198 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24199 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24200 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24203 multiarch implementations.
24204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24205 (__libc_ifunc_impl_list): Likewise.
24206 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24207 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24208 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24209 multiarch stpcpy for PPC64.
24211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24212 multiarch implementations.
24213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24214 (__libc_ifunc_impl_list): Likewise.
24215 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24216 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24217 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24218 multiarch strcpy for PPC64.
24220 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24221 redefine function name.
24222 (_wordcopy_fwd_dest_aligned): Likewise.
24223 (_wordcopy_bwd_aligned): Likewise.
24224 (_wordcopy_bwd_dest_aligned): Likewise.
24225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24226 multiarch implementations.
24227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24228 (__libc_ifunc_impl_list): Likewise.
24229 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24230 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24231 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24232 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24233 multiarch wcscpy for PPC64.
24235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24236 multiarch implementations.
24237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24238 (__libc_ifunc_impl_list): Likewise.
24239 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24240 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24241 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24242 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24243 multiarch wcscpy for PPC64.
24245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24246 multiarch implementations.
24247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24248 (__libc_ifunc_impl_list): Likewise.
24249 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24250 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24251 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24252 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24253 multiarch wcsrchr for PPC64.
24255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24256 multiarch implementations.
24257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24258 (__libc_ifunc_impl_list): Likewise.
24259 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24260 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24261 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24262 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24263 multiarch wcschr for PPC64.
24265 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24266 multiarch implementations.
24267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24268 (__libc_ifunc_impl_list): Likewise.
24269 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24270 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24271 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24272 multiarch strchrnul for PPC64.
24274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24277 (__libc_ifunc_impl_list): Likewise.
24278 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24279 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24280 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24281 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24287 (__libc_ifunc_impl_list): Likewise.
24288 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24289 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24290 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24291 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24295 multiarch implementations.
24296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24297 (__libc_ifunc_impl_list): Likewise.
24298 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24299 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24300 strncasecmp for PPC64.
24301 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24302 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24303 multiarch strncasecmp_l for PPC64.
24305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24306 multiarch implementations.
24307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24308 (__libc_ifunc_impl_list): Likewise.
24309 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24310 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24311 multiarch strcasecmp for PPC64.
24312 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24314 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24315 multiarch strcasecmp_l for PPC64.
24317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24320 (__libc_ifunc_impl_list): Likewise.
24321 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24322 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24323 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24329 (__libc_ifunc_impl_list): Likewise.
24330 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24331 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24332 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24338 (__libc_ifunc_impl_list): Likewise.
24339 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24340 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24341 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24342 rawmemrchr for PPC64.
24344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24347 (__libc_ifunc_impl_list): Likewise.
24348 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24349 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24350 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24356 (__libc_ifunc_impl_list): Likewise.
24357 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24358 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24359 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24365 (__libc_ifunc_impl_list): Likewise.
24366 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24367 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24368 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24371 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24372 avoid cretion of __bzero symbol.
24373 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24375 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24377 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24380 multiarch implementations.
24381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24382 (__libc_ifunc_impl_list): Likewise.
24383 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24384 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24385 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24386 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24388 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24389 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24390 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24391 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24392 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24394 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24396 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24400 (__libc_ifunc_impl_list): Likewise.
24401 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24402 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24403 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24404 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24408 multiarch for POWER/PPC64.
24409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24410 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24411 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24412 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24413 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24414 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24415 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24416 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24417 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24420 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24421 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24422 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24423 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24424 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24425 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24426 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24427 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24428 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24429 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24430 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24431 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24432 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24433 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24434 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24443 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24445 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24447 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24449 * benchtests/Makefile (bench): Add exp2 and log2.
24450 (LDLIBS-bench-exp2): Add -lm.
24451 (LDLIBS-bench-log2): Likewise.
24452 * benchtests/exp2-inputs: New inputs file.
24453 * benchtests/log2-inputs: New inputs file.
24454 * benchtests/log-inputs: Add new inputs.
24455 * benchtests/tan-inputs: Likewise.
24457 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24459 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24461 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24462 (csloww2): ... from here.
24464 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24465 instead of structures.
24466 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24467 (POLYNOMIAL): Likewise.
24468 (TAYLOR_SLOW): Likewise.
24474 (sloww1); Likewise.
24475 (sloww2): Likewise.
24476 (bsloww1): Likewise.
24477 (bsloww2): Likewise.
24478 (cslow2): Likewise.
24479 (csloww): Likewise.
24480 (csloww1): Likewise.
24481 (csloww2): Likewise.
24483 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
24485 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24486 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24487 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24488 * malloc/hooks.c (realloc_check): Likewise.
24490 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24491 * malloc/arena.c: Remove PER_THREAD conditional.
24492 [!PER_THREAD]: Remove code.
24493 (ptmalloc_unlock_all2): Likewise.
24494 (ptmalloc_init): Likewise.
24495 (_int_new_arena): Likewise.
24496 (arena_get2): Likewise.
24497 * malloc/hooks.c (__malloc_get_state): Likewise.
24498 (__malloc_set_state): Likewise.
24499 * malloc/malloc.c: Likewise.
24500 (struct malloc_state): Likewise.
24501 (struct malloc_par): Likewise.
24502 (__libc_realloc): Likewise.
24503 (__libc_mallopt): Likewise.
24505 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24507 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24509 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
24511 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24512 macro to a function. Check for zero perturb_byte.
24513 (_int_malloc, _int_free): Remove zero perturb_byte checks.
24515 * malloc/malloc.c: (force_reg): Remove.
24516 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24517 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24518 force_reg by atomic_forced_read.
24519 * malloc/arena.c (ptmalloc_init): Likewise.
24520 * malloc/hooks.c (top_check): Likewise.
24522 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24526 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
24528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24530 2013-12-08 Joseph Myers <joseph@codesourcery.com>
24532 * math/auto-libm-test-in: Add tests of lgamma.
24533 * math/auto-libm-test-out: Regenerated.
24534 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24535 (M_LOG_2_SQRT_PIl): Likewise.
24536 (lgamma_test_data): Use AUTO_TESTS_f_f1.
24537 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24539 (func_calc_desc): Add mpfr_f_f1 union field.
24540 (ARGS1): New macro.
24548 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24549 (test_functions): Add lgamma.
24550 (calc_generic_results): Handle mpfr_f_f1.
24551 * sysdeps/i386/fpu/libm-test-ulps: Update.
24552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24554 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24556 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24557 __mpn_add_n for PowerPC64/POWER7.
24558 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24559 __mpn_sub_n for PowerPC64/POWER7.
24561 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24562 __mpn_addmul_1 for PowerPC64.
24563 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24564 __mpn_submul_1 for PowerPC64.
24565 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24567 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24570 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
24573 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24575 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24577 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24579 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24580 add multiarch folders.
24581 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24582 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24583 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24584 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24585 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24586 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24587 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24588 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24589 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24590 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24591 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24600 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24606 multiarch __ieee754_hypot for PowerPC32.
24607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24612 multiarch __ieee754_hypotf for PowerPC32.
24614 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24615 long_double_symbol only if __logbl is defined.
24616 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24617 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24618 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24619 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24620 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24621 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24622 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24623 path for implementation.
24624 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24625 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24627 logb, and logbl multiarch implementations for PowerPC32.
24628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24633 multiarch logb for PowerPC32.
24634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24639 multiarch logbf for PowerPC32.
24640 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24644 multiarch logbl implementation for PowerPC32.
24646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24647 and modff multiarch implementations.
24648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24653 multiarch modf for PowerPC32.
24654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24659 multiarch modff for PowerPC32.
24661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24662 and lrintf multiarch implementations.
24663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24668 multiarch lrint for PowerPC32.
24669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24670 file: multiarch lrintf for PowerPC32.
24672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24673 and lroundf multiarch implementations.
24674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24681 multiarch lround for PowerPC32.
24682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24683 file: multiarch lroundf for PowerPC32.
24685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24686 copysign and copysignf multiarch implementations.
24687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24692 file: multiarch copysign for PowerPC32.
24693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24694 file: multiarch copysignf for PowerPC32.
24696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24697 and truncf multiarch implementations.
24698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24703 multiarch trunc for PowerPC32.
24704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24709 multiarch truncf for PowerPC32.
24711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24712 and roundf multiarch implementations.
24713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24718 multiarch round for PowerPC32.
24719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24724 multiarch roundf for PowerPC32.
24726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24727 and floorf multiarch implementations.
24728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24733 multiarch floor for PowerPC32.
24734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24739 multiarch floorf for PowerPC32.
24741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24742 and ceilf multiarch implementations.
24743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24748 multiarch ceil for PowerPC32.
24749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24754 multiarch ceilf for PowerPC32.
24756 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24758 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24759 FINITEF is defined.
24760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24761 and finitef multiarch implementations.
24762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24767 multiarch finite for PowerPC32.
24768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24771 file: multiarch finitef for PowerPC32.
24773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24774 and isinff multiarch implementations.
24775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24780 multiarch isinf for PowerPC32.
24781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24784 multiarch isinff for PowerPC32.
24786 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24787 alias when __isnan is defined.
24788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24789 and isnanf multiarch implementations.
24790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24799 multiarch isnan for PowerPC32.
24800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24805 multiarch isnanf for PowerPC32.
24807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24808 and sqrtf multiarch implementations.
24809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24814 multiarch sqrt for PowerPC32.
24815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24820 multiarch sqrtf for PowerPC32.
24822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24823 and llroundf multiarch implementations.
24824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24831 file: multiarch llround for PowerPC32.
24832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24833 file: multiarch llroundf for PowerPC32.
24835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24836 multiarch PowerPC32 fpu implementations.
24837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24842 multiarch llrint for PowerPC32.
24843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24852 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24854 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24856 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24858 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24859 multiarch wordcopy for PPC32.
24860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24863 (__libc_ifunc_impl_list): Likewise.
24864 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24865 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24866 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24867 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24868 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24869 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24871 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24872 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24874 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24876 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24878 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24879 multiarch wcscpy for PPC32.
24880 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24882 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24883 (__libc_ifunc_impl_list): Likewise.
24884 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24885 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24886 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24887 sysdeps/powerpc/power6/wcscpy.c.
24889 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24890 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24896 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24897 multiarch wcsrchr for PPC32.
24898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24901 (__libc_ifunc_impl_list): Likewise.
24902 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24903 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24904 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24905 sysdeps/powerpc/power6/wcsrchr.c.
24907 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24911 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24913 multiarch wcschr for PPc32.
24914 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24916 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24917 (__libc_ifunc_impl_list): Likewise.
24918 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24919 * sysdeps/powerpc/power6/wcschr.c: ... to here.
24920 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24921 sysdeps/powerpc/power6/wcschr.c.
24923 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24924 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24926 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24927 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24928 file: multiarch strchr for PPC32.
24929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24932 (__libc_ifunc_impl_list): Likewise.
24934 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24936 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24938 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24940 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24941 multiarch strchrnul for PPC32.
24942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24945 (__libc_ifunc_impl_list): Likewise.
24947 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24949 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24950 multiarch strncasecmp for PPC32.
24951 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24953 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24954 multiarch strncasecmp_l for PPC32.
24955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24956 strncasecmp multiarch objects.
24957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24958 (__libc_ifunc_impl_list): Likewise.
24960 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24962 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24963 multiarch strncasecmp for PPC32.
24964 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24966 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24967 multiarch strcasecmp_l for PPC32.
24968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24971 (__libc_ifunc_impl_list): Likewise.
24973 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24975 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24977 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24978 multiarch strncmp for PPC32.
24979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24982 (__libc_ifunc_impl_list): Likewise.
24984 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24985 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24987 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24988 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24992 (__libc_ifunc_impl_list): Likewise.
24994 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24996 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24998 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24999 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25001 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25002 (__libc_ifunc_impl_list): Likewise.
25004 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25006 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25008 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25009 multiarch rawmemchr for PPC32.
25010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25013 (__libc_ifunc_impl_list): Likewise.
25015 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25017 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25019 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25020 file: memrchr multiarch for PPC32.
25021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25024 (__libc_ifunc_impl_list): Likewise.
25026 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25027 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25029 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25030 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25031 multiarch memchr for PPC32.
25032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25034 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25035 (__libc_ifunc_impl_list): Likewise.
25037 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25038 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25040 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25042 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25043 file: multiarch mempcpy for PPC32.
25044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25047 (__libc_ifunc_impl_list): Likewise.
25049 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25050 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25051 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25052 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25053 multiarch bzero for PPC32.
25054 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25056 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25058 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25059 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25060 file: multiarch memset for PPC32.
25061 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25062 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25063 memset multiarch objects.
25064 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25065 (__libc_ifunc_impl_list): Likewise.
25067 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25069 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25070 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25072 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25073 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25075 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25076 (__libc_ifunc_impl_list): Likewise.
25078 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25079 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25080 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25082 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25084 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25086 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25087 multiarch memcpy for PPC32.
25088 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25091 (__libc_ifunc_impl_list): Likewise.
25093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25094 support multiarch for POWER/PPC32.
25095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25097 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25099 Implies file to make multiarch folder appers before the fpu and
25100 default folder for power4 configuration.
25102 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25104 * scripts/bench.pl: Append volatile keyword to type.
25106 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25108 * sysdeps/sh/sotruss-lib.c: New file.
25109 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25111 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25115 2013-12-05 Joseph Myers <joseph@codesourcery.com>
25118 * math/w_tgamma.c: Include <errno.h>.
25119 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25120 * math/w_tgammaf.c: Include <errno.h>.
25121 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25122 * math/w_tgammal.c: Include <errno.h>.
25123 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25124 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25125 underflow. Add more tgamma tests.
25126 * math/auto-libm-test-out: Regenerated.
25127 * sysdeps/i386/fpu/libm-test-ulps: Update.
25128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25130 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25131 sin, sinh, tan, tanh, tgamma, y0 and y1.
25132 * math/auto-libm-test-out: Regenerated.
25133 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25134 (TEST_COND_x86): Likewise.
25135 (M_E2l): Remove macro.
25137 (M_2_SQRT_PIl): Likewise.
25138 (M_SQRT_PIl): Likewise.
25139 (M_1_DIV_El): Likewise.
25140 (log_test_data): Use AUTO_TESTS_f_f.
25141 (log10_test_data): Likewise.
25142 (log1p_test_data): Likewise.
25143 (log2_test_data): Likewise.
25144 (sin_test_data): Likewise.
25145 (sin_tonearest_test_data): Likewise.
25146 (sin_towardzero_test_data): Likewise.
25147 (sin_downward_test_data): Likewise.
25148 (sin_upward_test_data): Likewise.
25149 (sinh_test_data): Likewise.
25150 (sinh_tonearest_test_data): Likewise.
25151 (sinh_towardzero_test_data): Likewise.
25152 (sinh_downward_test_data): Likewise.
25153 (sinh_upward_test_data): Likewise.
25154 (tan_test_data): Likewise.
25155 (tan_tonearest_test_data): Likewise.
25156 (tan_towardzero_test_data): Likewise.
25157 (tan_downward_test_data): Likewise.
25158 (tan_upward_test_data): Likewise.
25159 (tanh_test_data): Likewise.
25160 (tgamma_test_data): Likewise.
25161 (y0_test_data): Likewise.
25162 (y1_test_data): Likewise.
25163 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25164 (special_real_inputs): Add pi/4.
25165 * sysdeps/i386/fpu/libm-test-ulps: Update.
25166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25168 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25170 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25171 "longjmp_target" static probes.
25172 (__longjmp): Rename to __longjmp_symbol.
25173 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25174 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25175 on which longjmp to generate.
25176 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25177 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25179 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25180 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25181 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25182 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25183 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25184 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25186 __longjmp_symbol based on which __longjmp to generate.
25187 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25189 (setjmp): Rename to setjmp_symbol.
25190 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25191 (_setjmp): Rename to _setjmp_symbol.
25192 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25193 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25194 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25195 which setjmp to generate.
25196 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25197 "longjmp_target" static probes.
25199 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25201 * benchtests/README: Add note about output arguments.
25202 * benchtests/bench-sincos.c: Remove file.
25203 * benchtests/sincos-inputs: New file.
25204 * scripts/bench.pl: Identify output arguments and define
25205 static variables for them.
25207 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25210 * Makefile (INSTALL): Add install-plain.texi as the primary
25212 * manual/install-plain.texi: New file.
25213 * manual/install.texi: Include node directive only for
25214 non-plaintext output.
25216 2013-12-04 Joseph Myers <joseph@codesourcery.com>
25218 * stdlib/longlong.h: Update from GCC.
25222 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25223 * math/w_j0f.c (y0f): Likewise.
25224 * math/w_j0l.c (__y0l): Likewise.
25225 * math/w_j1.c (y1): Likewise.
25226 * math/w_j1f.c (y1f): Likewise.
25227 * math/w_j1l.c (__y1l): Likewise
25228 * math/w_jn.c (yn): Likewise.
25229 * math/w_jnf.c (ynf): Likewise.
25230 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25231 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25232 value for Bessel function domain errors outside _SVID_ mode.
25233 Adjust sign of return value for yn (negative integer, 0).
25234 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25235 by zero in return for negative x and set sign appropriately for
25237 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25238 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25239 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25240 expectations in error cases.
25241 (y1_test_data): Likewise.
25242 (yn_test_data): Likewise.
25243 * sysdeps/i386/fpu/libm-test-ulps: Update.
25244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25246 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25248 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25249 "64" to "64-v1". Add "64-v2".
25250 (abi-64-options): Rename to ...
25251 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25252 (abi-64-condition): Rename to ...
25253 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25254 (abi-64-ld-soname): Rename to ...
25255 (abi-64-v1-ld-soname): ... this.
25256 (abi-64-v2-options): Define.
25257 (abi-64-v2-condition): Likewise.
25258 (abi-64-v2-ld-soname): Likewise.
25259 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25260 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25265 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25266 Alan Modra <amodra@gmail.com>
25268 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25269 New versions for use with the ELFv2 ABI.
25270 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25271 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25273 (struct La_ppc64v2_retval): Likewise.
25274 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25275 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25276 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25277 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25278 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25279 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25280 Do not save or restore CR.
25281 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25282 (_dl_profile_resolve): Do no save or restore CR. Support extended
25283 return values for ELFv2 ABI. Fix location of FPR return registers.
25284 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25285 updated values for _CALL_ELF == 2.
25286 (La_regs, La_retval, int_retval): Likewise.
25288 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25290 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25291 (FRAME_MIN_SIZE_PARM): Likewise.
25292 (FRAME_BACKCHAIN): Likewise.
25293 (FRAME_CR_SAVE): Likewise.
25294 (FRAME_LR_SAVE): Likewise.
25295 (FRAME_TOC_SAVE): Likewise.
25296 (FRAME_PARM_SAVE): Likewise.
25297 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25298 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25299 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25300 (call_mcount_parm_offset): New macro.
25301 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25302 (PROF): Use symbolic stack frame offsets.
25303 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25304 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25305 Redefine in terms of FRAME_MIN_SIZE.
25306 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25307 (_dl_profile_resolve): Likewise. Update comment.
25308 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25309 symbols stack frame offsets.
25310 (__sigsetjmp): Likewise.
25311 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25312 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25313 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25314 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25317 (FRAME_BACKCHAIN): Remove.
25318 (FRAME_CR_SAVE): Likewise.
25319 (FRAME_LR_SAVE): Likewise.
25320 (FRAME_COMPILER_DW): Likewise.
25321 (FRAME_LINKER_DW): Likewise.
25322 (FRAME_TOC_SAVE): Likewise.
25323 (FRAME_PARM_SAVE): Likewise.
25324 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25325 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25326 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25328 (CHECK_SP): Use symbolic stack frame offsets.
25329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25330 zone" instead of caller's parameter save area for temp storage.
25331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25332 Likewise. Also, use symbolic stack frame offsets.
25333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25334 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25335 our own stack frame instead of the caller's.
25336 (__socket): Use symbolic stack frame offsets.
25338 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25339 Alan Modra <amodra@gmail.com>
25341 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25343 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25344 (PPC64_LOCAL_ENTRY_OFFSET): Define.
25345 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25347 (elf_machine_fixup_plt): Call it.
25348 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25350 (elf_machine_rela): Update call to elf_machine_plt_conflict.
25351 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25352 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25353 r2 before calling target.
25355 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25356 Alan Modra <amodra@gmail.com>
25358 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25359 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25360 versions of macros to support ELFv2 ABI.
25361 (LOCALENTRY): New macro.
25362 (ENTRY, EALIGN): Use it.
25363 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25364 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25365 fall through into ENTRY entry point.
25366 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25367 Only define if _CALL_ELF != 2.
25369 (elf_machine_matches_host): Verify ABI version matches.
25370 (RTLD_START): Use LOCALENTRY.
25371 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25372 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25373 (PLT_ENTRY_WORDS): New macro.
25374 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25375 (elf_machine_runtime_setup): Support ELFv2 ABI.
25376 (elf_machine_fixup_plt): Likewise.
25377 (elf_machine_plt_conflict): Likewise.
25378 (resolve_ifunc): Likewise.
25379 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25380 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25383 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25385 (makecontext): Support ELFv2 ABI.
25386 * elf/elf.h (EF_PPC64_ABI): Define.
25388 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25390 * sysdeps/powerpc/powerpc64/sysdep.h
25391 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25392 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25393 (ENTRY) [ASSEMBLER]: ... but instead here ...
25394 (EALIGN) [ASSEMBLER]: ... and here.
25395 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25396 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25397 (ENTRY_2) [!ASSEMBLER]: Use it.
25398 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25399 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
25400 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25401 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25402 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25404 Use PPC64_LOAD_FUNCPTR.
25406 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25408 2013-12-04 Alan Modra <amodra@gmail.com>
25410 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25411 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25412 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25413 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25415 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25416 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25417 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25418 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25419 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25420 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25422 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25425 (__makecontext): Fix incorrect CFI when backtracing out of
25426 context created via makecontext.
25427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25428 (__setcontext): Fix incorrect CFI during switch to new context.
25429 (__novec_setcontext): Likewise.
25431 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25434 * time/strptime_l.c (__strptime_internal): Allow modifiers
25436 * time/tst-strptime.c (day_tests): Add testcase.
25438 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25440 * scripts/bench.pl: Skip over blank lines.
25442 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
25445 * manual/time.texi (Calendar Time): Clarify what timezone functions
25448 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25452 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25454 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25456 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25457 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25458 * debug/memset_chk.c (__memset_chk): Likewise.
25459 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25460 * debug/strncpy_chk.c: Likewise.
25462 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25466 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25467 (__ieee754_exp): For possibly underflowing results, check size of
25468 result and force underflow exception if required.
25469 * math/auto-libm-test-in: Add more tests of exp.
25470 * math/auto-libm-test-out: Regenerated.
25471 * sysdeps/i386/fpu/libm-test-ulps: Update.
25472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25475 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25476 * math/w_exp2f.c (__exp2f): Likewise.
25477 * math/w_exp2l.c (__exp2l): Likewise.
25478 * math/auto-libm-test-in: Do not allow missing errno on exp2
25480 * math/auto-libm-test-out: Regenerated.
25482 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
25485 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25486 handle filename validation.
25487 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25490 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25493 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25494 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25495 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25497 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25498 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25499 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25500 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25501 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25502 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25503 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25504 * math/auto-libm-test-in: Don't allow missing errno from erfc.
25505 Add more erfc tests.
25506 * math/auto-libm-test-out: Regenerated.
25507 * sysdeps/i386/fpu/libm-test-ulps: Update.
25508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25510 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25511 exp2, expm1, j0 and j1.
25512 * math/auto-libm-test-out: Regenerated.
25513 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25514 (erfc_test_data): Likewise.
25515 (exp_test_data): Likewise.
25516 (exp_tonearest_test_data): Likewise.
25517 (exp_towardzero_test_data): Likewise.
25518 (exp_downward_test_data): Likewise.
25519 (exp_upward_test_data): Likewise.
25520 (exp10_test_data): Likewise.
25521 (exp2_test_data): Likewise.
25522 (expm1_test_data): Likewise.
25523 (j0_test_data): Likewise.
25524 (j1_test_data): Likewise.
25525 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25526 (input_flag_type): Add flag_xfail_rounding.
25527 (input_flags): Add xfail-rounding.
25528 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25529 (output_for_one_input_case): Handle flag_xfail_rounding.
25530 * sysdeps/i386/fpu/libm-test-ulps: Update.
25531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25533 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
25536 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25539 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25542 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25543 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25544 (STAP_PROBE0): New macro.
25545 (STAP_PROBE1): Likewise.
25546 (STAP_PROBE2): Likewise.
25547 (STAP_PROBE3): Likewise.
25548 (STAP_PROBE4): Likewise.
25550 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
25552 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25554 2013-12-02 Steve Ellcey <sellcey@mips.com>
25556 * benchtests/Makefile (bench): Add sqrt.
25557 (LDLIBS-bench-sqrt): New.
25558 * benchtests/sqrt-input: New.
25560 2013-12-02 Pavel Simerda <psimerda@redhat.com>
25562 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25563 (GAIH_EAI): Likewise.
25564 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25565 (gaih_inet): Likewise.
25566 (getaddrinfo): Don't use GAIH_EAI.
25568 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25569 (struct gaih): Remove definition.
25571 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25573 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25574 Use HERRNOP directly.
25576 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25580 2013-11-30 Joseph Myers <joseph@codesourcery.com>
25582 * math/gen-auto-libm-tests.c (test_functions): Add more
25583 single-argument functions.
25584 (special_fill_pi_2): New function.
25585 (special_fill_minus_pi_2): Likewise.
25586 (special_fill_pi_6): Likewise.
25587 (special_fill_minus_pi_6): Likewise.
25588 (special_fill_pi_3): Likewise.
25589 (special_fill_2pi_3): Likewise.
25590 (special_fill_e): Likewise.
25591 (special_fill_1_e): Likewise.
25592 (special_fill_e_minus_1): Likewise.
25593 (special_real_inputs): Add more special inputs.
25594 (output_for_one_input_case): Do not require ERANGE on underflow to
25595 zero if round-to-nearest result does not underflow to zero, unless
25596 exact results required.
25597 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25598 atan, atanh, cbrt, cos and cosh.
25599 * math/auto-libm-test-out: Regenerated.
25600 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25601 (acos_tonearest_test_data): Likewise.
25602 (acos_towardzero_test_data): Likewise.
25603 (acos_downward_test_data): Likewise.
25604 (acos_upward_test_data): Likewise.
25605 (acosh_test_data): Likewise.
25606 (asin_test_data): Likewise.
25607 (asin_tonearest_test_data): Likewise.
25608 (asin_towardzero_test_data): Likewise.
25609 (asin_upward_test_data): Likewise.
25610 (asinh_test_data): Likewise.
25611 (atan_test_data): Likewise.
25612 (atanh_test_data): Likewise.
25613 (cbrt_test_data): Likewise.
25614 (cos_test_data): Likewise.
25615 (cos_tonearest_test_data): Likewise.
25616 (cos_towardzero_test_data): Likewise.
25617 (cos_downward_test_data): Likewise.
25618 (cos_upward_test_data): Likewise.
25619 (cosh_test_data): Likewise.
25620 (cosh_tonearest_test_data): Likewise.
25621 (cosh_towardzero_test_data): Likewise.
25622 (cosh_downward_test_data): Likewise.
25623 (cosh_upward_test_data): Likewise.
25624 * sysdeps/i386/fpu/libm-test-ulps: Update.
25625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25627 2013-11-29 Joseph Myers <joseph@codesourcery.com>
25630 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25631 * math/w_exp10f.c (__exp10f): Likewise.
25632 * math/w_exp10l.c (__exp10l): Likewise.
25633 * math/libm-test.inc (exp10_test_data): Add more tests and expect
25634 errno settings in existing tests.
25637 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25638 precision control set to double precision.
25639 * sysdeps/i386/fpu/w_sqrt.c: New file.
25640 * math/auto-libm-test-in: Add more tests.
25641 * math/auto-libm-test-out: Update.
25643 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25644 (sqrt_test_tonearest): New function.
25645 (sqrt_towardzero_test_data): New variable.
25646 (sqrt_test_towardzero): New function.
25647 (sqrt_downward_test_data): New variable.
25648 (sqrt_test_downward): New function.
25649 (sqrt_upward_test_data): New variable.
25650 (sqrt_test_upward): New function.
25651 (main): Call the new functions.
25653 * math/gen-auto-libm-tests.c: New file.
25654 * math/auto-libm-test-in: Likewise.
25655 * math/auto-libm-test-out: New generated file.
25656 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25658 (%beautify): Add generated representations of zero.
25659 (top level): Set $auto_input and call parse_auto_input.
25660 (beautify): Remove trailing "f" from hex float constants.
25661 (parse_args): Handle XFAIL_TEST.
25662 (convert_condition): New function.
25663 (or_value): Likewise.
25664 (or_cond_value): Likewise.
25665 (generate_testfile): Handle AUTO_TESTS_* lines.
25666 (parse_auto_input): New function.
25667 * math/libm-test.inc (XFAIL_TEST): New macro.
25668 (ERRNO_UNCHANGED): Update value.
25669 (ERRNO_EDOM): Likewise.
25670 (ERRNO_ERANGE): Likewise.
25671 (IGNORE_RESULT): Likewise.
25672 (TEST_COND_flt_32): New macro.
25673 (TEST_COND_dbl_64): Likewise.
25674 (TEST_COND_ldbl_96_intel): Likewise.
25675 (TEST_COND_ldbl_96_m68k): Likewise.
25676 (TEST_COND_ldbl_128): Likewise.
25677 (TEST_COND_ldbl_128ibm): Likewise.
25678 (TEST_COND_long32): Likewise.
25679 (TEST_COND_long64): Likewise.
25680 (TEST_COND_before_rounding): Likewise.
25681 (TEST_COND_after_rounding): Likewise.
25682 (enable_test): Handle XFAIL_TEST flag.
25683 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25684 with finite results.
25685 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25686 auto-libm-test-out.
25688 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25689 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25692 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25693 __tls_get_addr_internal instead of __tls_get_offset in order to
25694 avoid GOT pointer dependency. Make rtld export
25695 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25696 __tls_get_addr since we are a __tls_get_offset platform.
25697 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25698 GOT pointer being set up before.
25699 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25701 2013-11-28 Joseph Myers <joseph@codesourcery.com>
25703 * manual/math.texi (Errors in Math Functions): Document accuracy
25707 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25708 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25709 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25710 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25711 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25712 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25713 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25714 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25716 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25717 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25718 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25719 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25720 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25721 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25722 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25724 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25725 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25726 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25727 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25728 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25730 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25732 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25734 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25735 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25736 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25737 atomic-feupdateenv and flt-rounds.
25738 * sysdeps/powerpc/nofpu/Versions (libc): Add
25739 __atomic_feholdexcept, __atomic_feclearexcept,
25740 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25741 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25742 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25743 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25744 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25749 * manual/arith.texi (FP Exceptions): Document that exceptions may
25750 not be raised when matherr is used.
25751 (Math Error Reporting): Document overflow in directed rounding
25752 modes. Document that errno may not be set when finite values are
25753 returned on overflow. Document intent to set errno on underflow
25754 only for underflow to zero.
25757 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25758 round-to-nearest then adjust result for other rounding modes.
25759 * include/fenv.h (fegetround): Use libm_hidden_proto.
25760 * math/fegetround.c (fegetround): Use libm_hidden_def.
25761 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25762 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25763 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25764 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25766 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25767 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25768 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25769 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25771 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25774 * nss/Versions (libnss_files): Add
25775 _nss_files_gethostbyname3_r.
25776 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25778 (HOST_DB_LOOKUP): Remove macro.
25779 (_nss_files_gethostbyname_r): Implement function without the
25780 HOST_DB_LOOKUP macro.
25781 (_nss_files_gethostbyname2_r): Likewise.
25783 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
25785 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25787 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
25789 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25790 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25793 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25795 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25796 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25797 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25798 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25799 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25800 __fe_nomask_env_priv and attribute_hidden.
25801 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25802 (libc_feupdateenv_test_ppc): Likewise.
25803 (libc_feresetround_ppc): Likewise.
25804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25805 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25806 compat_symbol macro.
25807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25808 (__fe_nomask_env): Likewise.
25809 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25811 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25813 * string/Makefile: Remove ifunc tests.
25814 * string/test-string.h: Define TEST_IFUNC.
25815 * string/test-bcopy-ifunc.c: Remove.
25816 * string/test-bzero-ifunc.c: Likewise.
25817 * string/test-memccpy-ifunc.c: Likewise.
25818 * string/test-memchr-ifunc.c: Likewise.
25819 * string/test-memcmp-ifunc.c: Likewise.
25820 * string/test-memcpy-ifunc.c: Likewise.
25821 * string/test-memmem-ifunc.c: Likewise.
25822 * string/test-memmove-ifunc.c: Likewise.
25823 * string/test-mempcpy-ifunc.c: Likewise.
25824 * string/test-memrchr-ifunc.c: Likewise.
25825 * string/test-memset-ifunc.c: Likewise.
25826 * string/test-rawmemchr-ifunc.c: Likewise.
25827 * string/test-stpcpy-ifunc.c: Likewise.
25828 * string/test-stpncpy-ifunc.c: Likewise.
25829 * string/test-strcasecmp-ifunc.c: Likewise.
25830 * string/test-strcasestr-ifunc.c: Likewise.
25831 * string/test-strcat-ifunc.c: Likewise.
25832 * string/test-strchr-ifunc.c: Likewise.
25833 * string/test-strchrnul-ifunc.c: Likewise.
25834 * string/test-strcmp-ifunc.c: Likewise.
25835 * string/test-strcpy-ifunc.c: Likewise.
25836 * string/test-strcspn-ifunc.c: Likewise.
25837 * string/test-strlen-ifunc.c: Likewise.
25838 * string/test-strncasecmp-ifunc.c: Likewise.
25839 * string/test-strncat-ifunc.c: Likewise.
25840 * string/test-strncmp-ifunc.c: Likewise.
25841 * string/test-strncpy-ifunc.c: Likewise.
25842 * string/test-strnlen-ifunc.c: Likewise.
25843 * string/test-strpbrk-ifunc.c: Likewise.
25844 * string/test-strrchr-ifunc.c: Likewise.
25845 * string/test-strspn-ifunc.c: Likewise.
25846 * string/test-strstr-ifunc.c: Likewise.
25848 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25850 * benchtests/Makefile: Remove ifunc tests.
25851 * benchtests/bench-string.h: Define TEST_IFUNC.
25852 * benchtests/bench-bcopy-ifunc.c: Remove.
25853 * benchtests/bench-bzero-ifunc.c: Likewise.
25854 * benchtests/bench-memccpy-ifunc.c: Likewise.
25855 * benchtests/bench-memchr-ifunc.c: Likewise.
25856 * benchtests/bench-memcmp-ifunc.c: Likewise.
25857 * benchtests/bench-memcpy-ifunc.c: Likewise.
25858 * benchtests/bench-memmem-ifunc.c: Likewise.
25859 * benchtests/bench-memmove-ifunc.c: Likewise.
25860 * benchtests/bench-mempcpy-ifunc.c: Likewise.
25861 * benchtests/bench-memrchr-ifunc.c: Likewise.
25862 * benchtests/bench-memset-ifunc.c: Likewise.
25863 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25864 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25865 * benchtests/bench-stpcpy-ifunc.c: Likewise.
25866 * benchtests/bench-stpncpy-ifunc.c: Likewise.
25867 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25868 * benchtests/bench-strcasestr-ifunc.c: Likewise.
25869 * benchtests/bench-strcat-ifunc.c: Likewise.
25870 * benchtests/bench-strchr-ifunc.c: Likewise.
25871 * benchtests/bench-strchrnul-ifunc.c: Likewise.
25872 * benchtests/bench-strcmp-ifunc.c: Likewise.
25873 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25874 * benchtests/bench-strcpy-ifunc.c: Likewise.
25875 * benchtests/bench-strcspn-ifunc.c: Likewise.
25876 * benchtests/bench-strlen-ifunc.c: Likewise.
25877 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25878 * benchtests/bench-strncat-ifunc.c: Likewise.
25879 * benchtests/bench-strncmp-ifunc.c: Likewise.
25880 * benchtests/bench-strncpy-ifunc.c: Likewise.
25881 * benchtests/bench-strnlen-ifunc.c: Likewise.
25882 * benchtests/bench-strpbrk-ifunc.c: Likewise.
25883 * benchtests/bench-strrchr-ifunc.c: Likewise.
25884 * benchtests/bench-strsep-ifunc.c: Likewise.
25885 * benchtests/bench-strspn-ifunc.c: Likewise.
25886 * benchtests/bench-strstr-ifunc.c: Likewise.
25888 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25890 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25892 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25894 * resolv/netdb.h: Use __glibc_reserved instead __unused.
25895 * rt/aio.h: Likewise.
25896 * sysdeps/gnu/bits/utmp.h: Likewise.
25897 * sysdeps/gnu/bits/utmpx.h: Likewise.
25898 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25899 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25900 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25901 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25902 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25903 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25904 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25905 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25906 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25907 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25908 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25909 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25910 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25912 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25913 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25914 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25915 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25916 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25917 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25918 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25919 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25920 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25921 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25922 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25924 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25925 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25926 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25927 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25928 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25929 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25930 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25931 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25932 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25933 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25934 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25935 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25936 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25937 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25938 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25939 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25941 2013-11-25 Carlos O'Donell <carlos@redhat.com>
25944 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25945 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25947 2013-11-25 Joseph Myers <joseph@codesourcery.com>
25949 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25950 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25953 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25955 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25956 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25957 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25958 (__fesetround): Remove define.
25959 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25960 rounding and exceptions handling.
25961 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25962 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25963 (__fe_nomask_env): Likewise.
25964 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25965 __fegetround instead of fegetround.
25966 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25967 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25969 2013-11-21 Roland McGrath <roland@hack.frob.com>
25971 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25974 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25976 2013-11-21 Meador Inge <meadori@codesourcery.com>
25979 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25980 (encrypt_r): Likewise.
25981 * malloc/obstack.h (obstack_free): Likewise.
25982 * posix/unistd.h (encrypt): Likewise.
25984 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
25986 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25987 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25988 DL_CALL_DT_FINI() that call the functions directly.
25989 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25990 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25991 * elf/dl-fini.c: Likewise.
25993 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
25995 * malloc/hooks.c (memalign_check): Add alignment rounding.
25996 * malloc/malloc.c (_mid_memalign): New function.
25997 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25998 Implement by calling _mid_memalign.
25999 * manual/probes.texi (Memory Allocation Probes): Remove
26000 memory_valloc_retry and memory_pvalloc_retry.
26002 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26004 * locale/programs/locarchive.c (open_archive): Add const
26005 qualifier to ARCHIVEFNAME and copy default fname to
26009 * libio/tst-widetext.input: Rename Oriya to Odia.
26010 * locale/iso-639.def: Likewise.
26012 * manual/probes.texi (Mathematical Function Probes): Add
26013 documentation for sin, cos, asin and acos probes.
26014 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26015 (__sin32): Add slowasin probe.
26016 (__cos32): Add slowacos probe.
26017 (__mpsin): Add slowsin probe.
26018 (__mpcos): Add slowcos probe.
26020 2013-11-19 Joseph Myers <joseph@codesourcery.com>
26023 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26024 thread-local __sim_exceptions_thread and global
26025 __sim_exceptions_global.
26026 (__sim_disabled_exceptions): Change to thread-local
26027 __sim_disabled_exceptions_thread and global
26028 __sim_disabled_exceptions_global.
26029 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26030 and global __sim_round_mode_global.
26031 (__simulate_exceptions): Use thread-local floating-point state and
26032 set global state from it as needed.
26033 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26034 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26035 __sim_round_mode_thread.
26036 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26037 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26038 and global __sim_exceptions_global.
26039 (__sim_disabled_exceptions): Change to thread-local
26040 __sim_disabled_exceptions_thread and global
26041 __sim_disabled_exceptions_global.
26042 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26043 and global __sim_round_mode_global.
26044 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26045 (SIM_SET_GLOBAL): Likewise.
26046 * sysdeps/powerpc/soft-fp/sfp-machine.h
26047 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26048 __sim_round_mode_thread.
26049 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26050 __sim_disabled_exceptions_thread.
26051 (__sim_exceptions): Change to __sim_exceptions_thread.
26052 (__sim_disabled_exceptions): Change to
26053 __sim_disabled_exceptions_thread.
26054 (__sim_round_mode): Change to __sim_round_mode_thread.
26055 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26056 thread-local floating-point state and set global state from it as
26058 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26059 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26060 (__sim_disabled_exceptions): Remove extern declaration.
26061 (feenableexcept): Use thread-local floating-point state and set
26062 global state from it as needed.
26063 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26064 extern declaration.
26065 (__sim_disabled_exceptions): Likewise.
26066 (__sim_round_mode): Likewise.
26067 (__fegetenv): Use thread-local floating-point state.
26068 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26069 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26070 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26071 floating-point state and set global state from it as needed.
26072 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26073 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26074 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26076 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26077 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26079 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26080 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26081 Use __sim_round_mode_thread.
26082 * math/test-fenv-tls.c: New file.
26083 * math/Makefile (tests): Add test-fenv-tls.
26084 ($(objpfx)test-fenv-tls): Depend on
26085 $(common-objpfx)nptl/libpthread.so.
26087 2013-11-19 Andreas Schwab <schwab@suse.de>
26089 * locale/programs/locale.c (show_info): Decode wordarray elements.
26090 * locale/categories.def (LC_MONETARY): Add element for
26091 _NL_MONETARY_CRNCYSTR.
26092 * locale/C-monetary.c (conversion_rate): New variable.
26093 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26096 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26098 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26099 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26101 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26103 * elf/Makefile (tst-auxv): New test.
26104 * elf/tst-auxv.c: New
26105 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26107 2013-11-18 Joseph Myers <joseph@codesourcery.com>
26109 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26110 (hidden_proto): Caller changed.
26111 (hidden_tls_proto): New macro.
26112 (libc_hidden_tls_proto): Likewise.
26113 (rtld_hidden_tls_proto): Likewise.
26114 (libm_hidden_tls_proto): Likewise.
26115 (libresolv_hidden_tls_proto): Likewise.
26116 (librt_hidden_tls_proto): Likewise.
26117 (libdl_hidden_tls_proto): Likewise.
26118 (libnss_files_hidden_tls_proto): Likewise.
26119 (libnsl_hidden_tls_proto): Likewise.
26120 (libnss_nisplus_hidden_tls_proto): Likewise.
26121 (libutil_hidden_tls_proto): Likewise.
26123 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
26126 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26127 (decompose_rpath): Defer expansion to fillin_rpath.
26128 (_dl_init_paths): Pass linkmap to fillin_rpath.
26130 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26132 * benchtests/Makefile: Add strsep.
26133 * benchtests/bench-strsep.c: New file: strsep benchtest.
26134 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26136 2013-11-18 Andreas Schwab <schwab@suse.de>
26138 * locale/programs/locale.c (show_info) [case byte]: Check for
26139 '\377' instead of '\177'.
26140 * locale/C-monetary.c (not_available): Always use "\377".
26141 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26142 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
26143 detect unavailable sign_posn locale elements.
26144 * locale/localeconv.c (__localeconv): For grouping and
26145 mon_grouping handle "\177" and "\377" like no grouping.
26146 (INT_ELEM): New macro. Use it to set all numeric members.
26147 * locale/programs/ld-monetary.c (monetary_read)
26148 <tok_mon_grouping>: Normalize single -1 to the empty string.
26149 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26152 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26155 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26156 when we match (nil).
26157 * stdio-common/tst-sscanf.c (struct test): Add testcase.
26159 2013-11-16 Joseph Myers <joseph@codesourcery.com>
26161 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26162 (NO_TEST_INLINE): Update value.
26163 (ERRNO_UNCHANGED): Likewise.
26164 (ERRNO_EDOM): Likewise.
26165 (ERRNO_ERANGE): Likewise.
26166 (IGNORE_RESULT): Likewise.
26167 (check_float_internal): Check signs of NaN results if
26168 TEST_NAN_SIGN used.
26169 (check_complex): Pass TEST_NAN_SIGN flag through to second
26170 check_float_internal call.
26171 (copysign_test_data): Add tests with quiet NaNs as second
26172 argument. Use TEST_NAN_SIGN.
26173 (fabs_test_data): Add test of negative quiet NaN argument. Use
26175 (signbit_test_data): Add tests of quiet NaN argument.
26176 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26178 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26180 (parse_args): Handle function results specified as IGNORE.
26181 * math/libm-test.inc (IGNORE_RESULT): New macro.
26182 (check_float_internal): Do not check numerical result if flag
26184 (check_complex): Pass through IGNORE_RESULT to second
26185 check_float_internal call.
26186 (check_int): Do not check numerical result if flag IGNORE_RESULT
26188 (check_long): Likewise.
26189 (check_bool): Likewise.
26190 (check_longlong): Likewise.
26191 (lrint_test_data): Add tests of infinite and NaN arguments.
26192 (lrint_tonearest_test_data): Likewise.
26193 (lrint_towardzero_test_data): Likewise.
26194 (lrint_downward_test_data): Likewise.
26195 (lrint_upward_test_data): Likewise.
26196 (llrint_test_data): Likewise.
26197 (llrint_tonearest_test_data): Likewise.
26198 (llrint_towardzero_test_data): Likewise.
26199 (llrint_downward_test_data): Likewise.
26200 (llrint_upward_test_data): Likewise.
26201 (lround_test_data): Likewise.
26202 (llround_test_data): Likewise.
26204 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26205 (ERRNO_UNCHANGED): Update value.
26206 (ERRNO_EDOM): Likewise.
26207 (ERRNO_ERANGE): Likewise.
26208 (NO_TEST_INLINE_FLOAT): New macro.
26209 (NO_TEST_INLINE_DOUBLE): Likewise.
26210 (enable_test): New function.
26211 (RUN_TEST_f_f): Check enable_test before running test.
26212 (RUN_TEST_2_f): Likewise.
26213 (RUN_TEST_fff_f): Likewise.
26214 (RUN_TEST_c_f): Likewise.
26215 (RUN_TEST_f_f1): Likewise.
26216 (RUN_TEST_fF_f1): Likewise.
26217 (RUN_TEST_fI_f1): Likewise.
26218 (RUN_TEST_ffI_f1): Likewise.
26219 (RUN_TEST_c_c): Likewise.
26220 (RUN_TEST_cc_c): Likewise.
26221 (RUN_TEST_f_i): Likewise.
26222 (RUN_TEST_f_i_tg): Likewise.
26223 (RUN_TEST_ff_i_tg): Likewise.
26224 (RUN_TEST_f_b): Likewise.
26225 (RUN_TEST_f_b_tg): Likewise.
26226 (RUN_TEST_f_l): Likewise.
26227 (RUN_TEST_f_L): Likewise.
26228 (RUN_TEST_fFF_11): Likewise.
26229 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26231 (cosh_test_data): Likewise.
26232 (exp_test_data): Likewise.
26233 (expm1_test_data): Likewise.
26234 (hypot_test_data): Likewise.
26235 (pow_test_data): Likewise.
26236 (sinh_test_data): Likewise.
26237 (tanh_test_data): Likewise.
26238 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26241 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26242 tests with quiet NaN input and output.
26243 (acosh_test_data): Likewise.
26244 (asin_test_data): Likewise.
26245 (asinh_test_data): Likewise.
26246 (atan_test_data): Likewise.
26247 (atanh_test_data): Likewise.
26248 (atan2_test_data): Likewise.
26249 (cbrt_test_data): Likewise.
26250 (cos_test_data): Likewise.
26251 (cosh_test_data): Likewise.
26252 (erf_test_data): Likewise.
26253 (erfc_test_data): Likewise.
26254 (exp_test_data): Likewise.
26255 (exp10_test_data): Likewise.
26256 (exp2_test_data): Likewise.
26257 (expm1_test_data): Likewise.
26258 (hypot_test_data): Likewise.
26259 (j0_test_data): Likewise.
26260 (j1_test_data): Likewise.
26261 (jn_test_data): Likewise.
26262 (lgamma_test_data): Likewise.
26263 (log_test_data): Likewise.
26264 (log10_test_data): Likewise.
26265 (log1p_test_data): Likewise.
26266 (log2_test_data): Likewise.
26267 (pow_test_data): Likewise.
26268 (scalb_test_data): Likewise.
26269 (sin_test_data): Likewise.
26270 (sincos_test_data): Likewise.
26271 (sinh_test_data): Likewise.
26272 (tan_test_data): Likewise.
26273 (tanh_test_data): Likewise.
26274 (tgamma_test_data): Likewise.
26275 (y0_test_data): Likewise.
26276 (y1_test_data): Likewise.
26277 (yn_test_data): Likewise.
26280 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26281 argument being NaN and avoid computations with second argument in
26283 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26284 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26285 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26287 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26289 * locale/iso-639.def: Add Chitwani Tharu (the).
26291 2013-11-14 Andreas Schwab <schwab@suse.de>
26293 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26294 word instead of empty string.
26296 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26299 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26301 (__fe_nomask_env): Likewise.
26303 2013-11-13 Steve Ellcey <sellcey@mips.com>
26305 * benchtests/bench-timing.h: Include time.h.
26307 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26310 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26312 * sysdeps/unix/sysv/linux/configure: Regenerated.
26314 2013-11-13 Joseph Myers <joseph@codesourcery.com>
26317 * stdlib/strtod_l.c (round_and_return): Do not consider
26318 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26319 exponent one less than half the least subnormal exponent.
26320 * stdlib/test-strtod-round-data: Add more tests.
26321 * stdlib/tst-strtod-round.c (tests): Regenerated.
26323 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26326 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26327 (__fe_mask_env): Likewise.
26328 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26329 libm_hidden_proto and add function prototype.
26330 (__fe_mask_env): Add function prototype.
26331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26332 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26334 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26336 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26338 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26340 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26341 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26343 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26345 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26346 of htab_find_slot().
26348 2013-11-11 David S. Miller <davem@davemloft.net>
26351 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26352 symbol in the non-vis3 case in static builds.
26353 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26354 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26355 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26356 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26358 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26361 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26364 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26366 * benchtests/Makefile: Add bench-strtod.
26367 * benchtests/bench-strtod.c: New file: strtod benchtest
26369 2013-11-11 Andreas Schwab <schwab@suse.de>
26372 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26373 terminating NUL in key length.
26375 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26377 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26378 Add artificial ODP entry for vDSO symbol for PPC64.
26379 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26380 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26382 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26385 * nss/getent.c (services_keys): Recognize services starting with digit.
26387 2013-11-06 David S. Miller <davem@davemloft.net>
26390 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26391 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26393 2013-11-06 Will Newton <will.newton@linaro.org>
26395 * manual/memory.texi (Malloc Examples): Remove register
26396 keyword from examples.
26398 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
26400 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26402 2013-11-04 Joseph Myers <joseph@codesourcery.com>
26405 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26406 depending on [__GCC_IEC_559 > 0].
26407 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26408 depending on [__GCC_IEC_559_COMPLEX > 0].
26410 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
26412 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26415 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
26417 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26419 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
26422 * malloc/malloc (malloc_info): Do not handle first bin as
26425 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
26427 * locale/iso-639.def: Add Central Nahuatl (nhn).
26429 2013-11-01 Bruno Haible <bruno@clisp.org>
26432 * manual/math.texi (BSD Random): Specify range upper bound as
26435 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
26437 * locale/iso-639.def: Add Meadow Mari (mhr).
26439 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
26441 [BZ #14752], [BZ #15763]
26442 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26444 * rt/tst_shm.c: Add test for escaping directory.
26446 2013-10-31 Andreas Schwab <schwab@suse.de>
26449 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26450 followed by 'x' as part of digit sequence.
26451 * stdio-common/tst-sscanf.c (double_tests2): New tests.
26453 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26456 * configure.ac: allow GNU Make 4.0 and greater.
26457 * configure: Regenerated.
26459 2013-10-30 Will Newton <will.newton@linaro.org>
26462 * malloc/hooks.c (memalign_check): Limit alignment to the
26463 maximum representable power of two.
26464 * malloc/malloc.c (__libc_memalign): Likewise.
26465 * malloc/tst-memalign.c (do_test): Add test for very
26466 large alignment values.
26467 * malloc/tst-posix_memalign.c (do_test): Likewise.
26469 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26472 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26473 (munmap_chunk): Likewise.
26474 (mremap_chunk): Likewise.
26476 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26479 * stdlib/div.c (div): Remove obsolete code.
26480 * stdlib/ldiv.c (ldiv): Likewise.
26481 * stdlib/lldiv.c (lldiv): Likewise.
26483 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26486 * nss/nss_files/files-XXX.c (get_contents_ret): New
26488 (get_contents): New function.
26489 (internal_getent): Use it. Expand size of LINEBUFLEN.
26491 2013-10-30 Mike Frysinger <vapier@gentoo.org>
26493 * configure.in: Moved to ...
26494 * configure.ac: ... here. Change reference to configure.in
26496 * sysdeps/arm/preconfigure.ac: ... here.
26497 configure.in to configure.ac.
26498 * sysdeps/gnu/configure.in: Moved to ...
26499 * sysdeps/gnu/configure.ac: ... here.
26500 * sysdeps/i386/configure.in: Moved to ...
26501 * sysdeps/i386/configure.ac: ... here.
26502 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26503 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26504 * sysdeps/mach/configure.in: Moved to ...
26505 * sysdeps/mach/configure.ac: ... here.
26506 * sysdeps/mach/hurd/configure.in: Moved to ...
26507 * sysdeps/mach/hurd/configure.ac: ... here.
26508 * sysdeps/powerpc/configure.in: Moved to ...
26509 * sysdeps/powerpc/configure.ac: ... here.
26510 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26511 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26512 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26513 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26514 * sysdeps/s390/s390-32/configure.in: Moved to ...
26515 * sysdeps/s390/s390-32/configure.ac: ... here.
26516 * sysdeps/s390/s390-64/configure.in: Moved to ...
26517 * sysdeps/s390/s390-64/configure.ac: ... here.
26518 * sysdeps/sh/configure.in: Moved to ...
26519 * sysdeps/sh/configure.ac: ... here.
26520 * sysdeps/sparc/configure.in: Moved to ...
26521 * sysdeps/sparc/configure.ac: ... here.
26522 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26523 * sysdeps/unix/sysv/linux/configure.ac: ... here.
26524 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26525 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26526 * sysdeps/x86_64/configure.in: Moved to ...
26527 * sysdeps/x86_64/configure.ac: ... here.
26528 * sysdeps/x86_64/preconfigure.in: Moved to ...
26529 * sysdeps/x86_64/preconfigure.ac: ... here.
26530 * aclocal.m4: Change reference to configure.in to configure.ac.
26531 * config.h.in: Likewise.
26532 * manual/install.texi: Likewise.
26533 * manual/maint.texi: Likewise.
26534 * Makefile: Likewise.
26535 * malloc/Makefile: Likewise.
26536 * nscd/Makefile: Likewise.
26537 * Makeconfig: Change reference to configure.in and
26538 preconfigure.in to configure.ac and preconfigure.ac
26540 * INSTALL: Regenerated.
26541 * configure: Likewise.
26542 * sysdeps/gnu/configure: Likewise.
26543 * sysdeps/i386/configure: Likewise.
26544 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26545 * sysdeps/mach/configure: Likewise.
26546 * sysdeps/mach/hurd/configure: Likewise.
26547 * sysdeps/powerpc/configure: Likewise.
26548 * sysdeps/powerpc/powerpc32/configure: Likewise.
26549 * sysdeps/powerpc/powerpc64/configure: Likewise.
26550 * sysdeps/s390/s390-32/configure: Likewise.
26551 * sysdeps/s390/s390-64/configure: Likewise.
26552 * sysdeps/sh/configure: Likewise.
26553 * sysdeps/sparc/configure: Likewise.
26554 * sysdeps/unix/sysv/linux/configure: Likewise.
26555 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26556 * sysdeps/x86_64/configure: Likewise.
26557 * sysdeps/x86_64/preconfigure: Likewise.
26559 2013-10-29 Andreas Schwab <schwab@suse.de>
26561 * stdio-common/Makefile (tst-swscanf-ENV): Define.
26563 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26565 * benchtests/pow-inputs: Add new inputs.
26567 * benchtests/exp-inputs: Add new inputs.
26569 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26570 conditional check for return value.
26571 (__cos32): Likewise.
26573 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26575 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26576 to provide a boost for large inputs with word alignment.
26577 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26578 implementation based on optimized PPC64 strcpy.
26579 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26580 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26581 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26582 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26584 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26587 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26589 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26592 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26593 * time/tst-strptime.c (day_tests): Add testcase.
26595 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26598 * manual/pattern.texi: Acknowledge that fnmatch can fail.
26600 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
26603 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26604 MAP_FAILED on error.
26606 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26609 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26610 heap for large requests.
26612 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
26615 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26616 result if the result has no associated interface.
26617 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26618 interface for all 127.X.Y.Z addresses.
26620 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
26622 * locale/iso-639.def: Add Ligurian (lij)
26624 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
26627 * sunrpc/rpc_main.c: Document rpcgen -5.
26629 2013-10-19 Michael Stahl <mstahl@redhat.com>
26631 * elf/rtld.c (do_preload): Print the reason why preloading failed.
26633 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26636 * posix/glob.c: Match only directories when trailing slash is present.
26637 * posix/tst-gnuglob.c (my_opendir): Do not open files.
26638 (main): Add testcase.
26640 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26643 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26645 2013-10-18 Carlos O'Donell <carlos@redhat.com>
26647 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26648 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26649 AUTH_DES and cindex for FIPS 140-2.
26650 (DES Encryption): Add cindex FIPS 46-3.
26652 * locale/locarchive.h (struct locarhandle): Add fname.
26653 * locale/programs/localedef.c (main): Pass ARGV[remaining]
26654 if an optional argument was specified to --list-archive,
26656 * locale/programs/locarchive.c (show_archive_content): Take new
26657 argument fname and pass it via ah.fname to open_archive.
26658 * locale/programs/localedef.h: Update decl.
26659 (open_archive): If AH->fname is non-null, open that file
26660 rather than the default file name, and don't ignore ENOENT.
26661 (create_archive): Set AH.fname to NULL.
26662 (delete_locales_from_archive): Likewise.
26663 (add_locales_to_archive): Likewise.
26664 * locale/programs/locfile.c (write_all_categories): Likewise.
26666 2013-10-18 Joseph Myers <joseph@codesourcery.com>
26667 Aldy Hernandez <aldyh@redhat.com>
26669 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26670 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26671 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26672 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26673 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26674 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26675 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26676 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26677 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26678 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26679 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26680 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26681 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26682 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26683 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26685 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26687 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26689 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26691 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26692 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26694 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26695 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26696 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26697 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26699 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26700 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26701 * sysdeps/powerpc/preconfigure: Likewise.
26702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26704 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26705 Replace contents of file by #include of <fenv_libc.h>.
26706 * sysdeps/powerpc/soft-fp/sfp-machine.h
26707 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26709 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26710 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26711 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26712 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26713 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26714 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26716 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26717 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26718 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26719 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26720 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26722 Allow copysignl PLT reference to be missing.
26724 2013-10-18 Richard Sandiford <richard@codesourcery.com>
26725 Joseph Myers <joseph@codesourcery.com
26728 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26730 (add_to_tablewc): Assert sequence of wide characters is nonempty.
26732 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26734 * elf/tst-tls-dlinfo.c: Don't include tls.h.
26735 * elf/tst-tls1.c: Likewise.
26736 * elf/tst-tls10.h: Likewise.
26737 * elf/tst-tls14.c: Likewise.
26738 * elf/tst-tls2.c: Likewise.
26739 * elf/tst-tls3.c: Likewise.
26740 * elf/tst-tls4.c: Likewise.
26741 * elf/tst-tls5.c: Likewise.
26742 * elf/tst-tls6.c: Likewise.
26743 * elf/tst-tls7.c: Likewise.
26744 * elf/tst-tls8.c: Likewise.
26745 * elf/tst-tls9.c: Likewise.
26746 * elf/tst-tlsmod1.c: Likewise.
26747 * elf/tst-tlsmod13.c: Likewise.
26748 * elf/tst-tlsmod13a.c: Likewise.
26749 * elf/tst-tlsmod14a.c: Likewise.
26750 * elf/tst-tlsmod16a.c: Likewise.
26751 * elf/tst-tlsmod16b.c: Likewise.
26752 * elf/tst-tlsmod2.c: Likewise.
26753 * elf/tst-tlsmod3.c: Likewise.
26754 * elf/tst-tlsmod4.c: Likewise.
26755 * elf/tst-tlsmod5.c: Likewise.
26756 * elf/tst-tlsmod6.c: Likewise.
26758 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
26761 * malloc/malloc.c: remove checks for statistics.
26763 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26766 * inet/inet_net.c (inet_network): Detect additional invalid strings.
26767 * inet/tst-network.c: Add testcase.
26769 2013-10-17 Andreas Schwab <schwab@suse.de>
26772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26773 to determine canonical name.
26775 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26777 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26778 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26780 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26782 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26783 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26784 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26785 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26786 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26787 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26788 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26789 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26790 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26791 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26792 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26793 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26794 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26795 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26796 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26797 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26799 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26800 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26801 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26802 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26803 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26804 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26805 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26806 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26807 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26808 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26809 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26810 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26811 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26812 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26813 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26814 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26815 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26816 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26817 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26818 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26819 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26820 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26821 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26822 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26823 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26824 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26825 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26826 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26827 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26828 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26829 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26830 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26831 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26832 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26833 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26834 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26836 2013-10-17 Joseph Myers <joseph@codesourcery.com>
26839 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26840 make result into a quiet NaN.
26842 2013-10-16 Joseph Myers <joseph@codesourcery.com>
26844 * soft-fp/adddf3.c: Fix horizontal whitespace.
26845 * soft-fp/addsf3.c: Likewise.
26846 * soft-fp/addtf3.c: Likewise.
26847 * soft-fp/divdf3.c: Likewise.
26848 * soft-fp/divsf3.c: Likewise.
26849 * soft-fp/divtf3.c: Likewise.
26850 * soft-fp/double.h: Likewise.
26851 * soft-fp/eqdf2.c: Likewise.
26852 * soft-fp/eqsf2.c: Likewise.
26853 * soft-fp/eqtf2.c: Likewise.
26854 * soft-fp/extenddftf2.c: Likewise.
26855 * soft-fp/extended.h: Likewise.
26856 * soft-fp/extendsfdf2.c: Likewise.
26857 * soft-fp/extendsftf2.c: Likewise.
26858 * soft-fp/extendxftf2.c: Likewise.
26859 * soft-fp/fixdfdi.c: Likewise.
26860 * soft-fp/fixdfsi.c: Likewise.
26861 * soft-fp/fixdfti.c: Likewise.
26862 * soft-fp/fixsfdi.c: Likewise.
26863 * soft-fp/fixsfsi.c: Likewise.
26864 * soft-fp/fixsfti.c: Likewise.
26865 * soft-fp/fixtfdi.c: Likewise.
26866 * soft-fp/fixtfsi.c: Likewise.
26867 * soft-fp/fixtfti.c: Likewise.
26868 * soft-fp/fixunsdfdi.c: Likewise.
26869 * soft-fp/fixunsdfsi.c: Likewise.
26870 * soft-fp/fixunsdfti.c: Likewise.
26871 * soft-fp/fixunssfdi.c: Likewise.
26872 * soft-fp/fixunssfsi.c: Likewise.
26873 * soft-fp/fixunssfti.c: Likewise.
26874 * soft-fp/fixunstfdi.c: Likewise.
26875 * soft-fp/fixunstfsi.c: Likewise.
26876 * soft-fp/fixunstfti.c: Likewise.
26877 * soft-fp/floatdidf.c: Likewise.
26878 * soft-fp/floatdisf.c: Likewise.
26879 * soft-fp/floatditf.c: Likewise.
26880 * soft-fp/floatsidf.c: Likewise.
26881 * soft-fp/floatsisf.c: Likewise.
26882 * soft-fp/floatsitf.c: Likewise.
26883 * soft-fp/floattidf.c: Likewise.
26884 * soft-fp/floattisf.c: Likewise.
26885 * soft-fp/floattitf.c: Likewise.
26886 * soft-fp/floatundidf.c: Likewise.
26887 * soft-fp/floatundisf.c: Likewise.
26888 * soft-fp/floatunditf.c: Likewise.
26889 * soft-fp/floatunsidf.c: Likewise.
26890 * soft-fp/floatunsisf.c: Likewise.
26891 * soft-fp/floatunsitf.c: Likewise.
26892 * soft-fp/floatuntidf.c: Likewise.
26893 * soft-fp/floatuntisf.c: Likewise.
26894 * soft-fp/floatuntitf.c: Likewise.
26895 * soft-fp/fmadf4.c: Likewise.
26896 * soft-fp/fmasf4.c: Likewise.
26897 * soft-fp/fmatf4.c: Likewise.
26898 * soft-fp/gedf2.c: Likewise.
26899 * soft-fp/gesf2.c: Likewise.
26900 * soft-fp/getf2.c: Likewise.
26901 * soft-fp/ledf2.c: Likewise.
26902 * soft-fp/lesf2.c: Likewise.
26903 * soft-fp/letf2.c: Likewise.
26904 * soft-fp/muldf3.c: Likewise.
26905 * soft-fp/mulsf3.c: Likewise.
26906 * soft-fp/multf3.c: Likewise.
26907 * soft-fp/negdf2.c: Likewise.
26908 * soft-fp/negsf2.c: Likewise.
26909 * soft-fp/negtf2.c: Likewise.
26910 * soft-fp/op-1.h: Likewise.
26911 * soft-fp/op-2.h: Likewise.
26912 * soft-fp/op-4.h: Likewise.
26913 * soft-fp/op-8.h: Likewise.
26914 * soft-fp/op-common.h: Likewise.
26915 * soft-fp/quad.h: Likewise.
26916 * soft-fp/single.h: Likewise.
26917 * soft-fp/soft-fp.h: Likewise.
26918 * soft-fp/sqrtdf2.c: Likewise.
26919 * soft-fp/sqrtsf2.c: Likewise.
26920 * soft-fp/sqrttf2.c: Likewise.
26921 * soft-fp/subdf3.c: Likewise.
26922 * soft-fp/subsf3.c: Likewise.
26923 * soft-fp/subtf3.c: Likewise.
26924 * soft-fp/truncdfsf2.c: Likewise.
26925 * soft-fp/trunctfdf2.c: Likewise.
26926 * soft-fp/trunctfsf2.c: Likewise.
26927 * soft-fp/trunctfxf2.c: Likewise.
26928 * soft-fp/unorddf2.c: Likewise.
26929 * soft-fp/unordsf2.c: Likewise.
26930 * soft-fp/unordtf2.c: Likewise.
26932 2013-10-15 Joseph Myers <joseph@codesourcery.com>
26934 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26935 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26937 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
26939 * elf/dl-libc.c: Clear initfini list after freeing.
26941 2013-10-14 Joseph Myers <joseph@codesourcery.com>
26943 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26944 * soft-fp/addsf3.c: Likewise.
26945 * soft-fp/addtf3.c: Likewise.
26946 * soft-fp/divdf3.c: Likewise.
26947 * soft-fp/divsf3.c: Likewise.
26948 * soft-fp/divtf3.c: Likewise.
26949 * soft-fp/double.h: Likewise.
26950 * soft-fp/eqdf2.c: Likewise.
26951 * soft-fp/eqsf2.c: Likewise.
26952 * soft-fp/eqtf2.c: Likewise.
26953 * soft-fp/extenddftf2.c: Likewise.
26954 * soft-fp/extended.h: Likewise.
26955 * soft-fp/extendsfdf2.c: Likewise.
26956 * soft-fp/extendsftf2.c: Likewise.
26957 * soft-fp/extendxftf2.c: Likewise.
26958 * soft-fp/fixdfdi.c: Likewise.
26959 * soft-fp/fixdfsi.c: Likewise.
26960 * soft-fp/fixdfti.c: Likewise.
26961 * soft-fp/fixsfdi.c: Likewise.
26962 * soft-fp/fixsfsi.c: Likewise.
26963 * soft-fp/fixsfti.c: Likewise.
26964 * soft-fp/fixtfdi.c: Likewise.
26965 * soft-fp/fixtfsi.c: Likewise.
26966 * soft-fp/fixtfti.c: Likewise.
26967 * soft-fp/fixunsdfdi.c: Likewise.
26968 * soft-fp/fixunsdfsi.c: Likewise.
26969 * soft-fp/fixunsdfti.c: Likewise.
26970 * soft-fp/fixunssfdi.c: Likewise.
26971 * soft-fp/fixunssfsi.c: Likewise.
26972 * soft-fp/fixunssfti.c: Likewise.
26973 * soft-fp/fixunstfdi.c: Likewise.
26974 * soft-fp/fixunstfsi.c: Likewise.
26975 * soft-fp/fixunstfti.c: Likewise.
26976 * soft-fp/floatdidf.c: Likewise.
26977 * soft-fp/floatdisf.c: Likewise.
26978 * soft-fp/floatditf.c: Likewise.
26979 * soft-fp/floatsidf.c: Likewise.
26980 * soft-fp/floatsisf.c: Likewise.
26981 * soft-fp/floatsitf.c: Likewise.
26982 * soft-fp/floattidf.c: Likewise.
26983 * soft-fp/floattisf.c: Likewise.
26984 * soft-fp/floattitf.c: Likewise.
26985 * soft-fp/floatundidf.c: Likewise.
26986 * soft-fp/floatundisf.c: Likewise.
26987 * soft-fp/floatunsidf.c: Likewise.
26988 * soft-fp/floatunsisf.c: Likewise.
26989 * soft-fp/floatuntidf.c: Likewise.
26990 * soft-fp/floatuntisf.c: Likewise.
26991 * soft-fp/floatuntitf.c: Likewise.
26992 * soft-fp/fmadf4.c: Likewise.
26993 * soft-fp/fmasf4.c: Likewise.
26994 * soft-fp/fmatf4.c: Likewise.
26995 * soft-fp/gedf2.c: Likewise.
26996 * soft-fp/gesf2.c: Likewise.
26997 * soft-fp/getf2.c: Likewise.
26998 * soft-fp/ledf2.c: Likewise.
26999 * soft-fp/lesf2.c: Likewise.
27000 * soft-fp/letf2.c: Likewise.
27001 * soft-fp/muldf3.c: Likewise.
27002 * soft-fp/mulsf3.c: Likewise.
27003 * soft-fp/multf3.c: Likewise.
27004 * soft-fp/negdf2.c: Likewise.
27005 * soft-fp/negsf2.c: Likewise.
27006 * soft-fp/negtf2.c: Likewise.
27007 * soft-fp/op-1.h: Likewise.
27008 * soft-fp/op-2.h: Likewise.
27009 * soft-fp/op-4.h: Likewise.
27010 * soft-fp/op-8.h: Likewise.
27011 * soft-fp/op-common.h: Likewise.
27012 * soft-fp/quad.h: Likewise.
27013 * soft-fp/single.h: Likewise.
27014 * soft-fp/soft-fp.h: Likewise.
27015 * soft-fp/sqrtdf2.c: Likewise.
27016 * soft-fp/sqrtsf2.c: Likewise.
27017 * soft-fp/sqrttf2.c: Likewise.
27018 * soft-fp/subdf3.c: Likewise.
27019 * soft-fp/subsf3.c: Likewise.
27020 * soft-fp/subtf3.c: Likewise.
27021 * soft-fp/truncdfsf2.c: Likewise.
27022 * soft-fp/trunctfdf2.c: Likewise.
27023 * soft-fp/trunctfsf2.c: Likewise.
27024 * soft-fp/trunctfxf2.c: Likewise.
27025 * soft-fp/unorddf2.c: Likewise.
27026 * soft-fp/unordsf2.c: Likewise.
27027 * soft-fp/unordtf2.c: Likewise.
27029 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
27032 * misc/error.c (error_tail): Fix possible buffer overflow.
27034 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27037 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27040 2013-10-14 P. J. McDermott <pj@pehjota.net>
27043 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27044 testing pipefail option.
27046 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27048 * soft-fp/double.h: Indent preprocessor directives inside #if.
27049 * soft-fp/extended.h: Likewise.
27050 * soft-fp/op-2.h: Likewise.
27051 * soft-fp/op-4.h: Likewise.
27052 * soft-fp/op-common.h: Likewise.
27053 * soft-fp/quad.h: Likewise.
27054 * soft-fp/single.h: Likewise.
27055 * soft-fp/soft-fp.h: Likewise.
27057 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27059 * iconv/iconv_prog.c: Fix typos.
27060 * stdio-common/psiginfo-data.h: Likewise.
27062 2013-10-12 Reuben Thomas <rrt@sc3d.org>
27065 * locale/setlocale.c: Fix typo.
27067 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27070 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27071 signaling NaN arguments.
27072 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27073 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27076 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27077 unordered operands.
27078 * soft-fp/gesf2.c (__gesf2): Likewise.
27079 * soft-fp/getf2.c (__getf2): Likewise.
27080 * soft-fp/ledf2.c (__ledf2): Likewise.
27081 * soft-fp/lesf2.c (__lesf2): Likewise.
27082 * soft-fp/letf2.c (__letf2): Likewise.
27084 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27085 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27086 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27087 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27088 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27089 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27090 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27091 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27092 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27093 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27094 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27095 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27096 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27097 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27098 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27099 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27100 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27101 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27102 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27103 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27104 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27105 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27106 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27107 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27108 * soft-fp/floattidf.c (__floattidf): Likewise.
27109 * soft-fp/floattisf.c (__floattisf): Likewise.
27110 * soft-fp/floattitf.c (__floattitf): Likewise.
27111 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27112 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27113 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27114 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27115 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27116 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27117 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27118 * soft-fp/gesf2.c (__gesf2): Likewise.
27119 * soft-fp/getf2.c (__getf2): Likewise.
27120 * soft-fp/ledf2.c (__ledf2): Likewise.
27121 * soft-fp/lesf2.c (__lesf2): Likewise.
27122 * soft-fp/letf2.c (__letf2): Likewise.
27124 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27125 Undefine and redefine.
27126 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27127 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27128 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27129 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27130 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27131 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27132 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27133 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27134 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27135 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27136 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27137 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27138 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27139 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27140 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27143 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27144 without decrementing exponent if mantissa >= that for the
27145 denominator, not >.
27146 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27147 denominator, not >. Decrement exponent in < case instead of
27148 incrementing in >= case.
27149 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27150 without decrementing exponent if mantissa >= that for the
27151 denominator, not >.
27153 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27154 computing saturated result for unsigned overflow.
27156 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27157 Jeff Law <law@redhat.com>
27159 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27160 (atan2Mp): Add systemtap probe marker.
27161 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27162 (__ieee754_log): Add systemtap probe marker.
27163 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27164 (atanMp): Add systemtap probe marker.
27165 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27166 (tanMp): Add systemtap probe marker.
27167 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27168 (__slowexp): Add systemtap probe marker.
27169 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27170 (__slowpow): Add systemtap probe marker.
27171 * manual/probes.texi: Document probes.
27173 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
27176 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27178 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27180 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27181 written to buffer but not flushed.
27182 * libio/iofwrite_u.c: Likewise.
27183 * libio/iopadn.c: Return bytes returned even if EOF was
27185 * libio/iowpadn.c: Likewise.
27186 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27187 if _IO_padn does not write the whole buffer.
27188 [!COMPILE_WPRINTF] (PAD): Likewise.
27190 2013-10-10 David S. Miller <davem@davemloft.net>
27192 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27195 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27197 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27198 instead of FSF address.
27199 * soft-fp/fixdfti.c: Likewise.
27200 * soft-fp/fixsfti.c: Likewise.
27201 * soft-fp/fixtfti.c: Likewise.
27202 * soft-fp/fixunsdfti.c: Likewise.
27203 * soft-fp/fixunssfti.c: Likewise.
27204 * soft-fp/fixunstfti.c: Likewise.
27205 * soft-fp/floattidf.c: Likewise.
27206 * soft-fp/floattisf.c: Likewise.
27207 * soft-fp/floattitf.c: Likewise.
27208 * soft-fp/floatuntidf.c: Likewise.
27209 * soft-fp/floatuntisf.c: Likewise.
27210 * soft-fp/floatuntitf.c: Likewise.
27211 * soft-fp/trunctfxf2.c: Likewise.
27213 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27214 * soft-fp/fixdfti.c: Likewise.
27215 * soft-fp/fixsfti.c: Likewise.
27216 * soft-fp/fixtfti.c: Likewise.
27217 * soft-fp/fixunsdfti.c: Likewise.
27218 * soft-fp/fixunssfti.c: Likewise.
27219 * soft-fp/fixunstfti.c: Likewise.
27220 * soft-fp/floattidf.c: Likewise.
27221 * soft-fp/floattisf.c: Likewise.
27222 * soft-fp/floattitf.c: Likewise.
27223 * soft-fp/floatuntidf.c: Likewise.
27224 * soft-fp/floatuntisf.c: Likewise.
27225 * soft-fp/floatuntitf.c: Likewise.
27226 * soft-fp/trunctfxf2.c: Likewise.
27228 2013-10-10 David S. Miller <davem@davemloft.net>
27230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27232 2013-10-10 Joseph Myers <joseph@codsourcery.com>
27234 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27235 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27236 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27237 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27238 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27239 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27240 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27242 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27243 for NaNs before doing comparisons on argument.
27244 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27247 2013-10-10 Will Newton <will.newton@linaro.org>
27249 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27250 passed to _int_memalign does not overflow.
27252 2013-10-10 Torvald Riegel <triegel@redhat.com>
27254 * scripts/bench.pl: Add include-sources directive.
27255 * benchtests/README: Update documentation.
27257 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27259 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27260 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27261 instead of FP_INIT_ROUNDMODE.
27262 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27263 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27266 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27267 copy class of input value.
27268 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27269 not handle exceptions.
27270 * soft-fp/negsf2.c (__negsf2): Likewise.
27271 * soft-fp/negtf2.c (__negtf2): Likewise.
27272 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27274 2013-10-09 Joseph Myers <joseph@codesourcery.com>
27276 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27277 semicolon. From Linux kernel.
27279 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27281 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27283 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27286 * manual/socket.texi: Added statement about buffer
27287 for gethostbyname2_r.
27289 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
27291 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27292 Use .p2align directive instead, throughout.
27293 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27294 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27295 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27296 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27297 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27298 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27299 * sysdeps/x86_64/strchr.S: Likewise.
27300 * sysdeps/x86_64/strrchr.S: Likewise.
27302 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27304 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27306 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27308 * sysdeps/generic/math_private.h (__mpsin1): Remove
27310 (__mpcos1): Likewise.
27311 (__mpsin): New argument __range_reduce.
27312 (__mpcos): Likewise.
27313 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27314 (slow): Use __mpsin and __mpcos.
27318 (sloww1): Likewise.
27319 (sloww2): Likewise.
27320 (bsloww): Likewise.
27321 (bsloww1): Likewise.
27322 (bsloww2): Likewise.
27323 (cslow2): Likewise.
27324 (csloww): Likewise.
27325 (csloww1): Likewise.
27326 (csloww2): Likewise.
27327 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27328 range_reduce. Merge in __mpsin1.
27329 (__mpcos): Likewise.
27330 (__mpsin1): Remove.
27331 (__mpcos1): Likewise.
27333 2013-10-07 Joseph Myers <joseph@codesourcery.com>
27335 * locale/loadlocale.c (_nl_intern_locale_data): Use
27337 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27338 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27339 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27340 obstack data is appropriately aligned.
27341 (obstack_int32_grow_fast): Likewise.
27342 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27343 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27344 (add_locale_uint32_array): Likewise.
27346 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27348 * benchtests/Makefile: Remove ARGLIST and RET variables.
27349 ($(objpfx)bench-%.c): Pass only function name to the script.
27350 * benchtests/README: Update documentation.
27351 * benchtests/acos-inputs: Add new directives.
27352 * benchtests/acosh-inputs: Likewise.
27353 * benchtests/asin-inputs: Likewise.
27354 * benchtests/asinh-inputs: Likewise.
27355 * benchtests/atan-inputs: Likewise.
27356 * benchtests/atanh-inputs: Likewise.
27357 * benchtests/cos-inputs: Likewise.
27358 * benchtests/cosh-inputs: Likewise.
27359 * benchtests/exp-inputs: Likewise.
27360 * benchtests/log-inputs: Likewise.
27361 * benchtests/pow-inputs: Likewise.
27362 * benchtests/rint-inputs: Likewise.
27363 * benchtests/sin-inputs: Likewise.
27364 * benchtests/sinh-inputs: Likewise.
27365 * benchtests/tan-inputs: Likewise.
27366 * benchtests/tanh-inputs: Likewise.
27367 * scripts/bench.pl: Add support for new directives.
27369 2013-10-07 Alan Modra <amodra@gmail.com>
27371 * README: Fix careless merge.
27373 2013-10-05 Alan Modra <amodra@gmail.com>
27375 * NEWS: Mention powerpc64le support and bugs fixed.
27376 * README: Both big-endian and little-endian powerpc64 supported.
27378 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27380 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27381 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27382 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27383 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27385 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
27387 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27390 2013-10-04 Joseph Myers <joseph@codesourcery.com>
27392 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27393 Move -mhard-float appending from
27394 ports/sysdeps/powerpc/powerpc32/Makefile.
27395 [$(with-fp) = yes] (ASFLAGS): Likewise.
27396 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27397 * sysdeps/powerpc/nofpu: Move directory from
27398 ports/sysdeps/powerpc/nofpu.
27399 * sysdeps/powerpc/soft-fp: Move directory from
27400 ports/sysdeps/powerpc/soft-fp.
27401 * sysdeps/powerpc/powerpc32/405: Move directory from
27402 ports/sysdeps/powerpc/powerpc32/405.
27403 * sysdeps/powerpc/powerpc32/440: Move directory from
27404 ports/sysdeps/powerpc/powerpc32/440.
27405 * sysdeps/powerpc/powerpc32/464: Move directory from
27406 ports/sysdeps/powerpc/powerpc32/464.
27407 * sysdeps/powerpc/powerpc32/476: Move directory from
27408 ports/sysdeps/powerpc/powerpc32/476.
27409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27410 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27412 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27414 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27416 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27418 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27419 * README: Update for powerpc-*-linux-gnu software floating point
27422 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27423 case to powerpc/powerpc32*.
27424 * sysdeps/unix/sysv/linux/configure: Regenerated.
27426 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27427 (_FPU_MASK_OM): Define as 0x04.
27428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27429 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27436 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27439 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27442 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27443 and setcontext_e500.
27445 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
27447 * locale/iso-3166.def: Update iso-1366.def and related occurrences
27449 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27451 * manual/threads.texi (Default Thread Attributes): Fix typo.
27453 2013-10-04 Will Newton <will.newton@linaro.org>
27455 * malloc/Makefile: Add tst-memalign.
27456 * malloc/tst-memalign.c: New file.
27458 * malloc/tst-posix_memalign.c: Add comments.
27459 (do_test): Add comments and call free on all potentially
27460 allocated pointers. Add space after cast.
27462 * malloc/tst-pvalloc.c: Add comments.
27463 (do_test): Add comments and call free on all potentially
27464 allocated pointers. Remove duplicate check for NULL pointer.
27465 Add space after cast.
27467 * malloc/tst-valloc.c: Add comments.
27468 (do_test): Add comments and call free on all potentially
27469 allocated pointers. Remove duplicate check for NULL pointer.
27470 Add space after cast.
27472 2013-10-04 Alan Modra <amodra@gmail.com>
27474 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27475 Use stdint types in rather than __attribute__((mode())).
27476 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27478 2013-10-04 Alan Modra <amodra@gmail.com>
27480 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27481 Correct handling of unaligned relocs for little-endian.
27482 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27484 2013-10-04 Alan Modra <amodra@gmail.com>
27486 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27487 * configure: Regenerate.
27488 * nptl/shlib-versions: Powerpc*le starts at 2.18.
27489 * shlib-versions: Likewise.
27491 2013-10-04 Alan Modra <amodra@gmail.com>
27493 * string/tester.c (test_memrchr): Increment reported test cycle.
27495 2013-10-04 Alan Modra <amodra@gmail.com>
27497 * string/test-memcpy.c (do_one_test): When reporting errors, print
27498 string address and don't overrun end of string.
27500 2013-10-04 Alan Modra <amodra@gmail.com>
27502 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27503 insrdi. Make better use of reg selection to speed exit slightly.
27504 Schedule entry path a little better. Remove useless "are we done"
27505 checks on entry to main loop. Handle wrapping around zero address.
27506 Correct main loop count. Handle single left-over word from main
27507 loop inline rather than by using loop_small. Remove extra word
27508 case in loop_small caused by wrong loop count. Add little-endian
27510 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27511 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
27513 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27514 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27515 support. Avoid rlwimi.
27516 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27518 2013-10-04 Alan Modra <amodra@gmail.com>
27520 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27521 insrdi. Formatting.
27522 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27523 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27524 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27525 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27526 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27527 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27529 2013-10-04 Alan Modra <amodra@gmail.com>
27531 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27532 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27533 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27534 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27535 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27536 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27537 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27538 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27539 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
27540 use of regs. Use power7 mtocrf. Tidy function tails.
27542 2013-10-04 Alan Modra <amodra@gmail.com>
27544 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27545 Formatting. Consistently use rXXX register defines or rN defines.
27546 Use early exit labels that avoid restoring unused non-volatile regs.
27547 Make cr field use more consistent with rWORDn compares. Rename
27548 regs used as shift registers for unaligned loop, using rN defines
27549 for short lifetime/multiple use regs.
27550 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27551 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
27552 addi 1,1,64 to pop stack frame. Simplify return value code.
27553 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27555 2013-10-04 Alan Modra <amodra@gmail.com>
27557 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27558 support. Correct typos, formatting. Optimize tail. Use insrdi
27559 rather than rlwimi.
27560 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27561 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27562 little-endian support. Correct typos.
27563 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
27564 rather than rlwimi.
27565 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
27566 in loop and entry code to keep "and." results.
27567 (strchr): Add little-endian support. Comment. Move cntlzd
27569 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27571 2013-10-04 Alan Modra <amodra@gmail.com>
27573 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27574 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27575 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27576 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27578 2013-10-04 Alan Modra <amodra@gmail.com>
27580 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27581 (rTMP): Define as r11.
27582 (strcmp): Add little-endian support. Optimise tail.
27583 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27584 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27585 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27586 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27587 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27588 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27589 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27591 2013-10-04 Alan Modra <amodra@gmail.com>
27593 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27594 little-endian support. Remove unnecessary "are we done" tests.
27595 Handle "s" wrapping around zero and extremely large "size".
27596 Correct main loop count. Handle single left-over word from main
27597 loop inline rather than by using small_loop. Correct comments.
27598 Delete "zero" tail, use "end_max" instead.
27599 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27601 2013-10-04 Alan Modra <amodra@gmail.com>
27603 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27604 support. Don't branch over align.
27605 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27606 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27607 support. Rearrange tmp reg use to suit. Comment.
27608 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27610 2013-10-04 Alan Modra <amodra@gmail.com>
27612 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27614 2013-10-04 Alan Modra <amodra@gmail.com>
27616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27617 conditional form of branch and link when obtaining pc.
27618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27620 2013-10-04 Alan Modra <amodra@gmail.com>
27622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27627 2013-10-04 Alan Modra <amodra@gmail.com>
27629 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27630 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27631 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27632 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27633 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27634 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27635 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27636 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27637 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27638 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27640 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27641 Alistair Popple <alistair@ozlabs.au.ibm.com>
27642 Alan Modra <amodra@gmail.com>
27645 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27646 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27647 _dl_hwcap access for little-endian.
27648 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
27649 destroy vmx regs when saving unaligned.
27650 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27651 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
27652 destroy vmx regs when saving unaligned.
27654 2013-10-04 Alan Modra <amodra@gmail.com>
27656 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27657 Don't use a union to pack hi/low value.
27659 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27661 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27663 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27664 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27665 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27666 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27667 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27669 2013-10-04 Alan Modra <amodra@gmail.com>
27671 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27672 constants to usual value for .cst8 section, and remove redundant
27674 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27675 constant for 0x1p52. Load little-endian words of double from
27676 correct stack offsets.
27678 2013-10-04 Alan Modra <amodra@gmail.com>
27680 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27681 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27682 words of double from correct stack offsets.
27683 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27684 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27685 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27686 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27687 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27688 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27689 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27690 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27691 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27692 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27693 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27694 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27695 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27696 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27697 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27698 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27699 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27701 2013-10-04 Alan Modra <amodra@gmail.com>
27703 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27704 64-bit int/double union.
27705 (_FPU_SETCW): Likewise.
27706 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27707 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27709 2013-10-04 Alan Modra <amodra@gmail.com>
27711 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27712 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27714 2013-10-04 Alan Modra <amodra@gmail.com>
27716 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27717 use vector int constants.
27718 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27720 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27722 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27723 array with long long.
27724 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27725 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27726 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27727 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27728 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27729 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27730 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27731 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27732 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27733 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27734 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27735 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27736 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27738 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27740 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27741 (__signbit): Likewise. Correct for little-endian.
27742 (__signbitl): Call __signbit.
27743 (lrint): Correct for little-endian.
27744 (lrintf): Call lrint.
27746 2013-10-04 Alan Modra <amodra@gmail.com>
27748 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27749 union 32-bit int array member with 64-bit int array.
27750 (t515, tm256): Double rather than long double.
27751 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27753 2013-10-04 Alan Modra <amodra@gmail.com>
27755 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27757 (IEEE854_LONG_DOUBLE_BIAS): Delete.
27758 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27759 version of math_ldbl.h.
27761 2013-10-04 Alan Modra <amodra@gmail.com>
27763 [BZ #15734], [BZ #15735]
27764 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27765 all uses of ieee875 long double macros and unions. Simplify test
27766 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
27767 ldbl_extract_mantissa value for ix,iy exponents. Properly
27768 normalize after ldbl_extract_mantissa, and don't add hidden bit
27769 already handled. Don't treat low word of ieee854 mantissa like
27770 low word of IBM long double and mask off bit when testing for
27772 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27773 all uses of ieee875 long double macros and unions. Simplify tests
27774 for 0.0L and inf. Correct double adjustment of k. Delete dead code
27775 adjusting ha,hb. Simplify code setting kld. Delete two600 and
27776 two1022, instead use their values. Recognise that tests for large
27777 "a" and small "b" are mutually exclusive. Rename vars. Comment.
27778 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27779 Rewrite all uses of ieee875 long double macros and unions. Simplify
27780 test for 0.0L and nan. Correct negation.
27781 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27782 ieee875 long double macros and unions. Correct output for large
27783 magnitude x. Correct absolute value calculation.
27784 (__erfcl): Likewise.
27785 * math/libm-test.inc: Add tests for errors discovered in IBM long
27786 double versions of fmodl, remainderl, erfl and erfcl.
27788 2013-10-04 Alan Modra <amodra@gmail.com>
27790 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27791 all uses of ieee854 long double macros and unions. Simplify tests
27792 for long doubles that are fully specified by the high double.
27793 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27795 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27796 Remove dead code too.
27797 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27798 (__ieee754_ynl): Likewise.
27799 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27800 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27801 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27802 Remove dead code too.
27803 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27804 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27805 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27806 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27808 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27810 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27811 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27812 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27813 Comment on variable precision.
27814 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27815 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27817 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27818 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27819 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27820 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27821 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27823 2013-10-04 Alan Modra <amodra@gmail.com>
27825 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27826 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27827 all uses of ieee854 long double macros and unions.
27828 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27829 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27830 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27831 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27832 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27833 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27835 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27836 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27837 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27838 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27839 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27840 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27841 Simplify sign and nan test too.
27842 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27843 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27844 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27845 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27847 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27848 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27850 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27851 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27852 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27853 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27854 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27855 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27857 2013-10-04 Alan Modra <amodra@gmail.com>
27859 * stdio-common/printf_size.c (__printf_size): Don't use
27860 union ieee854_long_double in fpnum union.
27861 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
27862 signbit macro to retrieve sign from long double.
27863 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27864 retrieve sign from long double.
27865 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27866 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27867 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27868 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27869 * math/test-misc.c (main): Don't use union ieee854_long_double.
27871 2013-10-04 Alan Modra <amodra@gmail.com>
27874 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27875 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27876 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27877 calculation. Remove unnecessary test for denormal exponent.
27878 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27879 Correct handling of denormals. Avoid undefined shift behaviour.
27880 Correct normalisation of low mantissa when low double is denormal.
27881 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27882 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
27883 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27884 Correct normalisation of low mantissa. Test for overflow of high
27885 mantissa and normalise.
27886 (ldbl_nearbyint): Use more readable constant for two52.
27887 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27888 (__mpn_construct_long_double): Fix test for overflow of high
27889 mantissa and correct normalisation. Avoid undefined shift.
27891 2013-10-04 Alan Modra <amodra@gmail.com>
27893 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27894 (union ibm_extended_long_double): Define as an array of ieee754_double.
27895 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27896 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27897 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27898 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27899 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27900 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27901 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27902 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27903 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27904 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27905 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27907 2013-10-03 Joseph Myers <joseph@codesourcery.com>
27909 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27910 page size instead of calling getpagesize.
27912 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27913 (LOCFILE_ALIGN_MASK): Likewise.
27914 (LOCFILE_ALIGN_UP): Likewise.
27915 (LOCFILE_ALIGNED_P): Likewise.
27916 * locale/programs/ld-collate.c (collate_output): Use the new
27917 macros instead of __alignof__ (int32_t).
27918 * locale/weight.h (findidx): Likewise.
27920 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
27923 * manual/string.texi: Fix strncat and wcsncat.
27925 2013-10-03 Brooks Moses <bmoses@google.com>
27928 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27929 * Makerules: ...here, and adjust associated comments.
27931 2013-10-02 Will Newton <will.newton@linaro.org>
27933 * malloc/Makefile: Add tst-pvalloc.
27934 * malloc/tst-pvalloc.c: New file.
27936 2013-10-02 Will Newton <will.newton@linaro.org>
27938 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27939 improve test coverage.
27941 2013-10-02 Will Newton <will.newton@linaro.org>
27943 * malloc/Makefile: Add tst-posix_memalign.
27944 * malloc/tst-posix_memalign.c: New file.
27946 2013-10-01 Eric Blake <eblake@redhat.com>
27948 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27949 Use __THROWNL rather than __THROW on static functions.
27951 2013-09-30 Petr Machata <pmachata@redhat.com>
27953 * elf/elf.h (R_AARCH64_ABS16): New macro.
27954 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27955 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27956 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27957 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27958 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27959 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27960 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27961 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27962 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27963 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27964 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27965 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27966 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27967 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27968 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27969 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27970 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27971 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27972 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27973 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27974 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27975 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27976 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27977 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27978 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27979 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27980 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27981 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27982 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27983 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27984 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27985 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27986 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27987 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27988 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27989 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27990 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27991 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27992 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27993 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27994 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27995 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27996 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27997 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27998 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27999 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28000 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28001 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28002 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28003 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28004 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28005 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28006 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28007 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28008 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28009 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28010 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28011 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28012 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28013 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28014 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28015 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28016 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28017 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28018 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28019 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28020 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28021 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28022 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28023 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28024 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28025 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28026 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28027 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28028 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28029 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28030 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28031 (R_AARCH64_TLSDESC_LDR): Likewise.
28032 (R_AARCH64_TLSDESC_ADD): Likewise.
28033 (R_AARCH64_TLSDESC_CALL): Likewise.
28035 2013-09-30 Andreas Schwab <schwab@suse.de>
28038 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28039 the nss database lookup.
28040 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28043 2013-09-28 Mike Frysinger <vapier@gentoo.org>
28045 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28047 2013-09-28 P. J. McDermott <pj@pehjota.net>
28049 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28050 ${Bash-specific parameter/pattern/string} parameter expansion.
28051 * sysdeps/unix/make-syscalls.sh: Likewise.
28053 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28055 * sysdeps/sh/stackguard-macros.h: New file.
28057 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
28059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28061 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28062 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28063 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28064 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28066 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28068 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28069 Fix thread ID register.
28071 2013-09-25 Joseph Myers <joseph@codesourcery.com>
28073 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28074 [POSIX || UNIX98]: Require rather than permitting all symbols from
28076 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28077 element of struct sched_param.
28078 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28079 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28080 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28081 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28084 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28086 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28087 argument calculation.
28089 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28091 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28093 [POSIX] (pthread_attr_t): Do not require type.
28094 [POSIX] (pthread_cond_t): Likewise.
28095 [POSIX] (pthread_condattr_t): Likewise.
28096 [POSIX] (pthread_key_t): Likewise.
28097 [POSIX] (pthread_mutex_t): Likewise.
28098 [POSIX] (pthread_mutexattr_t): Likewise.
28099 [POSIX] (pthread_once_t): Likewise.
28100 [POSIX] (pthread_t): Likewise.
28101 [POSIX-based standards] (pthread_atfork): Expect function.
28103 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28104 Richard Sandiford <richard@codesourcery.com>
28106 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28107 (swap_endianness_p): New extern variable.
28108 (set_big_endian): New inline function.
28109 (maybe_swap_uint32): Likewise.
28110 (maybe_swap_uint32_array): Likewise.
28111 (maybe_swap_uint32_obstack): Likewise.
28112 * locale/programs/locfile.c: Include <stdbool.h>.
28113 (swap_endianness_p): New variable.
28114 (add_locale_uint32): Call maybe_swap_uint32.
28115 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28116 (write_locale_data): Call maybe_swap_uint32_array.
28117 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28119 (obstack_int32_grow_fast): Likewise.
28120 (output_weightwc): Call maybe_swap_uint32_obstack.
28121 (collate_output): Likewise.
28122 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28123 (OPT_LITTLE_ENDIAN): Likewise.
28124 (options): Add --little-endian and --big-endian options.
28125 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28126 * locale/programs/locarchive.c: Include "locfile.h".
28130 (create_archive): Use the new macros to access fields of
28131 structures directly mapped from or written to locale archives.
28132 (oldlocrecentcmp): Likewise.
28133 (enlarge_archive): Likewise.
28134 (insert_name): Likewise.
28135 (add_alias): Likewise.
28136 (add_locale): Likewise.
28137 (delete_locales_from_archive): Likewise.
28138 (show_archive_content): Likewise.
28139 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
28142 2013-09-24 Roland McGrath <roland@hack.frob.com>
28144 * manual/freemanuals.texi: Updated from (newly) canonical copy at
28145 http://www.gnu.org/doc/freemanuals.texi.
28146 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28148 2013-09-24 Will Newton <will.newton@linaro.org>
28150 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28153 2013-09-23 Joseph Myers <joseph@codesourcery.com>
28155 * locale/hashval.h (compute_hashval): Interpret bytes of key as
28158 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
28160 * manual/threads.texi (POSIX Threads): Fix a typo.
28162 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28165 * string/tst-strcoll-overflow.c: New test case.
28166 * string/Makefile (xtests): Add tst-strcoll-overflow.
28167 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28168 cache if string sizes may cause integer overflow.
28171 * string/strcoll_l.c (coll_seq): New members rule, idx,
28172 save_idx and back_us.
28173 (get_next_seq_nocache): New function.
28174 (do_compare_nocache): New function.
28175 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28178 2013-09-23 Carlos O'Donell <carlos@redhat.com>
28181 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28182 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28183 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28186 * elf/Makefile (tests): Add tst-ptrguard1.
28187 (tests-static): Add tst-ptrguard1-static.
28188 (tst-ptrguard1-ARGS): Define.
28189 (tst-ptrguard1-static-ARGS): Define.
28190 * elf/tst-ptrguard1.c: New file.
28191 * elf/tst-ptrguard1-static.c: New file.
28192 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28193 * sysdeps/i386/stackguard-macros.h: Likewise.
28194 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28195 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28196 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28197 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28198 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28199 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28201 2013-09-23 Hector Marco <hecmargi@upv.es>
28202 Ismael Ripoll <iripoll@disca.upv.es>
28203 Carlos O'Donell <carlos@redhat.com>
28206 * sysdeps/generic/stackguard-macros.h: Define
28207 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28208 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28209 Define __pointer_chk_guard_local.
28210 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28211 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28213 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28216 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28218 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28220 * include/string.h (__ffs): Declare as hidden.
28221 * string/ffs.c (__ffs): Define as hidden.
28222 * sysdeps/i386/ffs.c (__ffs): Likewise.
28223 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28224 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28225 * sysdeps/s390/ffs.c (__ffs): Likewise.
28226 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28228 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
28230 * NEWS: Mention malloc probes.
28232 * malloc/arena.c (new_heap): New memory_heap_new probe.
28233 (grow_heap): New memory_heap_more probe.
28234 (shrink_heap): New memory_heap_less probe.
28235 (heap_trim): New memory_heap_free probe.
28236 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28237 (systrim): New memory_sbrk_less probe.
28238 * manual/probes.texi: Document them.
28240 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28241 * manual/probes.texi: Document it.
28243 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28244 (__libc_realloc): Add memory_realloc_retry probe.
28245 (__libc_memalign): Add memory_memalign_retry probe.
28246 (__libc_valloc): Add memory_valloc_retry probe.
28247 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28248 (__libc_calloc): Add memory_calloc_retry probe.
28249 * manual/probes.texi: Document them.
28251 * malloc/arena.c (get_free_list): Add probe
28252 memory_arena_reuse_free_list.
28253 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28254 and memory_arena_reuse.
28255 (arena_get2) [!PER_THREAD]: Likewise.
28256 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28257 memory_arena_reuse_realloc.
28258 * manual/probes.texi: Document them.
28260 * malloc/malloc.c (__libc_free): Add
28261 memory_mallopt_free_dyn_thresholds probe.
28262 (__libc_mallopt): Add multiple memory_mallopt probes.
28263 * manual/probes.texi: Document them.
28265 * malloc/malloc.c: Include stap-probe.h.
28266 (__libc_mallopt): Add memory_mallopt probe.
28267 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28268 * manual/probes.texi: New.
28269 * manual/Makefile (chapters): Add probes.
28270 * manual/threads.texi: Set next node.
28272 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
28274 [BZ #15963, #13985]
28275 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28276 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28277 Add `Chinese' to `nan' entry name.
28279 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28281 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28282 (POLYNOMIAL): Likewise.
28283 (TAYLOR_SINCOS): Likewise.
28284 (TAYLOR_SLOW): Likewise.
28285 (__sin): Use TAYLOR_SINCOS.
28287 (slow): Use TAYLOR_SLOW.
28289 (bsloww): Likewise.
28290 (csloww): Likewise.
28292 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28294 * stdlib/strtod_l.c: Fix buffer overrun.
28296 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28298 * benchtests/Makefile (bench): Add sincos.
28299 * benchtests/bench-sincos.c: New file.
28301 * math/libm-test.inc (cos_test_data): New test inputs.
28302 (sin_test_data): Likewise.
28304 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28310 (sloww1): Likewise.
28311 (sloww2): Likewise.
28312 (bsloww1): Likewise.
28313 (bsloww2): Likewise.
28314 (cslow2): Likewise.
28315 (csloww1): Likewise.
28316 (csloww2): Likewise.
28318 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28323 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28327 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28329 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28330 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28331 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28332 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28333 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28334 * elf/cache.c (print_entry): Handle the new cache flags.
28336 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28337 Aldy Hernandez <aldyh@redhat.com>
28339 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28340 Change condition to [_SOFT_FLOAT].
28341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28350 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28353 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28354 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28355 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28356 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28359 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28361 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28362 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28363 (__longjmp): Use LOAD_GP to load saved GPRs.
28364 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28365 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28366 (__sigsetjmp): Use SAVE_GP to save GPRs.
28368 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28369 Do not append -msoft-float.
28370 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28372 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28374 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28376 2013-09-17 Joseph Myers <joseph@codesourcery.com>
28379 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28380 (_FPU_GETCW): Use initial "__" on variable and field names but not
28381 on macro parameter name.
28382 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
28383 parentheses around reference to macro parameter.
28385 2013-09-13 Richard Sandiford <richard@codesourcery.com>
28387 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28389 (ctype_startup): Use uint32_t in cast and sizeof for
28392 2013-09-11 Jia Liu <proljc@gmail.com>
28394 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28396 [__FreeBSD__]: Likewise.
28398 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
28400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28401 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28402 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28403 (strchr): Remove __strchr_sse42 ifunc selection.
28404 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28405 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28407 2013-09-11 Will Newton <will.newton@linaro.org>
28409 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28410 parameter to RES. Remove hardcoded 1000 value.
28411 * benchtests/bench-skeleton.c (main): Pass RES parameter
28412 to TIMING_INIT and multiply result by 1000.
28414 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28418 2013-09-11 Andreas Schwab <schwab@suse.de>
28420 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28422 (O_TMPFILE) [__USE_GNU]: Define.
28423 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28426 2013-09-11 Will Newton <will.newton@linaro.org>
28429 * malloc/malloc.c (__libc_memalign): Check the value of bytes
28432 2013-09-11 Will Newton <will.newton@linaro.org>
28435 * malloc/malloc.c (__libc_valloc): Check the value of bytes
28438 2013-09-11 Will Newton <will.newton@linaro.org>
28441 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28444 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
28446 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28447 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28448 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28449 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28450 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28452 2013-09-10 Allan McRae <allan@archlinux.org>
28455 * manual/arith.texi (Parsing of Floats): Clarify
28459 * manual/install.texi (Running make install): Mention
28461 * INSTALL: Regenerated.
28463 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
28465 * csu/init-first.c (_init): Remove the !SHARED condition around
28466 FPU control word initialization.
28467 * elf/dl-support.c (_dl_fpu_control): New variable.
28468 (_dl_aux_init) <AT_FPUCW>: Initialize it.
28469 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28470 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28471 * math/test-fpucw-static.c: New file.
28472 * math/test-fpucw-ieee.c: New file.
28473 * math/test-fpucw-ieee-static.c: New file.
28474 * math/Makefile (tests): Add `test-fpucw-ieee' and
28476 (tests-static): New variable.
28477 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28479 [($(build-shared),yes)]
28480 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28482 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28485 2013-09-09 Allan McRae <allan@archlinux.org>
28488 * manual/string.texi (Collation Functions): Fix typo in
28490 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28493 * stdlib/isomac.c (get_null_defines): Fix memory leak.
28496 * libio/memstream.c (open_memstream): Fix memory leak.
28497 * libio/wmemstream.c (open_wmemstream): Likewise.
28500 * nscd/netgroupcache.c: Fix nesting of ifdefs.
28502 2013-09-09 Will Newton <will.newton@linaro.org>
28504 * malloc/Makefile: Add tst-realloc to tests.
28505 * malloc/tst-realloc.c: New file.
28507 2013-09-09 Allan McRae <allan@archlinux.org>
28510 * COPYING: Update from GNU website to fix FSF address.
28511 * COPYING.LIB: Likewise.
28513 2013-09-06 David S. Miller <davem@davemloft.net>
28515 * po/zh_TW.po: Update Chinese (traditional) translation from
28516 translation project.
28518 2013-09-06 Richard Sandiford <richard@codesourcery.com>
28519 Joseph Myers <joseph@codesourcery.com>
28521 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28523 (obstack_chunk_alloc): New macro.
28524 (obstack_chunk_free): Likewise.
28525 (record_offset): New function.
28526 (init_locale_data): Likewise.
28527 (align_locale_data): Likewise.
28528 (add_locale_empty): Likewise.
28529 (add_locale_raw_data): Likewise.
28530 (add_locale_raw_obstack): Likewise.
28531 (add_locale_string): Likewise.
28532 (add_locale_wstring): Likewise.
28533 (add_locale_uint32): Likewise.
28534 (add_locale_uint32_array): Likewise.
28535 (add_locale_char): Likewise.
28536 (start_locale_structure): Likewise.
28537 (end_locale_structure): Likewise.
28538 (start_locale_prelude): Likewise.
28539 (end_locale_prelude): Likewise.
28540 (write_locale_data): Take locale_file structure rather than an
28542 * locale/programs/locfile.h: Include "obstack.h".
28543 (struct locale_file): Change to store locale file contents instead
28545 (init_locale_data): New prototype.
28546 (align_locale_data): Likewise.
28547 (add_locale_empty): Likewise.
28548 (add_locale_raw_data): Likewise.
28549 (add_locale_raw_obstack): Likewise.
28550 (add_locale_string): Likewise.
28551 (add_locale_wstring): Likewise.
28552 (add_locale_uint32): Likewise.
28553 (add_locale_uint32_array): Likewise.
28554 (add_locale_char): Likewise.
28555 (start_locale_structure): Likewise.
28556 (end_locale_structure): Likewise.
28557 (start_locale_prelude): Likewise.
28558 (end_locale_prelude): Likewise.
28559 (write_locale_data): Update prototype.
28560 * locale/programs/3level.h (struct TABLE): Remove result field.
28561 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28562 Use new locale_file interface.
28563 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28564 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28565 * locale/programs/ld-address.c (address_output): Use new
28566 locale_file interface.
28567 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28569 (collate_finish): Don't call collseq_table_finalize.
28570 (collate_output): Use new locale_file interface.
28571 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28573 (NO_FINALIZE): Change to NO_ADD_LOCALE.
28574 (TABLE): Move defines earlier in file.
28575 (ELEMENT): Likewise.
28576 (DEFAULT): Likewise.
28577 (wctrans_table_add): Move macro and inline function earlier in
28579 (struct wctype_table): Move type earlier in file.
28580 (add_locale_wctype_table): New static prototype.
28581 (struct locale_ctype_t): Use logical types instead of struct iovec
28582 pointers for members.
28583 (ctype_output): Use new locale_file interface.
28584 (wctype_table_finalize): Change to add_locale_wctype_table. Use
28585 new locale_file interface.
28586 (allocate_arrays): Update for use of new locale_file interface.
28587 * locale/programs/ld-identification.c (identification_output): Use
28588 new locale_file interface.
28589 * locale/programs/ld-measurement.c (measurement_output): Likewise.
28590 * locale/programs/ld-messages.c (messages_output): Likewise.
28591 * locale/programs/ld-monetary.c (monetary_output): Likewise.
28592 * locale/programs/ld-name.c (name_output): Likewise.
28593 * locale/programs/ld-numeric.c (numeric_output): Likewise.
28594 * locale/programs/ld-paper.c (paper_output): Likewise.
28595 * locale/programs/ld-telephone.c (telephone_output): Likewise.
28596 * locale/programs/ld-time.c (time_output): Likewise.
28598 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28600 * benchtests/Makefile: Add memrchr benchmark.
28601 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28602 benchmark as memrchr.
28603 * benchtests/bench-memrchr-ifunc.c: New file.
28604 * benchtests/bench-memrchr.c: New file.
28606 2013-09-06 Will Newton <will.newton@linaro.org>
28608 * benchtests/Makefile (string-bench): Add memcpy.
28610 2013-09-05 Carlos O'Donell <carlos@redhat.com>
28611 Cong Wang <amwang@redhat.com>
28614 * sysdeps/unix/sysv/linux/bits/in.h
28615 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28616 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28617 before __USE_KERNEL_IPV6_DEFS uses.
28618 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28620 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28621 sockaddr_in6, or ipv6_mreq.
28623 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28625 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28626 memory access for final bytes in some large inputs.
28627 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28629 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28631 * string/test-memrchr.c: New file.
28632 * string/test-memrchr-ifunc.c: New file.
28633 * string/Makefile: Add new memrchr testcase.
28635 2013-09-05 Mike Frysinger <vapier@gentoo.org>
28637 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28638 fanotify_init returns EPERM.
28640 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28642 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28644 (top level): Treat second token from macro or constant entries for
28645 allowed headers as allowed.
28646 * include/complex.h: Condition internal declarations on
28648 * include/fenv.h: Condition include of <stdbool.h> and internal
28649 declarations on [!_ISOMAC].
28651 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
28654 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28656 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28658 * configure.in (--enable-versioning): Remove configure option.
28659 (libc_cv_asm_symver_directive): Remove configure test.
28660 (libc_cv_ld_version_script_option): Likewise.
28661 (VERSIONING): Remove variable and AC_SUBST.
28662 (DO_VERSIONING): Remove AC_DEFINE.
28663 * configure: Regenerated.
28664 * config.h.in (DO_VERSIONING): Remove macro.
28665 * Makerules [$(versioning) = yes]: Change conditionals to
28666 [$(build-shared) = yes].
28667 * config.make.in (versioning): Remove variable.
28668 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28669 [$(build-shared) = yes].
28670 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28671 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28672 * elf/Makefile [$(versioning) = yes]: Change conditionals to
28673 [$(build-shared) = yes].
28674 * extra-lib.mk [$(versioning) = yes]: Likewise.
28675 * hurd/Makefile [$(versioning) = yes]: Likewise.
28676 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28678 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28680 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28681 [SHARED && !NO_HIDDEN].
28682 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28684 [SHARED && DO_VERSIONING]: Likewise..
28685 * libio/Makefile [$(versioning) = yes]: Change conditionals to
28686 [$(build-shared) = yes].
28687 * manual/install.texi (--disable-versioning): Remove
28689 * INSTALL: Regenerated.
28690 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28692 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28693 [$(build-shared) = yes].
28694 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28695 * sysdeps/i386/i686/multiarch/strstr-c.c
28696 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28697 [SHARED && !NO_HIDDEN].
28698 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28699 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28700 * sysdeps/powerpc/powerpc32/dl-machine.c
28701 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28702 * sysdeps/powerpc/powerpc32/sysdep.h
28703 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28704 to [SHARED && PIC && !NO_HIDDEN].
28705 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28706 conditional to [SHARED].
28708 2013-09-04 Will Newton <will.newton@linaro.org>
28710 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28711 * benchtests/bench-string.h: Include bench-timing.h instead
28712 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28713 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28714 call to HP_TIMING_DIFF_INIT.
28715 * benchtests/bench-memccpy.c: Use bench-timing.h macros
28716 instead of hp-timing.h macros.
28717 * benchtests/bench-memchr.c: Likewise.
28718 * benchtests/bench-memcmp.c: Likewise.
28719 * benchtests/bench-memcpy.c: Likewise.
28720 * benchtests/bench-memmem.c: Likewise.
28721 * benchtests/bench-memmove.c: Likewise.
28722 * benchtests/bench-memset.c: Likewise.
28723 * benchtests/bench-rawmemchr.c: Likewise.
28724 * benchtests/bench-strcasecmp.c: Likewise.
28725 * benchtests/bench-strcasestr.c: Likewise.
28726 * benchtests/bench-strcat.c: Likewise.
28727 * benchtests/bench-strchr.c: Likewise.
28728 * benchtests/bench-strcmp.c: Likewise.
28729 * benchtests/bench-strcpy.c: Likewise.
28730 * benchtests/bench-strcpy_chk.c: Likewise.
28731 * benchtests/bench-strlen.c: Likewise.
28732 * benchtests/bench-strncasecmp.c: Likewise.
28733 * benchtests/bench-strncat.c: Likewise.
28734 * benchtests/bench-strncmp.c: Likewise.
28735 * benchtests/bench-strncpy.c: Likewise.
28736 * benchtests/bench-strnlen.c: Likewise.
28737 * benchtests/bench-strpbrk.c: Likewise.
28738 * benchtests/bench-strrchr.c: Likewise.
28739 * benchtests/bench-strspn.c: Likewise.
28740 * benchtests/bench-strstr.c: Likewise.
28742 2013-09-04 Will Newton <will.newton@linaro.org>
28744 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28746 2013-09-03 Joseph Myers <joseph@codesourcery.com>
28749 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28750 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28751 * math/libm-test.inc (lgamma_test_data): Add more tests.
28752 * sysdeps/i386/fpu/libm-test-ulps: Update.
28753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28755 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
28757 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28758 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28761 Add strcmp-sse2-unaligned
28762 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28764 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28766 * Versions.def (libc): Add GLIBC_2.19.
28768 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28770 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28771 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28773 2013-09-02 Joseph Myers <joseph@codesourcery.com>
28776 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28777 intermediate calculations in recurrence.
28778 (__ieee754_ynf): Likewise.
28779 * math/libm-test.inc (jn_test_data): Do not allow spurious
28780 underflow exception. Add more tests.
28781 (yn_test_data): Add more tests.
28782 * sysdeps/i386/fpu/libm-test-ulps: Update.
28783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28785 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
28787 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28789 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28791 * csu/init-first.c: Fix then/than typos.
28792 * locale/programs/ld-collate.c: Likewise.
28793 * locale/programs/linereader.h: Likewise.
28794 * manual/charset.texi: Likewise.
28795 * manual/filesys.texi: Likewise.
28796 * manual/stdio.texi: Likewise.
28797 * manual/string.texi: Likewise.
28798 * stdlib/fmtmsg.c: Likewise.
28799 * sysdeps/i386/stpncpy.S: Likewise.
28800 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28801 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28802 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28803 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28805 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28807 * elf/dl-open.c: Fix typos.
28808 * iconvdata/gbbig5.c: Likewise.
28809 * iconvdata/iso-2022-jp.c: Likewise.
28810 * iconv/gconv_int.h: Likewise.
28811 * iconv/loop.c: Likewise.
28812 * nis/rpcsvc/nis.h: Likewise.
28813 * resolv/ns_name.c: Likewise.
28814 * stdio-common/vfscanf.c: Likewise.
28815 * streams/stropts.h: Likewise.
28816 * sunrpc/rpc_thread.c: Likewise.
28817 * sysdeps/i386/strpbrk.S: Likewise.
28818 * sysdeps/ieee754/k_standard.c: Likewise.
28819 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28820 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28821 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28822 * sysdeps/mach/hurd/profil.c: Likewise.
28823 * sysdeps/s390/dl-procinfo.h: Likewise.
28824 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28825 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28826 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28827 * sysdeps/x86_64/dl-trampoline.S: Likewise.
28828 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28830 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28832 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28833 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28835 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28837 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28838 aix specific files.
28839 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28840 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28841 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28842 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28843 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28844 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28845 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28846 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28848 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28849 Roland McGrath <roland@hack.frob.com>
28851 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28852 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28854 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
28856 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28857 __executable_start symbol instead of _start.
28859 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28861 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28862 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28864 * sysdeps/gnu/ldsodefs.h: ... this new file.
28866 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28867 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28868 instead of ELFOSABI_LINUX.
28870 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28871 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28872 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28873 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28875 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28876 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28877 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28879 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28880 (ibm_extended_long_double): Add ieee_nan member.
28881 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28882 (do_test): New function.
28884 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28886 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28887 functions, renamed from truncdfsf_test, trunctfsf_test,
28889 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28891 (do_test): Run all these.
28893 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28895 * argp/argp-help.c: Fix typos.
28896 * argp/argp-parse.c: Likewise.
28897 * debug/backtracesyms.c: Likewise.
28898 * elf/elf.h: Likewise.
28899 * malloc/malloc.c: Likewise.
28900 * nis/nis_print.c: Likewise.
28901 * resolv/res_comp.c: Likewise.
28902 * stdlib/stdlib.h: Likewise.
28903 * sunrpc/clnt_tcp.c: Likewise.
28904 * sunrpc/clnt_udp.c: Likewise.
28905 * sunrpc/clnt_unix.c: Likewise.
28906 * sysdeps/unix/bsd/ptsname.c: Likewise.
28907 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28908 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28915 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28917 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28919 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28922 2013-08-27 Mike Frysinger <vapier@gentoo.org>
28925 * dlfcn/Makefile (tests): Add bug-dl-leaf.
28926 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28927 ($(objpfx)bug-dl-leaf): New rule.
28928 ($(objpfx)bug-dl-leaf.so): Likewise.
28929 ($(objpfx)bug-dl-leaf.out): Likewise.
28930 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28931 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28932 * dlfcn/bug-dl-leaf.c: New test.
28933 * dlfcn/bug-dl-leaf-lib.c: Likewise.
28934 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28935 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28936 (dlclose): Likewise.
28937 (dlmopen): Likewise.
28939 2013-08-27 Roland McGrath <roland@hack.frob.com>
28941 * include/netdb.h [!_ISOMAC]:
28942 Don't include <tls.h>.
28943 (h_errno, __libc_h_errno): Move declaration and macros out of
28946 * include/resolv.h [_RESOLV_H_]:
28947 Don't include <tls.h>.
28948 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28949 * resolv/res_libc.c: Don't include <tls.h>.
28950 (_res): Use __attribute__ ((nocommon)) in place of
28951 __attribute__ ((section (".bss"))).
28953 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28954 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28956 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28958 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28959 only under [SIOCGIFCONF && SIOCGIFNETMASK].
28961 * resolv/res_mkquery.c: Include <sys/time.h>.
28963 * inet/ifreq.c: Moved to ...
28964 * sysdeps/unix/ifreq.c: ... here.
28965 * inet/ifreq.c: New file, true stub version.
28967 * socket/sa_len.c: New file.
28968 * socket/Makefile (aux): Add it.
28969 * sysdeps/unix/sysv/linux/Makefile
28970 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28971 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28972 and #include <socket/sa_len.c>.
28973 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28974 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28976 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28977 * bits/socket.h: ... here.
28979 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28980 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28981 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28983 2013-08-27 Andreas Schwab <schwab@suse.de>
28986 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28987 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28988 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28989 * string/test-strcasecmp.c (test_main): Run tests in several
28991 * string/test-strncasecmp.c (test_main): Likewise.
28993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28994 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28995 to __strcasecmp_nonascii and __strncasecmp_nonascii.
28996 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28997 (__strncasecmp_ssse3) [PIC]: Likewise.
28999 2013-08-26 Roland McGrath <roland@hack.frob.com>
29001 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29003 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29004 instead of explicitly declaring xdecrypt.
29005 * nis/nss_nis/nis-publickey.c: Likewise.
29007 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29010 * nscd/aicache.c: Include res_hconf.h.
29011 (addhstaiX): Initialize res_hconf.
29013 2013-08-26 Andreas Schwab <schwab@suse.de>
29015 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29016 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29018 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29020 * nscd/aicache.c (addhstaiX): Fix indentation.
29022 2013-08-25 Mike Frysinger <vapier@gentoo.org>
29024 * configure.ac: Quote $build_pt_chown test.
29025 * configure: Regenerated.
29027 2013-08-23 Joseph Myers <joseph@codesourcery.com>
29030 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29031 * math/s_cexpf.c (__cexpf): Likewise.
29032 * math/s_cexpl.c (__cexpl): Likewise.
29033 * math/libm-test.inc (cexp_test_data): Correct expected return
29034 value for NaN + i0. Add another test.
29036 2013-08-22 David S. Miller <davem@davemloft.net>
29038 * po/ca.po: Update Catalan translation from translation project.
29039 * po/uk.po: Add Ukrainian translations from translation project.
29041 2013-08-21 Joseph Myers <joseph@codesourcery.com>
29044 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29045 is infinite, not alongside NaN test.
29046 * math/s_fdimf.c (__fdimf): Likewise.
29047 * math/s_fdiml.c (__fdiml): Likewise.
29048 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29049 errno is unchanged.
29051 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
29053 * argp/argp-help.c: Fix typos.
29054 * crypt/speeds.c: Likewise.
29055 * csu/check_fds.c: Likewise.
29056 * elf/dl-load.c: Likewise.
29057 * elf/dl-open.c: Likewise.
29058 * elf/reldep3.c: Likewise.
29059 * elf/reldep.c: Likewise.
29060 * elf/sprof.c: Likewise.
29061 * iconv/iconv_charmap.c: Likewise.
29062 * iconv/skeleton.c: Likewise.
29063 * iconv/strtab.c: Likewise.
29064 * io/lockf64.c: Likewise.
29065 * libio/libioP.h: Likewise.
29066 * resolv/gai_notify.c: Likewise.
29067 * resolv/ns_name.c: Likewise.
29068 * resolv/ns_samedomain.c: Likewise.
29069 * resolv/res_send.c: Likewise.
29070 * stdlib/random.c: Likewise.
29071 * sunrpc/rpc/xdr.h: Likewise.
29072 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29073 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29074 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29075 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29076 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29077 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29078 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29079 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29080 * sysdeps/mach/hurd/check_fds.c: Likewise.
29081 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29082 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29083 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29084 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29085 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29086 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29087 * sysdeps/pthread/aio_notify.c: Likewise.
29088 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29089 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29090 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29091 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29092 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29094 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29096 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29097 version if bit_Slow_SSE4_2 is set.
29098 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29099 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29101 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29104 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29105 trampoline stack frame information.
29106 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29107 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29108 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29109 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29110 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29111 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29112 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29113 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29115 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29116 interrupting a syscall and set with option SA_SIGINFO.
29118 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29121 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29122 argument is infinite.
29123 * math/s_cprojf.c (__cprojf): Likewise.
29124 * math/s_cprojl.c (__cprojl): Likewise.
29125 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29126 * math/libm-test.inc (cproj_test_data): Add more tests.
29128 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29130 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29131 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29132 size. Use __ffs to determine corresponding shift.
29134 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29135 Roland McGrath <roland@hack.frob.com>
29137 * Makefile (INSTALL): Remove trailing blank lines from output of
29140 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29142 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29143 Align 32 bit compat elf_greg to 8 bytes.
29145 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
29147 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29149 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29151 * string/strcoll_l.c (coll_seq): New structure.
29152 (get_next_seq_cached): New function.
29153 (get_next_seq): New function.
29154 (do_compare): New function.
29155 (STRCOLL): Use GNU style definition. Simplify implementation
29156 by using get_next_seq, get_next_seq_cached and do_compare.
29158 2013-08-16 Florian Weimer <fweimer@redhat.com>
29162 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29164 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29166 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29167 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29168 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29170 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29171 GETDENTS_64BIT_ALIGNED.
29172 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29173 * manual/filesys.texi (Reading/Closing Directory): Document
29174 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29176 * manual/conf.texi (Limits for Files): Add portability note to
29177 NAME_MAX, PATH_MAX.
29178 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29180 2013-08-13 Andreas Schwab <schwab@suse.de>
29183 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29185 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29186 LDBL_MAX_EXP >= 16384]: Add tests for it.
29188 2013-08-12 David S. Miller <davem@davemloft.net>
29190 * version.h (RELEASE): Set to "development".
29191 (VERSION): Set to "2.18.90".
29192 * NEWS: Add 2.19 section.
29194 2013-08-03 David S. Miller <davem@davemloft.net>
29196 * po/ko.po: Update Korean translation from translation project.
29198 2013-08-01 David S. Miller <davem@davemloft.net>
29200 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29201 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29204 2013-07-30 David S. Miller <davem@davemloft.net>
29206 * po/fr.po: Update French translation from translation project.
29208 2013-07-28 David S. Miller <davem@davemloft.net>
29210 * po/cs.po: Update Czech translation from translation project.
29212 * po/sv.po: Update Swedish translation from translation project.
29214 2013-07-27 David S. Miller <davem@davemloft.net>
29216 * po/eo.po: Update Esperanto translation from translation project.
29218 * po/vi.po: Update Vietnamese translation from translation project.
29220 * po/de.po: Update German translation from translation project.
29222 2013-07-26 David S. Miller <davem@davemloft.net>
29224 * po/bg.po: Update Bulgarian translation from translation project.
29226 * po/nl.po: Update Dutch translation from translation project.
29227 * po/pl.po: Update Polish translation from translation project.
29228 * po/ru.po: Update Russian translation from translation project.
29230 2013-07-24 David S. Miller <davem@davemloft.net>
29232 * po/libc.pot: Update.
29234 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29236 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29237 variable page size.
29238 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29239 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29240 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29242 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29244 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29246 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29247 Andreas Schwab <schwab@suse.de>
29248 Roland McGrath <roland@hack.frob.com>
29249 Joseph Myers <joseph@codesourcery.com>
29250 Carlos O'Donell <carlos@redhat.com>
29253 * config.h.in: Define HAVE_PT_CHOWN.
29254 * config.make.in (build-pt-chown): New variable.
29255 * configure.in (--enable-pt_chown): New configure option.
29256 * configure: Regenerate.
29257 * login/Makefile: Include Makeconfig. Build pt_chown only if
29258 build-pt-chown is enabled.
29259 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29260 pt_chown to fix pty ownership.
29261 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29263 * manual/install.texi (Configuring and compiling): Mention
29264 --enable-pt_chown. Add @findex for grantpt.
29265 * INSTALL: Regenerate.
29267 2013-07-20 David S. Miller <davem@davemloft.net>
29269 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29270 difference between 32-bit and 64-bit.
29272 2013-07-15 Carlos O'Donell <carlos@redhat.com>
29275 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29276 Avoid system header dependency with -ffreestanding.
29277 ($(objpfx)bits/syscall%d): Likewise.
29279 2013-07-13 David S. Miller <davem@davemloft.net>
29281 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29282 underflows from atanl/atan2l due to bug 15319.
29283 (casinh_test_data): Likewise.
29285 2013-07-07 David S. Miller <davem@davemloft.net>
29287 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29289 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29291 * sysdeps/i386/fpu/libm-test-ulps: Update.
29292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29294 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29296 * configure.in (--enable-lock-elision): Fix message text.
29297 * INSTALL: Regenerate.
29298 * configure: Regenerate.
29300 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29304 2013-07-03 Andreas Jaeger <aj@suse.de>
29306 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29308 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29309 (ptrace_peeksiginfo_args): Add.
29310 (__ptrace_peeksiginfo_flags): Add.
29311 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29312 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29313 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29315 2013-07-03 Allan McRae <allan@archlinux.org>
29317 * sysdeps/i386/fpu/libm-test-ulps: Update.
29319 2013-07-02 David S. Miller <davem@davemloft.net>
29321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29323 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29327 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29329 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29332 2013-07-02 Andi Kleen <ak@linux.intel.com>
29334 * config.h.in (ENABLE_LOCK_ELISION): Add.
29335 * configure.in (--enable-lock-elision): Add option.
29336 * manual/install.texi: Document --enable lock elision.
29337 * configure: Regenerate
29338 * INSTALL: Regenerate.
29340 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29342 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29343 SSE4.2 strcasecmp for libc.a.
29344 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29346 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29349 * soft-fp/op-common.h (_FP_FMA): New macro.
29350 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29351 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29352 (_FP_MUL_MEAT_1_imm): ... here.
29353 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29354 (_FP_MUL_MEAT_1_wide): ... here.
29355 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29356 (_FP_MUL_MEAT_1_hard): ... here.
29357 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29358 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29359 (_FP_MUL_MEAT_2_wide): ... here.
29360 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29361 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29362 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29363 (_FP_MUL_MEAT_2_gmp): ... here.
29364 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29365 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29366 (_FP_MUL_MEAT_4_wide): ... here.
29367 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29368 (_FP_MUL_MEAT_4_gmp): ... here.
29369 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29370 (_FP_WFRACBITS_DW_S): Likewise.
29371 (_FP_WFRACXBITS_DW_S): Likewise.
29372 (_FP_HIGHBIT_DW_S): Likewise.
29373 (FP_FMA_S): Likewise.
29374 (_FP_FRAC_HIGH_DW_S): Likewise.
29375 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29376 (_FP_WFRACBITS_DW_D): Likewise.
29377 (_FP_WFRACXBITS_DW_D): Likewise.
29378 (_FP_HIGHBIT_DW_D): Likewise.
29379 (FP_FMA_D): Likewise.
29380 (_FP_FRAC_HIGH_DW_D): Likewise.
29381 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29382 (_FP_WFRACBITS_DW_E): Likewise.
29383 (_FP_WFRACXBITS_DW_E): Likewise.
29384 (_FP_HIGHBIT_DW_E): Likewise.
29385 (FP_FMA_E): Likewise.
29386 (_FP_FRAC_HIGH_DW_E): Likewise.
29387 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29388 (_FP_WFRACBITS_DW_Q): Likewise.
29389 (_FP_WFRACXBITS_DW_Q): Likewise.
29390 (_FP_HIGHBIT_DW_Q): Likewise.
29391 (FP_FMA_Q): Likewise.
29392 (_FP_FRAC_HIGH_DW_Q): Likewise.
29393 * soft-fp/fmasf4.c: New file.
29394 * soft-fp/fmadf4.c: Likewise.
29395 * soft-fp/fmatf4.c: Likewise.
29397 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29400 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29402 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29404 (index_Slow_SSE4_2): Likewise.
29405 (index_Prefer_PMINUB_for_stringop): Likewise.
29406 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29407 bit_Slow_SSE4_2 is set.
29408 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29409 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29411 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29413 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29414 rtld_global._dl_hwcap2.
29415 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29417 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29418 POWER8 feature descriptions defined in _dl_hwcap2.
29419 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29420 string handling for POWER8 feature bits.
29421 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29422 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29423 _dl_powerpc_cap_flags.
29424 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29425 * sysdeps/powerpc/rtld-global-offsets.sym
29426 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29427 _dl_hwcap2 in the rtld_global_ro structure.
29429 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29431 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29432 hardware capabilities in support of AT_HWCAP2.
29433 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29434 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29436 (_dl_show_auxv): Add support for calling _dl_procinfo to display
29437 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
29438 explicitly the unknown a_type display mechanism is used.
29439 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29440 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29442 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29443 to macro prototype for AT_HWCAP2 support.
29444 * sysdeps/i386/dl-procinfo.h: Likewise.
29445 * sysdeps/s390/dl-procinfo.h: Likewise.
29446 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29447 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
29448 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
29449 return -1 for unknown a_type display fallback.
29450 * sysdeps/sparc/dl-procinfo.h: Likewise.
29451 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29452 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29454 2013-06-28 Joseph Myers <joseph@codesourcery.com>
29456 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29457 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29459 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
29462 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29463 mprotect making __stack_prot writable.
29465 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
29466 Joseph Myers <joseph@codesourcery.com>
29468 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29469 as being properly aligned.
29471 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
29473 * dlfcn/modstatic5.c: New file.
29474 * dlfcn/tststatic5.c: New file.
29475 * dlfcn/Makefile (tests): Add tststatic5.
29476 (tests-static): Likewise.
29477 (modules-names): Add modstatic5.
29478 (tststatic5-ENV): New variable.
29479 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29482 * elf/dl-support.c (_dl_main_map): New variable.
29483 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29484 (_dl_nns, _dl_load_adds): Set to 1.
29485 (_dl_initial_searchlist): Refer to _dl_main_map.
29486 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29487 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29488 call to _dl_get_origin.
29489 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29491 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29492 * dlfcn/modstatic3.c: New file.
29493 * dlfcn/tststatic3.c: New file.
29494 * dlfcn/tststatic4.c: New file.
29495 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29496 (tests-static): Likewise.
29497 (modules-names): Add modstatic3.
29498 (tststatic3-ENV, tststatic4-ENV): New variables.
29499 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29500 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29502 2013-06-26 Joseph Myers <joseph@codesourcery.com>
29504 * configure.in (CC): Require GCC version 4.4 or later.
29505 * configure: Regenerated.
29506 * manual/install.texi (Tools for Compilation): Update GCC version
29508 * INSTALL: Regenerated.
29510 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29513 * string/test-memcmp.c (check2): New.
29514 (main): Call check2.
29516 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29518 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
29521 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29523 (dl_open_worker) [!SHARED]: ... here.
29525 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29527 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29529 2013-06-25 Richard Henderson <rth@redhat.com>
29531 * locale/programs/locarchive.c: Include <libc-internal.h>
29533 2013-06-25 Joseph Myers <joseph@codesourcery.com>
29535 * manual/texinfo.tex: Update to version 2013-06-21.17, with
29536 trailing whitespace removed.
29538 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29541 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29542 * locale/programs/locarchive.c: Include libc-mmap.h.
29543 (prepare_address_space): Take two new outputs (the mmap base and len).
29544 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
29546 (create_archive): Declare new mmap base and len values for
29547 prepare_address_space, and store the result in ah.
29548 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29549 (enlarge_archive): If ah->mmap_base is not NULL, use that and
29550 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29551 Declare new mmap base and len values for
29552 prepare_address_space, and store the result in new_ah.
29553 (open_archive): Declare new mmap base and len values for
29554 prepare_address_space, and store the result in ah.
29555 (close_archive): If ah->mmap_base is not NULL, use that and
29556 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29557 * sysdeps/generic/libc-mmap.h: New file.
29559 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29561 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29562 (ALIGN_UP): Likewise.
29563 (PTR_ALIGN_DOWN): Likewise.
29564 (PTR_ALIGN_UP): Likewise.
29566 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29568 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29569 entry mapped to PPC_PLATFORM_POWER8.
29570 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29572 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29573 (_dl_string_platform): Add case for exporting platform position for
29575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29576 search path to sysdeps/powerpc/powerpc32/power8 directory.
29577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29578 search path to sysdeps/powerpc/powerpc64/power8 directory.
29579 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29580 power7 directories.
29581 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29582 power7 directories.
29584 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29586 * INSTALL: Regenerate.
29588 * nscd/connections.c (nscd_init): Fix comment.
29590 2013-06-22 Joseph Myers <joseph@codesourcery.com>
29592 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29595 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29596 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29598 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29600 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29602 (DL_DST_REQ_STATIC): Remove macro.
29604 2013-06-21 Joseph Myers <joseph@codesourcery.com>
29607 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29608 with a shift of 0 bits.
29610 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29612 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29615 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29618 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29620 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29622 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29623 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29624 accepts -fno-tree-loop-distribute-patterns.
29625 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29626 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29628 * string/memset.c (memset): Likewise.
29629 * string/test-memmove.c (simple_memmove): Disable loop transformation
29631 * string/test-memset.c (simple_memset): Likewise.
29632 * benchtests/bench-memmove.c (simple_memmove): Likewise.
29633 * benchtests/bench-memset.c (simple_memset): Likewise.
29634 * configure: Regenerated.
29636 2013-06-20 Joseph Myers <joseph@codesourcery.com>
29638 * math/test-misc.c (main): Ignore fesetround failure when failures
29639 of subsequent rounding tests would be ignored.
29642 * math/fedisblxcpt.c (fedisableexcept): Return 0.
29643 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29644 * math/fegetenv.c (__fegetenv): Return 0.
29645 * math/fegetexcept.c (fegetexcept): Return 0.
29646 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29648 * math/feholdexcpt.c (feholdexcept): Return 0.
29649 * math/fesetenv.c (__fesetenv): Return 0.
29650 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29651 argument FE_TONEAREST.
29652 * math/feupdateenv.c (__feupdateenv): Return 0.
29653 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29655 2013-06-18 Roland McGrath <roland@hack.frob.com>
29657 * elf/rtld-Rules (rtld-compile-command.S): New variable.
29658 (rtld-compile-command.s, rtld-compile-command.c): New variables.
29659 ($(objpfx)rtld-%.os rules): Use them.
29661 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29663 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29666 2013-06-17 Roland McGrath <roland@hack.frob.com>
29668 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29669 length of target pattern, then descending length of dependency pattern.
29670 * configure.in (AWK): Require gawk 3.1.2 or newer.
29671 * manual/install.texi (Tools for Compilation): Say that we do.
29672 * configure: Regenerated.
29674 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29675 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29676 * scripts/sysd-rules.awk: ... this new script.
29677 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29678 than a glob-style pattern.
29680 2013-06-17 Joseph Myers <joseph@codesourcery.com>
29682 * math/test-misc.c (main): Do not treat incorrectly rounded
29683 conversions as failure unless ROUNDING_TESTS passes.
29685 2013-06-15 Joseph Myers <joseph@codesourcery.com>
29688 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29689 restore exception state around main square root computation, then
29690 check for inexactness explicitly.
29692 * math/libm-test.inc (fma_test_data): Add another test.
29694 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29696 * manual/threads.texi (Non-POSIX Extensions): New document
29697 node. Document pthread_getattr_default_np and
29698 pthread_setattr_default_np.
29700 * Versions.def (libpthread): Add GLIBC_2.18.
29701 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29710 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29721 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29724 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29726 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29727 H.J. Lu <hjl.tools@gmail.com>
29730 * sysdeps/x86_64/rtld-memset.c: Remove file.
29731 * sysdeps/x86_64/rtld-memset.S: New file.
29733 2013-06-14 Joseph Myers <joseph@codesourcery.com>
29735 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29736 (test_in_one_mode): Take arguments for whether the rounding mode
29737 is supported for each floating-point type.
29738 (do_test): Pass new arguments to test_in_one_mode using
29741 2013-06-13 Roland McGrath <roland@hack.frob.com>
29743 * posix/tst-waitid.c (do_test): Distinguish different instances of
29744 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
29745 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29746 before entering the kernel for waitpid.
29748 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29750 * NEWS: Fix note on clock function precision. Text by Roland
29753 2013-06-13 Roland McGrath <roland@hack.frob.com>
29755 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29756 it into place only when and if the sanity check passes.
29758 2013-06-13 Joseph Myers <joseph@codesourcery.com>
29760 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29761 output for whether conversion result is exact. Take argument
29762 indicating whether type is IBM long double.
29763 (round_for_all): Change need_exact field to ibm_ld.
29764 * stdlib/tst-strtod-round.c (struct exactness): New type.
29765 (struct test): Change bool ld_ok field to struct exactness exact.
29766 (TEST): Update all definitions for change to field.
29767 (tests): Regenerate array contents.
29768 (test_in_one_mode): Take pointer to new field instead of old ld_ok
29769 field value. Check for IBM long double here.
29770 (do_test): Update calls to test_in_one_mode.
29772 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29775 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29776 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29778 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29781 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29782 generated by the compiler on loop optimizations.
29783 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29784 general definitions.
29786 2013-06-12 Joseph Myers <joseph@codesourcery.com>
29788 * math/bug-nextafter.c: Include <math-tests.h>.
29789 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29791 * math/bug-nexttoward.c: Include <math-tests.h>.
29792 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29794 * math/test-misc.c: Include <math-tests.h>.
29795 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29798 2013-06-12 Andreas Jaeger <aj@suse.de>
29800 * po/ia.po: Update Interlingua translation from translation
29803 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29805 * include/fenv.h: Include stdbool.h.
29806 (struct rm_ctx): New structure.
29807 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29809 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29810 (SET_RESTORE_ROUNDF): Likewise.
29811 (SET_RESTORE_ROUNDL): Likewise.
29812 (SET_RESTORE_ROUND_NOEX): Likewise.
29813 (SET_RESTORE_ROUND_NOEXF): Likewise.
29814 (SET_RESTORE_ROUND_NOEXL): Likewise.
29815 (SET_RESTORE_ROUND_53BIT): Likewise.
29816 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29817 (libc_feresetround_noexf_ctx): Likewise.
29818 (libc_feresetround_noexl_ctx): Likewise.
29819 (libc_feholdsetround_53bit_ctx): Likewise.
29820 (libc_feresetround_53bit_ctx): Likewise.
29821 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29822 (libc_feholdexcept_setround_sse_ctx): New function.
29823 (libc_fesetenv_sse_ctx): Likewise.
29824 (libc_feupdateenv_sse_ctx): Likewise.
29825 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29826 (libc_feholdexcept_setround_387_ctx): Likewise.
29827 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29828 (libc_feholdsetround_387_prec_ctx): Likewise.
29829 (libc_feholdsetround_387_ctx): Likewise.
29830 (libc_feholdsetround_387_53bit_ctx): Likewise.
29831 (libc_feholdsetround_sse_ctx): Likewise.
29832 (libc_feresetround_sse_ctx): Likewise.
29833 (libc_feresetround_387_ctx): Likewise.
29834 (libc_feupdateenv_387_ctx): Likewise.
29835 (libc_feholdexcept_setroundf_ctx): Define macro.
29836 (libc_fesetenvf_ctx): Likewise.
29837 (libc_feupdateenvf_ctx): Likewise.
29838 (libc_feholdsetroundf_ctx): Likewise.
29839 (libc_feresetroundf_ctx): Likewise.
29840 (libc_feholdexcept_setround_ctx): Likewise.
29841 (libc_fesetenv_ctx): Likewise.
29842 (libc_feupdateenv_ctx): Likewise.
29843 (libc_feholdsetround_ctx): Likewise.
29844 (libc_feresetround_ctx): Likewise.
29845 (libc_feholdexcept_setroundl_ctx): Likewise.
29846 (libc_feupdateenvl_ctx): Likewise.
29847 (libc_feholdsetroundl_ctx): Likewise.
29848 (libc_feresetroundl_ctx): Likewise.
29849 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29850 (libc_feresetround_53bit_ctx): Likewise.
29852 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29854 * locale/iso-639.def: Convert to UTF-8.
29856 2013-06-11 Joseph Myers <joseph@codesourcery.com>
29858 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29859 (EXCEPTION_TESTS_double): Likewise.
29860 (EXCEPTION_TESTS_long_double): Likewise.
29861 (EXCEPTION_TESTS): Likewise.
29862 * math/libm-test.inc (test_exceptions): Only test exceptions if
29863 EXCEPTION_TESTS (FLOAT).
29865 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29867 * benchtests/Makefile (string-bench): Add strcpy_chk and
29869 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29870 * benchtests/bench-stpcpy_chk.c: New file.
29871 * benchtests/bench-strcpy_chk-ifunc.c: New file.
29872 * benchtests/bench-strcpy_chk.c: New file.
29873 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29875 (do_test): Likewise.
29877 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29879 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29880 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29881 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29882 with tabs where appropriate.
29883 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29885 [PPC_PLATFORM_PPC440]: Likewise.
29886 [PPC_PLATFORM_PPC464]: Likewise.
29887 [PPC_PLATFORM_PPC476]: Likewise.
29888 (_dl_string_platform): Add support for detecting ppc405, ppc440,
29889 ppc464, and ppc476 platform strings merging from ports/
29892 2013-06-11 Andreas Schwab <schwab@suse.de>
29895 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29896 (from_ucs4_idx): Regenerate.
29897 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29898 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29899 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29900 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29901 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29902 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29903 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29904 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29905 from FROM_LOOP and TO_LOOP specific macros.
29906 (BODY): Handle combining characters.
29907 * iconvdata/BIG5HKSCS.irreversible: Update.
29908 * iconvdata/BIG5HKSCS.precomposed: New file.
29909 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29911 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29913 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29915 * include/sys/time.h: Fix indentation and add copyright header.
29917 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29918 (do_test): Likewise.
29919 * string/test-memchr.c (do_one_test): Likewise.
29920 (do_test): Likewise.
29921 * string/test-memcmp.c (do_one_test): Likewise.
29922 (do_test): Likewise.
29923 * string/test-memcpy.c (do_one_test): Likewise.
29924 (do_test): Likewise.
29925 * string/test-memmem.c (do_one_test): Likewise.
29926 (do_test): Likewise.
29927 (do_random_tests): Likewise.
29928 * string/test-memmove.c (do_one_test): Likewise.
29929 (do_test): Likewise.
29930 * string/test-memset.c (do_one_test): Likewise.
29931 (do_test): Likewise.
29932 * string/test-rawmemchr.c (do_one_test): Likewise.
29933 (do_test): Likewise.
29934 * string/test-strcasecmp.c (do_one_test): Likewise.
29935 (do_test): Likewise.
29936 * string/test-strcasestr.c (do_one_test): Likewise.
29937 (do_test): Likewise.
29938 * string/test-strcat.c (do_one_test): Likewise.
29939 (do_test): Likewise.
29940 * string/test-strchr.c (do_one_test): Likewise.
29941 (do_test): Likewise.
29942 * string/test-strcmp.c (do_one_test): Likewise.
29943 (do_test): Likewise.
29944 * string/test-strcpy.c (do_one_test): Likewise.
29945 (do_test): Likewise.
29946 * string/test-string.h: Likewise.
29947 (test_init): Likewise.
29948 * string/test-strlen.c (do_one_test): Likewise.
29949 (do_test): Likewise.
29950 * string/test-strncasecmp.c (do_one_test): Likewise.
29951 (do_test): Likewise.
29952 * string/test-strncat.c (do_one_test): Likewise.
29953 (do_test): Likewise.
29954 * string/test-strncmp.c (do_one_test): Likewise.
29955 (do_test_limit): Likewise.
29956 (do_test): Likewise.
29957 * string/test-strncpy.c (do_one_test): Likewise.
29958 (do_test): Likewise.
29959 * string/test-strnlen.c (do_one_test): Likewise.
29960 (do_test): Likewise.
29961 * string/test-strpbrk.c (do_one_test): Likewise.
29962 (do_test): Likewise.
29963 * string/test-strrchr.c (do_one_test): Likewise.
29964 (do_test): Likewise.
29965 * string/test-strspn.c (do_one_test): Likewise.
29966 (do_test): Likewise.
29967 * string/test-strstr.c (do_one_test): Likewise.
29968 (do_test): Likewise.
29970 * benchtests/Makefile (string-bench): Add string benchmarks.
29971 * benchtests/bench-bcopy-ifunc.c: New file.
29972 * benchtests/bench-bcopy.c: New file.
29973 * benchtests/bench-bzero-ifunc.c: New file.
29974 * benchtests/bench-bzero.c: New file.
29975 * benchtests/bench-memccpy-ifunc.c: New file.
29976 * benchtests/bench-memccpy.c: New file.
29977 * benchtests/bench-memchr-ifunc.c: New file.
29978 * benchtests/bench-memchr.c: New file.
29979 * benchtests/bench-memcmp-ifunc.c: New file.
29980 * benchtests/bench-memcmp.c: New file.
29981 * benchtests/bench-memmem-ifunc.c: New file.
29982 * benchtests/bench-memmem.c: New file.
29983 * benchtests/bench-memmove-ifunc.c: New file.
29984 * benchtests/bench-memmove.c: New file.
29985 * benchtests/bench-mempcpy-ifunc.c: New file.
29986 * benchtests/bench-mempcpy.c: New file.
29987 * benchtests/bench-memset-ifunc.c: New file.
29988 * benchtests/bench-memset.c: New file.
29989 * benchtests/bench-rawmemchr-ifunc.c: New file.
29990 * benchtests/bench-rawmemchr.c: New file.
29991 * benchtests/bench-stpcpy-ifunc.c: New file.
29992 * benchtests/bench-stpcpy.c: New file.
29993 * benchtests/bench-stpncpy-ifunc.c: New file.
29994 * benchtests/bench-stpncpy.c: New file.
29995 * benchtests/bench-strcasecmp-ifunc.c: New file.
29996 * benchtests/bench-strcasecmp.c: New file.
29997 * benchtests/bench-strcasestr-ifunc.c: New file.
29998 * benchtests/bench-strcasestr.c: New file.
29999 * benchtests/bench-strcat-ifunc.c: New file.
30000 * benchtests/bench-strcat.c: New file.
30001 * benchtests/bench-strchr-ifunc.c: New file.
30002 * benchtests/bench-strchr.c: New file.
30003 * benchtests/bench-strchrnul-ifunc.c: New file.
30004 * benchtests/bench-strchrnul.c: New file.
30005 * benchtests/bench-strcmp-ifunc.c: New file.
30006 * benchtests/bench-strcmp.c: New file.
30007 * benchtests/bench-strcpy-ifunc.c: New file.
30008 * benchtests/bench-strcpy.c: New file.
30009 * benchtests/bench-strcspn-ifunc.c: New file.
30010 * benchtests/bench-strcspn.c: New file.
30011 * benchtests/bench-strlen-ifunc.c: New file.
30012 * benchtests/bench-strlen.c: New file.
30013 * benchtests/bench-strncasecmp-ifunc.c: New file.
30014 * benchtests/bench-strncasecmp.c: New file.
30015 * benchtests/bench-strncat-ifunc.c: New file.
30016 * benchtests/bench-strncat.c: New file.
30017 * benchtests/bench-strncmp-ifunc.c: New file.
30018 * benchtests/bench-strncmp.c: New file.
30019 * benchtests/bench-strncpy-ifunc.c: New file.
30020 * benchtests/bench-strncpy.c: New file.
30021 * benchtests/bench-strnlen-ifunc.c: New file.
30022 * benchtests/bench-strnlen.c: New file.
30023 * benchtests/bench-strpbrk-ifunc.c: New file.
30024 * benchtests/bench-strpbrk.c: New file.
30025 * benchtests/bench-strrchr-ifunc.c: New file.
30026 * benchtests/bench-strrchr.c: New file.
30027 * benchtests/bench-strspn-ifunc.c: New file.
30028 * benchtests/bench-strspn.c: New file.
30029 * benchtests/bench-strstr-ifunc.c: New file.
30030 * benchtests/bench-strstr.c: New file.
30032 * benchtests/Makefile: Disable parallel execution of targets.
30033 (string-bench): Add memcpy.
30034 (benchset): New variable to store a list of benchmark sets.
30035 (bench-func): Renamed from bench.
30036 (bench-set): New target.
30037 (bench): Depend on bench-func and bench-set.
30038 * benchtests/README: Add section on benchmark sets.
30039 * benchtests/bench-memcpy-ifunc.c: New file.
30040 * benchtests/bench-memcpy.c: New file.
30041 * benchtests/bench-string.h: New file.
30043 2013-06-11 Andreas Schwab <schwab@suse.de>
30046 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30047 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30048 values in the triple.
30049 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30050 terminator in the group key.
30052 2013-06-11 Andreas Jaeger <aj@suse.de>
30054 * po/zh_TW.po: Update Chinese (traditional) translation from
30055 translation project.
30057 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30059 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30060 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30061 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30062 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30063 (clock_getcpuclockid): Likewise.
30064 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30065 Add weak_alias and libc_hidden_def.
30066 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30067 * rt/clock_gettime.c (clock_gettime): Rename to
30068 __clock_gettime. Add weak_alias and libc_hidden_def.
30069 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30070 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30071 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30072 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30073 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30075 * rt/clock_settime.c (clock_settime): Rename to
30076 __clock_settime. Add weak_alias and libc_hidden_def.
30077 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30079 2013-06-10 Joseph Myers <joseph@codesourcery.com>
30081 * mach/err_boot.sub: Remove trailing whitespace.
30082 * mach/err_ipc.sub: Likewise.
30083 * mach/err_mach.sub: Likewise.
30085 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30086 (ROUNDING_TESTS_double): Likewise.
30087 (ROUNDING_TESTS_long_double): Likewise.
30088 (ROUNDING_TESTS): Likewise.
30089 * math/libm-test.inc: Include <math-tests.h>.
30090 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30091 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30092 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30093 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30095 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30097 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30100 2013-06-08 Joseph Myers <joseph@codesourcery.com>
30102 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30103 otherwise empty TRANS lines.
30104 * sysdeps/gnu/errlist.c: Regenerated.
30106 * catgets/gencat.c (error_print): Use (void) in function
30108 * crypt/crypt_util.c (__init_des): Likewise.
30109 * crypt/speeds.c (Stop): Likewise.
30111 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30112 * inet/ruserpass.c (token): Likewise.
30113 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30114 * intl/localealias.c (extend_alias_table): Likewise.
30115 * intl/plural-exp.c (init_germanic_plural): Likewise.
30116 * libio/fcloseall.c (__fcloseall): Likewise.
30117 * libio/genops.c (_IO_flush_all): Likewise.
30118 (_IO_flush_all_linebuffered): Likewise.
30119 (_IO_cleanup): Likewise.
30120 (_IO_iter_begin): Likewise.
30121 (_IO_iter_end): Likewise.
30122 (_IO_list_lock): Likewise.
30123 (_IO_list_unlock): Likewise.
30124 (_IO_list_resetlock): Likewise.
30125 * libio/getchar.c (getchar): Likewise.
30126 * libio/getchar_u.c (getchar_unlocked): Likewise.
30127 * libio/getwchar.c (getwchar): Likewise.
30128 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30129 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30130 * login/getpt.c (__getpt): Likewise.
30131 * login/tst-utmp.c (main): Likewise.
30132 * malloc/hooks.c (__malloc_check_init): Likewise.
30133 * malloc/malloc.c (__malloc_stats): Likewise.
30134 * malloc/mtrace.c (tr_break): Likewise.
30135 (mtrace): Likewise.
30136 (muntrace): Likewise.
30137 * misc/fstab.c (endfsent): Likewise.
30138 * misc/getclktck.c (__getclktck): Likewise.
30139 * misc/getdtsz.c (__getdtablesize): Likewise.
30140 * misc/gethostid.c (gethostid): Likewise.
30141 * misc/getpagesize.c (__getpagesize): Likewise.
30142 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30143 (__get_nprocs): Likewise.
30144 (__get_phys_pages): Likewise.
30145 (__get_avphys_pages): Likewise.
30146 * misc/getttyent.c (getttyent): Likewise.
30147 (setttyent): Likewise.
30148 (endttyent): Likewise.
30149 * misc/getusershell.c (getusershell): Likewise.
30150 (endusershell): Likewise.
30151 (setusershell): Likewise.
30152 (initshells): Likewise.
30153 * misc/hsearch.c (__hdestroy): Likewise.
30154 * misc/sync.c (sync): Likewise.
30155 * misc/syslog.c (closelog_internal): Likewise.
30156 (closelog): Likewise.
30157 * misc/ttyslot.c (ttyslot): Likewise.
30158 * misc/vhangup.c (vhangup): Likewise.
30159 * posix/fork.c (__fork): Likewise.
30160 * posix/getegid.c (__getegid): Likewise.
30161 * posix/geteuid.c (__geteuid): Likewise.
30162 * posix/getgid.c (__getgid): Likewise.
30163 * posix/getpid.c (__getpid): Likewise.
30164 * posix/getppid.c (__getppid): Likewise.
30165 * posix/getuid.c (__getuid): Likewise.
30166 * posix/pause.c (pause): Likewise.
30167 * posix/setpgrp.c (setpgrp): Likewise.
30168 * posix/setsid.c (__setsid): Likewise.
30169 * posix/test-vfork.c (noop): Likewise.
30170 * resolv/gethnamaddr.c (_endhtent): Likewise.
30171 (_gethtent): Likewise.
30172 (ht_endhostent): Likewise.
30173 (gethostent): Likewise.
30174 (dns_service): Likewise.
30175 * stdlib/drand48.c (drand48): Likewise.
30176 * stdlib/lrand48.c (lrand48): Likewise.
30177 * stdlib/mrand48.c (mrand48): Likewise.
30178 * stdlib/rand.c (rand): Likewise.
30179 * stdlib/random.c (__random): Likewise.
30180 * stdlib/setenv.c (clearenv): Likewise.
30181 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30182 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30183 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30184 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30185 (__get_nprocs): Likewise.
30186 (__get_phys_pages): Likewise.
30187 (__get_avphys_pages): Likewise.
30188 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30189 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30190 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30191 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30192 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30193 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30194 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30195 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30196 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30197 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30198 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30199 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30200 * sysdeps/posix/clock.c (clock): Likewise.
30201 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30202 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30203 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30204 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30205 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30206 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30207 (__get_nprocs_conf): Likewise.
30208 (__get_phys_pages): Likewise.
30209 (__get_avphys_pages): Likewise.
30210 * time/clock.c (clock): Likewise.
30211 * time/tzset.c (__tzname_max): Likewise.
30213 2013-06-07 Joseph Myers <joseph@codesourcery.com>
30215 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30216 (__bswap_32): Do not use "register".
30217 * crypt/crypt.c (_ufc_doit_r): Likewise.
30218 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30219 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30220 * gmon/gmon.c (__monstartup): Likewise.
30221 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30222 * hurd/hurdmalloc.c (more_memory): Likewise.
30223 (malloc): Likewise.
30225 (realloc): Likewise.
30226 (malloc_fork_prepare): Likewise.
30227 (malloc_fork_parent): Likewise.
30228 (malloc_fork_child): Likewise.
30229 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30230 (_svcauth_des): Likewise.
30231 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30232 * inet/inet_net.c (inet_network): Likewise.
30233 * inet/inet_netof.c (inet_netof): Likewise.
30234 * inet/rcmd.c (__validuser2_sa): Likewise.
30235 * io/fts.c (fts_open): Likewise.
30236 (fts_load): Likewise.
30237 (fts_close): Likewise.
30238 (fts_read): Likewise.
30239 (fts_children): Likewise.
30240 (fts_build): Likewise.
30241 (fts_stat): Likewise.
30242 (fts_sort): Likewise.
30243 (fts_alloc): Likewise.
30244 (fts_lfree): Likewise.
30245 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30246 (_IO_file_xsgetn): Likewise.
30247 (_IO_file_xsgetn_mmap): Likewise.
30248 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30249 (_IO_cookie_write): Likewise.
30250 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30251 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30252 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30253 * malloc/obstack.c (_obstack_begin): Likewise.
30254 (_obstack_begin_1): Likewise.
30255 (_obstack_newchunk): Likewise.
30256 (_obstack_allocated_p): Likewise.
30257 (obstack_free): Likewise.
30258 (_obstack_memory_used): Likewise.
30259 * misc/getttyent.c (getttynam): Likewise.
30260 (getttyent): Likewise.
30263 * misc/getusershell.c (initshells): Likewise.
30264 * misc/syslog.c (__vsyslog_chk): Likewise.
30265 * misc/ttyslot.c (ttyslot): Likewise.
30266 * nis/nis_hash.c (__nis_hash): Likewise.
30267 * posix/fnmatch_loop.c (FCT): Likewise.
30268 * posix/getconf.c (print_all): Likewise.
30270 * posix/getopt.c (exchange): Likewise.
30271 * posix/glob.c (globfree): Likewise.
30272 (prefix_array): Likewise.
30273 (__glob_pattern_type): Likewise.
30274 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30275 (NS_GET32): Likewise.
30276 (NS_PUT16): Likewise.
30277 (NS_PUT32): Likewise.
30278 * resolv/gethnamaddr.c (getanswer): Likewise.
30279 (gethostbyname2): Likewise.
30280 (gethostbyaddr): Likewise.
30281 (_gethtent): Likewise.
30282 (_gethtbyname2): Likewise.
30283 (_gethtbyaddr): Likewise.
30284 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30285 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30286 * resolv/res_init.c (__res_vinit): Likewise.
30287 (net_mask): Likewise.
30288 * resolv/res_mkquery.c (outchar): Likewise.
30290 * stdio-common/printf_fp.c (outchar): Likewise.
30292 * stdio-common/printf_fphex.c (outchar): Likewise.
30294 * stdio-common/printf_size.c (outchar): Likewise.
30296 * stdio-common/test_rdwr.c (main): Likewise.
30297 * stdio-common/tfformat.c (matches): Likewise.
30298 * stdio-common/vfprintf.c (outchar): Likewise.
30299 (printf_unknown): Likewise.
30300 (buffered_vfprintf): Likewise.
30301 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30302 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30303 (ReadFile): Likewise.
30304 * stdlib/qsort.c (SWAP): Likewise.
30305 (_quicksort): Likewise.
30306 * stdlib/setenv.c (__add_to_environ): Likewise.
30307 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30308 * stdlib/strtol_l.c (__strtol_l): Likewise.
30309 * stdlib/tst-strtod.c (main): Likewise.
30310 * stdlib/tst-strtol.c (main): Likewise.
30311 * stdlib/tst-strtoll.c (main): Likewise.
30312 * string/bits/string2.h (__strcmp_cc): Likewise.
30313 (__strcmp_cg): Likewise.
30314 (__strcspn_c1): Likewise.
30315 (__strcspn_c2): Likewise.
30316 (__strcspn_c3): Likewise.
30317 (__strspn_c1): Likewise.
30318 (__strspn_c2): Likewise.
30319 (__strspn_c3): Likewise.
30320 (__strsep_1c): Likewise.
30321 (__strsep_2c): Likewise.
30322 (__strsep_3c): Likewise.
30323 * string/memccpy.c (__memccpy): Likewise.
30324 * string/stpcpy.c (__stpcpy): Likewise.
30325 * string/strcmp.c (strcmp): Likewise.
30326 * string/strrchr.c (strrchr): Likewise.
30327 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30329 * sysdeps/mach/hurd/getcwd.c
30330 (_hurd_canonicalize_directory_name_internal): Likewise.
30331 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30332 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30333 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30334 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30335 Likewise, in both definitions.
30336 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30338 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30339 64] (__bswap_64): Likewise.
30340 * time/test_time.c (main): Likewise.
30341 * time/tzfile.c (__tzfile_read): Likewise.
30342 (__tzfile_compute): Likewise.
30343 * time/tzset.c (__tzset_parse_tz): Likewise.
30344 (tzset_internal): Likewise.
30345 (compute_change): Likewise.
30346 * wcsmbs/wcscat.c (__wcscat): Likewise.
30347 * wcsmbs/wcschr.c (wcschr): Likewise.
30348 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30349 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30350 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30351 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30352 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30353 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30354 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30355 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30356 * wcsmbs/wmemset.c (wmemset): Likewise.
30358 2013-06-06 Joseph Myers <joseph@codesourcery.com>
30360 * scripts/config.guess: Update to version 2013-05-16.
30361 * scripts/config.sub: Update to version 2013-04-24.
30362 * scripts/install-sh: Update to version 2011-11-20.07.
30363 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30364 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30366 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
30368 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30369 * elf/sln.c: Likewise.
30370 * hurd/hurd/ioctl.h: Likewise.
30371 * hurd/hurdmalloc.c: Likewise.
30372 * hurd/xattr.c: Likewise.
30373 * include/shlib-compat.h: Likewise.
30374 * inet/ruserpass.c: Likewise.
30375 * libio/iofgets_u.c: Likewise.
30376 * libio/iofgetws_u.c: Likewise.
30377 * locale/programs/ld-identification.c: Likewise.
30378 * locale/programs/ld-time.c: Likewise.
30379 * mach/msg-destroy.c: Likewise.
30380 * nss/nss_files/files-netgrp.c: Likewise.
30381 * resolv/res_data.c: Likewise.
30382 * soft-fp/op-1.h: Likewise.
30383 * soft-fp/op-2.h: Likewise.
30384 * soft-fp/op-4.h: Likewise.
30385 * soft-fp/op-common.h: Likewise.
30386 * stdio-common/printf_fphex.c: Likewise.
30387 * stdlib/strtod_l.c: Likewise.
30388 * sunrpc/rpc/clnt.h: Likewise.
30389 * sysdeps/generic/framestate.c: Likewise.
30390 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30391 * sysdeps/i386/bsd-setjmp.S: Likewise.
30392 * sysdeps/i386/__longjmp.S: Likewise.
30393 * sysdeps/i386/setjmp.S: Likewise.
30394 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30395 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30396 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30397 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30398 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30399 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30400 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30401 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30402 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30403 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30404 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30405 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30406 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30407 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30408 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30409 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30410 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30411 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30412 * sysdeps/ieee754/support.c: Likewise.
30413 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30414 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30415 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30416 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30417 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30418 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30419 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30420 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30421 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30422 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30423 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30424 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30425 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30426 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30427 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30428 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30429 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30432 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
30434 * posix/transbug.c: Remove executable mode.
30436 2013-06-05 Joseph Myers <joseph@codesourcery.com>
30438 * crypt/speeds.c: Remove trailing whitespace.
30439 * dlfcn/default.c: Likewise.
30440 * elf/ifuncdep2.c: Likewise.
30441 * elf/ifuncmain1.c: Likewise.
30442 * elf/ifuncmain1vis.c: Likewise.
30443 * elf/testobj.h: Likewise.
30444 * elf/tst-stackguard1.c: Likewise.
30445 * gmon/sys/gmon.h: Likewise.
30446 * hurd/hurdmsg.c: Likewise.
30447 * hurd/new-fd.c: Likewise.
30448 * hurd/ports-get.c: Likewise.
30449 * iconvdata/ibm1008_420.c: Likewise.
30450 * inet/tst-getni1.c: Likewise.
30451 * inet/tst-getni2.c: Likewise.
30452 * libio/ioungetc.c: Likewise.
30453 * libio/wfiledoalloc.c: Likewise.
30454 * manual/libm-err-tab.pl: Likewise.
30455 * math/w_dremf.c: Likewise.
30456 * misc/ftruncate.c: Likewise.
30457 * posix/bug-glob2.c: Likewise.
30458 * posix/tst-pcre.c: Likewise.
30459 * posix/wait4.c: Likewise.
30460 * resolv/README: Likewise.
30461 * resolv/res_debug.h: Likewise.
30462 * resolv/tst-inet_ntop.c: Likewise.
30463 * setjmp/bug269-setjmp.c: Likewise.
30464 * soft-fp/extended.h: Likewise.
30465 * soft-fp/op-1.h: Likewise.
30466 * soft-fp/op-2.h: Likewise.
30467 * soft-fp/op-4.h: Likewise.
30468 * soft-fp/op-8.h: Likewise.
30469 * soft-fp/testit.c: Likewise.
30470 * stdio-common/bug16.c: Likewise.
30471 * stdlib/random.c: Likewise.
30472 * sunrpc/rpcsvc/rquota.x: Likewise.
30473 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30474 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30475 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30476 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30477 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30478 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30479 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30480 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30481 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30482 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30483 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30484 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30485 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30486 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30487 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30488 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30489 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30490 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30491 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30492 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30493 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30494 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30495 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30496 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30497 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30498 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30499 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30500 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30501 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30502 * sysdeps/ieee754/s_lib_version.c: Likewise.
30503 * sysdeps/mach/hurd/check_fds.c: Likewise.
30504 * sysdeps/mach/hurd/getsockname.c: Likewise.
30505 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30506 * sysdeps/mach/hurd/recvfrom.c: Likewise.
30507 * sysdeps/powerpc/bits/link.h: Likewise.
30508 * sysdeps/powerpc/dl-procinfo.c: Likewise.
30509 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30510 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30511 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30512 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30513 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30514 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30515 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30516 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30517 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30518 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30519 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30520 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30521 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30522 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30523 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30524 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30525 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30526 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30527 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30528 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30529 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30530 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30531 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30532 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30533 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30534 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30535 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30536 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30537 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30538 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30539 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30540 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30541 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30542 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30543 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30544 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30545 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30546 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30547 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30548 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30549 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30550 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30551 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30552 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30553 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30554 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30555 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30556 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30557 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30558 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30559 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30560 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30561 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30562 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30563 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30564 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30565 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30566 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30567 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30568 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30569 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30570 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30571 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30572 * sysdeps/powerpc/sysdep.h: Likewise.
30573 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30574 * sysdeps/s390/s390-64/sub_n.S: Likewise.
30575 * sysdeps/sh/dl-trampoline.S: Likewise.
30576 * sysdeps/sh/memset.S: Likewise.
30577 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30578 * sysdeps/sh/strlen.S: Likewise.
30579 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30580 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30581 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30582 * sysdeps/sparc/sparc32/rem.S: Likewise.
30583 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30584 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30585 * sysdeps/sparc/sparc32/strchr.S: Likewise.
30586 * sysdeps/sparc/sparc32/udiv.S: Likewise.
30587 * sysdeps/sparc/sparc32/urem.S: Likewise.
30588 * sysdeps/sparc/sparc64/add_n.S: Likewise.
30589 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30590 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30591 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30592 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30593 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30594 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30595 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30596 * sysdeps/unix/bsd/times.c: Likewise.
30597 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30598 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30602 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30603 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30604 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30605 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30606 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30607 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30608 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30609 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30610 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30611 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30612 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30613 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30614 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30615 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30616 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30617 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30618 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30619 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30620 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30621 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30622 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30623 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30624 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30625 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30626 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30627 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30628 * sysdeps/x86_64/strcspn.S: Likewise.
30630 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30632 * locale/C-translit.h: Revert #include <stdint.h> because this is a
30633 generated file. Regenerate properly from gen-translit.pl.
30634 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
30635 locale/C-translit.h.
30637 2013-06-05 Andreas Schwab <schwab@suse.de>
30640 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30641 week as 6 instead of -1.
30642 * time/tst-strptime.c (day_tests): Add test case.
30644 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30646 * sysdeps/generic/math_private.h
30647 (libc_feholdexcept_setround_53bit): Replace with
30648 libc_feholdsetround_53bit.
30649 (libc_feupdateenv_53bit): Replace with
30650 libc_feresetround_53bit.
30651 (SET_RESTORE_ROUND_53BIT): Adjust.
30653 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30655 * string/test-strchrnul.c: Add copyright header.
30657 * posix/tst-getaddrinfo4.c: Increase test timeout.
30659 2013-06-03 Carlos O'Donell <carlos@redhat.com>
30662 * math/libm-test.inc (MAX_EXP): Remove
30664 (ulp): Use MIN_EXP - MANT_DIG.
30665 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30667 2013-05-31 Carlos O'Donell <carlos@redhat.com>
30669 * po/be.po: Revert last change.
30670 * po/zh_CN.po: Likewise.
30671 * po/header.pot: Likewise.
30673 2013-05-31 Joseph Myers <joseph@codesourcery.com>
30675 * Makefile ($(common-objpfx)linkobj/libc.so): Define
30676 link-libc-deps to empty as target-specific variable.
30677 * Makerules (link-libc-args): New variable.
30678 (libc-for-link): Likewise.
30679 (link-libc-deps): Likewise.
30680 (lib%.so): Depend on $(link-libc-deps). Link with
30682 (build-module): Link with $(link-libc-args).
30683 (build-module-asneeded): Likewise.
30684 (build-module-helper-objlist): Filter out $(link-libc-deps) from
30686 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30687 target-specific variable.
30688 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30689 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30690 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30692 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30694 ($(objpfx)libpcprofile.so): Likewise.
30695 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30697 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30698 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30699 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30701 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30702 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30703 * login/Makefile ($(objpfx)libutil.so): Likewise.
30704 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30705 * math/Makefile ($(objpfx)libm.so): Likewise.
30706 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30707 $(objpfx)libnsl.so): Define libc-for-link as target-specific
30708 variable instead of depending directly on libc.
30709 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30710 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30712 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30714 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30715 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30716 ($(objpfx)libanl.so): Likewise.
30717 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30719 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30721 * sysdeps/i386/fpu/Makefile: Remove file.
30722 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30723 ($(objpfx)libm.so): Remove dependency on ld.so.
30725 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
30728 * nis/yp_xdr.c (XDRMAXNAME): Define.
30729 (XDRMAXRECORD): Define.
30730 (xdr_domainname): Use XDRMAXNAME.
30731 (xdr_mapname): Likewise.
30732 (xdr_peername): Likewise.
30733 (xdr_keydat): Use XDRMAXRECORD.
30734 (xdr_valdat): Likewise.
30736 2013-05-30 Jeff Law <law@redhat.com>
30739 * manual/errno.texi (ESTALE): Update to account for more than
30740 just NFS file systems.
30741 * sysdeps/gnu/errlist.c: Regenerated.
30743 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30746 * elf/Makefile (tests): Add tst-null-argv.
30747 (modules-names): Add tst-null-argv-lib.
30748 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30749 (tst-null-argv-ENV): Set environment for tst-null-argv.
30750 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30751 (RTLD_PROGNAME): New macro.
30752 * elf/tst-null-argv.c: New test case.
30753 * elf/tst-null-argv-lib.c: Library for test case.
30754 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30755 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30756 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30757 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30758 * elf/dl-init.c (call_init): Likewise.
30759 (_dl_init): Likewise.
30760 * elf/dl-load.c (print_search_path): Likewise.
30761 (_dl_map_object): Likewise.
30762 * elf/dl-lookup.c (do_lookup_x): Likewise.
30763 (add_dependency): Likewise.
30764 (_dl_lookup_symbol_x): Likewise.
30765 (_dl_debug_bindings): Likewise.
30766 * elf/dl-open.c (_dl_show_scope): Likewise.
30767 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30768 * elf/dl-version.c (match_symbol): Likewise.
30769 (_dl_check_map_versions): Likewise.
30770 * elf/rtld.c (dl_main): Likewise.
30771 (print_unresolved): Use RTLD_PROGNAME.
30772 (print_missing_version): Likewise.
30773 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30774 (elf_machine_rela): Likewise.
30775 * sysdeps/powerpc/powerpc32/dl-machine.c
30776 (__process_machine_rela): Likewise.
30777 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30779 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30781 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30783 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30784 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30786 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30788 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30790 2013-05-28 Carlos O'Donell <carlos@redhat.com>
30792 * po/be.po: Add descriptive title.
30793 * po/zh_CN.po: Likewise.
30794 * po/header.pot: Likewise.
30796 2013-05-28 Mike Frysinger <vapier@gentoo.org>
30798 * locale/programs/locarchive.c (create_archive): Inlucde fname in
30800 (enlarge_archive): Likewise.
30802 2013-05-28 Ben North <ben@redfrontdoor.org>
30804 * manual/arith.texi (frexp): It is the magnitude of the return
30805 value which lies in [0.5, 1), not the return value itself.
30807 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30811 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
30813 * stdio-common/bug26.c (main): Correct fscanf template.
30815 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30816 declare _dl_skip_args.
30818 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30821 * manual/platform.texi: Add missing @end deftypefun.
30823 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30826 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30827 bit of mantissa of 2^16382.
30828 * math/libm-test.inc (hypot_test_data): Add more tests.
30830 * math/libm-test.inc: Add drem and pow10 to list of tested
30832 (pow10_test): New function.
30833 (drem_test): Likewise.
30834 (drem_test_tonearest): Likewise.
30835 (drem_test_towardzero): Likewise.
30836 (drem_test_downward): Likewise.
30837 (drem_test_upward): Likewise.
30838 (main): Call the new functions.
30840 * math/libm-test.inc (finite_test_data): Remove.
30841 (finite_test): Run tests from isfinite_test_data.
30842 (gamma_test_data): Remove.
30843 (gamma_test): Run tests from lgamma_test_data.
30844 * sysdeps/i386/fpu/libm-test-ulps: Update.
30845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30847 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30849 * manual/platform.texi: Add PowerPC PPR function set documentation.
30850 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30853 2013-05-24 Carlos O'Donell <carlos@redhat.com>
30855 * math/libm-test.inc (MAX_EXP): Define.
30857 (ulp): New function.
30858 (check_float_internal): Use ULPDIFF.
30859 (cpow_test): Disable failing test.
30860 (check_ulp): Test ulp() implemetnation.
30861 (main): Call check_ulp before starting tests.
30863 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30865 * math/gen-libm-test.pl (generate_testfile): Do not handle
30866 START_DATA and END_DATA.
30867 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30869 (acos_tonearest_test_data): Likewise.
30870 (acos_towardzero_test_data): Likewise.
30871 (acos_downward_test_data): Likewise.
30872 (acos_upward_test_data): Likewise.
30873 (acosh_test_data): Likewise.
30874 (asin_test_data): Likewise.
30875 (asin_tonearest_test_data): Likewise.
30876 (asin_towardzero_test_data): Likewise.
30877 (asin_downward_test_data): Likewise.
30878 (asin_upward_test_data): Likewise.
30879 (asinh_test_data): Likewise.
30880 (atan_test_data): Likewise.
30881 (atanh_test_data): Likewise.
30882 (atan2_test_data): Likewise.
30883 (cabs_test_data): Likewise.
30884 (cacos_test_data): Likewise.
30885 (cacosh_test_data): Likewise.
30886 (carg_test_data): Likewise.
30887 (casin_test_data): Likewise.
30888 (casinh_test_data): Likewise.
30889 (catan_test_data): Likewise.
30890 (catanh_test_data): Likewise.
30891 (cbrt_test_data): Likewise.
30892 (ccos_test_data): Likewise.
30893 (ccosh_test_data): Likewise.
30894 (ceil_test_data): Likewise.
30895 (cexp_test_data): Likewise.
30896 (cimag_test_data): Likewise.
30897 (clog_test_data): Likewise.
30898 (clog10_test_data): Likewise.
30899 (conj_test_data): Likewise.
30900 (copysign_test_data): Likewise.
30901 (cos_test_data): Likewise.
30902 (cos_tonearest_test_data): Likewise.
30903 (cos_towardzero_test_data): Likewise.
30904 (cos_downward_test_data): Likewise.
30905 (cos_upward_test_data): Likewise.
30906 (cosh_test_data): Likewise.
30907 (cosh_tonearest_test_data): Likewise.
30908 (cosh_towardzero_test_data): Likewise.
30909 (cosh_downward_test_data): Likewise.
30910 (cosh_upward_test_data): Likewise.
30911 (cpow_test_data): Likewise.
30912 (cproj_test_data): Likewise.
30913 (creal_test_data): Likewise.
30914 (csin_test_data): Likewise.
30915 (csinh_test_data): Likewise.
30916 (csqrt_test_data): Likewise.
30917 (ctan_test_data): Likewise.
30918 (ctan_tonearest_test_data): Likewise.
30919 (ctan_towardzero_test_data): Likewise.
30920 (ctan_downward_test_data): Likewise.
30921 (ctan_upward_test_data): Likewise.
30922 (ctanh_test_data): Likewise.
30923 (ctanh_tonearest_test_data): Likewise.
30924 (ctanh_towardzero_test_data): Likewise.
30925 (ctanh_downward_test_data): Likewise.
30926 (ctanh_upward_test_data): Likewise.
30927 (erf_test_data): Likewise.
30928 (erfc_test_data): Likewise.
30929 (exp_test_data): Likewise.
30930 (exp_tonearest_test_data): Likewise.
30931 (exp_towardzero_test_data): Likewise.
30932 (exp_downward_test_data): Likewise.
30933 (exp_upward_test_data): Likewise.
30934 (exp10_test_data): Likewise.
30935 (exp2_test_data): Likewise.
30936 (expm1_test_data): Likewise.
30937 (fabs_test_data): Likewise.
30938 (fdim_test_data): Likewise.
30939 (finite_test_data): Likewise.
30940 (floor_test_data): Likewise.
30941 (fma_test_data): Likewise.
30942 (fma_towardzero_test_data): Likewise.
30943 (fma_downward_test_data): Likewise.
30944 (fma_upward_test_data): Likewise.
30945 (fmax_test_data): Likewise.
30946 (fmin_test_data): Likewise.
30947 (fmod_test_data): Likewise.
30948 (fpclassify_test_data): Likewise.
30949 (frexp_test_data): Likewise.
30950 (gamma_test_data): Likewise.
30951 (hypot_test_data): Likewise.
30952 (ilogb_test_data): Likewise.
30953 (isfinite_test_data): Likewise.
30954 (isgreater_test_data): Likewise.
30955 (isgreaterequal_test_data): Likewise.
30956 (isinf_test_data): Likewise.
30957 (isless_test_data): Likewise.
30958 (islessequal_test_data): Likewise.
30959 (islessgreater_test_data): Likewise.
30960 (isnan_test_data): Likewise.
30961 (isnormal_test_data): Likewise.
30962 (issignaling_test_data): Likewise.
30963 (isunordered_test_data): Likewise.
30964 (j0_test_data): Likewise.
30965 (j1_test_data): Likewise.
30966 (jn_test_data): Likewise.
30967 (ldexp_test_data): Likewise.
30968 (lgamma_test_data): Likewise.
30969 (lrint_test_data): Likewise.
30970 (lrint_tonearest_test_data): Likewise.
30971 (lrint_towardzero_test_data): Likewise.
30972 (lrint_downward_test_data): Likewise.
30973 (lrint_upward_test_data): Likewise.
30974 (llrint_test_data): Likewise.
30975 (llrint_tonearest_test_data): Likewise.
30976 (llrint_towardzero_test_data): Likewise.
30977 (llrint_downward_test_data): Likewise.
30978 (llrint_upward_test_data): Likewise.
30979 (log_test_data): Likewise.
30980 (log10_test_data): Likewise.
30981 (log1p_test_data): Likewise.
30982 (log2_test_data): Likewise.
30983 (logb_test_data): Likewise.
30984 (logb_downward_test_data): Likewise.
30985 (lround_test_data): Likewise.
30986 (llround_test_data): Likewise.
30987 (modf_test_data): Likewise.
30988 (nearbyint_test_data): Likewise.
30989 (nextafter_test_data): Likewise.
30990 (nexttoward_test_data): Likewise.
30991 (pow_test_data): Likewise.
30992 (pow_tonearest_test_data): Likewise.
30993 (pow_towardzero_test_data): Likewise.
30994 (pow_downward_test_data): Likewise.
30995 (pow_upward_test_data): Likewise.
30996 (remainder_test_data): Likewise.
30997 (remainder_tonearest_test_data): Likewise.
30998 (remainder_towardzero_test_data): Likewise.
30999 (remainder_downward_test_data): Likewise.
31000 (remainder_upward_test_data): Likewise.
31001 (remquo_test_data): Likewise.
31002 (rint_test_data): Likewise.
31003 (rint_tonearest_test_data): Likewise.
31004 (rint_towardzero_test_data): Likewise.
31005 (rint_downward_test_data): Likewise.
31006 (rint_upward_test_data): Likewise.
31007 (round_test_data): Likewise.
31008 (scalb_test_data): Likewise.
31009 (scalbn_test_data): Likewise.
31010 (scalbln_test_data): Likewise.
31011 (signbit_test_data): Likewise.
31012 (sin_test_data): Likewise.
31013 (sin_tonearest_test_data): Likewise.
31014 (sin_towardzero_test_data): Likewise.
31015 (sin_downward_test_data): Likewise.
31016 (sin_upward_test_data): Likewise.
31017 (sincos_test_data): Likewise.
31018 (sinh_test_data): Likewise.
31019 (sinh_tonearest_test_data): Likewise.
31020 (sinh_towardzero_test_data): Likewise.
31021 (sinh_downward_test_data): Likewise.
31022 (sinh_upward_test_data): Likewise.
31023 (sqrt_test_data): Likewise.
31024 (tan_test_data): Likewise.
31025 (tan_tonearest_test_data): Likewise.
31026 (tan_towardzero_test_data): Likewise.
31027 (tan_downward_test_data): Likewise.
31028 (tan_upward_test_data): Likewise.
31029 (tanh_test_data): Likewise.
31030 (tgamma_test_data): Likewise.
31031 (trunc_test_data): Likewise.
31032 (y0_test_data): Likewise.
31033 (y1_test_data): Likewise.
31034 (yn_test_data): Likewise.
31035 (significand_test_data): Likewise.
31037 * math/gen-libm-test.pl (@functions): Remove variable.
31038 (generate_testfile): Don't handle START and END lines.
31039 * math/libm-test.inc (START): New macro.
31041 (END_COMPLEX): Likewise.
31042 (acos_test): Use END macro without arguments.
31043 (acos_test_tonearest): Likewise.
31044 (acos_test_towardzero): Likewise.
31045 (acos_test_downward): Likewise.
31046 (acos_test_upward): Likewise.
31047 (acosh_test): Likewise.
31048 (asin_test): Likewise.
31049 (asin_test_tonearest): Likewise.
31050 (asin_test_towardzero): Likewise.
31051 (asin_test_downward): Likewise.
31052 (asin_test_upward): Likewise.
31053 (asinh_test): Likewise.
31054 (atan_test): Likewise.
31055 (atanh_test): Likewise.
31056 (atan2_test): Likewise.
31057 (cabs_test): Likewise.
31058 (cacos_test): Use END_COMPLEX macro without arguments.
31059 (cacosh_test): Likewise.
31060 (carg_test): Use END macro without arguments.
31061 (casin_test): Use END_COMPLEX macro without arguments.
31062 (casinh_test): Likewise.
31063 (catan_test): Likewise.
31064 (catanh_test): Likewise.
31065 (cbrt_test): Use END macro without arguments.
31066 (ccos_test): Use END_COMPLEX macro without arguments.
31067 (ccosh_test): Likewise.
31068 (ceil_test): Use END macro without arguments.
31069 (cexp_test): Use END_COMPLEX macro without arguments.
31070 (cimag_test): Use END macro without arguments.
31071 (clog_test): Use END_COMPLEX macro without arguments.
31072 (clog10_test): Likewise.
31073 (conj_test): Likewise.
31074 (copysign_test): Use END macro without arguments.
31075 (cos_test): Likewise.
31076 (cos_test_tonearest): Likewise.
31077 (cos_test_towardzero): Likewise.
31078 (cos_test_downward): Likewise.
31079 (cos_test_upward): Likewise.
31080 (cosh_test): Likewise.
31081 (cosh_test_tonearest): Likewise.
31082 (cosh_test_towardzero): Likewise.
31083 (cosh_test_downward): Likewise.
31084 (cosh_test_upward): Likewise.
31085 (cpow_test): Use END_COMPLEX macro without arguments.
31086 (cproj_test): Likewise.
31087 (creal_test): Use END macro without arguments.
31088 (csin_test): Use END_COMPLEX macro without arguments.
31089 (csinh_test): Likewise.
31090 (csqrt_test): Likewise.
31091 (ctan_test): Likewise.
31092 (ctan_test_tonearest): Likewise.
31093 (ctan_test_towardzero): Likewise.
31094 (ctan_test_downward): Likewise.
31095 (ctan_test_upward): Likewise.
31096 (ctanh_test): Likewise.
31097 (ctanh_test_tonearest): Likewise.
31098 (ctanh_test_towardzero): Likewise.
31099 (ctanh_test_downward): Likewise.
31100 (ctanh_test_upward): Likewise.
31101 (erf_test): Use END macro without arguments.
31102 (erfc_test): Likewise.
31103 (exp_test): Likewise.
31104 (exp_test_tonearest): Likewise.
31105 (exp_test_towardzero): Likewise.
31106 (exp_test_downward): Likewise.
31107 (exp_test_upward): Likewise.
31108 (exp10_test): Likewise.
31109 (exp2_test): Likewise.
31110 (expm1_test): Likewise.
31111 (fabs_test): Likewise.
31112 (fdim_test): Likewise.
31113 (finite_test): Likewise.
31114 (floor_test): Likewise.
31115 (fma_test): Likewise.
31116 (fma_test_towardzero): Likewise.
31117 (fma_test_downward): Likewise.
31118 (fma_test_upward): Likewise.
31119 (fmax_test): Likewise.
31120 (fmin_test): Likewise.
31121 (fmod_test): Likewise.
31122 (fpclassify_test): Likewise.
31123 (frexp_test): Likewise.
31124 (gamma_test): Likewise.
31125 (hypot_test): Likewise.
31126 (ilogb_test): Likewise.
31127 (isfinite_test): Likewise.
31128 (isgreater_test): Likewise.
31129 (isgreaterequal_test): Likewise.
31130 (isinf_test): Likewise.
31131 (isless_test): Likewise.
31132 (islessequal_test): Likewise.
31133 (islessgreater_test): Likewise.
31134 (isnan_test): Likewise.
31135 (isnormal_test): Likewise.
31136 (issignaling_test): Likewise.
31137 (isunordered_test): Likewise.
31138 (j0_test): Likewise.
31139 (j1_test): Likewise.
31140 (jn_test): Likewise.
31141 (ldexp_test): Likewise.
31142 (lgamma_test): Likewise.
31143 (lrint_test): Likewise.
31144 (lrint_test_tonearest): Likewise.
31145 (lrint_test_towardzero): Likewise.
31146 (lrint_test_downward): Likewise.
31147 (lrint_test_upward): Likewise.
31148 (llrint_test): Likewise.
31149 (llrint_test_tonearest): Likewise.
31150 (llrint_test_towardzero): Likewise.
31151 (llrint_test_downward): Likewise.
31152 (llrint_test_upward): Likewise.
31153 (log_test): Likewise.
31154 (log10_test): Likewise.
31155 (log1p_test): Likewise.
31156 (log2_test): Likewise.
31157 (logb_test): Likewise.
31158 (logb_test_downward): Likewise.
31159 (lround_test): Likewise.
31160 (llround_test): Likewise.
31161 (modf_test): Likewise.
31162 (nearbyint_test): Likewise.
31163 (nextafter_test): Likewise.
31164 (nexttoward_test): Likewise.
31165 (pow_test): Likewise.
31166 (pow_test_tonearest): Likewise.
31167 (pow_test_towardzero): Likewise.
31168 (pow_test_downward): Likewise.
31169 (pow_test_upward): Likewise.
31170 (remainder_test): Likewise.
31171 (remainder_test_tonearest): Likewise.
31172 (remainder_test_towardzero): Likewise.
31173 (remainder_test_downward): Likewise.
31174 (remainder_test_upward): Likewise.
31175 (remquo_test): Likewise.
31176 (rint_test): Likewise.
31177 (rint_test_tonearest): Likewise.
31178 (rint_test_towardzero): Likewise.
31179 (rint_test_downward): Likewise.
31180 (rint_test_upward): Likewise.
31181 (round_test): Likewise.
31182 (scalb_test): Likewise.
31183 (scalbn_test): Likewise.
31184 (scalbln_test): Likewise.
31185 (signbit_test): Likewise.
31186 (sin_test): Likewise.
31187 (sin_test_tonearest): Likewise.
31188 (sin_test_towardzero): Likewise.
31189 (sin_test_downward): Likewise.
31190 (sin_test_upward): Likewise.
31191 (sincos_test): Likewise.
31192 (sinh_test): Likewise.
31193 (sinh_test_tonearest): Likewise.
31194 (sinh_test_towardzero): Likewise.
31195 (sinh_test_downward): Likewise.
31196 (sinh_test_upward): Likewise.
31197 (sqrt_test): Likewise.
31198 (tan_test): Likewise.
31199 (tan_test_tonearest): Likewise.
31200 (tan_test_towardzero): Likewise.
31201 (tan_test_downward): Likewise.
31202 (tan_test_upward): Likewise.
31203 (tanh_test): Likewise.
31204 (tgamma_test): Likewise.
31205 (trunc_test): Likewise.
31206 (y0_test): Likewise.
31207 (y1_test): Likewise.
31208 (yn_test): Likewise.
31209 (significand_test): Likewise.
31211 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
31214 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31216 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31219 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31220 __ppc_mdoio and __ppc_mdoom.
31221 * manual/platform.texi: Document new functions __ppc_yield,
31222 __ppc_mdoio and __ppc_mdoom.
31224 2013-05-22 Carlos O'Donell <carlos@redhat.com>
31226 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31227 (main): Mention "tls" pseudo-hwcap is legacy.
31228 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31230 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31232 * math/gen-libm-test.pl (parse_args): Output only string of
31233 arguments as text for test name, not full call or descriptions of
31234 tests for extra outputs.
31235 (generate_testfile): Do not pass function name to parse_args.
31236 Generate this_func variable from START.
31237 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31239 (struct test_ff_f_data): Likewise.
31240 (test_ff_f_data_nexttoward): Likewise.
31241 (struct test_fi_f_data): Likewise.
31242 (struct test_fl_f_data): Likewise.
31243 (struct test_if_f_data): Likewise.
31244 (struct test_fff_f_data): Likewise.
31245 (struct test_c_f_data): Likewise.
31246 (struct test_f_f1_data): Likewise. Remove field extra_name.
31247 (struct test_fF_f1_data): Likewise.
31248 (struct test_ffI_f1_data): Likewise.
31249 (struct test_c_c_data): Rename test_name field to arg_str.
31250 (struct test_cc_c_data): Likewise.
31251 (struct test_f_i_data): Likewise.
31252 (struct test_ff_i_data): Likewise.
31253 (struct test_f_l_data): Likewise.
31254 (struct test_f_L_data): Likewise.
31255 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31257 (COMMON_TEST_SETUP): New macro.
31258 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31259 (COMMON_TEST_CLEANUP): Likewise.
31260 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31261 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31263 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31264 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31266 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31267 (RUN_TEST_fff_f): Take argument string. Call new setup and
31269 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31270 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31272 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31273 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31275 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31276 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31278 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31279 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31281 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31282 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31284 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31285 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31287 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31288 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31290 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31291 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31293 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31294 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31296 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31297 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31299 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31300 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31302 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31303 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31305 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31306 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31308 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31309 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31311 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31312 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31314 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31316 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31318 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31319 to _sifields.sigfault.
31320 (si_addr_lsb): Define new macro.
31321 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31322 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31323 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31325 2013-05-03 Carlos O'Donell <carlos at redhat.com>
31328 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31330 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31332 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31333 loading the domain.
31335 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31337 * math/gen-libm-test.pl (parse_args): Do not include expected
31338 result in test name.
31339 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31340 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31341 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31342 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31343 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31346 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31348 * benchtests/Makefile: Sort function entries.
31350 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31351 tanh, asinh, acosh, atanh.
31352 * benchtests/acos-inputs: New file.
31353 * benchtests/acosh-inputs: New file.
31354 * benchtests/asin-inputs: New file.
31355 * benchtests/asinh-inputs: New file.
31356 * benchtests/atanh-inputs: New file.
31357 * benchtests/cosh-inputs: New file.
31358 * benchtests/log-inputs: New file.
31359 * benchtests/sinh-inputs: New file.
31360 * benchtests/tanh-inputs: New file.
31362 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31365 * posix/tst-getaddrinfo4.c: New test.
31366 * posix/Makefile (tests): Add it.
31368 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31371 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31372 when no services were used.
31373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31374 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31376 2013-05-21 Andreas Schwab <schwab@suse.de>
31379 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31380 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31382 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31383 redundant variable declarations and reallocation of buffer when
31384 parsing as IPv6 address. Always set NSS status when called from
31385 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
31386 buffer too small. Correct computation of needed size.
31387 * nss/Makefile (tests): Add test-digits-dots.
31388 * nss/test-digits-dots.c: New test.
31390 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31392 * benchtests/Makefile: Remove instructions for adding
31394 * benchtests/README: New file to explain how to execute and
31395 enhance the benchmark tests.
31397 2013-05-21 Andreas Schwab <schwab@suse.de>
31400 * setjmp/Makefile (tests): Add tst-sigsetjmp.
31401 * setjmp/tst-sigsetjmp.c: New test.
31403 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31405 * sysdeps/x86_64/memset.S (memset): New implementation.
31406 (__bzero): Likewise.
31407 (__memset_tail): New function.
31409 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31411 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31412 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31413 __memcpy_sse2_unaligned ifunc selection.
31414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31415 Add memcpy-sse2-unaligned.S.
31416 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31417 Add: __memcpy_sse2_unaligned.
31419 2013-05-19 Joseph Myers <joseph@codesourcery.com>
31422 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31423 math_force_eval before restoring floating-point envrionment.
31424 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31425 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31427 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31429 (__nearbyintl): Use math_force_eval before restoring
31430 floating-point environment.
31431 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31433 * math/gen-libm-test.pl (special_functions): Remove.
31434 (parse_args): Don't handle TEST_extra. Handle functions with no
31436 * math/libm-test.inc (struct test_sincos_data): Replace with
31437 struct test_fFF_11_data.
31438 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31439 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31440 (sincos_test_data): Change element type to struct
31441 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
31442 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31443 RUN_TEST_LOOP_sincos.
31444 * math/README.libm-test: Don't mention special handling of
31445 individual functions.
31446 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31447 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31448 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31449 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31450 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31453 * math/gen-libm-test.pl (get_variable): Remove function.
31454 (parse_args): Don't show pointer parameters to call in test
31455 names. Use "extra output N" in test names for extra outputs
31456 rather than naming variables.
31458 2013-05-18 Joseph Myers <joseph@codesourcery.com>
31461 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31462 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31463 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31465 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31467 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31470 * math/gen-libm-test.pl (@tests): Remove variable.
31471 ($count): Likewise.
31472 (new_test): Remove function.
31473 (show_exceptions): New function.
31474 (special_functions): Use show_exceptions instead of new_test.
31475 (parse_args): Likewise.
31476 (generate_testfile): Pass only function name in generated call to
31477 print_max_error or print_complex_max_error.
31478 (get_ulps): Do not handle complex tests specially.
31479 (output_test): Rename to ...
31480 (get_all_ulps_for_test): ... this. Return a string rather than
31481 printing to a file. Require ulps to be present.
31482 (output_ulps): Generate arrays rather than #defines.
31483 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31484 (struct ulp_data): New type.
31485 (BUILD_COMPLEX_ULP): Remove macro.
31486 (compare_ulp_data): New function.
31487 (find_ulps): Likewise.
31488 (find_test_ulps): Likewise.
31489 (find_function_ulps): Likewise.
31490 (find_complex_function_ulps): Likewise.
31491 (print_max_error): Determine allowed ulps using
31492 find_function_ulps.
31493 (print_complex_max_error): Determine allowed ulps using
31494 find_complex_function_ulps.
31495 (check_float_internal): Determine max ulps using find_test_ulps.
31496 (check_float): Do not take max_ulp parameter. Update call to
31497 check_float_internal.
31498 (check_complex): Likewise.
31499 (check_int): Do not take max_ulp parameter.
31500 (check_long): Likewise.
31501 (check_bool): Likewise.
31502 (check_longlong): Likewise.
31503 (struct test_f_f_data): Remove max_ulp field.
31504 (struct test_ff_f_data): Likewise.
31505 (struct test_ff_f_data_nexttoward): Likewise.
31506 (struct test_fi_f_data): Likewise.
31507 (struct test_fl_f_data): Likewise.
31508 (struct test_if_f_data): Likewise.
31509 (struct test_fff_f_data): Likewise.
31510 (struct test_c_f_data): Likewise.
31511 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31512 (struct test_fF_f1_data): Likewise.
31513 (struct test_ffI_f1_data): Likewise.
31514 (struct test_c_c_data): Remove max_ulp field.
31515 (struct test_cc_c_data): Likewise.
31516 (struct test_f_i_data): Likewise.
31517 (struct test_ff_i_data): Likewise.
31518 (struct test_f_l_data): Likewise.
31519 (struct test_f_L_data): Likewise.
31520 (struct test_sincos_data): Likewise.
31521 (RUN_TEST_f_f): Do not handle ulps.
31522 (RUN_TEST_LOOP_f_f): Likewise.
31523 (RUN_TEST_2_f): Likewise.
31524 (RUN_TEST_LOOP_2_f): Likewise.
31525 (RUN_TEST_fff_f): Likewise.
31526 (RUN_TEST_LOOP_fff_f): Likewise.
31527 (RUN_TEST_c_f): Likewise.
31528 (RUN_TEST_LOOP_c_f): Likewise.
31529 (RUN_TEST_f_f1): Likewise.
31530 (RUN_TEST_LOOP_f_f1): Likewise.
31531 (RUN_TEST_fF_f1): Likewise.
31532 (RUN_TEST_LOOP_fF_f1): Likewise.
31533 (RUN_TEST_fI_f1): Likewise.
31534 (RUN_TEST_LOOP_fI_f1): Likewise.
31535 (RUN_TEST_ffI_f1): Likewise.
31536 (RUN_TEST_LOOP_ffI_f1): Likewise.
31537 (RUN_TEST_c_c): Likewise.
31538 (RUN_TEST_LOOP_c_c): Likewise.
31539 (RUN_TEST_cc_c): Likewise.
31540 (RUN_TEST_LOOP_cc_c): Likewise.
31541 (RUN_TEST_f_i): Likewise.
31542 (RUN_TEST_LOOP_f_i): Likewise.
31543 (RUN_TEST_f_i_tg): Likewise.
31544 (RUN_TEST_LOOP_f_i_tg): Likewise.
31545 (RUN_TEST_ff_i_tg): Likewise.
31546 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31547 (RUN_TEST_f_b): Likewise.
31548 (RUN_TEST_LOOP_f_b): Likewise.
31549 (RUN_TEST_f_b_tg): Likewise.
31550 (RUN_TEST_LOOP_f_b_tg): Likewise.
31551 (RUN_TEST_f_l): Likewise.
31552 (RUN_TEST_LOOP_f_l): Likewise.
31553 (RUN_TEST_f_L): Likewise.
31554 (RUN_TEST_LOOP_f_L): Likewise.
31555 (RUN_TEST_sincos): Likewise.
31556 (RUN_TEST_LOOP_sincos): Likewise.
31558 2013-05-17 Joseph Myers <joseph@codesourcery.com>
31562 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31563 main case of finite arguments, set rounding mode to FE_TONEAREST
31564 and discard exceptions.
31565 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31567 (remainder_tonearest_test_data): New variable.
31568 (remainder_test_tonearest): New function.
31569 (remainder_towardzero_test_data): New variable.
31570 (remainder_test_towardzero): New function.
31571 (remainder_downward_test_data): New variable.
31572 (remainder_test_downward): New function.
31573 (remainder_upward_test_data): New variable.
31574 (remainder_test_upward): New function.
31575 (main): Call the new test functions.
31577 * math/libm-test.inc (struct test_f_f1_data): Remove field
31579 (struct test_fF_f1_data): Likewise.
31580 (struct test_ffI_f1_data): Likewise.
31581 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
31582 based on value of EXTRA_EXPECTED.
31583 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31584 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
31585 EXTRA_VAR based on value of EXTRA_EXPECTED.
31586 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31587 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
31588 EXTRA_VAR based on value of EXTRA_EXPECTED.
31589 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31590 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
31591 EXTRA_VAR based on value of EXTRA_EXPECTED.
31592 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31593 * math/gen-libm-test.pl (parse_args): Don't output initializers
31594 for extra output values.
31596 * math/libm-test.inc (check_int): Expect result to be exactly
31597 equal to expected value and do not handle ulps.
31598 (check_long): Likewise.
31599 (check_longlong): Likewise.
31601 * math/libm-test.inc (ceil_test_data): Test for "inexact"
31603 (cimag_test_data): Likewise.
31604 (conj_test_data): Likewise.
31605 (copysign_test_data): Likewise.
31606 (cproj_test_data): Likewise.
31607 (creal_test_data): Likewise.
31608 (fabs_test_data): Likewise.
31609 (fdim_test_data): Likewise.
31610 (finite_test_data): Likewise.
31611 (floor_test_data): Likewise.
31612 (fmax_test_data): Likewise.
31613 (fmin_test_data): Likewise.
31614 (fmod_test_data): Likewise.
31615 (fpclassify_test_data): Likewise.
31616 (frexp_test_data): Likewise.
31617 (ilogb_test_data): Likewise.
31618 (isfinite_test_data): Likewise.
31619 (isgreater_test_data): Likewise.
31620 (isgreaterequal_test_data): Likewise.
31621 (isinf_test_data): Likewise.
31622 (isless_test_data): Likewise.
31623 (islessequal_test_data): Likewise.
31624 (islessgreater_test_data): Likewise.
31625 (isnan_test_data): Likewise.
31626 (isnormal_test_data): Likewise.
31627 (issignaling_test_data): Likewise.
31628 (isunordered_test_data): Likewise.
31629 (ldexp_test_data): Likewise.
31630 (lrint_test_data): Likewise.
31631 (lrint_test_data) [TEST_FLOAT]: Disable one test.
31632 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31633 (lrint_tonearest_test_data): Test for "inexact" exceptions.
31634 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31635 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31636 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31638 (lrint_towardzero_test_data): Test for "inexact" exceptions.
31639 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31640 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31641 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31643 (lrint_downward_test_data): Test for "inexact" exceptions.
31644 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31645 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31646 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31648 (lrint_upward_test_data): Test for "inexact" exceptions.
31649 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31651 (llrint_test_data): Test for "inexact" exceptions.
31652 (llrint_test_data) [TEST_FLOAT]: Disable one test.
31653 (llrint_tonearest_test_data): Test for "inexact" exceptions.
31654 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31655 (llrint_towardzero_test_data): Test for "inexact" exceptions.
31656 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31657 (llrint_downward_test_data): Test for "inexact" exceptions.
31658 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31659 (llrint_upward_test_data): Test for "inexact" exceptions.
31660 (logb_test_data): Likewise.
31661 (logb_downward_test_data): Likewise.
31662 (nextafter_test_data): Likewise.
31663 (nexttoward_test_data): Likewise.
31664 (remainder_test_data): Likewise.
31665 (remquo_test_data): Likewise.
31666 (scalbn_test_data): Likewise.
31667 (scalbln_test_data): Likewise.
31668 (signbit_test_data): Likewise.
31669 (sqrt_test_data): Likewise.
31670 (significand_test_data): Likewise.
31672 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31675 * benchtests/bench-modf.c (struct args): Mark arg0 as
31677 * scripts/bench.pl: Mark members of struct args as volatile.
31679 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31682 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31683 negative infinity on POWER6 or lower.
31684 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31686 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
31689 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31690 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31691 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31692 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31693 (_FP_SETQNAN): New macro.
31694 (_FP_SETQNAN_SEMIRAW): Likewise.
31695 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31696 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31697 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31698 (FP_EXTEND): Use _FP_FRAC_SNANP.
31699 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31700 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31702 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31704 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31707 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31709 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31710 with DIVIDE_BY_ZERO_EXCEPTION.
31711 (gamma_test_data): Likewise.
31712 (lgamma_test_data): Likewise.
31713 (log_test_data): Likewise.
31714 (log10_test_data): Likewise.
31715 (log2_test_data): Likewise.
31716 (tgamma_test_data): Likewise.
31718 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31719 (acos_test_tonearest): Likewise.
31720 (acos_test_towardzero): Likewise.
31721 (acos_test_downward): Likewise.
31722 (acos_test_upward): Likewise.
31723 (acosh_test): Likewise.
31724 (asin_test): Likewise.
31725 (asin_test_tonearest): Likewise.
31726 (asin_test_towardzero): Likewise.
31727 (asin_test_downward): Likewise.
31728 (asin_test_upward): Likewise.
31729 (asinh_test): Likewise.
31730 (atan_test): Likewise.
31731 (atanh_test): Likewise.
31732 (atan2_test): Likewise.
31733 (cabs_test): Likewise.
31734 (cacos_test): Likewise.
31735 (cacosh_test): Likewise.
31736 (casin_test): Likewise.
31737 (casinh_test): Likewise.
31738 (catan_test): Likewise.
31739 (catanh_test): Likewise.
31740 (cbrt_test): Likewise.
31741 (ccos_test): Likewise.
31742 (ccosh_test): Likewise.
31743 (cexp_test): Likewise.
31744 (clog_test): Likewise.
31745 (clog10_test): Likewise.
31746 (cos_test): Likewise.
31747 (cos_test_tonearest): Likewise.
31748 (cos_test_towardzero): Likewise.
31749 (cos_test_downward): Likewise.
31750 (cos_test_upward): Likewise.
31751 (cosh_test): Likewise.
31752 (cosh_test_tonearest): Likewise.
31753 (cosh_test_towardzero): Likewise.
31754 (cosh_test_downward): Likewise.
31755 (cosh_test_upward): Likewise.
31756 (cpow_test): Likewise.
31757 (csin_test): Likewise.
31758 (csinh_test): Likewise.
31759 (csqrt_test): Likewise.
31760 (ctan_test): Likewise.
31761 (ctan_test_tonearest): Likewise.
31762 (ctan_test_towardzero): Likewise.
31763 (ctan_test_downward): Likewise.
31764 (ctan_test_upward): Likewise.
31765 (ctanh_test): Likewise.
31766 (ctanh_test_tonearest): Likewise.
31767 (ctanh_test_towardzero): Likewise.
31768 (ctanh_test_downward): Likewise.
31769 (ctanh_test_upward): Likewise.
31770 (erf_test): Likewise.
31771 (erfc_test): Likewise.
31772 (exp_test): Likewise.
31773 (exp_test_tonearest): Likewise.
31774 (exp_test_towardzero): Likewise.
31775 (exp_test_downward): Likewise.
31776 (exp_test_upward): Likewise.
31777 (exp10_test): Likewise.
31778 (exp2_test): Likewise.
31779 (expm1_test): Likewise.
31780 (fmod_test): Likewise.
31781 (gamma_test): Likewise.
31782 (hypot_test): Likewise.
31783 (j0_test): Likewise.
31784 (j1_test): Likewise.
31785 (jn_test): Likewise.
31786 (lgamma_test): Likewise.
31787 (log_test): Likewise.
31788 (log10_test): Likewise.
31789 (log1p_test): Likewise.
31790 (log2_test): Likewise.
31791 (logb_test_downward): Likewise.
31792 (pow_test): Likewise.
31793 (pow_test_tonearest): Likewise.
31794 (pow_test_towardzero): Likewise.
31795 (pow_test_downward): Likewise.
31796 (pow_test_upward): Likewise.
31797 (remainder_test): Likewise.
31798 (remquo_test): Likewise.
31799 (sin_test): Likewise.
31800 (sin_test_tonearest): Likewise.
31801 (sin_test_towardzero): Likewise.
31802 (sin_test_downward): Likewise.
31803 (sin_test_upward): Likewise.
31804 (sincos_test): Likewise.
31805 (sinh_test): Likewise.
31806 (sinh_test_tonearest): Likewise.
31807 (sinh_test_towardzero): Likewise.
31808 (sinh_test_downward): Likewise.
31809 (sinh_test_upward): Likewise.
31810 (sqrt_test): Likewise.
31811 (tan_test): Likewise.
31812 (tan_test_tonearest): Likewise.
31813 (tan_test_towardzero): Likewise.
31814 (tan_test_downward): Likewise.
31815 (tan_test_upward): Likewise.
31816 (tanh_test): Likewise.
31817 (tgamma_test): Likewise.
31818 (y0_test): Likewise.
31819 (y1_test): Likewise.
31820 (yn_test): Likewise.
31822 * math/gen-libm-test.pl (adjust_arg): Remove function.
31823 (special_function): Remove argument $in_func. Only handle
31824 generating output for tables of tests, not inside functions.
31825 (parse_args): Likewise.
31826 (generate_testfile): Remove variable $in_func. Update call to
31828 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31829 (MINUS_ZERO_INIT): Rename macro to minus_zero.
31830 (PLUS_INFTY_INIT): Rename macro to plus_infty.
31831 (MINUS_INFTY_INIT): Rename macro to minus_infty.
31832 (QNAN_VALUE_INIT): Rename macro to qnan_value.
31833 (MAX_VALUE_INIT): Rename macro to max_value.
31834 (MIN_VALUE_INIT): Rename macro to min_value.
31835 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31836 (plus_zero): Remove variable.
31837 (minus_zero): Likewise.
31838 (plus_infty): Likewise.
31839 (minus_infty): Likewise.
31840 (qnan_value): Likewise.
31841 (max_value): Likewise.
31842 (min_value): Likewise.
31843 (min_subnorm_value): Likewise.
31845 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31847 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31848 uint64_t or uint32_t usage.
31849 * crypt/sha256-block.c: Likewise.
31850 * crypt/sha256-crypt.c: Likewise.
31851 * crypt/sha256.c: Likewise.
31852 * crypt/sha512-block.c: Likewise.
31853 * crypt/sha512-crypt.c: Likewise.
31854 * crypt/sha512.c: Likewise.
31855 * debug/backtrace-tst.c: Likewise.
31856 * debug/pcprofiledump.c: Likewise.
31857 * elf/cache.c: Likewise.
31858 * elf/dl-cache.c: Likewise.
31859 * elf/dl-misc.c: Likewise.
31860 * elf/dl-profile.c: Likewise.
31861 * elf/dl-support.c: Likewise.
31862 * elf/ldconfig.c: Likewise.
31863 * elf/sprof.c: Likewise.
31864 * iconv/dummy-repertoire.c: Likewise.
31865 * iconv/iconv_charmap.c: Likewise.
31866 * iconv/skeleton.c: Likewise.
31867 * iconvdata/8bit-generic.c: Likewise.
31868 * iconvdata/cp737.h: Likewise.
31869 * iconvdata/cp775.h: Likewise.
31870 * iconvdata/ibm1008.h: Likewise.
31871 * iconvdata/ibm1025.h: Likewise.
31872 * iconvdata/ibm1046.h: Likewise.
31873 * iconvdata/ibm1097.h: Likewise.
31874 * iconvdata/ibm1112.h: Likewise.
31875 * iconvdata/ibm1122.h: Likewise.
31876 * iconvdata/ibm1123.h: Likewise.
31877 * iconvdata/ibm1124.h: Likewise.
31878 * iconvdata/ibm1129.h: Likewise.
31879 * iconvdata/ibm1130.h: Likewise.
31880 * iconvdata/ibm1132.h: Likewise.
31881 * iconvdata/ibm1133.h: Likewise.
31882 * iconvdata/ibm1137.h: Likewise.
31883 * iconvdata/ibm1140.h: Likewise.
31884 * iconvdata/ibm1141.h: Likewise.
31885 * iconvdata/ibm1142.h: Likewise.
31886 * iconvdata/ibm1143.h: Likewise.
31887 * iconvdata/ibm1144.h: Likewise.
31888 * iconvdata/ibm1145.h: Likewise.
31889 * iconvdata/ibm1146.h: Likewise.
31890 * iconvdata/ibm1147.h: Likewise.
31891 * iconvdata/ibm1148.h: Likewise.
31892 * iconvdata/ibm1149.h: Likewise.
31893 * iconvdata/ibm1153.h: Likewise.
31894 * iconvdata/ibm1154.h: Likewise.
31895 * iconvdata/ibm1155.h: Likewise.
31896 * iconvdata/ibm1156.h: Likewise.
31897 * iconvdata/ibm1157.h: Likewise.
31898 * iconvdata/ibm1158.h: Likewise.
31899 * iconvdata/ibm1160.h: Likewise.
31900 * iconvdata/ibm1161.h: Likewise.
31901 * iconvdata/ibm1162.h: Likewise.
31902 * iconvdata/ibm1163.h: Likewise.
31903 * iconvdata/ibm1164.h: Likewise.
31904 * iconvdata/ibm1166.h: Likewise.
31905 * iconvdata/ibm1167.h: Likewise.
31906 * iconvdata/ibm12712.h: Likewise.
31907 * iconvdata/ibm1390.h: Likewise.
31908 * iconvdata/ibm1399.h: Likewise.
31909 * iconvdata/ibm16804.h: Likewise.
31910 * iconvdata/ibm4517.h: Likewise.
31911 * iconvdata/ibm4899.h: Likewise.
31912 * iconvdata/ibm4909.h: Likewise.
31913 * iconvdata/ibm4971.h: Likewise.
31914 * iconvdata/ibm5347.h: Likewise.
31915 * iconvdata/ibm803.h: Likewise.
31916 * iconvdata/ibm856.h: Likewise.
31917 * iconvdata/ibm901.h: Likewise.
31918 * iconvdata/ibm902.h: Likewise.
31919 * iconvdata/ibm9030.h: Likewise.
31920 * iconvdata/ibm9066.h: Likewise.
31921 * iconvdata/ibm921.h: Likewise.
31922 * iconvdata/ibm922.h: Likewise.
31923 * iconvdata/ibm9448.h: Likewise.
31924 * iconvdata/isiri-3342.h: Likewise.
31925 * iconvdata/jis0201.h: Likewise.
31926 * include/link.h: Likewise.
31927 * include/netdb.h: Likewise.
31928 * inet/check_native.c: Likewise.
31929 * inet/check_pf.c: Likewise.
31930 * inet/getipv4sourcefilter.c: Likewise.
31931 * inet/getnameinfo.c: Likewise.
31932 * inet/getsourcefilter.c: Likewise.
31933 * inet/htonl.c: Likewise.
31934 * inet/setipv4sourcefilter.c: Likewise.
31935 * inet/setsourcefilter.c: Likewise.
31936 * inet/test-inet6_opt.c: Likewise.
31937 * inet/tst-network.c: Likewise.
31938 * locale/C-collate.c: Likewise.
31939 * locale/C-ctype.c: Likewise.
31940 * locale/C-time.c: Likewise.
31941 * locale/C-translit.h: Likewise.
31942 * locale/loadarchive.c: Likewise.
31943 * locale/programs/3level.h: Likewise.
31944 * locale/programs/charmap.c: Likewise.
31945 * locale/programs/charmap.h: Likewise.
31946 * locale/programs/ld-address.c: Likewise.
31947 * locale/programs/ld-collate.c: Likewise.
31948 * locale/programs/ld-ctype.c: Likewise.
31949 * locale/programs/ld-identification.c: Likewise.
31950 * locale/programs/ld-measurement.c: Likewise.
31951 * locale/programs/ld-messages.c: Likewise.
31952 * locale/programs/ld-monetary.c: Likewise.
31953 * locale/programs/ld-name.c: Likewise.
31954 * locale/programs/ld-numeric.c: Likewise.
31955 * locale/programs/ld-paper.c: Likewise.
31956 * locale/programs/ld-telephone.c: Likewise.
31957 * locale/programs/ld-time.c: Likewise.
31958 * locale/programs/linereader.c: Likewise.
31959 * locale/programs/locale.c: Likewise.
31960 * locale/programs/locarchive.c: Likewise.
31961 * locale/programs/locfile.h: Likewise.
31962 * locale/programs/repertoire.c: Likewise.
31963 * locale/programs/simple-hash.c: Likewise.
31964 * locale/programs/simple-hash.h: Likewise.
31965 * malloc/memusage.c: Likewise.
31966 * malloc/memusagestat.c: Likewise.
31967 * nis/nis_defaults.c: Likewise.
31968 * nis/nis_hash.c: Likewise.
31969 * nis/nis_print.c: Likewise.
31970 * nis/nis_xdr.c: Likewise.
31971 * nscd/connections.c: Likewise.
31972 * nscd/hstcache.c: Likewise.
31973 * nscd/nscd_gethst_r.c: Likewise.
31974 * nscd/nscd_getserv_r.c: Likewise.
31975 * nscd/nscd_helper.c: Likewise.
31976 * nscd/servicescache.c: Likewise.
31977 * nss/makedb.c: Likewise.
31978 * nss/nss_db/db-XXX.c: Likewise.
31979 * nss/nss_db/db-initgroups.c: Likewise.
31980 * nss/nss_db/db-netgrp.c: Likewise.
31981 * nss/nss_files/files-network.c: Likewise.
31982 * nss/nss_files/files-parse.c: Likewise.
31983 * posix/bug-regex5.c: Likewise.
31984 * posix/fnmatch_loop.c: Likewise.
31985 * posix/regcomp.c: Likewise.
31986 * posix/regexec.c: Likewise.
31987 * posix/tst-rfc3484-2.c: Likewise.
31988 * posix/tst-rfc3484-3.c: Likewise.
31989 * posix/tst-rfc3484.c: Likewise.
31990 * resolv/nss_dns/dns-canon.c: Likewise.
31991 * resolv/nss_dns/dns-network.c: Likewise.
31992 * resolv/res_init.c: Likewise.
31993 * resolv/res_mkquery.c: Likewise.
31994 * resolv/tst-aton.c: Likewise.
31995 * stdlib/cxa_atexit.c: Likewise.
31996 * stdlib/cxa_finalize.c: Likewise.
31997 * stdlib/gen-fpioconst.c: Likewise.
31998 * stdlib/strtol_l.c: Likewise.
31999 * string/tst-endian.c: Likewise.
32000 * sunrpc/auth_des.c: Likewise.
32001 * sunrpc/clnt_udp.c: Likewise.
32002 * sunrpc/rtime.c: Likewise.
32003 * sunrpc/svcauth_des.c: Likewise.
32004 * sunrpc/xdr.c: Likewise.
32005 * sunrpc/xdr_intXX_t.c: Likewise.
32006 * sunrpc/xdr_rec.c: Likewise.
32007 * sysdeps/generic/ldconfig.h: Likewise.
32008 * sysdeps/generic/ldsodefs.h: Likewise.
32009 * sysdeps/generic/memusage.h: Likewise.
32010 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32011 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32012 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32013 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32014 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32015 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32016 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32017 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32018 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32019 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32020 * sysdeps/posix/getaddrinfo.c: Likewise.
32021 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32022 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32023 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32024 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32025 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32026 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32027 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32028 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32029 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32030 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32031 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32032 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32033 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32034 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32035 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32036 * sysdeps/x86_64/dl-tls.h: Likewise.
32037 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32038 * time/alt_digit.c: Likewise.
32039 * time/era.c: Likewise.
32040 * wcsmbs/tst-c16c32-1.c: Likewise.
32042 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32044 * math/libm-test.inc (struct test_sincos_data): New type.
32045 (RUN_TEST_LOOP_sincos): New macro.
32046 (sincos_test_data): New variable.
32047 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32049 2013-05-16 Richard Henderson <rth@redhat.com>
32051 * math/atest-exp2.c (LIMB64): New macro.
32052 (CONSTSZ): New macro.
32053 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32055 (print_mpn_fp): ... to function scope.
32056 (read_mpn_hex): Remove.
32057 (get_log2): Remove.
32058 (exp2_mpn): Use mp_log2.
32059 (main): Use mp_exp1.
32061 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32063 * math/libm-test.inc: Remove comment about not testing "inexact"
32065 (INEXACT_EXCEPTION): New macro.
32066 (NO_INEXACT_EXCEPTION): Likewise.
32067 (INVALID_EXCEPTION_OK): Update value.
32068 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32069 (OVERFLOW_EXCEPTION_OK): Likewise.
32070 (UNDERFLOW_EXCEPTION_OK): Likewise.
32071 (IGNORE_ZERO_INF_SIGN): Likewise.
32072 (ERRNO_UNCHANGED): Likewise.
32073 (ERRNO_EDOM): Likewise.
32074 (ERRNO_ERANGE): Likewise.
32075 (test_exceptions): Handle testing "inexact" exceptions.
32076 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32077 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32078 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32079 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32081 (rint_towardzero_test_data): Likewise.
32082 (rint_downward_test_data): Likewise.
32083 (rint_upward_test_data): Likewise.
32085 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32086 with OVERFLOW_EXCEPTION.
32087 (exp10_test_data): Likewise.
32088 (exp2_test_data): Likewise.
32089 (expm1_test_data): Likewise.
32090 (lgamma_test_data): Likewise.
32091 (pow_test_data): Likewise.
32092 (tgamma_test_data): Likewise.
32093 (yn_test_data): Remove duplicate test of overflow.
32095 * math/libm-test.inc (struct test_cc_c_data): New type.
32096 (RUN_TEST_LOOP_cc_c): New macro.
32097 (cpow_test_data): New variable.
32098 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32100 * math/libm-test.inc (struct test_f_L_data): New type.
32101 (RUN_TEST_LOOP_f_L): New macro.
32102 (llrint_test_data): New variable.
32103 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32104 (llrint_tonearest_test_data): New variable.
32105 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32106 (llrint_towardzero_test_data): New variable.
32107 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32108 (llrint_downward_test_data): New variable.
32109 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32110 (llrint_upward_test_data): New variable.
32111 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32112 (llround_test_data): New variable.
32113 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32115 2013-05-13 Peter Collingbourne <pcc@google.com>
32117 * math/atest-exp2.c (get_log2): Remove const attribute.
32119 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32121 * math/libm-test.inc (struct test_f_l_data): New type.
32122 (RUN_TEST_LOOP_f_l): New macro.
32123 (lrint_test_data): New variable.
32124 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32125 (lrint_tonearest_test_data): New variable.
32126 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32127 (lrint_towardzero_test_data): New variable.
32128 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32129 (lrint_downward_test_data): New variable.
32130 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32131 (lrint_upward_test_data): New variable.
32132 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32133 (lround_test_data): New variable.
32134 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32136 2013-05-15 Peter Collingbourne <pcc@google.com>
32138 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32139 (EXTRACT_WORDS64) Use where appropriate.
32140 (INSERT_WORDS64) Likewise.
32142 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32143 constraints with x constraints.
32144 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32146 * malloc/obstack.c (_obstack_compat): Add initializer.
32148 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
32150 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32151 si_trapno and add si_addr_lsb to _sifields.sigfault.
32152 (si_trapno): Remove macro.
32153 (si_addr_lsb): Define new macro.
32154 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32156 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32158 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32159 instead of TEST_f_l.
32160 (llrint_test_tonearest): Likewise.
32161 (llrint_test_towardzero): Likewise.
32162 (llrint_test_downward): Likewise.
32163 (llrint_test_upward): Likewise.
32164 (llround_test): Likewise.
32166 * math/libm-test.inc (struct test_f_i_data): Add comment.
32167 (RUN_TEST_LOOP_f_b): New macro.
32168 (RUN_TEST_LOOP_f_b_tg): Likewise.
32169 (finite_test_data): New variable.
32170 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32171 (isfinite_test_data): New variable.
32172 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32173 (isinf_test_data): New variable.
32174 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32175 (isnan_test_data): New variable.
32176 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32177 (isnormal_test_data): New variable.
32178 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32179 (issignaling_test_data): New variable.
32180 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32181 (signbit_test_data): New variable.
32182 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32184 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32185 with INVALID_EXCEPTION.
32186 (acosh_test_data): Likewise.
32187 (asin_test_data): Likewise.
32188 (atanh_test_data): Likewise.
32189 (fmod_test_data): Likewise.
32190 (log_test_data): Likewise.
32191 (log10_test_data): Likewise.
32192 (log2_test_data): Likewise.
32193 (pow_test_data): Likewise.
32194 (sqrt_test_data): Likewise.
32195 (y0_test_data): Likewise.
32196 (y1_test_data): Likewise.
32197 (yn_test_data): Likewise.
32199 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32202 * math/libm-test.inc (struct test_ff_i_data): New type.
32203 (RUN_TEST_LOOP_ff_i_tg): New macro.
32204 (isgreater_test_data): New variable.
32205 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32206 (isgreaterequal_test_data): New variable.
32207 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32208 (isless_test_data): New variable.
32209 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32210 (islessequal_test_data): New variable.
32211 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32212 (islessgreater_test_data): New variable.
32213 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32214 (isunordered_test_data): New variable.
32215 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32217 2013-05-14 David S. Miller <davem@davemloft.net>
32219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32221 2013-05-14 Joseph Myers <joseph@codesourcery.com>
32223 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32225 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32227 (struct test_f_i_data): Change type of max_ulp to int.
32229 * math/libm-test.inc (test_ffI_f1_data): New type.
32230 (RUN_TEST_LOOP_ffI_f1): New macro.
32231 (remquo_test_data): New variable.
32232 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32234 * setjmp/tst-setjmp-fp.c: New file.
32235 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32236 (link-libm): New variable.
32237 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32239 * math/libm-test.inc (struct test_f_i_data): New type.
32240 (RUN_TEST_LOOP_f_i): New macro.
32241 (RUN_TEST_LOOP_f_i_tg): Likewise.
32242 (fpclassify_test_data): New variable.
32243 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32244 (ilogb_test_data): New variable.
32245 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32247 * math/libm-test.inc (scalbln_test): Correct function name in END
32250 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32251 (RUN_TEST_LOOP_fI_f1): New macro.
32252 (frexp_test_data): New variable.
32253 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32255 * math/libm-test.inc (struct test_fF_f1_data): New type.
32256 (RUN_TEST_LOOP_fF_f1): New macro.
32257 (modf_test_data): New variable.
32258 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32260 * math/libm-test.inc (struct test_f_f1_data): New type.
32261 (RUN_TEST_LOOP_f_f1): New macro.
32262 (gamma_test_data): New variable.
32263 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32264 (lgamma_test_data): New variable.
32265 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32267 2013-05-13 Carlos O'Donell <carlos@redhat.com>
32269 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32270 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32271 (main): Comment "tls" pseudo-hwcap.
32273 2013-05-13 Joseph Myers <joseph@codesourcery.com>
32275 * math/libm-test.inc (struct test_fl_f_data): New type.
32276 (RUN_TEST_LOOP_fl_f): New variable.
32277 (scalbln_test_data): New variable.
32278 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32280 * math/libm-test.inc (struct test_fi_f_data): New type.
32281 (RUN_TEST_LOOP_fi_f): New macro.
32282 (ldexp_test_data): New variable.
32283 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32284 (scalbn_test_data): New variable.
32285 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32287 * math/libm-test.inc (struct test_c_f_data): New type.
32288 (RUN_TEST_LOOP_c_f): New macro.
32289 (cabs_test_data): New variable.
32290 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32291 (carg_test_data): New variable.
32292 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32293 (cimag_test_data): New variable.
32294 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32295 (creal_test_data): New variable.
32296 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32298 * math/libm-test.inc (struct test_if_f_data): New type.
32299 (RUN_TEST_LOOP_if_f): New macro.
32300 (jn_test_data): New variable.
32301 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32302 (yn_test_data): New variable.
32303 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32305 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32307 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32309 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32310 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32312 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32314 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32315 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32316 (bench-deps): Add bench-timing.h.
32317 * benchtests-bench-skeleton.c: Include bench-timing.h.
32318 (main): Use TIMING_* macros instead of clock_gettime.
32319 * benchtests/bench-timing.h: New file.
32322 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32323 Renamed from _LIB_VERSION.
32324 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32326 2013-05-12 Joseph Myers <joseph@codesourcery.com>
32328 * math/libm-test.inc (struct test_fff_f_data): New type.
32329 (RUN_TEST_LOOP_fff_f): New macro.
32330 (fma_test_data): New variable.
32331 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32332 (fma_towardzero_test_data): New variable.
32333 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32334 (fma_downward_test_data): New variable.
32335 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32336 (fma_upward_test_data): New variable.
32337 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32339 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32340 (struct test_c_c_data): New type.
32341 (RUN_TEST_LOOP_c_c): New macro.
32342 (cacos_test_data): New variable.
32343 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32344 (cacosh_test_data): New variable.
32345 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32346 (casin_test_data): New variable.
32347 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32348 (casinh_test_data): New variable.
32349 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32350 (catan_test_data): New variable.
32351 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32352 (catanh_test_data): New variable.
32353 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32354 (ccos_test_data): New variable.
32355 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32356 (ccosh_test_data): New variable.
32357 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32358 (cexp_test_data): New variable.
32359 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32360 (clog_test_data): New variable.
32361 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32362 (clog10_test_data): New variable.
32363 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32364 (conj_test_data): New variable.
32365 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32366 (cproj_test_data): New variable.
32367 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32368 (csin_test_data): New variable.
32369 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32370 (csinh_test_data): New variable.
32371 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32372 (csqrt_test_data): New variable.
32373 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32374 (ctan_test_data): New variable.
32375 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32376 (ctan_tonearest_test_data): New variable.
32377 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32378 (ctan_towardzero_test_data): New variable.
32379 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32380 (ctan_downward_test_data): New variable.
32381 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32382 (ctan_upward_test_data): New variable.
32383 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32384 (ctanh_test_data): New variable.
32385 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32386 (ctanh_tonearest_test_data): New variable.
32387 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32388 (ctanh_towardzero_test_data): New variable.
32389 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32390 (ctanh_downward_test_data): New variable.
32391 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32392 (ctanh_upward_test_data): New variable.
32393 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32394 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32397 * math/libm-test.inc (struct test_ff_f_data): New type.
32398 (struct test_ff_f_data_nexttoward): Likewise.
32399 (RUN_TEST_LOOP_2_f): New macro.
32400 (RUN_TEST_LOOP_ff_f): Likewise.
32401 (atan2_test_data): New variable.
32402 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32403 (copysign_test_data): New variable.
32404 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32405 (fdim_test_data): New variable.
32406 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32407 (fmax_test_data): New variable.
32408 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32409 (fmin_test_data): New variable.
32410 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32411 (fmod_test_data): New variable.
32412 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32413 (hypot_test_data): New variable.
32414 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32415 (nextafter_test_data): New variable.
32416 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32417 (nexttoward_test_data): New variable.
32418 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32419 (pow_test_data): New variable.
32420 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32421 (pow_tonearest_test_data): New variable.
32422 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32423 (pow_towardzero_test_data): New variable.
32424 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32425 (pow_downward_test_data): New variable.
32426 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32427 (pow_upward_test_data): New variable.
32428 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32429 (remainder_test_data): New variable.
32430 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32431 (scalb_test_data): New variable.
32432 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32433 * sysdeps/i386/fpu/libm-test-ulps: Update.
32435 2013-05-11 Joseph Myers <joseph@codesourcery.com>
32437 * math/libm-test.inc (fma_test): Use max_value instead of local
32439 (nextafter_test): Likewise.
32441 * math/libm-test.inc (acos_towardzero_test_data): New variable.
32442 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32443 (acos_downward_test_data): New variable.
32444 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32445 (acos_upward_test_data): New variable.
32446 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32447 (acosh_test_data): New variable.
32448 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32449 (asin_test_data): New variable.
32450 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32451 (asin_tonearest_test_data): New variable.
32452 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32453 (asin_towardzero_test_data): New variable.
32454 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32455 (asin_downward_test_data): New variable.
32456 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32457 (asin_upward_test_data): New variable.
32458 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32459 (asinh_test_data): New variable.
32460 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32461 (atan_test_data): New variable.
32462 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32463 (atanh_test_data): New variable.
32464 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32465 (cbrt_test_data): New variable.
32466 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32467 (ceil_test_data): New variable.
32468 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32469 (cos_test_data): New variable.
32470 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32471 (cos_tonearest_test_data): New variable.
32472 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32473 (cos_towardzero_test_data): New variable.
32474 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32475 (cos_downward_test_data): New variable.
32476 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32477 (cos_upward_test_data): New variable.
32478 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32479 (cosh_test_data): New variable.
32480 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32481 (cosh_tonearest_test_data): New variable.
32482 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32483 (cosh_towardzero_test_data): New variable.
32484 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32485 (cosh_downward_test_data): New variable.
32486 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32487 (cosh_upward_test_data): New variable.
32488 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32489 (erf_test_data): New variable.
32490 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32491 (erfc_test_data): New variable.
32492 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32493 (exp_test_data): New variable.
32494 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32495 (exp_tonearest_test_data): New variable.
32496 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32497 (exp_towardzero_test_data): New variable.
32498 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32499 (exp_downward_test_data): New variable.
32500 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32501 (exp_upward_test_data): New variable.
32502 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32503 (exp10_test_data): New variable.
32504 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32505 (exp2_test_data): New variable.
32506 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32507 (expm1_test_data): New variable.
32508 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32509 (fabs_test_data): New variable.
32510 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32511 (floor_test_data): New variable.
32512 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32513 (j0_test_data): New variable.
32514 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32515 (j1_test_data): New variable.
32516 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32517 (log_test_data): New variable.
32518 (log_test): Run tests with RUN_TEST_LOOP_f_f.
32519 (log10_test_data): New variable.
32520 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32521 (log1p_test_data): New variable.
32522 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32523 (log2_test_data): New variable.
32524 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32525 (logb_test_data): New variable.
32526 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32527 (logb_downward_test_data): New variable.
32528 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32529 (nearbyint_test_data): New variable.
32530 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32531 (rint_test_data): New variable.
32532 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32533 (rint_tonearest_test_data): New variable.
32534 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32535 (rint_towardzero_test_data): New variable.
32536 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32537 (rint_downward_test_data): New variable.
32538 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32539 (rint_upward_test_data): New variable.
32540 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32541 (round_test_data): New variable.
32542 (round_test): Run tests with RUN_TEST_LOOP_f_f.
32543 (sin_test_data): New variable.
32544 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32545 (sin_tonearest_test_data): New variable.
32546 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32547 (sin_towardzero_test_data): New variable.
32548 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32549 (sin_downward_test_data): New variable.
32550 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32551 (sin_upward_test_data): New variable.
32552 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32553 (sinh_test_data): New variable.
32554 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32555 (sinh_tonearest_test_data): New variable.
32556 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32557 (sinh_towardzero_test_data): New variable.
32558 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32559 (sinh_downward_test_data): New variable.
32560 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32561 (sinh_upward_test_data): New variable.
32562 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32563 (sqrt_test_data): New variable.
32564 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32565 (tan_test_data): New variable.
32566 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32567 (tan_tonearest_test_data): New variable.
32568 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32569 (tan_towardzero_test_data): New variable.
32570 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32571 (tan_downward_test_data): New variable.
32572 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32573 (tan_upward_test_data): New variable.
32574 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32575 (tanh_test_data): New variable.
32576 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32577 (tgamma_test_data): New variable.
32578 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32579 (trunc_test_data): New variable.
32580 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32581 (y0_test_data): New variable.
32582 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32583 (y1_test_data): New variable.
32584 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32585 (significand_test_data): New variable.
32586 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32588 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
32591 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32593 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
32595 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32597 2013-05-10 Andreas Jaeger <aj@suse.de>
32600 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32601 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32603 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32605 * math/gen-libm-test.pl (adjust_arg): New function.
32606 (special_functions): Handle generating output in both functions
32608 (parse_args): Likewise.
32609 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
32610 $in_func argument to parse_args.
32611 * math/libm-test.inc (struct test_f_f_data): New type.
32612 (IF_ROUND_INIT_): New macro.
32613 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32614 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32615 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32616 (IF_ROUND_INIT_FE_UPWARD): Likewise.
32617 (ROUND_RESTORE_): Likewise.
32618 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32619 (ROUND_RESTORE_FE_TONEAREST): Likewise.
32620 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32621 (ROUND_RESTORE_FE_UPWARD): Likewise.
32622 (RUN_TEST_LOOP_f_f): New macro.
32623 (acos_test_data): New variable.
32624 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32625 (acos_tonearest_test_data): New variable.
32626 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32628 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32630 * benchtests/bench-skeleton.c (startup): Fix coding style.
32632 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32635 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32636 negative infinity argument.
32637 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32638 negative infinity argument.
32639 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32640 negative infinity argument.
32641 * math/libm-test.inc (tgamma_test): Expect errno to be set for
32644 2013-05-10 Florian Weimer <fweimer@redhat.com>
32646 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32647 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32648 * iconv/iconv_prog.c (main): Likewise.
32649 * locale/programs/charmap-dir.c (charmap_readdir)
32650 (fopen_uncompressed): Likewise.
32651 * locale/programs/locfile.c (siblings_uncached)
32652 (write_locale_data): Use lstat64 instead of lstat.
32653 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32656 2013-05-10 Andreas Jaeger <aj@suse.de>
32659 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32661 Include <locale.h>.
32663 2013-05-09 Carlos O'Donell <carlos@redhat.com>
32665 * elf/dl-close.c (_dl_close_worker): Add comments.
32667 2013-05-09 Joseph Myers <joseph@codesourcery.com>
32670 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32672 (__ieee754_rem_pio2l): Update comments.
32675 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32677 (__ieee754_rem_pio2l): Update comments.
32679 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32680 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32682 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32685 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32686 (M_PI_34_LOG10El): Likewise.
32687 (M_PI2_LOG10El): Likewise.
32688 (M_PI4_LOG10El): Likewise.
32689 (M_PI_LOG10El): Likewise.
32691 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32695 2013-05-08 Joseph Myers <joseph@codesourcery.com>
32697 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32698 (MINUS_ZERO_INIT): Likewise.
32699 (PLUS_INFTY_INIT): Likewise.
32700 (MINUS_INFTY_INIT): Likewise.
32701 (QNAN_VALUE_INIT): Likewise.
32702 (MAX_VALUE_INIT): Likewise.
32703 (MIN_VALUE_INIT): Likewise.
32704 (MIN_SUBNORM_VALUE_INIT): Likewise.
32705 (plus_zero): Initialize with PLUS_ZERO_INIT.
32706 (minus_zero): Initialize with MINUS_ZERO_INIT.
32707 (plus_infty): Initialize with PLUS_INFTY_INIT.
32708 (minus_infty): Initialize with MINUS_INFTY_INIT.
32709 (qnan_value): Initialize with QNAN_VALUE_INIT.
32710 (max_value): Initialize with MAX_VALUE_INIT.
32711 (min_value): Initialize with MIN_VALUE_INIT.
32712 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32714 * math/libm-test.inc (RUN_TEST_if_f): New macro.
32715 (jn_test): Use TEST_if_f instead of TEST_ff_f.
32716 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32717 (yn_test): Use TEST_if_f instead of TEST_ff_f.
32719 * math/libm-test.inc (RUN_TEST_f_f): New macro.
32720 (RUN_TEST_2_f): Likewise.
32721 (RUN_TEST_ff_f): Likewise.
32722 (RUN_TEST_fi_f): Likewise.
32723 (RUN_TEST_fl_f): Likewise.
32724 (RUN_TEST_fff_f): Likewise.
32725 (RUN_TEST_c_f): Likewise.
32726 (RUN_TEST_f_f1): Likewise.
32727 (RUN_TEST_fF_f1): Likewise.
32728 (RUN_TEST_fI_f1): Likewise.
32729 (RUN_TEST_ffI_f1): Likewise.
32730 (RUN_TEST_c_c): Likewise.
32731 (RUN_TEST_cc_c): Likewise.
32732 (RUN_TEST_f_i): Likewise.
32733 (RUN_TEST_f_i_tg): Likewise.
32734 (RUN_TEST_ff_i_tg): Likewise.
32735 (RUN_TEST_f_b): Likewise.
32736 (RUN_TEST_f_b_tg): Likewise.
32737 (RUN_TEST_f_l): Likewise.
32738 (RUN_TEST_f_L): Likewise.
32739 (RUN_TEST_sincos): Likewise.
32740 * math/gen-libm-test.pl (new_test): Take new argument to indicate
32741 whether to show exceptions. Do not include ");\n" in return
32743 (special_functions): Output call to RUN_TEST_sincos instead of
32744 check_float calls. Update calls to new_test.
32745 (parse_args): Output call to single RUN_TEST_* macro instead of
32746 check_* calls and other assignments. Update calls to new_test.
32752 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32753 input to result for tgamma overflow.
32754 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32755 (gamma_coeff): New variable.
32756 (NCOEFF): New macro.
32757 (gamma_positive): New function.
32758 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32759 underflow here. Use gamma_positive instead of exp (lgamma) for
32761 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32762 (gamma_coeff): New variable.
32763 (NCOEFF): New macro.
32764 (gammaf_positive): New function.
32765 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32766 underflow here. Use gamma_positive instead of exp (lgamma) for
32768 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32769 (gamma_coeff): New variable.
32770 (NCOEFF): New macro.
32771 (gammal_positive): New function.
32772 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32773 underflow here. Use gamma_positive instead of exp (lgamma) for
32775 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32776 (gamma_coeff): New variable.
32777 (NCOEFF): New macro.
32778 (gammal_positive): New function.
32779 (__ieee754_gammal_r): Handle positive infinity, overflow and
32780 underflow here. Handle NaN the same as positive infinity. Remove
32781 check x < 0xffffffff for negative integers. Use gamma_positive
32782 instead of exp (lgamma) for other arguments.
32783 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32784 (gamma_coeff): New variable.
32785 (NCOEFF): New macro.
32786 (gammal_positive): New function.
32787 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32788 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32789 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32790 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32791 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32792 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32793 * sysdeps/generic/math_private.h (__gamma_productf): New
32795 (__gamma_product): Likewise.
32796 (__gamma_productl): Likewise.
32797 * math/Makefile (libm-calls): Add gamma_product.
32798 * math/libm-test.inc (tgamma_test): Add more tests.
32799 * sysdeps/i386/fpu/libm-test-ulps: Update.
32800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32802 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
32804 * benchtests/bench-skeleton.c (main): Preheat CPU.
32806 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
32808 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32810 2013-05-07 Roland McGrath <roland@hack.frob.com>
32812 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32813 and _dl_skip_args_internal.
32815 2013-05-07 Carlos O'Donell <carlos@redhat.com>
32817 * manual/message.texi (Message Translation): Talk about users.
32818 Message to key mapping impacts design.
32820 2013-05-06 Roland McGrath <roland@hack.frob.com>
32822 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32824 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32826 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32827 * sysdeps/wordsize-64/glob64.c: ... here.
32829 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32830 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32833 * debug/getlogin_r_chk.c: Moved to ...
32834 * login/getlogin_r_chk.c: ... here.
32835 * debug/Makefile (routines): Move getlogin_r_chk to ...
32836 * login/Makefile (routines): ... here.
32837 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32838 * login/Versions (libc: GLIBC_2.4): ... here.
32840 * io/poll.c (__poll): Renamed from poll.
32841 Add libc_hidden_def.
32842 (poll): Define as weak alias.
32844 * debug/ptsname_r_chk.c: Moved to ...
32845 * login/ptsname_r_chk.c: ... here.
32846 * debug/Makefile (routines): Move ptsname_r_chk to ...
32847 * login/Makefile (routines): ... here.
32848 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32849 * login/Versions (libc: GLIBC_2.4): ... here.
32851 * posix/getlogin.c: Moved to ...
32852 * login/getlogin.c: ... here.
32853 * posix/getlogin_r.c: Moved to ...
32854 * login/getlogin_r.c: ... here.
32855 * posix/getlogin_r.c: Moved to ...
32856 * login/getlogin_r.c: ... here.
32857 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32858 * login/Makefile (routines): ... here.
32859 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32860 * login/Versions (libc: GLIBC_2.0): ... here.
32862 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32863 (setrlimit): Define as weak alias.
32865 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32866 Call __ names for open, ftruncate, and close.
32867 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32868 (truncate): Define as weak alias.
32870 2013-05-06 Joseph Myers <joseph@codesourcery.com>
32872 * math/gen-libm-test.pl (parse_args): Initialize x before each
32873 test of frexp, modf and remquo.
32875 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32876 test signgam value.
32878 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32882 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32884 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32886 2013-05-06 Roland McGrath <roland@hack.frob.com>
32888 * elf/dl-writev.h: New file.
32889 * elf/dl-misc.c: Include it.
32890 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32891 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32893 2013-05-04 Joseph Myers <joseph@codesourcery.com>
32895 * math/libm-test.inc (noXFails): Remove variable.
32896 (noXPasses): Likewise.
32897 (BUILD_COMPLEX_INT): Remove macro.
32898 (print_screen): Remove xfail argument.
32899 (print_screen_max_error): Likewise.
32900 (update_stats): Likewise.
32901 (print_max_error): Likewise. Update calls to other affected
32903 (print_complex_max_error): Likewise.
32904 (test_single_exception): Update calls to print_screen.
32905 (test_single_errno): Likewise.
32906 (check_float_internal): Remove xfail argument. Update calls to
32907 other affected functions.
32908 (check_float): Likewise.
32909 (check_complex): Likewise.
32910 (check_int): Likewise.
32911 (check_long): Likewise.
32912 (check_bool): Likewise.
32913 (check_longlong): Likewise.
32914 (main): Don't print noXFails and noXPasses.
32915 * math/gen-libm-test.pl (top level): Don't mention expected
32916 failure handling in comment.
32917 (new_test): Don't handle expected failures.
32918 (parse_args): Don't mention expected failure handling in comment.
32919 (generate_testfile): Don't handle expected failures.
32920 (parse_ulps): Likewise.
32921 (print_ulps_file): Likewise.
32922 (get_failure): Remove function.
32923 (output_test): Don't handle expected failures.
32924 * make/README.libm-test: Don't mention expected failure handling.
32926 * math/libm-test.inc (plus_zero): Make const. Add initializer.
32927 (minus_zero): Likewise.
32928 (plus_infty): Likewise.
32929 (minus_infty): Likewise.
32930 (qnan_value): Likewise.
32931 (max_value): Likewise.
32932 (min_value): Likewise.
32933 (min_subnorm_value): Likewise.
32934 (initialize): Do not initialize those variables dynamically.
32936 2013-05-03 Roland McGrath <roland@hack.frob.com>
32938 * io/open.c (__open_2): Moved to ...
32939 * io/open_2.c: ... this new file.
32940 * io/open64.c (__open64_2): Moved to ...
32941 * io/open64_2.c: ... this new file.
32942 * io/openat.c (__openat_2): Moved to ...
32943 * io/openat_2.c: ... this new file.
32944 * io/openat64.c (__openat64_2): Moved to ...
32945 * io/openat64_2.c: ... this new file.
32946 * io/Makefile (routines): Add them.
32947 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32948 * sysdeps/unix/sysv/linux/open_2.c: File removed.
32949 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32950 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32951 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32952 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32953 (__openat64): Add hidden_ver.
32954 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32955 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32957 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32958 Separately conditionalize setting of GLRO(dl_sysinfo) so
32959 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32960 as well, but the actual setting is only under [NEED_DL_SYSINFO].
32962 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32964 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32965 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32967 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32968 * sysdeps/unix/sysv/linux/powerpc/init-first.c
32969 (_libc_vdso_platform_setup): Add __vdso_time initialization.
32970 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32971 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32973 2013-05-03 Joseph Myers <joseph@codesourcery.com>
32975 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32976 test signgam value.
32978 * math/libm-test.inc (hypot_test): Do not use
32979 IGNORE_ZERO_INF_SIGN.
32981 2013-05-03 Andreas Jaeger <aj@suse.de>
32983 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32985 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32986 (PF_MAX): Adjust for VSOCK change.
32988 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32992 2013-05-02 Carlos O'Donell <carlos@redhat.com>
32995 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32996 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32997 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32999 2013-05-02 David S. Miller <davem@davemloft.net>
33001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33003 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
33005 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33007 2013-05-01 Roland McGrath <roland@hack.frob.com>
33009 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33011 2013-05-01 Richard Smith <richard@metafoo.co.uk>
33014 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33015 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33016 Use __attribute__ ((__gnu_inline__)).
33017 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33018 Don't use __attribute__ ((__gnu_inline__)).
33020 2013-05-01 Joseph Myers <joseph@codesourcery.com>
33023 * math/s_catan.c (__catan): Handle small real or imaginary part of
33024 input specially to avoid spurious underflow.
33025 * math/s_catanf.c (__catanf): Likewise.
33026 * math/s_catanh.c (__catanh): Likewise.
33027 * math/s_catanhf.c (__catanhf): Likewise.
33028 * math/s_catanhl.c (__catanhl): Likewise.
33029 * math/s_catanl.c (__catanl): Likewise.
33030 * math/libm-test.inc (catan_test): Add more tests.
33031 (catanh_test): Likewise.
33032 * sysdeps/i386/fpu/libm-test-ulps: Update.
33033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33035 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33039 2013-04-30 Joseph Myers <joseph@codesourcery.com>
33042 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33043 accurately for denominator in atan2.
33044 * math/s_catanf.c (__catanf): Likewise.
33045 * math/s_catanh.c (__catanh): Likewise.
33046 * math/s_catanhf.c (__catanhf): Likewise.
33047 * math/s_catanhl.c (__catanhl): Likewise.
33048 * math/s_catanl.c (__catanl): Likewise.
33049 * math/libm-test.inc (catan_test): Add more tests.
33050 (catanh_test): Likewise.
33051 * sysdeps/i386/fpu/libm-test-ulps: Update.
33052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33054 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33056 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33058 * benchtests/Makefile (bench): Remove slow benchmarks.
33059 * benchtests/atan-inputs: Add slow benchmark inputs.
33060 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33061 (BENCH_FUNC): Accept variant offset.
33063 * benchtests/bench-skeleton.c (main): Run benchmark for each
33065 * benchtests/cos-inputs: Add slow benchmark inputs.
33066 * benchtests/exp-inputs: Likewise.
33067 * benchtests/pow-inputs: Likewise.
33068 * benchtests/sin-inputs: Likewise.
33069 * benchtests/slowatan-inputs: Remove.
33070 * benchtests/slowatan.c: Remove.
33071 * benchtests/slowcos-inputs: Remove.
33072 * benchtests/slowcos.c: Remove.
33073 * benchtests/slowexp-inputs: Remove.
33074 * benchtests/slowexp.c: Remove.
33075 * benchtests/slowpow-inputs: Remove.
33076 * benchtests/slowpow.c: Remove.
33077 * benchtests/slowsin-inputs: Remove.
33078 * benchtests/slowsin.c: Remove.
33079 * benchtests/slowtan-inputs: Remove.
33080 * benchtests/slowtan.c: Remove.
33081 * benchtests/tan-inputs: Add slow benchmark inputs.
33082 * scripts/bench.pl: Parse comments and directives.
33084 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33086 ($(objpfx)bench-%.c): Remove *-ITER.
33087 * benchtests/bench-modf.c: Remove definition of ITER.
33088 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33089 (main): Loop for DURATION seconds instead of fixed number of
33091 * scripts/bench.pl: Don't expect iterations in parameters.
33093 2013-04-29 Roland McGrath <roland@hack.frob.com>
33095 * io/fchdir.c (__fchdir): Renamed from fchdir.
33096 (fchdir): Define as weak alias.
33098 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33100 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33101 (ERRNO_EDOM): Likewise.
33102 (ERRNO_ERANGE): Likewise.
33103 (noErrnoTests): New variable.
33104 (init_max_error): Set errno to 0.
33105 (test_single_errno): New function.
33106 (test_errno): Likewise.
33107 (check_float_internal): Call test_errno. Set errno to 0.
33108 (check_complex): Refer to errno tests in comment.
33109 (check_int): Call test_errno. Set errno to 0.
33110 (check_long): Likewise.
33111 (check_bool): Likewise.
33112 (check_longlong): Likewise.
33113 (cos_test): Use ERRNO_* flags for errno tests instead of
33115 (expm1_test): Likewise.
33116 (fmod_test): Likewise.
33117 (ilogb_test): Likewise.
33118 (lgamma_test): Likewise.
33119 (pow_test): Likewise.
33120 (remainder_test): Likewise.
33121 (sin_test): Likewise.
33122 (tan_test): Likewise.
33123 (yn_test): Likewise.
33124 (initialize): Set errno to 0.
33125 (main): Print number of errno tests.
33126 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33128 2013-04-29 Andreas Jaeger <aj@suse.de>
33131 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33135 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33136 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33140 * stdlib/random.c (__initstate): Return NULL if
33144 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33145 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33148 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33152 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33154 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33155 of individual tests.
33156 (casin_test): Likewise.
33157 (casinh_test): Likewise.
33159 2013-04-27 Joseph Myers <joseph@codesourcery.com>
33162 * math/s_catan.c (__catan): Handle arguments with large real or
33163 imaginary part separately without squaring.
33164 * math/s_catanf.c (__catanf): Likewise.
33165 * math/s_catanh.c (__catanh): Likewise.
33166 * math/s_catanhf.c (__catanhf): Likewise.
33167 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33169 (__catanhl): Handle arguments with large real or imaginary part
33170 separately without squaring.
33171 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33173 (__catanl): Handle arguments with large real or imaginary part
33174 separately without squaring.
33175 * math/libm-test.inc (catan_test): Add more tests.
33176 (catanh_test): Likewise.
33177 * sysdeps/i386/fpu/libm-test-ulps: Update.
33178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33180 2013-04-27 Andreas Jaeger <aj@suse.de>
33183 * stdlib/stdlib.h: Update guards for qecvt.
33184 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33187 2013-04-27 Allan McRae <allan@archlinux.org>
33189 * sysdeps/i386/fpu/libm-test-ulps: Update.
33191 2013-04-26 Joseph Myers <joseph@codesourcery.com>
33194 * math/s_catan.c: Include <float.h>.
33195 (__catan): Ensure underflow exception occurs for underflowed
33197 * math/s_catanf.c: Include <float.h>.
33198 (__catanf): Ensure underflow exception occurs for underflowed
33200 * math/s_catanh.c: Include <float.h>.
33201 (__catanh): Ensure underflow exception occurs for underflowed
33203 * math/s_catanhf.c: Include <float.h>.
33204 (__catanhf): Ensure underflow exception occurs for underflowed
33206 * math/s_catanhl.c: Include <float.h>.
33207 (__catanhl): Ensure underflow exception occurs for underflowed
33209 * math/s_catanl.c: Include <float.h>.
33210 (__catanl): Ensure underflow exception occurs for underflowed
33212 * math/libm-test.inc (catan_test): Add more tests.
33213 (catanh_test): Likewise.
33216 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33217 underflowed result.
33218 * math/s_ccoshf.c (__ccoshf): Likewise.
33219 * math/s_ccoshl.c (__ccoshl): Likewise.
33220 * math/s_csin.c (__csin): Likewise.
33221 * math/s_csinf.c (__csinf): Likewise.
33222 * math/s_csinh.c (__csinh): Likewise.
33223 * math/s_csinhf.c (__csinhf): Likewise.
33224 * math/s_csinhl.c (__csinhl): Likewise.
33225 * math/s_csinl.c (__csinl): Likewise.
33226 * math/libm-test.inc (ccos_test): Add more tests.
33227 (ccosh_test): Likewise.
33228 (csin_test): Likewise.
33229 (csinh_test): Likewise.
33231 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33233 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33234 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33235 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33236 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33237 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33238 powerpc/power5+/fpu folders.
33239 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33242 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33246 2013-04-25 Joseph Myers <joseph@codesourcery.com>
33248 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33249 additions to variable.
33250 [$(config-machine) = x86_64] (modules-names): Likewise.
33251 ($(objpfx)tst-audit3): Remove dependency.
33252 ($(objpfx)tst-audit3.out): Likewise.
33253 ($(objpfx)tst-audit4): Likewise.
33254 ($(objpfx)tst-audit4.out): Likewise.
33255 ($(objpfx)tst-audit5): Likewise.
33256 ($(objpfx)tst-audit5.out): Likewise.
33257 ($(objpfx)tst-audit6): Likewise.
33258 ($(objpfx)tst-audit6.out): Likewise.
33259 ($(objpfx)tst-audit7): Likewise.
33260 ($(objpfx)tst-audit7.out): Likewise.
33261 (tst-audit3-ENV): Remove variable.
33262 (tst-audit4-ENV): Likewise.
33263 (tst-audit5-ENV): Likewise.
33264 (tst-audit6-ENV): Likewise.
33265 (tst-audit7-ENV): Likewise.
33266 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33267 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33268 addition to variable.
33269 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33270 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33271 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33272 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33273 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33274 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33275 tst-audit3, tst-audit4 and tst-audit5.
33276 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33277 tst-audit6 and tst-audit7.
33278 [$(subdir) = elf] (modules-names): Add audit modules for those
33280 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33281 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33282 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33283 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33284 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33285 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33286 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33287 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33288 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33289 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33290 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33291 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33292 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33293 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33294 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33295 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33297 [$(subdir) = elf && $(config-cflags-avx) = yes]
33298 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33299 [$(subdir) = elf && $(config-cflags-avx) = yes]
33300 (CFLAGS-tst-auditmod4a.c): Likewise.
33301 [$(subdir) = elf && $(config-cflags-avx) = yes]
33302 (CFLAGS-tst-auditmod4b.c): Likewise.
33303 [$(subdir) = elf && $(config-cflags-avx) = yes]
33304 (CFLAGS-tst-auditmod6b.c): Likewise.
33305 [$(subdir) = elf && $(config-cflags-avx) = yes]
33306 (CFLAGS-tst-auditmod6c.c): Likewise.
33307 [$(subdir) = elf && $(config-cflags-avx) = yes]
33308 (CFLAGS-tst-auditmod7b.c): Likewise.
33309 * elf/tst-audit3.c: Move to ...
33310 * sysdeps/x86_64/tst-audit3.c: ... here.
33311 * elf/tst-audit4.c: Move to ...
33312 * sysdeps/x86_64/tst-audit4.c: ... here.
33313 * elf/tst-audit5.c: Move to ...
33314 * sysdeps/x86_64/tst-audit5.c: ... here.
33315 * elf/tst-audit6.c: Move to ...
33316 * sysdeps/x86_64/tst-audit6.c: ... here.
33317 * elf/tst-audit7.c: Move to ...
33318 * sysdeps/x86_64/tst-audit7.c: ... here.
33319 * elf/tst-auditmod3a.c: Move to ...
33320 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33321 * elf/tst-auditmod3b.c: Move to ...
33322 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33323 * elf/tst-auditmod4a.c: Move to ...
33324 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33325 * elf/tst-auditmod4b.c: Move to ...
33326 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33327 * elf/tst-auditmod5a.c: Move to ...
33328 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33329 * elf/tst-auditmod5b.c: Move to ...
33330 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33331 * elf/tst-auditmod6a.c: Move to ...
33332 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33333 * elf/tst-auditmod6b.c: Move to ...
33334 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33335 * elf/tst-auditmod6c.c: Move to ...
33336 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33337 * elf/tst-auditmod7a.c: Move to ...
33338 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33339 * elf/tst-auditmod7b.c: Move to ...
33340 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33342 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33345 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33346 define unconditionally.
33347 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33348 define unconditionally.
33349 (INT8_C, INT16_C, etc.): Likewise.
33351 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33353 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33354 __ehdr_start with hidden visibility.
33356 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33358 2013-04-24 Carlos O'Donell <carlos@redhat.com>
33360 * math/libm-test.inc (cos_test): Use accurate hex constants.
33361 (sincost_test): Likewise.
33363 2013-04-24 Joseph Myers <joseph@codesourcery.com>
33365 * math/libm-test.inc (catan_test): Add more tests.
33366 (catanh_test): Likewise.
33368 * math/s_catanf.c (__catanf): Use suffixed floating-point
33370 * math/s_catanhf.c (__catanhf): Likewise.
33371 * math/s_catanhl.c (__catanhl): Likewise.
33372 * math/s_catanl.c (__catanl): Likewise.
33375 * math/s_catan.c (__catan): Calculate imaginary part of result
33376 with log1p not log unless computing log of number close to 0.
33377 * math/s_catanf.c (__catanf): Likewise.
33378 * math/s_catanl.c (__catanl): Likewise.
33379 * math/s_catanh.c (__catanh): Calculate real part of result with
33380 log1p not log unless computing log of number close to 0.
33381 * math/s_catanhf.c (__catanhf): Likewise.
33382 * math/s_catanhl.c (__catanhl): Likewise.
33383 * math/libm-test.inc (catan_test): Add more tests.
33384 (catanh_test): Likewise.
33385 * sysdeps/i386/fpu/libm-test-ulps: Update.
33386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33388 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33390 * benchtests/Makefile: Mention files in which fast and slow
33391 paths of math functions are implemented.
33393 2013-04-23 Roland McGrath <roland@hack.frob.com>
33395 * sysdeps/posix/timespec_get.c: New file.
33397 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33399 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33401 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33403 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33404 powerpc/power5/fpu folders.
33405 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33406 * benchtests/Makefile: Add modf testcase.
33407 * benchtests/bench-modf.c: New file: Benchmark test for mo
33409 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33412 * time/Makefile (tests): Add tst-strptime-whitespace.
33413 * time/strptime_l.c (get_number): Use ISSPACE.
33414 (__strptime_internal): Likewise.
33415 * time/tst-strptime-whitespace.c: New test case.
33417 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
33419 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33421 (_nss_files_init): Set it here.
33423 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
33425 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33426 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33429 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
33431 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33433 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33435 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33438 2013-04-21 David S. Miller <davem@davemloft.net>
33440 * po/ru.po: Update Russion translation from translation project.
33442 2013-04-17 Adam Conrad <adconrad@0c3.net>
33444 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33447 2013-04-17 Carlos O'Donell <carlos@redhat.com>
33449 * configure.in: Remove i386 configure warning. Remove i386 case.
33450 * configure: Regenerate.
33451 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33452 Add example to error message.
33453 * sysdeps/i386/configure: Regenerate.
33455 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33457 * benchtests/Makefile (bench): Add cos, tan, slowcos and
33459 * benchtests/cos-inputs: New file.
33460 * benchtests/slowcos-inputs: New file.
33461 * benchtests/slowcos.c: New file.
33462 * benchtests/slowtan-inputs: New file.
33463 * benchtests/slowtan.c: New file.
33464 * benchtests/tan-inputs: New file.
33466 2013-04-16 Roland McGrath <roland@hack.frob.com>
33468 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33471 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33473 * benchtests/Makefile: Include cppflags-iterator.mk to add
33474 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33476 * Makefile.in (bench-clean): New target.
33477 * benchtests/Makefile (bench-clean): Likewise.
33479 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
33481 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33483 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
33485 * stdio-common/tstdiomisc.c: Fix coding-style violation.
33487 2013-04-15 Andreas Schwab <schwab@suse.de>
33489 * nscd/grpcache.c (cache_addgr): Properly check for short write.
33490 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33491 * nscd/pwdcache.c (cache_addpw): Likewise.
33492 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
33495 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33497 * benchtests/Makefile (bench): Write all output to
33498 bench-out.tmp together.
33500 2013-04-15 Andreas Schwab <schwab@suse.de>
33502 * nscd/nscd.c (main): Don't fork again after closing files.
33504 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33506 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33508 * benchtests/Rules (bench-deps): Collect dependencies into a
33509 single variable. Add Makefile to dependencies.
33510 ($(objpfx)bench-%.c): Depend on bench-deps.
33512 2013-04-12 Roland McGrath <roland@hack.frob.com>
33513 Xavier Roche <roche+kml2@exalead.com>
33516 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33517 just that it's a file descriptor.
33518 * manual/llio.texi (Synchronizing AIO Operations): Update description
33519 for EBADF error from aio_fsync.
33521 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33523 * Rules (bench): Move target definition...
33524 * benchtests/Makefile: ... here.
33526 2013-04-11 Carlos O'Donell <carlos@redhat.com>
33528 * math/libm-test.inc (cos_test): Fix PI/2 test.
33529 (sincos_test): Likewise.
33530 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33531 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33533 2013-04-11 Andreas Schwab <schwab@suse.de>
33536 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33537 accept exponent character only when digits were seen.
33538 * stdio-common/Makefile (tests): Add bug26.
33539 * stdio-common/bug26.c: New file.
33542 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33545 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33547 * Makeconfig (rtld-prefix): Define built linker prefix.
33548 * Rules (run-bench): Use it.
33549 * math/Makefile (run-regen-ulps): Likewise.
33551 * Rules (bench): Remove eval.
33553 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33554 Roland McGrath <roland@hack.frob.com>
33555 Ondrej Bilka <neleai@seznam.cz>
33558 * time/getdate.c: Include ctype.h and alloca.h.
33559 (__getdate_r): Trim leading and trailing spaces of input.
33560 * time/tst-getdate.c (tests): Add tests with leading and
33563 2013-04-08 Roland McGrath <roland@hack.frob.com>
33566 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33567 when computing value.
33569 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33571 * math/README.libm-test (How can I generate "libm-test-ulps"?):
33572 Use testrun.sh to run libm tests.
33575 * elf/dl-open.c (dl_open_worker): memset all of seen array.
33577 2013-04-06 Marko Myllynen <myllynen@redhat.com>
33580 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33582 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33584 * Makefile.in (regen-ulps): New target.
33585 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33586 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33587 [ifneq (no,$(PERL)] (regen-ulps): New target.
33588 [ifeq (no,$(PERL)] (regen-ulps): New target.
33589 * math/libm-test.inc (ulps_file_name): Define.
33590 (output_dir): New variable.
33591 (options): Add "output-dir" option.
33592 (parse_opt): Handle 'o' case.
33593 (main): If output_dir is non-NULL use it as a prefix
33595 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33597 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33599 [BZ #10060, #10062]
33600 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33601 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33602 fail configure if __sync_val_compare_and_swap is not inlined.
33603 * sysdeps/i386/configure: Regenerate.
33604 * configure.in: Build for i686 when configured for i386.
33605 * configure: Regenerate.
33606 * README: Remove i386 reference.
33608 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33610 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33611 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33613 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
33615 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33616 (lmsnanval): New variables.
33617 (F): Add conversion tests.
33618 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33619 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33621 * stdio-common/tstdiomisc.c (F): Properly collect individual
33624 [BZ #14686, #15336]
33625 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33626 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33627 Instead, use input NaN values or generate a qNaN by arithmetic
33628 operation. Also fix bugs to comply with the standard.
33629 * math/libm-test.inc (remainder_test): Add more tests.
33631 [BZ #15335, #15342]
33632 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33634 input NaN values or generate a qNaN by arithmetic operation.
33636 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33639 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33642 2013-04-03 Joseph Myers <joseph@codesourcery.com>
33645 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33646 underflowed result.
33647 * math/s_cexpf.c (__cexpf): Likewise.
33648 * math/s_cexpl.c (__cexpl): Likewise.
33649 * math/libm-test.inc (cexp_test): Add more tests.
33651 2013-04-03 Andreas Schwab <schwab@suse.de>
33654 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33655 order arrays from heap if bigger than alloca cutoff.
33657 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
33659 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33660 (SNAN_TESTS_double): Refer to GCC PR56831.
33661 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33664 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33666 * Rules (bench): Move bench.out after the run is complete.
33668 * Rules (bench): Echo currently running benchmark.
33670 * benchtests/Makefile (bench): Add atan and slowatan.
33671 * benchtests/atan-inputs: New file.
33672 * benchtests/slowatan-inputs: New file.
33673 * benchtests/slowatan.c: New file.
33675 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33676 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33680 * sysdeps/unix/sysv/linux/kernel-features.h
33681 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33682 __ASSUME_XFS_RESTRICTED_CHOWN.
33683 * sysdeps/unix/sysv/linux/pathconf.c
33684 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33685 Save and restore errno.
33687 2013-04-02 Joseph Myers <joseph@codesourcery.com>
33690 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33691 arguments using __kernel_casinh.
33692 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33693 arguments using __kernel_casinhf.
33694 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33695 arguments using __kernel_casinhl.
33696 * math/libm-test.inc (cacosh_test): Add more tests.
33697 * sysdeps/i386/fpu/libm-test-ulps: Update.
33698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33700 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33702 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33705 * bench/Makefile (bench): Add sin and slowsin.
33706 * benchtests/sin-inputs: New file.
33707 * benchtests/slowsin-inputs: New file.
33708 * benchtests/slowsin.c: New file.
33710 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33711 (bench): Add slowexp and slowpow.
33712 (exp-ITER): Increase iterations.
33713 (pow-ITER): Likewise.
33714 * benchtests/exp-inputs: Change input.
33715 * benchtests/pow-inputs: Likewise.
33716 * benchtests/slowexp-inputs: New file.
33717 * benchtests/slowexp.c: New file.
33718 * benchtests/slowpow-inputs: New file.
33719 * benchtests/slowpow.c: New file.
33721 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33723 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33725 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33726 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33727 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33728 * benchtests/Makefile: Add rint benchtest.
33729 * benchtests/rint-inputs: Input for rint benchtest.
33731 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
33733 * Versions.def (libm): Add GLIBC_2.18.
33734 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33735 hidden libm prototypes.
33736 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33737 * math/Makefile (libm-calls): Add s_issignaling.
33738 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33739 __issignalingf, __issignalingl. Adjust all libm.abilist files.
33740 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33742 * math/math.h [__USE_GNU] (issignaling): New macro.
33743 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33744 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33745 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33746 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33747 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33748 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33749 * manual/arith.texi (issignaling): New section.
33750 * manual/libm-err-tab.pl (@all_functions): Update comment.
33751 * math/gen-libm-test.pl (parse_args): Apply special handling for
33753 * math/libm-test.inc (print_float, issignaling_test): New
33755 (check_float_internal): Add issignaling checks.
33756 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33757 default definition.
33758 * sysdeps/powerpc/math-tests.h: New file.
33759 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33761 * math/test-snan.c (TEST_FUNC): Likewise.
33763 2013-03-30 David S. Miller <davem@davemloft.net>
33765 * po/de.po: Update from translation team.
33767 2013-03-30 Joseph Myers <joseph@codesourcery.com>
33770 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33771 imaginary part less than 1.0 and real part less than 0.5
33773 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33774 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33775 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33776 (cacos_test): Add more tests.
33777 (casin_test): Likewise.
33778 (casinh_test): Likewise.
33779 * sysdeps/i386/fpu/libm-test-ulps: Update.
33780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33782 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33784 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33785 ONE with its value.
33787 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33788 (__pow_mp): Replace ONE and MONE with their values.
33789 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33790 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33791 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33792 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33793 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33794 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33796 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33798 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33799 (__pow_mp): Replace ZERO and MZERO with their values.
33800 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33801 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33802 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33804 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33805 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33808 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33810 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33812 2013-03-28 Roland McGrath <roland@hack.frob.com>
33814 * include/stdlib.h [!SHARED] (__call_tls_dtors):
33815 Declare with __attribute__ ((weak)).
33816 * stdlib/exit.c (__libc_atexit) [!SHARED]:
33817 Call __call_tls_dtors only if it's not NULL.
33819 2013-03-28 Roland McGrath <roland@hack.frob.com>
33821 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33822 didn't do it already, then set _dl_phdr and _dl_phnum based on the
33823 magic __ehdr_start linker symbol if it's defined.
33824 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33825 them up here if it was already done.
33827 * elf/dl-support.c (_dl_phdr): Make pointer to const.
33828 (_dl_aux_init): Use const in cast when setting it.
33829 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33830 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33831 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33833 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33835 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33836 * csu/libc-tls.c: Nor here.
33837 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33839 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33840 (__libc_message): Never call vsyslog.
33842 2013-03-28 Alan Modra <amodra@gmail.com>
33844 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33846 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33849 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33852 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33856 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33859 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33860 Don't add gid passed as argument.
33862 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33864 2013-03-27 Joseph Myers <joseph@codesourcery.com>
33867 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33868 imaginary part between 1.0 and 1.5 and real part less than 0.5
33870 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33871 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33872 * math/libm-test.inc (cacos_test): Add more tests.
33873 (casin_test): Likewise.
33874 (casinh_test): Likewise.
33875 * sysdeps/i386/fpu/libm-test-ulps: Update.
33876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33878 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33880 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33883 (denorm): Likewise.
33884 (__dbl_mp): Likewise.
33885 (add_magnitudes): Likewise.
33886 (sub_magnitudes): Likewise.
33894 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33896 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33897 (__dubcos): Likewise.
33898 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33899 (__ieee754_acos): Likewise.
33900 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33901 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33902 (__exp1): Likewise.
33903 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33906 (my_log2): Likewise.
33907 (checkint): Likewise.
33908 * sysdeps/ieee754/dbl-64/e_remainder.c
33909 (__ieee754_remainder): Likewise.
33910 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33912 (bsloww): Likewise.
33913 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33915 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33916 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33917 MANTISSA_STORE_T to store computations on mantissa. Use
33918 macros for rounding and division.
33919 (denorm): Likewise.
33920 (__dbl_mp): Likewise.
33921 (add_magnitudes): Likewise.
33922 (sub_magnitudes): Likewise.
33925 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33926 powers of two in terms of TWOPOW macro.
33927 (mp_no): Make type of mantissa as MANTISSA_T.
33928 [!RADIXI]: Define RADIXI.
33929 [!TWO52]: Define TWO52.
33930 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33932 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33934 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33935 llroundl symbol when building for PPC32.
33937 2013-03-24 Mark H Weaver <mhw@netris.org>
33939 * manual/arith.texi (Normalization Functions): Fix prototypes for
33940 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33942 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33945 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33946 high value to check if expl overflow.
33947 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33948 to check for underflow and overflow.
33949 * math/libm-test.inc: Add exp test.
33951 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
33954 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33957 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33959 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33962 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
33964 * math/gen-libm-test.pl (parse_args, special_functions): Properly
33965 wrap blocks consisting of several statements.
33967 * sysdeps/generic/math-tests.h: New file.
33968 * sysdeps/i386/fpu/math-tests.h: Likewise.
33969 * math/test-snan.c: Include it.
33970 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33972 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33975 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33976 (__ieee754_j0l): Do not improve calculations using cos of twice
33977 input for inputs above LDBL_MAX / 2.0L.
33978 (__ieee754_y0l): Likewise.
33979 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33980 (__ieee754_j1l): Do not improve calculations using cos of twice
33981 input for inputs above LDBL_MAX / 2.0L.
33982 (__ieee754_y1l): Likewise.
33983 * math/libm-test.inc (j0_test): Add another test.
33984 (j1_test): Likewise.
33985 (y0_test): Likewise.
33986 (y1_test): Likewise.
33987 * sysdeps/i386/fpu/libm-test-ulps: Update.
33989 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33991 * Rules ($(objpfx)bench-%.c): Include code from a C source
33994 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33997 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33998 imaginary part 1.0 and real part less than 0.5 specially.
33999 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34000 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34001 * math/libm-test.inc (cacos_test): Add more tests.
34002 (casin_test): Likewise.
34003 (casinh_test): Likewise.
34004 * sysdeps/i386/fpu/libm-test-ulps: Update.
34005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34007 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34009 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34010 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34012 2013-03-20 Joseph Myers <joseph@codesourcery.com>
34014 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34015 * config.make.in (config-cflags-sse4): Remove variable.
34016 (config-cflags-avx): Likewise.
34017 (config-cflags-sse2avx): Likewise.
34018 (config-cflags-novzeroupper): Likewise.
34019 (config-asflags-i686): Likewise.
34020 (have-mfma4): Likewise.
34021 (have-as-vis3): Likewise.
34023 * configure.in (MIG): Do not AC_SUBST.
34024 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34025 (libc_cv_cc_sse4): Do not AC_SUBST.
34026 (libc_cv_cc_avx): Likewise.
34027 (libc_cv_cc_sse2avx): Likewise.
34028 (libc_cv_cc_novzeroupper): Likewise.
34029 (libc_cv_cc_fma4): Likewise.
34030 (libc_cv_as_i686): Likewise.
34031 (libc_cv_sparc_as_vis3): Likewise.
34032 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34034 (config-asflags-i686): Likewise.
34035 (config-cflags-avx): Likewise.
34036 (config-cflags-sse2avx): Likewise.
34037 (have-mfma4): Likewise.
34038 (config-cflags-novzeroupper): Likewise.
34039 * sysdeps/mach/configure.in (MIG): Likewise.
34040 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34041 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34043 (config-cflags-avx): Likewise.
34044 (config-cflags-sse2avx): Likewise.
34045 (have-mfma4): Likewise.
34046 (config-cflags-novzeroupper): Likewise.
34047 * configure: Regenerated.
34048 * sysdeps/i386/configure: Likewise.
34049 * sysdeps/mach/configure: Likewise.
34050 * sysdeps/sparc/configure: Likewise.
34051 * sysdeps/x86_64/configure: Likewise.
34053 2013-03-20 Roland McGrath <roland@hack.frob.com>
34056 * locale/programs/localedef.c (options): Put N_ translation marker
34057 on argument names, not just descriptions.
34059 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34061 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34063 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
34066 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34068 2013-03-19 Roland McGrath <roland@hack.frob.com>
34070 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34071 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34072 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34073 [!BEFORE_ABORT] (before_abort): New function.
34074 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34075 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34076 (writev_for_fatal): New function.
34077 (WRITEV_FOR_FATAL): New macro; call that.
34078 (backtrace_and_maps): New function.
34079 (BEFORE_ABORT): New macro; call that.
34080 (struct str_list): Type removed.
34081 (__libc_message, __libc_fatal): Functions removed.
34082 Include <sysdeps/posix/libc_fatal.c> instead.
34084 2013-03-19 Joseph Myers <joseph@codesourcery.com>
34086 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34088 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34091 2013-03-19 Andreas Schwab <schwab@suse.de>
34093 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34094 * sysdeps/gnu/configure: Regenerate.
34096 * configure.in: Substitute libc_cv_rtlddir.
34097 * configure: Regenerate.
34098 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34099 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34100 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34101 * elf/Makefile (install-others, CFLAGS-interp.c)
34102 (ldso_install, common-ldd-rewrite): Likewise.
34103 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34104 $(inst_slibdir)/$(rtld-installed-name).
34105 * scripts/rellns-sh: Add -p option.
34106 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34109 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34111 * manual/nptl.texi: Renamed to ...
34112 * manual/threads.texi: ... this.
34113 * manual/Makefile (chapters): Update.
34115 2013-03-18 Roland McGrath <roland@hack.frob.com>
34118 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34119 on argument names, not just descriptions.
34120 * malloc/memusagestat.c (options): Likewise.
34121 * nss/getent.c (options): Likewise.
34123 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
34126 * iconv/iconv_prog.c (options): Put N_ translation marker
34127 on argument names, not just descriptions.
34128 * iconv/iconvconfig.c (options): Likewise.
34130 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
34132 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34133 implementation which is faster on all x86_64 architectures.
34134 Tested on AMD, Intel Nehalem, SNB, IVB.
34135 * sysdeps/x86_64/strnlen.S: Likewise.
34137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34138 Remove all multiarch strlen and strnlen versions.
34139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34140 Remove strlen and strnlen related parts.
34142 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34143 Inline strlen part.
34144 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34146 * sysdeps/x86_64/multiarch/strlen.S: Remove.
34147 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34148 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34149 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34150 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34151 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34153 2013-03-17 Carlos O'Donell <carlos@redhat.com>
34155 * manual/memory.texi (Malloc Tunable Parameters):
34156 Sort parameters alphabetically. Add comments for missing entries.
34158 2013-03-17 David S. Miller <davem@davemloft.net>
34160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34162 2013-03-16 Joseph Myers <joseph@codesourcery.com>
34165 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34166 for arguments at most half maximum finite value.
34167 * math/libm-test.inc (j0_test): Add more tests.
34168 (j1_test): Likewise.
34169 (y0_test): Likewise.
34170 (y1_test): Likewise.
34171 * sysdeps/i386/fpu/libm-test-ulps: Update.
34172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34175 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34176 1 / x and functions P and Q for arguments above 0x1p256L.
34177 (__ieee754_y0l): Likewise.
34178 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34179 (__ieee754_y1l): Likewise.
34180 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34181 (j1_test): Likewise.
34182 (y0_test): Likewise.
34183 (y1_test): Likewise.
34185 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34187 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34190 2013-03-15 Roland McGrath <roland@hack.frob.com>
34192 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34193 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34194 zero since it's initialized to EXEC_PAGESIZE.
34196 * sysdeps/unix/sysv/linux/ldsodefs.h
34197 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34198 * sysdeps/generic/ldsodefs.h: ... here.
34200 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34202 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34204 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34206 * math/test-snan.c: Renamed from
34207 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34208 * math/Makefile (tests): Add test-snan.
34209 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34212 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34213 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34215 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34216 __builtin_nan family of functions.
34217 * math/libm-test.inc (initialize): Initialize qnan_value with
34218 __builtin_nan family of functions.
34219 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34221 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34223 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34224 storage class. Initialize qNaN_var and sNaN_var with
34225 __builtin_nan and __builtin_nans families of functions,
34228 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34229 (sqrt_test): Remove duplicate test with qNaN input.
34230 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34231 (round_test, signbit_test, significand_test): Note missing +/-Inf
34232 as well as qNaN tests.
34234 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34235 qNaN_var. Fix a few strings, too.
34236 * math/libm-test.inc (nan_value): Rename to qnan_value.
34237 * math/gen-libm-test.pl (%beautify): Adjust to that.
34238 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34239 * math/test-misc.c (main): Likewise.
34240 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34241 to __qnan_bytes, and __qnan_union, respectively.
34242 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34244 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34245 and lqnanval, respectively.
34246 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34247 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34248 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34249 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34251 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34252 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34255 * math/test-misc.c (main): Fix copy'n'pastos.
34256 * misc/tst-efgcvt.c (special): Likewise.
34258 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34259 Remove declarations.
34261 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34263 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34264 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34265 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34266 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34268 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34270 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34271 macro to return vdso values correctly in IFUNC implementations.
34272 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34273 Optimization by using IFUNC.
34275 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34276 Richard Henderson <rth@redhat.com>
34277 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34279 * Makefile.in (bench): New target.
34280 * NEWS: Mention the benchmark framework.
34281 * Rules (bench): Likewise.
34282 (binaries-bench): Generate binaries for functions to
34284 * benchtests/Makefile: New makefile for benchmark tests.
34285 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34287 * benchtests/exp-inputs: New input file for EXP function.
34288 * benchtests/pow-inputs: New input file for POW function.
34289 * scripts/bench.pl: New script to generate source files for
34290 benchmark programs.
34292 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34294 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34295 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34296 computations on mantissa. Use macros for rounding and
34298 (denorm): Likewise.
34299 (__dbl_mp): Likewise.
34300 (add_magnitudes): Likewise.
34301 (sub_magnitudes): Likewise.
34304 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34305 powers of two in terms of TWOPOW macro.
34306 (mp_no): Make type of mantissa as MANTISSA_T.
34307 [!RADIXI]: Define RADIXI.
34308 [!TWO52]: Define TWO52.
34309 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34311 * manual/nptl.texi (cindex): Modify threads to pthreads.
34313 2013-03-15 Joseph Myers <joseph@codesourcery.com>
34315 * sysdeps/x86_64/preconfigure: Regenerated.
34317 2013-03-14 Joseph Myers <joseph@codesourcery.com>
34320 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34322 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34323 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34325 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34326 * math/libm-test.inc (j0_test): Do not allow one spurious
34327 underflow exception.
34328 (y1_test): Likewise.
34330 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34332 * manual/Makefile (chapters): Add nptl.
34333 * manual/debug.texi (Debugging Support): Add link to Threads
34335 * manual/nptl.texi: New file.
34337 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34339 2013-03-14 Petr Baudis <pasky@ucw.cz>
34341 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34342 for non-NULL pointer before the memory validity test. Pointed
34343 out by Holger Brunck <holger.brunck@keymile.com>.
34345 2013-03-13 Andreas Schwab <schwab@suse.de>
34347 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34350 2013-03-13 Joseph Myers <joseph@codesourcery.com>
34352 * timezone/zic.c: Update from tzcode 2013b.
34354 2013-03-12 Carlos O'Donell <carlos@redhat.com>
34356 * manual/install.texi (Configuring and compiling):
34357 Mention i686 and i586.
34358 * INSTALL: Regenerate.
34360 2013-03-12 Roland McGrath <roland@hack.frob.com>
34362 * sysdeps/init_array/elf-init.c: New file.
34364 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34365 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34367 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34368 __gmon_start__ as global, but as static with a .preinit_array pointer.
34369 * sysdeps/init_array/gmon-start.c: New file. Use that.
34370 * sysdeps/init_array/crti.S: New file, empty except for comments.
34371 * sysdeps/init_array/crtn.S: Likewise.
34373 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
34375 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34378 Remove Prefer_SSE_for_memop.
34379 * sysdeps/x86_64/multiarch/init-arch.h: Remove
34380 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34381 HAS_PREFER_SSE_FOR_MEMOP.
34382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34385 Remove bzero, memset ifunc support.
34386 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34387 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34388 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34389 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34391 2013-03-11 Andreas Schwab <schwab@suse.de>
34394 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34397 (GLIBC_2.16): Remove pthread_atfork.
34399 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
34401 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34402 (ptestcases.h): Likewise.
34404 2013-03-08 Roland McGrath <roland@hack.frob.com>
34406 * Makeconfig ($(common-objpfx)config.status): Depend on
34407 sysdeps/*/preconfigure{,.in} too.
34409 2013-03-08 Joseph Myers <joseph@codesourcery.com>
34411 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34412 (__free_hook): Use void * instead of __malloc_ptr_t.
34413 (__malloc_hook): Likewise.
34414 (__realloc_hook): Likewise.
34415 (__memalign_hook): Likewise.
34416 (__after_morecore_hook): Likewise.
34417 * malloc/arena.c (save_malloc_hook): Likewise.
34418 (save_free_hook): Likewise.
34419 * malloc/hooks.c (malloc_hook_ini): Likewise.
34420 (realloc_hook_ini): Likewise.
34421 (memalign_hook_ini): Likewise.
34422 * malloc/malloc.c (malloc_hook_ini): Likewise.
34423 (realloc_hook_ini): Likewise.
34424 (memalign_hook_ini): Likewise.
34425 (__free_hook): Likewise.
34426 (__malloc_hook): Likewise.
34427 (__realloc_hook): Likewise.
34428 (__memalign_hook): Likewise.
34429 (__libc_malloc): Likewise.
34430 (__libc_free): Likewise.
34431 (__libc_realloc): Likewise.
34432 (__libc_memalign): Likewise.
34433 (__libc_valloc): Likewise.
34434 (__libc_pvalloc): Likewise.
34435 (__libc_calloc): Likewise.
34436 (__posix_memalign): Likewise.
34437 * malloc/morecore.c (__sbrk): Likewise.
34438 (__default_morecore): Likewise.
34440 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34442 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34443 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34444 __malloc_ptrdiff_t.
34446 * malloc/malloc.h (__malloc_size_t): Remove macro.
34447 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34449 (old_memalign_hook): Likewise.
34450 (old_realloc_hook): Likewise.
34451 (struct hdr): Likewise.
34453 (mallochook): Likewise.
34454 (memalignhook): Likewise.
34455 (reallochook): Likewise.
34456 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34457 (tr_old_realloc_hook): Likewise.
34458 (tr_old_memalign_hook): Likewise.
34459 (tr_mallochook): Likewise.
34460 (tr_reallochook): Likewise.
34461 (tr_memalignhook): Likewise.
34463 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34465 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34466 default_ldbl_pack and using as default implementation.
34467 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34469 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34470 redundant definition.
34471 (ldbl_insert_mantissa): Likewise.
34472 (ldbl_canonicalize): Likewise.
34473 (ldbl_nearbyint): Likewise.
34474 (ldbl_pack): Rename to ldbl_pack_ppc.
34475 (ldbl_unpack): Rename to ldbl_unpack_ppc.
34476 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34477 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34479 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34482 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34483 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34484 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34486 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34487 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34488 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34490 2013-03-07 Andreas Jaeger <aj@suse.de>
34492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34495 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34497 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34498 Include mpa.h and declare __MPEXP.
34499 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34500 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34501 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34502 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34503 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34504 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34505 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34507 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34508 (__slowpow): Use long double EXPL and LOGL functions to
34510 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34511 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34512 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34513 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34514 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34515 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34518 intermediate variable to calculate exponent.
34520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34524 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34525 [!NO__SQR]: Define __sqr.
34526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34527 and NO__SQR. Remove all code except __mul and __sqr. Include
34528 sysdeps/ieee754/dbl-64/mpa.c.
34529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34532 * posix/Makefile (tests): Add tst-pathconf.
34533 * posix/tst-pathconf.c: New test case.
34534 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34536 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34538 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
34540 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34542 2013-03-06 Andreas Jaeger <aj@suse.de>
34544 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34545 definition via __MAP_ANONYMOUS.
34547 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34548 it's not part of Linux headers.
34550 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34551 (MAP_HUGE_MASK): Define.
34553 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34555 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34556 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34558 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34559 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34561 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34564 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34566 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34567 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34568 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34569 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34570 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34571 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34573 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34576 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34577 Handle f2fs and efivarfs.
34579 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34582 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34583 (EFIVARFS_MAGIC): Add.
34584 (F2FS_LINK_MAX): Add.
34586 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34588 * stdio-common/vfprintf.c: Replace __builtin_expect with
34591 2013-03-06 Joseph Myers <joseph@codesourcery.com>
34594 * sysdeps/generic/bp-sym.h: Remove file.
34595 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34596 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34597 <bp-sym.h> and <bp-asm.h>.
34598 (__longjmp): Don't use BP_SYM.
34599 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34601 (memcpy): Don't use BP_SYM.
34602 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34603 <bp-sym.h> and <bp-asm.h>.
34604 (memcpy): Don't use BP_SYM.
34605 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34607 (memcpy): Don't use BP_SYM.
34608 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34610 (memset): Don't use BP_SYM.
34611 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34612 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34613 (__bzero): Don't use BP_SYM.
34614 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34615 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34616 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34617 <bp-sym.h> and <bp-asm.h>.
34618 (memcmp): Don't use BP_SYM. Remove comment about bounded
34620 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34621 <bp-sym.h> and <bp-asm.h>.
34622 (memcpy): Don't use BP_SYM.
34623 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34624 <bp-sym.h> and <bp-asm.h>.
34625 (memset): Don't use BP_SYM.
34626 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34627 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34628 (__bzero): Don't use BP_SYM.
34629 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34630 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34631 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34632 <bp-sym.h> and <bp-asm.h>.
34633 (strncmp): Don't use BP_SYM. Remove comment about bounded
34635 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34636 <bp-sym.h> and <bp-asm.h>.
34637 (memcpy): Don't use BP_SYM.
34638 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34639 <bp-sym.h> and <bp-asm.h>.
34640 (memset): Don't use BP_SYM.
34641 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34642 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34643 (__bzero): Don't use BP_SYM.
34644 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34645 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34646 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34647 <bp-sym.h> and <bp-asm.h>.
34648 (__memchr): Don't use BP_SYM.
34649 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34650 <bp-sym.h> and <bp-asm.h>.
34651 (memcmp): Don't use BP_SYM. Remove comment about bounded
34653 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34654 <bp-sym.h> and <bp-asm.h>.
34655 (memcpy): Don't use BP_SYM.
34656 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34657 <bp-sym.h> and <bp-asm.h>.
34658 (__mempcpy): Don't use BP_SYM.
34659 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34660 <bp-sym.h> and <bp-asm.h>.
34661 (__memrchr): Don't use BP_SYM.
34662 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34663 <bp-sym.h> and <bp-asm.h>.
34664 (memset): Don't use BP_SYM.
34665 (__bzero): Likewise.
34666 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34667 <bp-sym.h> and <bp-asm.h>.
34668 (__rawmemchr): Don't use BP_SYM.
34669 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34670 <bp-sym.h> and <bp-asm.h>.
34671 (__STRCMP): Don't use BP_SYM.
34672 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34673 <bp-sym.h> and <bp-asm.h>.
34674 (strchr): Don't use BP_SYM.
34675 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34676 <bp-sym.h> and <bp-asm.h>.
34677 (__strchrnul): Don't use BP_SYM.
34678 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34679 <bp-sym.h> and <bp-asm.h>.
34680 (strlen): Don't use BP_SYM.
34681 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34682 <bp-sym.h> and <bp-asm.h>.
34683 (strncmp): Don't use BP_SYM. Remove comment about bounded
34685 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34686 <bp-sym.h> and <bp-asm.h>.
34687 (__strnlen): Don't use BP_SYM.
34688 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34689 <bp-sym.h> and <bp-asm.h>.
34690 (__GI__setjmp): Don't use BP_SYM.
34691 (_setjmp): Likewise.
34692 (__sigsetjmp): Likewise.
34693 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34694 (L(start_addresses)): Don't use BP_SYM.
34695 (_start): Likewise.
34696 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34698 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34699 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34700 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34701 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34702 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34704 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34705 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
34706 about bounded pointers.
34707 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34708 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34709 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34711 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34712 about bounded pointers. Remove GKM FIXME comments.
34713 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34714 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34716 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34717 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
34718 Remove GKM FIXME comments.
34719 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34720 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34721 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34723 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34724 about bounded pointers. Remove GKM FIXME comment.
34725 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34727 (strncmp): Don't use BP_SYM. Remove comment about bounded
34729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34730 <bp-sym.h> and <bp-asm.h>.
34731 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34733 <bp-sym.h> and <bp-asm.h>.
34734 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34737 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34739 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34742 2013-03-05 David S. Miller <davem@davemloft.net>
34744 * po/es.po: Update from translation team.
34746 2013-03-05 Andreas Jaeger <aj@suse.de>
34748 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34749 <bits/mman-linux.h>.
34750 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34752 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34753 <bits/mman-linux.h> to end of file.
34754 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34756 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34757 <bits/mman-linux.h> to end of file.
34758 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34760 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34761 <bits/mman-linux.h> to end of file.
34763 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34764 (MCL_CURRENT, MCL_FUTURE): Define here.
34766 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34769 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34771 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34773 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34775 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34776 fourth parameter needed for rt_sigprocmask syscall.
34777 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34778 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34779 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34780 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34781 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34782 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34784 2013-03-04 Joseph Myers <joseph@codesourcery.com>
34787 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34788 comment about bounded pointers.
34789 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34790 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34792 2013-03-04 Andreas Jaeger <aj@suse.de>
34794 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34795 common definitions.
34797 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34798 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34799 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34800 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34801 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34802 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34804 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34807 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34808 __ieee754_sqrl instead of __sqrl.
34810 2013-03-01 Joseph Myers <joseph@codesourcery.com>
34812 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34813 * sysdeps/powerpc/fpu_control.h: ... here.
34814 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34815 * sysdeps/powerpc/bits/fenvinline.h: ... here.
34816 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34817 * sysdeps/powerpc/bits/mathinline.h: ... here.
34819 2013-03-01 Roland McGrath <roland@hack.frob.com>
34821 * elf/dl-hwcaps.c (_dl_important_hwcaps):
34822 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34823 to just [NEED_DL_SYSINFO_DSO].
34824 * elf/dl-support.c: Likewise.
34825 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34826 * elf/rtld.c (dl_main): Likewise.
34827 * elf/setup-vdso.h (setup_vdso): Likewise.
34828 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34829 * sysdeps/unix/sysv/linux/dl-sysdep.c
34830 (_dl_discover_osversion): Likewise.
34832 2013-03-01 Carlos O'Donell <carlos@redhat.com>
34834 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34835 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34837 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
34839 * NEWS: Mention libm performance improvements and non-x86 PI
34842 * csu/libc-start.c (__pthread_initialize_minimal): Change
34843 function arguments.
34844 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34846 2013-02-28 Joseph Myers <joseph@codesourcery.com>
34849 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34850 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34851 <bp-sym.h> and <bp-asm.h>.
34852 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34853 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34855 (memcpy): Don't use BP_SYM.
34856 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34858 (__mpn_add_n): Don't use BP_SYM.
34859 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34860 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34862 (__mpn_addmul_1): Don't use BP_SYM.
34863 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34864 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34866 (_setjmp): Don't use BP_SYM.
34867 (__novmx_setjmp): Likewise.
34868 (__GI__setjmp): Likewise.
34869 (__vmx_setjmp): Likewise.
34870 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34872 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34873 (__bzero): Don't use BP_SYM.
34874 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34875 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34876 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34877 <bp-sym.h> and <bp-asm.h>.
34878 (memcpy): Don't use BP_SYM.
34879 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34880 <bp-sym.h> and <bp-asm.h>.
34881 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34882 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34883 <bp-sym.h> and <bp-asm.h>.
34884 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34885 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34887 (__mpn_lshift): Don't use BP_SYM.
34888 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34889 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34891 (memset): Don't use BP_SYM.
34892 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34893 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34894 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34896 (__mpn_mul_1): Don't use BP_SYM.
34897 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34898 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34899 <bp-sym.h> and <bp-asm.h>.
34900 (memcmp): Don't use BP_SYM.
34901 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34902 <bp-sym.h> and <bp-asm.h>.
34903 (memcpy): Don't use BP_SYM.
34904 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34905 <bp-sym.h> and <bp-asm.h>.
34906 (memset): Don't use BP_SYM.
34907 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34908 <bp-sym.h> and <bp-asm.h>.
34909 (strncmp): Don't use BP_SYM.
34910 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34911 <bp-sym.h> and <bp-asm.h>.
34912 (memcpy): Don't use BP_SYM.
34913 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34914 <bp-sym.h> and <bp-asm.h>.
34915 (memset): Don't use BP_SYM.
34916 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34917 <bp-sym.h> and <bp-asm.h>.
34918 (__memchr): Don't use BP_SYM.
34919 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34920 <bp-sym.h> and <bp-asm.h>.
34921 (memcmp): Don't use BP_SYM.
34922 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34923 <bp-sym.h> and <bp-asm.h>.
34924 (memcpy): Don't use BP_SYM.
34925 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34926 <bp-sym.h> and <bp-asm.h>.
34927 (__mempcpy): Don't use BP_SYM.
34928 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34929 <bp-sym.h> and <bp-asm.h>.
34930 (__memrchr): Don't use BP_SYM.
34931 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34932 <bp-sym.h> and <bp-asm.h>.
34933 (memset): Don't use BP_SYM.
34934 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34935 <bp-sym.h> and <bp-asm.h>.
34936 (__rawmemchr): Don't use BP_SYM.
34937 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34938 <bp-sym.h> and <bp-asm.h>.
34939 (__STRCMP): Don't use BP_SYM.
34940 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34941 <bp-sym.h> and <bp-asm.h>.
34942 (strchr): Don't use BP_SYM.
34943 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34944 <bp-sym.h> and <bp-asm.h>.
34945 (__strchrnul): Don't use BP_SYM.
34946 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34947 <bp-sym.h> and <bp-asm.h>.
34948 (strlen): Don't use BP_SYM.
34949 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34950 <bp-sym.h> and <bp-asm.h>.
34951 (strncmp): Don't use BP_SYM.
34952 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34953 <bp-sym.h> and <bp-asm.h>.
34954 (__strnlen): Don't use BP_SYM.
34955 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34957 (__mpn_rshift): Don't use BP_SYM.
34958 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34959 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34960 <bp-sym.h> and <bp-asm.h>.
34961 (__sigsetjmp): Don't use BP_SYM.
34962 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34963 (L(start_addresses)): Don't use BP_SYM.
34964 (_start): Likewise.
34965 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34967 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34968 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34969 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34970 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34972 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34973 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34974 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34975 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34977 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34979 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34980 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34982 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
34984 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34985 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34986 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34988 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34990 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34992 (strncmp): Don't use BP_SYM,
34993 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34995 (__mpn_sub_n): Don't use BP_SYM.
34996 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34997 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34999 (__mpn_submul_1): Don't use BP_SYM.
35000 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35002 <bp-sym.h> and <bp-asm.h>.
35003 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35005 <bp-sym.h> and <bp-asm.h>.
35006 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35009 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35011 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35012 Use ZK to minimize writes to Z.
35013 (sub_magnitudes): Simplify code a bit.
35014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35015 Use ZK to minimize writes to Z.
35016 (sub_magnitudes): Simplify code a bit.
35018 2013-02-27 Roland McGrath <roland@hack.frob.com>
35020 * csu/gmon-start.c: Add special exception to license text.
35022 2013-02-27 Richard Henderson <rth@redhat.com>
35024 * scripts/config.guess: Update from config.git.
35025 * scripts/config.sub: Likewise.
35027 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35029 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35031 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35033 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35035 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35037 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35039 2013-02-26 Roland McGrath <roland@hack.frob.com>
35041 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35042 [$(build-shared = yes].
35044 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35046 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35047 (__mul): Reduce iterations for calculating mantissa.
35049 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35051 (__mpranred): Likewise.
35054 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35055 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35057 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35059 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35060 Define __attribute__.
35062 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35064 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35066 * posix/regex_internal.h (__attribute): Remove.
35067 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35068 (re_string_context_at): Likewise.
35069 (bitset_not): Use __attribute__ and mark function as possibly
35071 (bitset_merge): Likewise.
35072 (bitset_mask): Likewise.
35073 (re_string_char_size_at): Likewise.
35074 (re_string_wchar_at): Likewise.
35075 (re_string_elem_size_at): Likewise.
35077 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35079 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35083 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35087 (denorm): Likewise.
35088 (__dbl_mp): Likewise.
35089 (add_magnitudes): Likewise.
35090 (sub_magnitudes): Likewise.
35094 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35097 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35100 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35104 up changes with default code.
35105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35108 2013-02-24 Allan McRae <allan@archlinux.org>
35110 * manual/socket.texi (The Internet Namespace): Order menu items
35111 to match that in the file.
35113 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35114 node listing of the info page menu.
35116 2013-02-21 Joseph Myers <joseph@codesourcery.com>
35119 * sysdeps/i386/bp-asm.h: Remove file.
35120 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35121 (PARMS): Do not use macros from bp-asm.h.
35125 (__mpn_add_n): Do not use BP_SYM
35126 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35128 (PARMS): Do not use macros from bp-asm.h.
35131 (__mpn_addmul_1): Do not use BP_SYM
35132 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35134 (PARMS): Do not use macros from bp-asm.h.
35135 (SIGMSK): Likewise.
35136 (_setjmp): Likewise. Do not use BP_SYM.
35137 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35139 (PARMS): Do not use macros from bp-asm.h.
35140 (SIGMSK): Likewise.
35141 (setjmp): Likewise. Do not use BP_SYM.
35142 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35144 (PARMS): Do not use macros from bp-asm.h.
35145 (__frexp): Do not use BP_SYM.
35147 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35149 (PARMS): Do not use macros from bp-asm.h.
35150 (__frexpf): Do not use BP_SYM.
35151 (frexpf): Likewise.
35152 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35154 (PARMS): Do not use macros from bp-asm.h.
35155 (__frexpl): Do not use BP_SYM.
35156 (frexpl): Likewise.
35157 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35159 (PARMS): Do not use macros from bp-asm.h.
35160 (__remquo): Do not use BP_SYM.
35161 (remquo): Likewise.
35162 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35164 (PARMS): Do not use macros from bp-asm.h.
35165 (__remquof): Do not use BP_SYM.
35166 (remquof): Likewise.
35167 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35169 (PARMS): Do not use macros from bp-asm.h.
35170 (__remquol): Do not use BP_SYM.
35171 (remquol): Likewise.
35172 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35174 (PARMS): Do not use macros from bp-asm.h.
35177 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35178 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35180 (PARMS): Do not use macros from bp-asm.h.
35181 (strlen): Do not use BP_SYM.
35182 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35184 (PARMS): Do not use macros from bp-asm.h.
35188 (__mpn_add_n): Do not use BP_SYM.
35189 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35191 (PARMS): Do not use macros from bp-asm.h.
35194 (__mpn_addmul_1): Do not use BP_SYM.
35195 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35198 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35200 (PARMS): Do not use macros from bp-asm.h.
35203 (__mpn_lshift): Do not use BP_SYM.
35204 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35206 (PARMS): Do not use macros from bp-asm.h.
35210 (memcpy): Likewise. Do not use BP_SYM.
35211 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35212 libc_hidden_def and weak_alias.
35213 (mempcpy): Do not use BP_SYM in weak_alias.
35214 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35216 (PARMS): Do not use macros from bp-asm.h.
35219 [!BZERO_P] (CHR): Likewise.
35220 (memset): Likewise. Do not use BP_SYM.
35221 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35223 (PARMS): Do not use macros from bp-asm.h.
35226 (__mpn_mul_1): Do not use BP_SYM.
35227 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35229 (PARMS): Do not use macros from bp-asm.h.
35232 (__mpn_rshift): Do not use BP_SYM.
35233 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35235 (PARMS): Do not use macros from bp-asm.h.
35238 (strchr): Likewise. Do not use BP_SYM.
35239 (index): Do not use BP_SYM in weak_alias.
35240 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35242 (PARMS): Do not use macros from bp-asm.h.
35245 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35246 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35248 (PARMS): Do not use macros from bp-asm.h.
35249 (strlen): Do not use BP_SYM.
35250 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35252 (PARMS): Do not use macros from bp-asm.h.
35256 (__mpn_sub_n): Do not use BP_SYM.
35257 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35259 (PARMS): Do not use macros from bp-asm.h.
35262 (__mpn_submul_1): Do not use BP_SYM.
35263 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35265 (PARMS): Do not use macros from bp-asm.h.
35269 (__mpn_add_n): Do not use BP_SYM.
35270 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35273 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35275 (PARMS): Do not use macros from bp-asm.h.
35278 (memcmp): Do not use BP_SYM.
35279 (bcmp): Do not use BP_SYM in weak_alias.
35280 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35282 (PARMS): Do not use macros from bp-asm.h.
35286 (memcpy): Likewise. Do not use BP_SYM.
35287 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35289 (PARMS): Do not use macros from bp-asm.h.
35293 (memmove): Likewise. Do not use BP_SYM.
35294 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35296 (PARMS): Do not use macros from bp-asm.h.
35300 (__mempcpy): Likewise. Do not use BP_SYM.
35301 (mempcpy): Do not use BP_SYM in weak_alias.
35302 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35304 (PARMS): Do not use macros from bp-asm.h.
35307 [!BZERO_P] (CHR): Likewise.
35308 (memset): Likewise. Do not use BP_SYM.
35309 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35311 (PARMS): Do not use macros from bp-asm.h.
35313 (strcmp): Do not use BP_SYM.
35314 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35316 (PARMS): Do not use macros from bp-asm.h.
35319 [USE_AS_STRTOK_R] (SAVE): Likewise.
35320 (FUNCTION): Likewise. Do not use BP_SYM.
35321 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35323 (strtok_r): Likewise.
35324 (__GI___strtok_r): Likewise.
35325 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35326 (PARMS): Do not use macros from bp-asm.h.
35329 (__mpn_lshift): Do not use BP_SYM.
35330 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35331 (PARMS): Do not use macros from bp-asm.h.
35334 (__memchr): Do not use BP_SYM.
35335 (memchr): Do not use BP_SYM in weak_alias.
35336 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35337 (PARMS): Do not use macros from bp-asm.h.
35340 (memcmp): Do not use BP_SYM.
35341 (bcmp): Do not use BP_SYM in weak_alias.
35342 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35343 (PARMS): Do not use macros from bp-asm.h.
35346 (__mpn_mul_1): Do not use BP_SYM.
35347 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35349 (PARMS): Do not use macros from bp-asm.h.
35352 (__rawmemchr): Do not use BP_SYM.
35353 (rawmemchr): Do not use BP_SYM in weak_alias.
35354 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35355 (PARMS): Do not use macros from bp-asm.h.
35358 (__mpn_rshift): Do not use BP_SYM.
35359 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35360 (PARMS): Do not use macros from bp-asm.h.
35361 (SIGMSK): Likewise.
35362 (__sigsetjmp): Likewise. Do not use BP_SYM.
35363 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35364 (_start): Do not use BP_SYM.
35365 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35366 (PARMS): Do not use macros from bp-asm.h.
35369 (__stpcpy): Likewise. Do not use BP_SYM.
35370 (stpcpy): Do not use BP_SYM in weak_alias.
35371 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35373 (PARMS): Do not use macros from bp-asm.h.
35377 (__stpncpy): Likewise. Do not use BP_SYM.
35378 (stpncpy): Do not use BP_SYM in weak_alias.
35379 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35380 (PARMS): Do not use macros from bp-asm.h.
35383 (strchr): Likewise. Do not use BP_SYM.
35384 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35386 (PARMS): Do not use macros from bp-asm.h.
35389 (__strchrnul): Likewise. Do not use BP_SYM.
35390 (strchrnul): Do not use BP_SYM in weak_alias.
35391 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35393 (PARMS): Do not use macros from bp-asm.h.
35395 (strcspn): Do not use BP_SYM.
35396 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35398 (PARMS): Do not use macros from bp-asm.h.
35401 (strpbrk): Likewise. Do not use BP_SYM.
35402 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35404 (PARMS): Do not use macros from bp-asm.h.
35407 (strrchr): Likewise. Do not use BP_SYM.
35408 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35409 (PARMS): Do not use macros from bp-asm.h.
35411 (strspn): Do not use BP_SYM.
35412 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35413 (PARMS): Do not use macros from bp-asm.h.
35417 (FUNCTION): Likewise. Do not use BP_SYM.
35418 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35420 (strtok_r): Likewise.
35421 (__GI___strtok_r): Likewise.
35422 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35423 (PARMS): Do not use macros from bp-asm.h.
35427 (__mpn_sub_n): Do not use BP_SYM.
35428 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35430 (PARMS): Do not use macros from bp-asm.h.
35433 (__mpn_submul_1): Do not use BP_SYM.
35434 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35436 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35438 (PARMS): Do not use macros from bp-asm.h.
35443 (__clone): Do not use BP_SYM.
35444 (clone): Do not use BP_SYM in weak_alias.
35445 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35447 (PARMS): Do not use macros from bp-asm.h.
35449 (__mmap64): Do not use BP_SYM.
35450 (mmap64): Do not use BP_SYM in weak_alias.
35451 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35452 <bp-sym.h> and <bp-asm.h>.
35453 (PARMS): Do not use macros from bp-asm.h.
35454 (__posix_fadvise64_l64): Do not use BP_SYM.
35455 * sysdeps/unix/sysv/linux/i386/semtimedop.S
35456 (PARMS): Do not use macros from bp-asm.h.
35458 (semtimedop): Do not use BP_SYM.
35459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35462 2013-02-21 Allan McRae <allan@archlinux.org>
35464 * manual/message.texi (Charset conversion in gettext):
35465 Move @end statement to beginning of line.
35467 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35474 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35475 (denorm): Likewise.
35476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35479 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35481 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35482 tail-call to the resolved function if pltexit isn't needed.
35484 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35487 or Y being zero as being unlikely.
35488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35491 2013-02-20 Carlos O'Donell <carlos@redhat.com>
35493 * manual/nss.texi (System Databases and Name Service Switch):
35494 Remove frobnicate @pxref.
35496 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35498 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35499 __attribute__ ((unused)) to __attribute__ ((__unused__)).
35501 2013-02-20 Petr Machata <pmachata@redhat.com>
35503 * elf/elf.h (R_ARM_TARGET1): New macro.
35504 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35505 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35506 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35507 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35508 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35509 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35510 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35511 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35512 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35513 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35514 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35515 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35516 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35517 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35518 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35519 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35520 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35521 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35522 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35523 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35524 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35525 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35526 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35527 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35528 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35529 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35530 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35531 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35532 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35533 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35534 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35535 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35536 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35537 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35538 (R_ARM_THM_GOT_BREL12): Likewise.
35539 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35540 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35541 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35542 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35543 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35544 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35545 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35546 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35547 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35549 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35551 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35552 __attribute_used__ to __attribute__ ((unused)).
35554 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35556 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35559 comment formatting.
35560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35562 2013-02-19 Joseph Myers <joseph@codesourcery.com>
35565 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35567 (ENTER): Remove both macro definitions.
35569 (CHECK_BOUNDS_LOW): Likewise.
35570 (CHECK_BOUNDS_HIGH): Likewise.
35571 (CHECK_BOUNDS_BOTH): Likewise.
35572 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35573 (RETURN_BOUNDED_POINTER): Likewise.
35574 (RETURN_NULL_BOUNDED_POINTER): Likewise.
35575 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35576 (POP_ERRNO_LOCATION_RETURN): Likewise.
35577 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35578 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35579 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35581 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35582 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35583 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35584 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35585 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35586 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35587 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35588 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35589 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35590 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35591 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35592 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35593 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35594 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35596 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35597 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35599 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35600 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35601 * sysdeps/i386/i586/memset.S (memset): Likewise.
35602 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35603 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35604 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35606 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35607 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35608 Change uses of L(2) to L(out).
35609 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35610 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35611 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35612 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35613 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35615 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35616 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35618 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35619 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35620 (RETURN): Do not use macro LEAVE.
35621 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35622 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35623 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35624 * sysdeps/i386/i686/memset.S (memset): Likewise.
35625 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35626 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35627 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35628 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35630 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35631 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
35632 L(1_2) and L(1_3) into L(1).
35633 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35634 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35635 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35636 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35637 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35638 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35639 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35640 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35641 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35643 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35644 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35645 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35646 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35647 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35648 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35649 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35650 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35651 * sysdeps/i386/strcspn.S (strcspn): Likewise.
35652 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35653 * sysdeps/i386/strrchr.S (strrchr): Likewise.
35654 * sysdeps/i386/strspn.S (strspn): Likewise.
35655 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35657 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35658 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35659 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35660 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
35661 L(1_3) into L(1_1).
35662 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35663 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35664 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35666 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35668 2013-02-19 Jakub Jelinek <jakub@redhat.com>
35670 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35673 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35675 * math/atest-exp.c (exp_mpn): Remove ROUND.
35676 * math/atest-exp2.c (exp_mpn): Likewise.
35677 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35679 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35680 * stdlib/tst-tls-atexit-lib.c: Likewise.
35681 * stdlib/tst-tls-atexit.c: Likewise.
35683 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35685 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35686 and __attribute_alloc_size__.
35688 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35690 * include/programs/xmalloc.h: Change __attribute_alloc_size to
35691 __attribute_alloc_size__.
35692 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35693 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35695 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35697 * include/programs/xmalloc.h: New file.
35698 * catgets/gencat.c: Include it.
35699 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35700 * elf/pldd.c: Likewise.
35701 * iconv/iconv_charmap.c: Likewise.
35702 * iconv/iconvconfig.c: Likewise.
35703 * iconv/strtab.c: Likewise.
35704 * locale/programs/locale.c: Likewise.
35705 * locale/programs/localedef.h: Likewise.
35706 * locale/programs/simple-hash.c: Likewise.
35707 * nscd/nscd.h: Likewise.
35708 * nss/makedb.c: Likewise.
35709 * sysdeps/generic/ldconfig.h: Likewise.
35711 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35713 * Versions.def: Add GLIBC_2.18.
35714 * include/link.h (struct link_map): New member l_tls_dtor_count.
35715 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35716 (__call_tls_dtors): Likewise.
35717 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35718 __cxa_thread_atexit_impl.
35719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35727 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35735 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35736 (tests): Add test case tst-tls-atexit.
35737 (modules-names): Add shared library for tst-tls-atexit.
35738 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35739 (GLIBC_PRIVATE): Add __call_tls_dtors.
35740 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35742 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35743 * stdlib/tst-tls-atexit.c: New test case.
35744 * stdlib/tst-tls-atexit-lib.c: New test case.
35746 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35748 * elf/Versions (ld): Add _dl_find_dso_for_object.
35749 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35750 * elf/dl-open.c (_dl_find_dso_for_object): New function.
35751 (dl_open_worker): Use _dl_find_dso_for_object.
35752 * elf/dl-sym.c (do_sym): Likewise.
35753 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35755 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35757 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35758 Syntactic changes only.
35759 (_dl_runtime_profile): Do a tail-call to the resolved function.
35761 2013-02-17 Joseph Myers <joseph@codesourcery.com>
35764 * sysdeps/x86_64/bp-asm.h: Remove file.
35765 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35766 <bp-sym.h> and <bp-asm.h>.
35767 (__clone): Do not use BP_SYM.
35768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35769 <bp-sym.h> and <bp-asm.h>.
35770 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35771 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35773 (_setjmp): Do not use BP_SYM.
35774 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35776 (setjmp): Do not use BP_SYM.
35777 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35779 (mempcpy): Do not use BP_SYM in weak_alias.
35780 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35782 (strchr): Do not use BP_SYM.
35783 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35785 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35786 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35787 (_start): Do not use BP_SYM.
35788 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35790 (strcat): Do not use BP_SYM.
35791 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35793 (STRCMP): Do not use BP_SYM.
35794 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35796 (STRCPY): Do not use BP_SYM.
35797 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35799 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35801 (FUNCTION): Do not use BP_SYM.
35802 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35804 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35806 2013-02-17 Andreas Jaeger <aj@suse.de>
35808 * time/Versions: Sort entries.
35809 * string/Versions: Likewise.
35810 * resolv/Versions: Likewise.
35811 * posix/Versions: Likewise.
35812 * iconv/Versions: Likewise.
35813 * elf/Versions: Likewise.
35814 * wcsmbs/Versions: Likewise.
35816 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35818 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35819 loop termination condition.
35821 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35822 variable to calculate EZ.
35825 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35826 the lower precision input.
35828 2013-02-15 Joseph Myers <joseph@codesourcery.com>
35831 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35832 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35833 (run-via-rtld-prefix): Do not handle %-bp tests.
35834 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35835 (all-object-suffixes): Remove .ob.
35836 (bppfx): Remove variable.
35837 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35838 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35839 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35840 [$(build-bounded) = yes] (libtype.ob): Likewise.
35841 * Makerules (elide-routines.ob): Remove variable.
35842 (do-tests-clean): Do not handle *-bp.out.
35843 (common-mostlyclean): Do not handle *-bp and *-bp.out.
35844 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35845 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35846 (tests): Do not include $(tests-bp.out).
35847 (xtests): Do not include $(xtests-bp.out).
35848 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35849 [$(build-bounded) = yes] ($(addprefix
35850 $(objpfx),$(binaries-bounded))): Remove rule.
35851 ($(objpfx)%-bp.out): Remove rule.
35852 * config.make.in (build-bounded): Remove variable.
35853 * crypt/Makefile [$(build-bounded) = yes]
35854 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35855 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35856 append to variable.
35857 [$(build-bounded) = yes] (install-lib): Likewise.
35858 [$(build-bounded) = yes] (generated): Likewise.
35859 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35861 * intl/Makefile [$(build-bounded) = yes]
35862 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35863 * math/Makefile [$(build-bounded) = yes]
35864 ($(tests:%=$(objpfx)%-bp): Likewise.
35865 * misc/Makefile [$(build-bounded) = yes]
35866 ($(objpfx)tst-tsearch-bp): Likewise.
35867 * nptl/Makeconfig (bounded-thread-library): Remove variable.
35868 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35870 * string/Makefile (o-objects.ob): Remove variable.
35871 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35872 (CFLAGS-.ob): Remove variable.
35873 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35874 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35875 both definitions of variable.
35876 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35877 (ASFLAGS-.ob): Remove variable.
35879 2013-02-14 Joseph Myers <joseph@codesourcery.com>
35882 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35883 Remove __BOUNDED_POINTERS__ from condition.
35884 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35885 * string/bits/string2.h [!__NO_STRING_INLINES &&
35886 !__BOUNDED_POINTERS__]: Likewise.
35887 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35889 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35890 Remove conditional code.
35891 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35892 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35893 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35897 * csu/libc-start.c: Do not include <bp-sym.h>.
35898 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35899 * elf/dl-open.c: Do not include <bp-sym.h>.
35900 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35901 * math/fegetenv.c: Do not include <bp-sym.h>.
35902 (fegetenv): Do not use BP_SYM in versioned symbols.
35903 * nptl/sysdeps/pthread/bits/libc-lockP.h
35904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35907 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35909 (__pthread_mutex_destroy): Likewise.
35910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35911 (__pthread_mutex_lock): Likewise.
35912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35913 (__pthread_mutex_trylock): Likewise.
35914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35915 (__pthread_mutex_unlock): Likewise.
35916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35917 (__pthread_mutexattr_init): Likewise.
35918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35919 (__pthread_mutexattr_destroy): Likewise.
35920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35921 (__pthread_mutexattr_settype): Likewise.
35922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35923 (__pthread_rwlock_init): Likewise.
35924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35925 (__pthread_rwlock_destroy): Likewise.
35926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35927 (__pthread_rwlock_rdlock): Likewise.
35928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35929 (__pthread_rwlock_tryrdlock): Likewise.
35930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35931 (__pthread_rwlock_wrlock): Likewise.
35932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35933 (__pthread_rwlock_trywrlock): Likewise.
35934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35935 (__pthread_rwlock_unlock): Likewise.
35936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35937 (__pthread_key_create): Likewise.
35938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35939 (__pthread_setspecific): Likewise.
35940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35941 (__pthread_getspecific): Likewise.
35942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35945 (_pthread_cleanup_push_defer): Likewise.
35946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35947 (_pthread_cleanup_pop_restore): Likewise.
35948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35949 (pthread_setcancelstate): Likewise.
35950 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35952 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35953 (memchr): Do not use BP_SYM in weak_alias.
35954 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35955 (fegetenv): Do not use BP_SYM in versioned symbols.
35956 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35957 (fesetenv): Do not use BP_SYM in versioned symbols.
35958 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35959 (feupdateenv): Do not use BP_SYM in versioned symbols.
35960 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35961 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35962 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35963 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35964 (open64): Do not use BP_SYM in weak_alias.
35965 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35966 (fegetenv): Do not use BP_SYM in versioned symbols.
35967 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35968 (fesetenv): Do not use BP_SYM in versioned symbols.
35969 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35970 (feupdateenv): Do not use BP_SYM in versioned symbols.
35971 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35972 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35973 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35974 (feraiseexcept): Do not use BP_SYM in versioned symbols.
35975 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35976 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35977 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35979 (__libc_start_main): Do not use BP_SYM.
35981 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35984 redundant return line.
35986 (denorm): Likewise.
35987 (dbl_mp): Likewise.
35988 (sub_magnitudes): Likewise.
35994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35996 (denorm): Likewise.
35997 (dbl_mp): Likewise.
35998 (sub_magnitudes): Likewise.
36005 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36007 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36008 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36011 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36012 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36014 of __mul for squares.
36015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36019 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36020 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36022 2013-02-13 Joseph Myers <joseph@codesourcery.com>
36025 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36027 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36028 prototype or function definition. Rename ubp_* variables and
36029 parameters. Remove argv definitions conditional on
36030 [__BOUNDED_POINTERS__].
36031 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36032 * elf/dl-runtime.c (_dl_fixup): Likewise.
36033 * include/set-hooks.h (RUN_HOOK): Likewise.
36034 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36036 * string/strcpy.c (strcpy): Do not use __unbounded.
36037 * sysdeps/generic/frame.h (struct layout): Likewise.
36038 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36039 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36040 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36041 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36042 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36043 (__backtrace): Likewise.
36044 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36046 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36047 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36048 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36050 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36051 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36052 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36053 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36054 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36055 Do not use __unbounded.
36056 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36057 Rename __unboundedrlimits parameter to rlimits in prototype.
36058 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36059 Do not use __unbounded.
36060 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36061 not use __ptrvalue.
36062 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36063 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36064 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36065 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36066 __ptrvalue or __unbounded.
36067 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36068 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36070 (__new_msgctl): Do not use __ptrvalue.
36071 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36073 (__libc_msgrcv): Do not use __ptrvalue.
36074 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36075 startup_info): Do not use __unbounded.
36076 (__libc_start_main): Likewise. Rename ubp_* variables and
36077 parameters. Remove argv definitions conditional on
36078 [__BOUNDED_POINTERS__].
36079 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36081 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36083 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36085 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36087 (__new_shmctl): Do not use __ptrvalue.
36088 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36089 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36091 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36092 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36093 (__libc_sigaction): Likewise.
36094 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36095 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36097 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36099 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
36101 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36103 * string/mempcpy.c: Implement by calling memcpy.
36105 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36107 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36109 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36112 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36113 values in the mantissa.
36115 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36116 minimize writes to Z.
36117 (sub_magnitudes): Simplify code a bit.
36119 2013-02-12 Roland McGrath <roland@hack.frob.com>
36121 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36122 from the message. The linker prefixes all warnings with that already.
36124 2013-02-12 Andreas Schwab <schwab@suse.de>
36127 * posix/regexec.c (extend_buffers): Add parameter min_len.
36128 (check_matching): Pass minimum needed length.
36129 (clean_state_log_if_needed): Likewise.
36130 (get_subexp): Likewise.
36131 * posix/Makefile (tests): Add bug-regex34.
36132 (bug-regex34-ENV): Define.
36133 * posix/bug-regex34.c: New file.
36136 * posix/regcomp.c (parse_bracket_exp): When looking up collating
36137 elements compare against the byte sequence of it, not its name.
36138 * posix/Makefile (tests): Add bug-regex35.
36139 (bug-regex35-ENV): Define.
36140 * posix/bug-regex35.c: New file.
36142 2013-02-11 Tom de Vries <tom@codesourcery.com>
36144 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
36146 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36147 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36148 (CHECK_EOL): Add undef.
36150 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
36152 * bits/stdlib-bsearch.h: New file.
36153 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36154 * stdlib/stdlib.h: Likewise.
36156 2013-02-11 Roland McGrath <roland@hack.frob.com>
36158 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36159 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36161 * manual/search.texi (Array Search Function): Add missing const in
36163 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36164 declaration to use rlim_t.
36165 (Basic Scheduling Functions): Remove erroneous const from
36166 sched_getparam prototype. Remove erroneous * from
36167 sched_get_priority_max and sched_get_priority_min prototypes.
36168 (Resource Usage): Fix summary @comment on vtimes to refer to
36169 sys/vtimes.h rather than vtimes.h.
36170 Add missing *s in vtimes prototype.
36171 (Limits on Resources): Fix ulimit prototype to return long int.
36172 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36173 prototypes to use long int rather than double.
36174 (BSD Random): Fix initstate and setstate to use char *, not void *.
36175 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36176 prototype to make second argument 'struct aiocb64 *const[]'.
36177 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36178 (Status of AIO Operations): Remove erroneous const in aio_return and
36179 aio_return64 prototypes.
36180 (Synchronizing I/O): Fix sync prototype to return void.
36181 * manual/startup.texi (Suboptions): Remove an erroneous const in
36182 getsubopt prototype.
36183 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36184 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36185 use size_t rather than int.
36186 (Scanning All Users): Likewise for getpwent_r.
36187 (Setting Groups): Add missing const to setgroups prototype.
36188 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36189 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36190 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36191 'const void *' rather than 'const char *'.
36192 (Host Address Functions): Likewise for inet_ntop.
36193 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36194 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36195 ssize_t for return value.
36196 (Sending Data): Likewise for send, sendto, sendmsg.
36197 (Socket Option Functions): Add a missing const in setsockopt prototype.
36198 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36199 use wchar_t for the argument.
36200 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36201 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36203 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36204 double/float/long double for second argument.
36205 Fix return types of significand, significandf, significandl.
36206 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36207 argument in fchmod prototype.
36208 (File Owner): Use uid_t and gid_t in fchown prototype.
36209 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36210 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36211 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36212 use 'const struct dirent **' as argument types to CMP function pointer
36214 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36215 (File Times): Fix summary magic @comment for struct utimbuf and utime
36216 to refer to utime.h, not time.h.
36217 * manual/string.texi (Argz Functions): Add missing const in
36218 argz_extract and argz_next prototypes.
36219 (Finding Tokens in a String): Likewise for basename.
36220 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36221 (Copying and Concatenation): Fix typo in wmemmove prototype.
36222 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36223 (Signal Stack): Remove erroneous const in sigstack prototype.
36224 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36226 (Simple Calendar Time): Likewise for stime.
36227 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36229 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36230 say sys/sysctl.h instead.
36231 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36232 and vsyslog prototypes.
36234 2013-02-11 Tom de Vries <tom@codesourcery.com>
36236 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36239 2013-02-11 Roland McGrath <roland@hack.frob.com>
36241 * misc/sys/mman.h: Fix typo in mremap comment.
36243 2013-02-08 Roland McGrath <roland@hack.frob.com>
36245 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36246 the '\0' terminator.
36248 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36251 * debug/segfault.c: Don't include <bp-checks.h>.
36252 * sysdeps/generic/bp-checks.h: Remove file.
36253 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36254 (__GETDENTS): Don't use CHECK_N.
36255 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36256 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36257 (__getgroups): Don't use CHECK_N.
36258 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36259 (setgroups): Don't use CHECK_N.
36260 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36261 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36262 (__libc_msgrcv): Don't use CHECK_N.
36263 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36264 (__libc_msgsnd): Don't use CHECK_N.
36265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36267 (__libc_pread): Don't use CHECK_N.
36268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36269 include <bp-checks.h>.
36270 (__libc_pread64): Don't use CHECK_N.
36271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36272 include <bp-checks.h>.
36273 (__libc_pwrite): Don't use CHECK_N.
36274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36275 include <bp-checks.h>.
36276 (__libc_pwrite64): Don't use CHECK_N.
36277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36279 (__libc_pread): Don't use CHECK_N.
36280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36281 include <bp-checks.h>.
36282 (__libc_pread64): Don't use CHECK_N.
36283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36284 include <bp-checks.h>.
36285 (__libc_pwrite): Don't use CHECK_N.
36286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36287 include <bp-checks.h>.
36288 (__libc_pwrite64): Don't use CHECK_N.
36289 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36290 (do_pread): Don't use CHECK_N.
36291 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36292 (do_pread64): Don't use CHECK_N.
36293 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36294 (do_pwrite): Don't use CHECK_N.
36295 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36296 (do_pwrite64): Don't use CHECK_N.
36297 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36298 (__libc_readv): Don't use CHECK_N.
36299 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36300 (semop): Don't use CHECK_N.
36301 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36303 (semtimedop): Don't use CHECK_N.
36304 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36305 (__libc_pread): Don't use CHECK_N.
36306 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36308 (__libc_pread64): Don't use CHECK_N.
36309 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36311 (__libc_pwrite): Don't use CHECK_N.
36312 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36314 (__libc_pwrite64): Don't use CHECK_N.
36315 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36317 (__libc_msgrcv): Don't use CHECK_N.
36318 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36319 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36320 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36321 (__libc_writev): Don't use CHECK_N.
36323 2013-02-08 Roland McGrath <roland@hack.frob.com>
36325 * string/strcpy.c: Removed unused variable.
36327 * Makeconfig (+sysdep-includes): Define with := rather than =.
36328 Use an existing include/ subdir of each sysdeps dir before it.
36330 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36332 * nscd/connection.c (register_traced_file): Comment function.
36333 [HAVE_INOTIFY] (union __inev): Define.
36334 [HAVE_INOTIFY] (inotify_check_files): New function.
36335 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36336 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36338 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36340 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36342 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36343 loaded if not already and that a failure is permanent.
36345 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36348 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36349 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36351 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36354 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36355 (CHECK_1_NULL_OK): Likewise.
36356 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36357 (__fxstat): Do not use CHECK_1.
36358 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36360 (___fxstat64): Do not use CHECK_1.
36361 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36363 (__fxstatat): Do not use CHECK_1.
36364 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36366 (__fxstatat64): Do not use CHECK_1.
36367 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36369 (__fxstat): Do not use CHECK_1.
36370 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36372 (__fxstatat): Do not use CHECK_1.
36373 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36375 (__getresgid): Do not use CHECK_1.
36376 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36378 (__getresuid): Do not use CHECK_1.
36379 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36381 (__lxstat): Do not use CHECK_1.
36382 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36384 (__old_msgctl): Do not use CHECK_1.
36385 (__new_msgctl): Likewise.
36386 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36388 (__new_setrlimit): Do not use CHECK_1.
36389 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36391 (__old_shmctl): Do not use CHECK_1.
36392 (__new_shmctl): Likewise.
36393 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36395 (__xstat): Do not use CHECK_1.
36396 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36397 (__lxstat): Do not use CHECK_1.
36398 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36400 (___lxstat64): Do not use CHECK_1.
36401 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36402 (__old_msgctl): Do not use CHECK_1.
36403 (__new_msgctl): Likewise.
36404 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36406 (__gettimeofday): Do not use CHECK_1.
36407 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36408 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36409 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36411 (__gettimeofday): Do not use CHECK_1.
36412 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36413 (__old_shmctl): Do not use CHECK_1_NULL_OK.
36414 (__new_shmctl): Do not use CHECK_1.
36415 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36417 (do_sigtimedwait): Do not use CHECK_1.
36418 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36420 (do_sigwaitinfo): Do not use CHECK_1.
36421 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36423 (msgctl): Do not use CHECK_1.
36424 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36426 (shmctl): Do not use CHECK_1.
36427 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36428 (ustat): Do not use CHECK_1.
36429 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36431 (__fxstat): Do not use CHECK_1.
36432 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36434 (__fxstatat): Do not use CHECK_1.
36435 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36437 (__lxstat): Do not use CHECK_1.
36438 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36440 (__xstat): Do not use CHECK_1.
36441 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36442 (__xstat): Do not use CHECK_1.
36443 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36444 (___xstat64): Do not use CHECK_1.
36447 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36449 (CHECK_BOUNDS_HIGH): Likewise.
36450 * string/strcpy.c: Do not include <bp-checks.h>.
36451 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36453 2013-02-07 Roland McGrath <roland@hack.frob.com>
36455 * nscd/nscd-client.h (__nscd_drop_map_ref):
36456 Add __attribute__ ((unused)).
36457 * nis/nss-nisplus.h (niserr2nss): Likewise.
36459 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36460 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36462 * csu/libc-tls.c (init_static_tls, init_slotinfo):
36463 Remove inline keyword.
36464 * include/rounding-mode.h (round_away): Likewise.
36465 * libio/wfileops.c (adjust_wide_data): Likewise.
36466 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36467 (__m128i_strloadu_tolower): Likewise.
36468 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36469 (__m128i_strloadu_tolower): Likewise.
36470 * time/mktime.c (ydhms_diff): Likewise.
36471 * locale/elem-hash.h (elem_hash): Likewise.
36472 * locale/setlocale.c (setdata): Likewise.
36473 * posix/regex_internal.h (re_string_char_size_at): Likewise.
36474 (re_string_wchar_at): Likewise.
36475 (bitset_not, bitset_merge, bitset_mask): Likewise.
36476 [!(__GNUC__ > 3)] (inline): Remove macro.
36477 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36478 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36479 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36480 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36481 * string/memcmp.c (memcmp_bytes): Likewise.
36482 * locale/programs/locarchive.c (compute_hashval): Likewise.
36483 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36484 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36485 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36486 * nss/getent.c (print_rpc, print_protocols): Likewise.
36487 (print_passwd, print_group, print_aliases): Likewise.
36488 * nis/nss-nisplus.h (niserr2nss): Likewise.
36489 * nscd/connections.c (restart_p): Likewise.
36490 Change return type to bool.
36492 2013-02-05 Roland McGrath <roland@hack.frob.com>
36494 * Makeconfig (all-Depend-files): Add existing
36495 $(sorted-subdirs:=/Depend) files.
36496 (all-subdirs): Remove nss.
36497 * sysdeps/unix/inet/Subdirs: Add it here instead.
36498 * hesiod/Depend: New file.
36500 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36501 instead of calling alloca.
36503 * io/lseek.c (__lseek): Rename to __libc_lseek.
36504 Define __lseek as an alias.
36506 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36508 2013-02-04 Carlos O'Donell <carlos@redhat.com>
36510 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36511 else clause and remove check for non-standard endianness.
36513 2013-02-04 David S. Miller <davem@davemloft.net>
36515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36517 2013-02-04 Joseph Myers <joseph@codesourcery.com>
36520 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36521 (__ubp_memchr): Remove prototype.
36522 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36523 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36524 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36525 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36526 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36528 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36529 (__ubp_memchr): Likewise.
36530 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36531 (__ubp_memchr): Likewise.
36532 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36533 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36534 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36535 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36537 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36538 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36539 (__getcwd): Do not use CHECK_STRING.
36540 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36542 (__real_chown): Do not use CHECK_STRING.
36543 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36545 (fchownat): Do not use CHECK_STRING.
36546 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36548 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36550 (__lchown): Do not use CHECK_STRING.
36551 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36552 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36553 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36554 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36556 include <bp-checks.h>.
36557 (truncate64): Do not use CHECK_STRING.
36558 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36560 (__real_chown): Do not use CHECK_STRING.
36561 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36563 (__lchown): Do not use CHECK_STRING.
36564 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36566 (__chown): Do not use CHECK_STRING.
36567 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36569 (truncate64): Do not use CHECK_STRING.
36570 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36572 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36573 (__xmknod): Do not use CHECK_STRING.
36574 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36576 (__xmknodat): Do not use CHECK_STRING.
36577 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36578 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36580 2013-02-04 Andreas Schwab <schwab@suse.de>
36583 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36584 * include/netdb.h: Likewise for h_errno.
36585 * elf/tst-stackguard1.c: Include <tls.h>.
36587 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
36589 * elf/link.h (struct link_map): Extend the l_addr comment.
36590 * include/link.h (struct link_map): Likewise.
36592 2013-02-01 Joseph Myers <joseph@codesourcery.com>
36595 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36596 (BOUNDED_1): Remove macro.
36597 * debug/backtrace.c: Don't include <bp-checks.h>.
36598 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36599 (__backtrace): Likewise.
36600 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36602 (__backtrace): Don't use BOUNDED_1.
36603 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36605 (__backtrace): Don't use BOUNDED_1.
36606 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36607 (__backtrace): Don't use BOUNDED_1.
36608 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36609 (shmat): Don't use BOUNDED_N.
36611 2013-01-31 Joseph Myers <joseph@codesourcery.com>
36614 * sysdeps/generic/bp-start.h: Remove file.
36615 * csu/libc-start.c: Don't include <bp-start.h>.
36616 (LIBC_START_MAIN): Set up __environ directly instead of using
36617 INIT_ARGV_and_ENVIRON.
36618 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36622 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36624 (CHECK_FCNTL): Likewise.
36625 (CHECK_N_PAGES): Likewise.
36628 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36630 (CHECK_SIGSET_NULL_OK): Likewise.
36631 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36633 (sigpending): Don't use CHECK_SIGSET.
36634 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36636 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36637 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36639 (do_sigsuspend): Don't use CHECK_SIGSET.
36640 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36642 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36643 (do_sigwait): Don't use CHECK_SIGSET.
36644 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36646 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36647 include <bp-checks.h>.
36648 (sigpending): Don't use CHECK_SIGSET.
36649 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36650 include <bp-checks.h>.
36651 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36652 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36654 (sigpending): Don't use CHECK_SIGSET.
36655 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36657 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36660 * sysdeps/generic/bp-semctl.h: Remove file.
36661 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36662 <bp-checks.h> and <bp-semctl.h>.
36663 (__old_semctl): Don't use CHECK_SEMCTL.
36664 (__new_semctl): Likewise.
36665 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36667 (__old_semctl): Don't use CHECK_SEMCTL.
36668 (__new_semctl): Likewise.
36669 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36670 <bp-checks.h> and <bp-semctl.h>.
36671 (__old_semctl): Don't use CHECK_SEMCTL.
36672 (__new_semctl): Likewise.
36673 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36674 <bp-checks.h> and <bp-semctl.h>.
36675 (semctl): Don't use CHECK_SEMCTL.
36678 * Makerules (elide-bp-thunks): Remove variable.
36679 (elide-routines.oS): Don't use $(elide-bp-thunks).
36680 (elide-routines.os): Likewise.
36681 (elide-routines.o): Likewise.
36682 (elide-routines.op): Likewise.
36683 (elide-routines.og): Likewise.
36684 (objects): Don't use $(bp-thunks).
36685 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36687 (common-generated): Do not add s-proto-bp.d.
36688 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36691 Do not generate makefile rules for bounded-pointer thunks.
36692 * sysdeps/generic/bp-thunks.h: Remove file.
36693 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36694 * sysdeps/unix/s-proto-bp.S: Likewise.
36697 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36698 parts of result separately when argument is not close to line from
36699 -i to i and one part of argument is small.
36700 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36701 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36702 * math/libm-test.inc (cacos_test): Add more tests.
36703 (casin_test): Likewise.
36704 (casinh_test): Likewise.
36705 * sysdeps/i386/fpu/libm-test-ulps: Update.
36706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36708 2013-01-31 David S. Miller <davem@davemloft.net>
36710 * po/de.po: Update from translation team.
36712 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
36714 * time/tzfile.c: Include stdint.h for SIZE_MAX.
36716 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
36718 * configure.in (_AC_PROG_CC_C89): New definition.
36719 * configure: Regenerate.
36721 * configure.in (AC_PROG_CPP): New definition.
36722 * configure: Regenerate.
36724 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36726 * debug/tst-backtrace.h: New file.
36727 * debug/tst-backtrace2.c: Include tst-backtrace.h.
36728 (ret): Remove variable.
36730 (FAIL): Remove macro.
36731 (NO_INLINE): Likewise.
36732 (fn1): Use match function instead of strstr.
36733 * debug/tst-backtrace3.c: Include tst-backtrace.h.
36734 (ret): Remove variable.
36736 (FAIL): Remove macro.
36737 (NO_INLINE): Likewise.
36738 (fn): Use match function instead of strstr.
36739 * debug/tst-backtrace4.c: Include tst-backtrace.h.
36740 (ret): Remove variable.
36742 (FAIL): Remove macro.
36743 (NO_INLINE): Likewise.
36744 (handle_signal): Use match function instead of strstr.
36745 * debug/tst-backtrace5.c: Include tst-backtrace.h.
36746 (ret): Remove variable.
36748 (FAIL): Remove macro.
36749 (NO_INLINE): Likewise.
36750 (handle_signal): Use match function instead of strstr.
36752 2013-01-23 Roland McGrath <roland@hack.frob.com>
36754 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36756 2013-01-23 David S. Miller <davem@davemloft.net>
36758 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36759 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36760 argument of CAS if possible.
36761 * sysdeps/sparc/sparc64/bits/atomic.h
36762 (__arch_compare_and_exchange_val_32_acq): Likewise.
36763 (__arch_compare_and_exchange_val_64_acq): Likewise.
36765 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
36767 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36768 * sysdeps/posix/ulimit.c: ... this.
36769 Include <limits.h>.
36770 * sysdeps/unix/bsd/ulimit.c: Remove file.
36772 2013-01-23 Adam Conrad <adconrad@0c3.net>
36774 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36775 (LDFLAGS-tst-array5): Likewise.
36777 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36780 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36781 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36782 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36783 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36785 2013-01-21 David S. Miller <davem@davemloft.net>
36787 * sysdeps/sparc/backtrace.c: New file.
36788 * sysdeps/sparc/sparc32/backtrace.h: New file.
36789 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36790 * sysdeps/sparc/sparc64/backtrace.h: New file.
36791 * sysdeps/sparc/sparc64/backtrace.c: Delete.
36792 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36795 2013-01-21 Andreas Schwab <schwab@suse.de>
36798 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36801 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
36803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36807 2013-01-18 Joseph Myers <joseph@codesourcery.com>
36808 Mark Mitchell <mark@codesourcery.com>
36809 Tom de Vries <tom@codesourcery.com>
36810 Paul Pluzhnikov <ppluzhnikov@google.com>
36812 * debug/tst-backtrace2.c: New file.
36813 * debug/tst-backtrace3.c: Likewise.
36814 * debug/tst-backtrace4.c: Likewise.
36815 * debug/tst-backtrace5.c: Likewise.
36816 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36817 (CFLAGS-tst-backtrace3.c): Likewise.
36818 (CFLAGS-tst-backtrace4.c): Likewise.
36819 (CFLAGS-tst-backtrace5.c): Likewise.
36820 (LDFLAGS-tst-backtrace2): Likewise.
36821 (LDFLAGS-tst-backtrace3): Likewise.
36822 (LDFLAGS-tst-backtrace4): Likewise.
36823 (LDFLAGS-tst-backtrace5): Likewise.
36824 (tests): Add new tests tst-backtrace2, tst-backtrace3,
36825 tst-backtrace4 and tst-backtrace5.
36827 2013-01-18 Anton Blanchard <anton@samba.org>
36828 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36830 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36831 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36832 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36833 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36835 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36836 "+r" and remove output regs list as redundant. Add explicit inline
36837 asm to specify register of return val to work around compiler codegen
36838 bug. Remove (int) cast on return value. Add return type parameter to
36839 use in macro so that this macro does not truncate return value for
36841 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36842 pass to INTERNAL_VSYSCALL_NCS.
36843 (INLINE_VSYSCALL): Add 'long int' as return type to
36844 INTERNAL_VSYSCALL_NCS macro invocation.
36845 (INTERNAL_VSYSCALL): Add 'long int' as return type to
36846 INTERNAL_VSYSCALL_NCS macro invocation.
36847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36849 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36852 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36853 Fix application of SIMD FP exception mask.
36855 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36856 mp_no from a power of two.
36857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36858 __mpexp_twomm1. Use __pow_mp.
36860 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36863 2013-01-17 David S. Miller <davem@davemloft.net>
36865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36867 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36870 * include/complex.h: Condition contents on [!_COMPLEX_H].
36871 (__kernel_casinhf): New prototype.
36872 (__kernel_casinh): Likewise.
36873 (__kernel_casinhl): Likewise.
36874 * math/Makefile (libm_calls): Add k_casinh.
36875 * math/k_casinh.c: New file.
36876 * math/k_casinhf.c: Likewise.
36877 * math/k_casinhl.c: Likewise.
36878 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36879 finite nonzero arguments.
36880 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36881 finite nonzero arguments.
36882 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36883 finite nonzero arguments.
36884 * math/s_casinh.c: Do not include <float.h>.
36885 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36886 * math/s_casinhf.c: Do not include <float.h>.
36887 (__casinhf): Move code for finite nonzero arguments to
36889 * math/s_casinhl.c: Do not include <float.h>.
36890 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36892 (__casinhl): Move code for finite nonzero arguments to
36894 * math/libm-test.inc (cacos_test): Add more tests.
36895 * sysdeps/i386/fpu/libm-test-ulps: Update.
36896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36898 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
36900 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36901 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36902 [!HAVE_MREMAP]: Remove [defined linux] case.
36903 * malloc/arena.c: Do not include <malloc-sysdep.h>.
36905 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36907 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36909 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
36911 * elf/elf.h (R_386_SIZE32): New relocation.
36912 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36914 (elf_machine_rela): Likewise.
36915 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36916 R_X86_64_SIZE64 and R_X86_64_SIZE32.
36918 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36920 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36921 (FP_FAST_FMA): Do not define.
36922 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36923 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36924 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36925 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36926 !_SOFT_FLOAT]: Likewise.
36927 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36928 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36930 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36931 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36932 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36933 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36934 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36935 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36938 2013-01-16 Andreas Schwab <schwab@suse.de>
36941 * include/stdlib.h (__mktemp): Add declaration.
36942 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36943 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36945 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36947 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36949 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36950 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36951 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36953 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36954 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36956 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36958 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36959 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36960 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36962 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36963 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36965 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36967 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36969 2013-01-15 David S. Miller <davem@davemloft.net>
36971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36972 trunc{,f} to libm-sysdep_routes.
36973 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36983 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36984 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36985 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36986 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36987 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36988 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36991 nearbyint{,f} to libm-sysdep_routes.
36992 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37003 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37005 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37006 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37008 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37009 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37010 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37012 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37013 libc_feholdexcept and libc_fesetenv.
37015 2013-01-15 Mike Frysinger <vapier@gentoo.org>
37017 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37019 2013-01-14 David S. Miller <davem@davemloft.net>
37021 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37022 (SPARC_ASM_VIS2_IFUNC): Likewise.
37023 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37025 use of 'siam' instruction.
37026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37059 routines to libm-sysdep_routines.
37060 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37063 fdim/fdimf to libm-sysdep_routines.
37064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37072 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37073 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37074 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37075 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37077 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37079 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37080 to optimize copies.
37082 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37087 local variable MPTWO.
37088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37091 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37093 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37096 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37098 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37100 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37102 * manual/pattern.texi (glob_t): Document gl_flags.
37103 (glob64_t): Likewise.
37105 2013-01-11 David S. Miller <davem@davemloft.net>
37107 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37108 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37109 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
37110 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37111 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37112 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37113 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37114 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37115 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37116 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37117 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37118 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37119 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37121 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37122 sparc V9 rather than using V8 code.
37123 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37124 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37126 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37128 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37131 2013-01-11 Roland McGrath <roland@hack.frob.com>
37133 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37134 not in the main loop.
37135 * configure: Regenerated.
37137 2013-01-11 Joseph Myers <joseph@codesourcery.com>
37139 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37140 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37142 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
37143 [!__GLIBC_HAVE_LONG_LONG] case.
37144 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37145 condition to just #else.
37146 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37147 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37148 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37149 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37151 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37152 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37153 #elif condition to just #else.
37154 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37155 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37156 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37157 #elif condition to just #else.
37159 2013-01-11 Steve Ellcey <sellcey@mips.com>
37161 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37162 (EF_MIPS_ARCH_64): Fix value.
37163 (EF_MIPS_ARCH_32R2): New.
37164 (EF_MIPS_ARCH_64R2): New.
37166 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
37168 * Makeconfig (+link-pie-before-libc): New.
37169 (+link-pie-after-libc): Likewise.
37170 (+link-pie-tests): Likewise.
37171 (+link-pie): Rewritten.
37172 (link-before-libc): Remove $(config-LDFLAGS).
37173 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37174 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37175 (config-LDFLAGS): Renamed to ...
37176 (rtld-LDFLAGS): This.
37177 (rtld-tests-LDFLAGS): New macro.
37178 (link-libc-rpath-link): Likewise.
37179 (link-libc-tests-rpath-link): Likewise.
37180 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37181 (link-libc): Prepand $(link-libc-rpath-link).
37182 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37183 (test-program-prefix): New macro.
37184 (test-via-rtld-prefix): Likewise.
37185 (test-program-cmd): Likewise.
37186 (host-test-program-cmd): Likewise.
37187 * Makefile ($(common-objpfx)testrun.sh): Replace
37188 $(run-program-prefix) with $(test-program-prefix).
37189 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37191 ($(common-objpfx)shlib.lds): Likewise.
37192 (build-module-helper): Likewise.
37193 ($(common-objpfx)format.lds): Likewise.
37194 * Rules (binaries-pie-tests): New.
37195 (binaries-pie-notests): Likewise.
37196 (binaries-pie): Rewritten.
37197 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37198 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37199 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37200 (make-test-out): Replace $(host-built-program-cmd) with
37201 $(host-test-program-cmd).
37202 * config.make.in (build-hardcoded-path-in-tests): New variable.
37203 * configure.in (--enable-hardcoded-path-in-tests): New configure
37205 (hardcoded_path_in_tests): New AC_SUBST.
37206 * configure: Regenerated.
37207 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37208 $(built-program-cmd) with $(test-program-cmd).
37209 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37210 (test_program_cmd): This.
37211 * elf/Makefile ($(objpfx)order.out): Run test with
37212 $(test-program-prefix).
37213 ($(objpfx)order2.out): Likewise.
37214 ($(objpfx)tst-initorder.out): Likewise.
37215 ($(objpfx)tst-initorder2.out): Likewise.
37216 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37217 $(test-program-cmd).
37218 ($(objpfx)tst-array1-static.out): Likewise.
37219 ($(objpfx)tst-array2.out): Likewise.
37220 ($(objpfx)tst-array3.out): Likewise.
37221 ($(objpfx)tst-array4.out): Likewise.
37222 ($(objpfx)tst-array5.out): Likewise.
37223 ($(objpfx)tst-array5-static.out): Likewise.
37224 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37225 $(test-program-cmd).
37226 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37227 $(run-program-prefix) with $(test-program-prefix).
37228 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37229 (test_program_prefix): This.
37230 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37231 $(run-program-prefix) with $(test-program-prefix).
37232 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37233 (test_program_prefix): This.
37234 * iconvdata/tst-tables.sh: Likewise.
37235 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37236 $(run-program-prefix) with $(test-program-prefix).
37237 ($(objpfx)tst-translit.out): Likewise.
37238 ($(objpfx)tst-gettext2.out): Likewise.
37239 ($(objpfx)tst-gettext4.out): Likewise.
37240 ($(objpfx)tst-gettext6.out): Likewise.
37241 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37242 (test_program_prefix): This.
37243 * intl/tst-gettext2.sh: Likewise.
37244 * intl/tst-gettext4.sh Likewise.
37245 * intl/tst-gettext6.sh: Likewise.
37246 * intl/tst-translit.sh: Likewise.
37247 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37248 with $(test-program-cmd).
37249 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37250 $(run-program-prefix) with $(test-program-prefix).
37251 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37252 (test_program_prefix): This.
37253 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37254 $(run-program-prefix) with $(test-program-prefix).
37255 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37256 (test_program_prefix): This.
37257 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37258 * posix/Makefile ($(objpfx)globtest.out): Replace
37259 $(run-via-rtld-prefix) and $(test-wrapper) with
37260 $(test-program-prefix) and $(test-via-rtld-prefix).
37261 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37262 $(test-program-prefix).
37263 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37264 $(host-test-program-cmd).
37265 (tst-spawn-ARGS): Likewise.
37266 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37267 $(test-program-prefix).
37268 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37269 (test_via_rtld_prefix): This.
37270 (test_wrapper): Renamed to ...
37271 (test_program_prefix): This.
37272 (run_program_prefix): Replaced by test_program_prefix.
37273 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37274 (test_program_prefix): This.
37275 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37276 with $(host-test-program-cmd).
37277 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37278 $(run-program-prefix) with $(test-program-prefix).
37279 ($(objpfx)tst-printf.out): Likewise.
37280 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37281 $(test-program-cmd).
37282 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37283 (test_program_prefix): This.
37284 * stdio-common/tst-unbputc.sh: Likewise.
37285 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37286 $(run-program-prefix) with $(test-program-prefix).
37287 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37288 (test_program_prefix): This.
37289 * string/Makefile ($(objpfx)tst-svc.out): Replace
37290 $(built-program-cmd) with $(test-program-cmd).
37292 2013-01-11 Andreas Jaeger <aj@suse.de>
37295 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37296 value. Sync with Linux 3.7.
37298 2013-01-10 David S. Miller <davem@davemloft.net>
37300 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37301 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37302 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37304 2013-01-10 Roland McGrath <roland@hack.frob.com>
37306 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37308 * configure: Regenerated.
37310 2013-01-10 David S. Miller <davem@davemloft.net>
37312 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37313 sparc V9 rather than using V8 code.
37314 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37315 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37317 2013-01-10 Roland McGrath <roland@hack.frob.com>
37319 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37320 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37321 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37322 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37323 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37324 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37325 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37326 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37327 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37328 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37329 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37330 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37331 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37332 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37333 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37334 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37335 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37336 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37337 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37338 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37339 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37340 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37341 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37342 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37343 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37344 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37345 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37347 2013-01-10 David S. Miller <davem@davemloft.net>
37349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37351 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37353 * posix/Makefile (tests-static): New variable.
37354 (tests): Add $(tests-static).
37355 (tst-exec-static-ARGS): New variable.
37356 (tst-spawn-static-ARGS): Likewise.
37357 * posix/tst-exec-static.c: New file.
37358 * posix/tst-spawn-static.c: Likewise.
37359 * posix/tst-exec.c: Support run directly.
37360 * posix/tst-spawn.c: Likewise.
37362 2013-01-10 Joseph Myers <joseph@codesourcery.com>
37364 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37366 * math/bits/mathcalls.h (llrint): Likewise.
37367 (llround): Likewise.
37368 * stdlib/stdlib.h (struct drand48_data): Likewise.
37369 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37370 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37371 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37373 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37375 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37376 (elf_greg_t): Likewise.
37377 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37378 (__jmp_buf): Likewise.
37379 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37381 (llrint): Likewise, for all definitions.
37382 (llrintl): Likewise.
37384 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37385 Remove [__GNUC__] condition.
37386 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37387 condition to just [__USE_ISOC99].
37388 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37390 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37393 * sysdeps/unix/sysv/linux/x86/bits/environments.h
37394 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37396 (_POSIX_V6_ILP32_OFF32): Likewise.
37397 (_XBS5_ILP32_OFF32): Likewise.
37398 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37399 (__ILP32_OFFBIG_LDFLAGS): Likewise.
37401 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37403 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37406 doubles __mpexp_twomm1. Adjust usage.
37407 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37410 2013-01-10 Andreas Schwab <schwab@suse.de>
37413 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37414 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37416 2013-01-09 David S. Miller <davem@davemloft.net>
37419 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37420 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37421 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37422 (TCP_FASTOPEN): Define.
37423 (tcp_repair_opt): New structure.
37424 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37426 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37427 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37428 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37429 (tcp_cookie_transactions): New structure.
37431 2013-01-09 Anton Blanchard <anton@samba.org>
37433 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37434 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37435 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37436 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37438 2013-01-09 Joseph Myers <joseph@codesourcery.com>
37440 * include/features.h (__USE_ANSI): Remove.
37442 2013-01-09 Roland McGrath <roland@hack.frob.com>
37444 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37446 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37448 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37450 * sysdeps/s390/fpu/libm-test-ulps: Update.
37452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37454 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37458 (denorm): Likewise.
37459 (__mp_dbl): Likewise.
37460 (__dbl_mp): Likewise.
37461 (add_magnitudes): Likewise.
37462 (sub_magnitudes): Likewise.
37468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37472 (denorm): Likewise.
37473 (__mp_dbl): Likewise.
37474 (__dbl_mp): Likewise.
37475 (add_magnitudes): Likewise.
37476 (sub_magnitudes): Likewise.
37482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37486 (denorm): Likewise.
37487 (__mp_dbl): Likewise.
37488 (__dbl_mp): Likewise.
37489 (add_magnitudes): Likewise.
37490 (sub_magnitudes): Likewise.
37497 2013-01-08 Joseph Myers <joseph@codesourcery.com>
37499 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37500 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37501 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37502 2 && __USE_EXTERN_INLINES]: Likewise.
37504 2013-01-08 Andreas Jaeger <aj@suse.de>
37507 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37509 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37510 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37512 2013-01-07 Anton Blanchard <anton@samba.org>
37514 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37515 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37516 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37517 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37518 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37519 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37520 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37521 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37523 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37524 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37525 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37526 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37527 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37528 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37529 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37530 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37531 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37532 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37533 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37534 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37535 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37537 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37538 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37539 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37540 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37541 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37542 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37543 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37544 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37546 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37547 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37548 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37549 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37550 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37551 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37552 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37553 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37554 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37555 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37556 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37558 2013-01-07 Joseph Myers <joseph@codesourcery.com>
37560 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37561 (__MALLOC_PMT): Likewise.
37562 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37563 [__GNUC__], only on [_LIBC].
37564 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37565 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37566 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37567 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37568 forward declaration.
37569 (realloc_hook_ini): Likewise.
37570 (memalign_hook_ini): Likewise.
37571 (__libc_memalign): Do not use __MALLOC_PMT in variable
37573 (__libc_valloc): Likewise.
37574 (__libc_pvalloc): Likewise.
37575 (__libc_calloc): Likewise.
37576 (__posix_memalign): Likewise.
37579 * math/s_casinh.c: Include <float.h>.
37580 (__casinh): Do not do computation with squaring and square root
37581 for large arguments.
37582 * math/s_casinhf.c: Include <float.h>.
37583 (__casinhf): Do not do computation with squaring and square root
37584 for large arguments.
37585 * math/s_casinhl.c: Include <float.h>.
37586 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37587 (__casinhl): Do not do computation with squaring and square root
37588 for large arguments.
37589 * math/libm-test.inc (casin_test): Add more tests.
37590 (casinh_test): Likewise.
37591 * sysdeps/i386/fpu/libm-test-ulps: Update.
37592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37594 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
37596 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37597 (__x86_64_raw_data_cache_size): Likewise.
37598 (__x86_64_data_cache_size_half): Likewise.
37599 (__x86_64_raw_data_cache_size_half): Likewise.
37600 (__x86_64_shared_cache_size): Likewise.
37601 (__x86_64_raw_shared_cache_size): Likewise.
37602 (__x86_64_shared_cache_size_half): Likewise.
37603 (__x86_64_raw_shared_cache_size_half): Likewise.
37604 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37606 (__x86_data_cache_size): This.
37607 (__x86_64_raw_data_cache_size): Renamed to ...
37608 (__x86_raw_data_cache_size): This.
37609 (__x86_64_data_cache_size_half): Renamed to ...
37610 (__x86_data_cache_size_half): This.
37611 (__x86_64_raw_data_cache_size_half): Renamed to ...
37612 (__x86_raw_data_cache_size_half): This.
37613 (__x86_64_shared_cache_size): Renamed to ...
37614 (__x86_shared_cache_size): This.
37615 (__x86_64_raw_shared_cache_size): Renamed to ...
37616 (__x86_raw_shared_cache_size): This.
37617 (__x86_64_shared_cache_size_half): Renamed to ...
37618 (__x86_shared_cache_size_half): This.
37619 (__x86_64_raw_shared_cache_size_half): Renamed to ...
37620 (__x86_raw_shared_cache_size_half): This.
37621 * sysdeps/x86_64/memcpy.S: Updated.
37622 * sysdeps/x86_64/memset.S: Likewise.
37623 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37624 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37625 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37627 2013-01-04 David S. Miller <davem@davemloft.net>
37629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37631 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
37633 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37634 1 to avoid redefinition warning.
37635 (__USE_GNU): Don't define.
37636 (init_signaling_nan): Protoize.
37638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37640 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37642 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37644 (__cpymn): Likewise.
37645 (norm): Remove commented code.
37646 (denorm): Likewise.
37647 (__mp_dbl): Likewise.
37649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37650 (__cpymn): Likewise.
37651 (norm): Remove commented code.
37652 (denorm): Likewise.
37653 (__mp_dbl): Likewise.
37656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37657 mp_no value for 1.0 and 2.0.
37658 (norm): Use RADIXI instead of radixi.d.
37659 (denorm): Likewise.
37660 (__mul): Use 0.0 instead of zero.d.
37661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37662 mp_no value for 1.0 and 2.0.
37663 (norm): Use RADIXI instead of radixi.d.
37664 (denorm): Likewise.
37665 (__mul): Use 0.0 instead of zero.d.
37667 2013-01-04 Joseph Myers <joseph@codesourcery.com>
37670 * math/s_casinh.c (__casinh): Reduce finite argument to first
37671 quadrant then set signs of results at the end.
37672 * math/s_casinhf.c (__casinhf): Likewise.
37673 * math/s_casinhl.c (__casinhl): Likewise.
37674 * math/libm-test.inc (casin_test): Add more tests.
37675 (casinh_test): Likewise.
37676 * sysdeps/i386/fpu/libm-test-ulps: Update.
37677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37679 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37681 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37683 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37685 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37687 (denorm): Likewise.
37688 (__mp_dbl): Likewise.
37691 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37692 and adjust the header comment.
37694 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37695 variable name from declaration.
37697 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
37699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37700 Initialize COMMON_CPUID_INDEX_7 element.
37701 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37702 (CPUID_RTM): Likewise.
37703 (HAS_RTM): Likewise.
37704 (COMMON_CPUID_INDEX_7): New enum.
37706 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
37709 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37710 size is zero, record memory as freed.
37712 2013-01-03 Andreas Jaeger <aj@suse.de>
37714 * po/ia.po: Add new Interlingua translation.
37716 2012-01-03 Allan McRae <allan@archlinux.org>
37718 * locale/programs/localedef.c: Fix description of '--posix' flag.
37720 2013-01-02 Joseph Myers <joseph@codesourcery.com>
37722 * NEWS: Update dates in second copyright notice.
37723 * README: Update copyright dates in example.
37724 * manual/libc.texinfo: Update copyright dates.
37725 * scripts/test-installation.pl: Update copyright date in --version
37728 * hurd/ctty-input.c: Fix copyright notice formatting.
37729 * hurd/ctty-output.c: Likewise.
37730 * hurd/dtable.c: Likewise.
37731 * hurd/hurd-raise.c: Likewise.
37732 * hurd/hurdprio.c: Likewise.
37733 * hurd/msgportdemux.c: Likewise.
37734 * misc/sys/file.h: Likewise.
37735 * misc/sys/ioctl.h: Likewise.
37736 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37737 * sysdeps/mach/hurd/chdir.c: Likewise.
37738 * sysdeps/mach/hurd/fchdir.c: Likewise.
37739 * sysdeps/mach/hurd/rename.c: Likewise.
37740 * sysdeps/mach/hurd/rmdir.c: Likewise.
37741 * sysdeps/mach/hurd/seekdir.c: Likewise.
37742 * sysdeps/mach/hurd/setsid.c: Likewise.
37743 * sysdeps/posix/wait3.c: Likewise.
37745 * All files with FSF copyright notices: Update copyright dates
37746 using scripts/update-copyrights.
37747 * intl/plural.c: Regenerated.
37748 * locale/programs/charmap-kw.h: Likewise.
37749 * locale/programs/locfile-kw.h: Likewise.
37751 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37753 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37756 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37757 calculation loop and add branch prediction.
37759 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37760 check access beyond bounds of m1np.
37762 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37764 (__inv): Remove local variable MPTWO to use the global
37766 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37767 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37769 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37770 MP3HALFS static const.
37772 2013-01-01 David S. Miller <davem@davemloft.net>
37774 * po/ca.po: Update from translation team.
37776 2013-01-01 Joseph Myers <joseph@codesourcery.com>
37778 * scripts/update-copyrights: New file.
37779 * Makeconfig: Reformat copyright notice.
37780 * ctype/ctype.h: Likewise.
37781 * debug/swprintf_chk.c: Likewise.
37782 * elf/dl-cache.c: Likewise.
37783 * elf/dl-debug.c: Likewise.
37784 * elf/dl-object.c: Likewise.
37785 * grp/initgroups.c: Likewise.
37786 * hurd/Makefile: Likewise.
37787 * hurd/hurd/signal.h: Likewise.
37788 * hurd/hurdfault.c: Likewise.
37789 * hurd/hurdioctl.c: Likewise.
37790 * hurd/hurdlookup.c: Likewise.
37791 * hurd/intr-msg.c: Likewise.
37792 * iconv/gconv_open.c: Likewise.
37793 * libio/swprintf.c: Likewise.
37794 * locale/lc-ctype.c: Likewise.
37795 * locale/nl_langinfo.c: Likewise.
37796 * mach/Machrules: Likewise.
37797 * mach/Makefile: Likewise.
37798 * malloc/obstack.h: Likewise.
37799 * manual/Makefile: Likewise.
37800 * manual/tsort.awk: Likewise.
37801 * misc/bits/stab.def: Likewise.
37802 * nis/nis_print_group_entry.c: Likewise.
37803 * nis/nis_table.c: Likewise.
37804 * nis/nss_compat/compat-pwd.c: Likewise.
37805 * nis/nss_compat/compat-spwd.c: Likewise.
37806 * po/Makefile: Likewise.
37807 * posix/fnmatch.c: Likewise.
37808 * posix/regex.h: Likewise.
37809 * resolv/Makefile: Likewise.
37810 * resolv/nss_dns/dns-network.c: Likewise.
37811 * resolv/res_hconf.c: Likewise.
37812 * scripts/gen-sorted.awk: Likewise.
37813 * soft-fp/soft-fp.h: Likewise.
37814 * stdio-common/printf.h: Likewise.
37815 * stdlib/monetary.h: Likewise.
37816 * stdlib/random.c: Likewise.
37817 * stdlib/random_r.c: Likewise.
37818 * sysdeps/generic/Makefile: Likewise.
37819 * sysdeps/gnu/Makefile: Likewise.
37820 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37821 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37822 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37824 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37827 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37828 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37829 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37830 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37831 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37832 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37833 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37834 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37835 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37836 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37837 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37838 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37840 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37841 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37842 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37843 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37844 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37845 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37846 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37847 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37848 * sysdeps/mach/hurd/errnos.awk: Likewise.
37849 * sysdeps/mach/hurd/fork.c: Likewise.
37850 * sysdeps/mach/hurd/getcwd.c: Likewise.
37851 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37852 * sysdeps/mach/hurd/mmap.c: Likewise.
37853 * sysdeps/mach/hurd/utimes.c: Likewise.
37854 * sysdeps/mach/hurd/xmknod.c: Likewise.
37855 * sysdeps/posix/profil.c: Likewise.
37856 * sysdeps/posix/readdir_r.c: Likewise.
37857 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37858 * sysdeps/powerpc/bits/setjmp.h: Likewise.
37859 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37860 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37862 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37863 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37864 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37866 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37867 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37868 * sysdeps/pthread/lio_listio.c: Likewise.
37869 * sysdeps/sparc/dl-procinfo.h: Likewise.
37870 * sysdeps/unix/i386/sysdep.S: Likewise.
37871 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37872 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37873 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37874 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37876 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37877 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37878 * sysdeps/unix/sysv/linux/speed.c: Likewise.
37879 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37880 * sysdeps/wordsize-32/divdi3.c: Likewise.
37881 * time/sys/time.h: Likewise.
37882 * wcsmbs/Makefile: Likewise.
37884 2013-01-01 David S. Miller <davem@davemloft.net>
37886 * po/fr.po: Update from translation team.
37888 * catgets/gencat.c: Update copyright year.
37889 * csu/version.c: Likewise.
37890 * debug/catchsegv.sh: Likewise.
37891 * debug/pcprofiledump.c: Likewise.
37892 * debug/xtrace.sh: Likewise.
37893 * elf/ldconfig.c: Likewise.
37894 * elf/ldd.bash.in: Likewise.
37895 * elf/pldd.c: Likewise.
37896 * elf/sotruss.ksh: Likewise.
37897 * elf/sprof.c: Likewise.
37898 * iconv/iconv_prog.c: Likewise.
37899 * iconv/iconvconfig.c: Likewise.
37900 * locale/programs/locale.c: Likewise.
37901 * locale/programs/localedef.c: Likewise.
37902 * login/programs/pt_chown.c: Likewise.
37903 * malloc/memusage.sh: Likewise.
37904 * malloc/memusagestat.c: Likewise.
37905 * malloc/mtrace.pl: Likewise.
37906 * nscd/nscd.c: Likewise.
37907 * nss/getent.c: Likewise.
37908 * nss/makedb.c: Likewise.
37909 * posix/getconf.c: Likewise.
37911 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37913 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37916 2012-12-30 Mike Frysinger <vapier@gentoo.org>
37918 * math/bits/mathcalls.h (modf): Use __nonnull.
37920 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37922 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37923 (split): Use macro CN instead of the bare value.
37924 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37926 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37927 instead of the bare value.
37928 (power1): Likewise.
37930 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37932 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37934 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37936 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37938 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37939 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37940 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37941 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37943 2012-12-28 Andreas Jaeger <aj@suse.de>
37945 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
37946 values are from Linux 3.7.
37948 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37949 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
37951 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37953 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37956 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37958 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37959 variables with preprocessor constants.
37960 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37961 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37962 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37964 2012-12-27 Bruno Haible <bruno@clisp.org>
37967 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37970 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37972 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37973 and use variable directly.
37974 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37976 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37978 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37979 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37981 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37982 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37983 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37984 include directive. Remove local variable MPONE.
37985 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37986 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37987 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37989 2012-12-25 David S. Miller <davem@davemloft.net>
37991 * version.h (RELEASE): Set to "development".
37992 (VERSION): Set to "2.17.90".
37993 * NEWS: Add 2.18 section.
37995 2012-12-21 David S. Miller <davem@davemloft.net>
37997 * po/hr.po: Update from translation team.
37999 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38001 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38003 2012-12-19 Steve Ellcey <sellcey@mips.com>
38005 * NEWS: Mention new memcpy for MIPS.
38007 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38009 * manual/contrib.texi (Contributors): Spelling correction.
38011 2012-12-15 David S. Miller <davem@davemloft.net>
38013 * po/ru.po: Update from translation team.
38015 2012-12-13 David S. Miller <davem@davemloft.net>
38017 * NEWS: Mention IFUNC testsuite enhancements.
38019 * po/pl.po: Update from translation team.
38020 * po/bg.po: Likewise.
38022 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38023 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38025 2012-12-11 David S. Miller <davem@davemloft.net>
38027 * po/sv.po: Update from translation team.
38029 * po/vi.po: Update from translation team.
38031 * po/cs.po: Update from translation team.
38033 * po/de.po: Update from translation team.
38034 * po/eo.po: Likewise.
38035 * po/nl.po: Likewise.
38037 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38040 * manual/argp.texi (Argp Helper Functions): Move node to follow
38041 Argp Parsing State.
38044 * manual/conf.texi (Limits on File System Capacity): Mention if
38045 terminating null is included in the max size.
38047 2012-12-10 Andreas Jaeger <aj@suse.de>
38049 * po/cs.po: Update from translation team.
38051 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38053 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38054 void pointer and cast to uintptr_t.
38055 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38057 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38058 * sysdeps/s390/s390-64/memset.S: Likewise.
38060 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
38063 * menual/message.texi (Message Translation): Fix typos.
38064 (Helper programs for gettext): Likewise.
38066 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38069 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38072 2012-12-07 David S. Miller <davem@davemloft.net>
38074 * po/libc.pot: Update.
38076 2012-12-07 Richard Henderson <rth@redhat.com>
38079 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38080 normal/normal case to before the switch.
38081 (_FP_DIV): Likewise.
38083 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38084 Mike Frysinger <vapier@gentoo.org>
38086 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38087 check for __NR_fadvise64_64.
38089 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38091 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38092 0, not just to plain "0" as a statement.
38093 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38096 2012-12-06 Joseph Myers <joseph@codesourcery.com>
38098 * NEWS: Use sourceware.org in Bugzilla URL.
38100 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38103 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38105 * stdio-common/tst-put-error.c (do_test): Add newline to the
38106 padded test to ensure flush.
38108 2012-12-05 Jeff Law <law@redhat.com>
38110 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38112 2012-12-05 Joseph Myers <joseph@codesourcery.com>
38114 * README: Don't refer to ports add-on as distributed separately.
38115 Mention AArch64 in list of systems supported in the ports add-on.
38117 * LICENSES: Add more non-FSF copyright and license notices.
38119 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38122 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38124 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38125 10000 as width of padded output.
38127 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38129 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38131 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38132 variable LX with __attribute__ ((unused)).
38133 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38135 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38136 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38137 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38138 with __attribute__ ((unused)).
38140 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
38142 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38144 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38146 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38147 (CFLAGS-nldbl-acos.c): New variable.
38148 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38149 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38150 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38151 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38152 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38153 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38154 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38155 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38156 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38157 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38158 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38159 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38160 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38161 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38162 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38163 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38164 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38165 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38166 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38167 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38168 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38169 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38170 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38171 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38172 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38173 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38174 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38175 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38176 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38177 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38178 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38179 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38180 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38181 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38182 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38183 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38184 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38185 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38186 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38187 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38188 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38189 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38190 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38191 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38192 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38193 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38194 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38195 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38196 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38197 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38198 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38199 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38200 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38201 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38202 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38203 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38204 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38205 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38206 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38207 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38208 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38209 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38210 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38211 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38212 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38213 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38214 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38215 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38216 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38217 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38218 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38219 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38220 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38221 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38222 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38223 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38224 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38225 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38226 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38227 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38228 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38229 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38230 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38231 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38232 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38233 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38234 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38235 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38236 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38237 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38238 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38239 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38240 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38241 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38242 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38243 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38244 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38247 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38251 whole low double instead of just low 47 bits when splitting values
38254 2012-12-03 Allan McRae <allan@archlinux.org>
38256 * manual/stdio.texi (Predefined Printf Handlers): Remove
38257 @hsep and @vsep usage.
38259 2012-12-03 Mike Frysinger <vapier@gentoo.org>
38261 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38262 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38264 2012-12-03 Jeff Law <law@redhat.com>
38266 * time/sys/time.h (settimeofday): Do not mark TV argument
38269 2012-12-01 Mike Frysinger <vapier@gentoo.org>
38271 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38272 when currently writing and seek to current position when not.
38273 * libio/Makefile (tests): Remove bug-fclose1.
38274 * libio/bug-fclose1.c: Delete.
38276 2012-12-01 Joseph Myers <joseph@codesourcery.com>
38278 * manual/arith.texi (feenableexcept): Fix typo.
38279 (fedisableexcept): Likewise.
38281 2012-11-30 Roland McGrath <roland@hack.frob.com>
38283 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38284 second, differently-typed declaration, rather than a cast.
38286 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38288 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38289 * include/rpc/svc.h: ... here.
38291 2012-11-30 Aurelien Jarno <aurel32@debian.org>
38294 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38295 depending n and resplen2 to catch cases where answer
38298 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38300 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38301 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38303 2012-11-29 Mike Frysinger <vapier@gentoo.org>
38305 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38307 2012-11-29 Roland McGrath <roland@hack.frob.com>
38309 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38311 2012-11-28 Jeff Law <law@redhat.com>
38314 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38315 dataset_temporary. Track alloca usage into alloca_used.
38316 If dataset is large allocate and release it via malloc/free.
38318 2012-06-04 Florian Weimer <fweimer@redhat.com>
38321 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38323 2012-11-28 David S. Miller <davem@davemloft.net>
38325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38327 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38330 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38331 of pi/2 rounded to nearest to 64 bits.
38332 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38333 nearest to 64 bits.
38334 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38337 2012-11-28 Jeff Law <law@redhat.com>
38338 Martin Osvald <mosvald@redhat.com>
38341 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38342 * sunrpc/svc.c: Include time.h.
38343 (__svc_accept_failed): New function.
38344 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38345 any reason other than EINTR, call __svc_accept_failed.
38346 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38347 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38349 2012-11-28 Andreas Schwab <schwab@suse.de>
38351 * scripts/abilist.awk: Also handle indirect functions in .opd
38354 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38357 * sysdeps/x86/fpu/powl_helper.c: New file.
38358 * sysdeps/x86/fpu/Makefile: Likewise.
38359 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38361 (__ieee754_powl): Use __powl_helper for finite arguments except
38362 integer exponents below 8.
38363 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38365 (__ieee754_powl): Use __powl_helper for finite arguments except
38366 integer exponents below 8.
38367 * math/libm-test.inc (pow_test): Add more tests and enable some
38368 previously disabled tests.
38369 * sysdeps/i386/fpu/libm-test-ulps: Update.
38370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38372 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38373 Carlos O'Donell <carlos_odonell@mentor.com>
38375 * nss/makedb.c (is_prime): Assert that input is odd and greater
38376 than 4. Note that fact in a comment too.
38377 (next_prime): Add 4 to input.
38379 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38382 * libio/Makefile (tests): Add test case tst-fwrite-error.
38383 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38384 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38385 * libio/tst-fwrite-error.c: New test case.
38387 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
38389 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38390 before casting to void *.
38391 * include/libc-internal.h (__pointer_type): New macro.
38392 (__integer_if_pointer_type_sub): Likewise.
38393 (__integer_if_pointer_type): Likewise.
38394 (cast_to_integer): Likewise.
38395 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38396 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38397 before casting to atomic64_t.
38398 (atomic_exchange_acq): Likewise.
38399 (__arch_exchange_and_add_body): Likewise.
38400 (__arch_add_body): Likewise.
38401 (atomic_add_negative): Likewise.
38402 (atomic_add_zero): Likewise.
38404 2012-11-26 Joseph Myers <joseph@codesourcery.com>
38406 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38407 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38408 (add_fdes): Likewise.
38409 (linear_search_fdes): Likewise.
38410 (binary_search_unencoded_fdes): Likewise.
38412 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
38414 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38416 2012-11-24 Adam Conrad <adconrad@0c3.net>
38418 * configure.in: Autodetect C++ header directories.
38419 * configure: Regenerated.
38421 2012-11-23 Mike Frysinger <vapier@gentoo.org>
38423 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38425 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
38427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38429 2012-11-22 Joseph Myers <joseph@codesourcery.com>
38431 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38432 LDBL_MANT_DIG == 106]: Disable some tests.
38433 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38435 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38439 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38440 input for small inputs. Return +/- pi/2 for large inputs.
38441 * math/libm-test.inc (atan_test): Add more tests.
38443 * sysdeps/generic/unwind-dw2-fde-glibc.c
38444 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38445 __attribute__ ((unused)).
38448 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38449 x * y if x and y are nonzero and z is zero.
38452 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38453 nonzero exponents with absolute value below 0x1p-117 to +/-
38457 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38458 up arguments below 2**-450, not just those below 2**-500.
38459 * math/libm-test.inc (hypot_test): Add another test.
38462 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38463 Return a+b for ratio over 2**120, not 2**60.
38464 * math/libm-test.inc (hypot_test): Add another test.
38466 * math/libm-test.inc (clog_test): Use
38467 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38468 (clog10_test): Likewise.
38471 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38473 2012-11-22 Andreas Schwab <schwab@suse.de>
38475 * sysdeps/i386/fpu/libm-test-ulps: Update.
38477 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
38479 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38480 printf output with newline.
38482 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
38485 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38486 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38487 -z nodlopen, -z initfirst and -z execstack support.
38488 * configure: Regenerated.
38490 * elf/elf.h (DF_1_NODIRECT): New macro.
38491 (DF_1_IGNMULDEF): Likewise.
38492 (DF_1_NOKSYMS): Likewise.
38493 (DF_1_NOHDR): Likewise.
38494 (DF_1_EDITED): Likewise.
38495 (DF_1_NORELOC): Likewise.
38496 (DF_1_SYMINTPOSE): Likewise.
38497 (DF_1_GLOBAUDIT): Likewise.
38498 (DF_1_SINGLETON): Likewise.
38499 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38500 DT_1_SUPPORTED_MASK bits.
38501 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38503 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
38505 * sysdeps/unix/make-syscalls.sh: Document prefixes.
38507 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
38509 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38512 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38513 (sendmmsg): Move declarations...
38514 * socket/sys/socket.h: ... here.
38515 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38516 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38518 * socket/recvmmsg.c: ... this new file.
38519 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38520 (sendmmsg): Rename to __sendmmsg, create weak alias and make
38521 definition of __sendmmsg hidden.
38522 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38523 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38524 Move ENOSYS stub into and include it from...
38525 * socket/sendmmsg.c: ... this new file.
38526 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38527 (sysdep_routines): Move recvmmsg and sendmmsg...
38528 * socket/Makefile (routines): ... here.
38529 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38530 (GLIBC_PRIVATE): Add __sendmmsg.
38531 * include/sys/socket.h (__sendmmsg): Add declarations.
38532 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38535 2012-11-20 Joseph Myers <joseph@codesourcery.com>
38537 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38538 variable I1 with __attribute__ ((unused)).
38539 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38541 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38543 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38544 DUMMY variables with __attribute__ ((unused)).
38546 * bits/byteswap.h: Include <bits/types.h>.
38547 (__bswap_64): Use __uint64_t instead of unsigned long long int.
38549 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38551 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38552 string_t. Do not manually set errno.
38553 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38554 length with __strnlen. Make sure to both set errno and return it on
38557 2012-11-19 David S. Miller <davem@davemloft.net>
38559 With help from Joseph Myers.
38560 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38561 very large arguments properly.
38562 * math/libm-test.inc (atan_test): New tests.
38563 (atan2_test): New tests.
38564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38567 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38570 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38573 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38574 [POSIX] (EADDRNOTAVAIL): Likewise.
38575 [POSIX] (EAFNOSUPPORT): Likewise.
38576 [POSIX] (EALREADY): Likewise.
38577 [POSIX] (ECONNABORTED): Likewise.
38578 [POSIX] (ECONNREFUSED): Likewise.
38579 [POSIX] (ECONNRESET): Likewise.
38580 [POSIX] (EDESTADDRREQ): Likewise.
38581 [POSIX] (EDQUOT): Likewise.
38582 [POSIX] (EHOSTUNREACH): Likewise.
38583 [POSIX] (EIDRM): Likewise.
38584 [POSIX] (EISCONN): Likewise.
38585 [POSIX] (ELOOP): Likewise.
38586 [POSIX] (EMULTIHOP): Likewise.
38587 [POSIX] (ENETDOWN): Likewise.
38588 [POSIX] (ENETUNREACH): Likewise.
38589 [POSIX] (ENOBUFS): Likewise.
38590 [POSIX] (ENODATA): Likewise.
38591 [POSIX] (ENOLINK): Likewise.
38592 [POSIX] (ENOMSG): Likewise.
38593 [POSIX] (ENOPROTOOPT): Likewise.
38594 [POSIX] (ENOSR): Likewise.
38595 [POSIX] (ENOSTR): Likewise.
38596 [POSIX] (ENOTCONN): Likewise.
38597 [POSIX] (ENOTSOCK): Likewise.
38598 [POSIX] (EOPNOTSUPP): Likewise.
38599 [POSIX] (EOVERFLOW): Likewise.
38600 [POSIX] (EPROTO): Likewise.
38601 [POSIX] (EPROTONOSUPPORT): Likewise.
38602 [POSIX] (EPROTOTYPE): Likewise.
38603 [POSIX] (ESTALE): Likewise.
38604 [POSIX] (ETIME): Likewise.
38605 [POSIX] (ETXTBSY): Likewise.
38606 [POSIX] (EWOULDBLOCK): Likewise.
38607 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38608 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38609 [POSIX] (SEEK_CUR): Likewise.
38610 [POSIX] (SEEK_END): Likewise.
38611 [POSIX || UNIX98] (mode_t): Do not require.
38612 [POSIX] (off_t): Likewise.
38613 [POSIX] (pid_t): Likewise.
38614 [POSIX] (sys/stat.h): Do not allow header.
38615 [POSIX] (unistd.h): Likewise.
38616 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38617 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38618 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38619 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38621 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38622 sigevent): Specify elements.
38623 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38625 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38626 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38628 * conform/data/cpio.h-data [POSIX]: Disable whole file.
38629 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38630 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38631 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38632 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38633 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38634 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38635 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38636 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38637 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38638 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38639 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38640 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38641 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38643 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38645 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38647 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38649 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38650 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38651 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38652 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38653 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38654 Specify lower bound on value.
38655 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38656 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38657 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38658 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38659 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38660 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38661 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38662 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38664 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38666 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38667 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38668 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38669 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38670 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38671 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38672 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38673 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38674 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38675 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38676 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38677 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38678 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38679 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38680 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38681 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38683 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38685 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38686 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38687 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38688 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38689 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38690 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38692 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38693 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38694 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38695 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38696 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
38697 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38698 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38700 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38701 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38702 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38703 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38704 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38705 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38706 specify as optional.
38707 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38708 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38709 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38710 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38711 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38712 [XPG3] (NL_LANGMAX): Likewise.
38713 [POSIX || XPG3] (NL_MSGMAX): Likewise.
38714 [POSIX || XPG3] (NL_NMAX): Likewise.
38715 [POSIX || XPG3] (NL_SETMAX): Likewise.
38716 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38717 [XPG3] (NZERO): Likewise.
38718 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38719 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38720 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38721 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38722 (REG_ERANGE): Expect.
38723 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38725 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38726 Use (void) in prototype.
38727 [POSIX] (*_t): Allow.
38728 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38729 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38730 (WRDE_BADVAL): Expect.
38732 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38734 [XPG3 || XPG4] (O_RSYNC): Likewise.
38735 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38737 [XPG3 || XPG4] (pthread_sigmask): Likewise.
38738 [XPG3 || XPG4] (sigqueue): Likewise.
38739 [XPG3 || XPG4] (sigtimedwait): Likewise.
38740 [XPG3 || XPG4] (sigwaitinfo): Likewise.
38741 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38742 [XPG3 || XPG4] (vsnprintf): Likewise.
38743 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38745 [XPG3 || XPG4] (blksize_t): Likewise.
38746 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38748 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38749 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38750 [XPG3 || XPG4] (struct itimerspec): Likewise.
38751 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38752 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38753 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38754 [XPG3 || XPG4] (clockid_t): Likewise.
38755 [XPG3 || XPG4] (timer_t): Likewise.
38756 [XPG3 || XPG4] (clock_getres): Likewise.
38757 [XPG3 || XPG4] (clock_gettime): Likewise.
38758 [XPG3 || XPG4] (clock_settime): Likewise.
38759 [XPG3 || XPG4] (nanosleep): Likewise.
38760 [XPG3 || XPG4] (timer_create): Likewise.
38761 [XPG3 || XPG4] (timer_delete): Likewise.
38762 [XPG3 || XPG4] (timer_gettime): Likewise.
38763 [XPG3 || XPG4] (timer_getoverrun): Likewise.
38764 [XPG3 || XPG4] (timer_settime): Likewise.
38765 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38766 [XPG3 || XPG4] (getlogin_r): Likewise.
38767 [XPG3 || XPG4] (pread): Likewise.
38768 [XPG3 || XPG4] (pthread_atfork): Likewise.
38769 [XPG3 || XPG4] (pwrite): Likewise.
38772 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38775 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38777 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38778 finalizing MALLSTREAM.
38780 * sysdeps/mach/hurd/syncfs.c: New file.
38782 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38785 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38786 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38787 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38788 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38789 (_nss_dns_gethostbyname4_r): Likewise.
38790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38791 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38793 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
38796 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38798 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
38800 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38801 * elf/cache.c (print_entry): Print ",AArch64" for
38804 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38805 * elf/cache.c (print_entry): Print ",hard-float" for
38808 2012-11-18 David S. Miller <davem@davemloft.net>
38810 With help from Joseph Myers.
38811 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38813 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38815 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38816 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38818 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38819 * math/libm-test.inc (y0_test): New tests.
38820 (y1_test): New tests.
38821 * sysdeps/i386/fpu/libm-test-ulps: Update.
38822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38825 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
38827 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38829 * configure: Regenerated.
38831 2012-11-17 David S. Miller <davem@davemloft.net>
38834 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38835 nonzero exponents with absolute value below 0x1p-128 to +/-
38838 2012-11-17 Joseph Myers <joseph@codesourcery.com>
38840 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38842 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38844 * posix/getconf-speclist.c: New file.
38845 * posix/posix-envs.def: Likewise.
38846 * posix/confstr.c (START_ENV_GROUP): New macro.
38847 (END_ENV_GROUP): Likewise.
38848 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38849 (KNOWN_PRESENT_ENV_STRING): Likewise.
38850 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38851 (UNKNOWN_ENVIRONMENT): Likewise.
38852 (confstr): Include posix-envs.def instead of handling
38853 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38854 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38855 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38856 (END_ENV_GROUP): Likewise.
38857 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38858 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38859 (UNKNOWN_ENVIRONMENT): Likewise.
38860 (__sysconf): Include posix-envs.def instead of handling associated
38861 cases directly here.
38862 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38863 preprocessing getconf-speclist.c rather than running getconf or
38864 generating empty file.
38866 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
38868 * scripts/check-local-headers.sh: Ignore 'mach' headers.
38870 2012-11-16 Andrej Lajovic <natrij@gmail.com>
38873 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38875 2012-11-16 David S. Miller <davem@davemloft.net>
38877 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38878 smaller than LDBL_EPSILON/2.0L, just return xm1.
38880 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
38882 * elf/tst-array1.c (init): Set constructor priority to 1000.
38883 (fini): Set destructor priority to 1000.
38884 * elf/tst-array2dep.c: Likewise.
38886 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38889 * libio/fileops.c (_IO_new_file_write): Correctly return error.
38890 (_IO_new_file_xsputn): Also return EOF if none of the input
38891 data was written when overflow failed.
38892 * libio/iopadn.c (_IO_padn): Likewise.
38893 * libio/iowpadn.c (_IO_wpadn): Likewise.
38894 * stdio-common/tst-put-error.c: Add copyright notice.
38895 (do_test): Add case for printing padded string.
38896 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38897 _IO_padn returned error.
38898 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38899 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38902 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38904 * libio/libioP.h: Add comment note that the references to C++
38905 bits are now obsolete.
38907 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38909 * math/libm-test.inc (check_complex): Use asprintf.
38911 2012-11-14 Joseph Myers <joseph@codesourcery.com>
38913 * debug/pcprofiledump.c (print_version): Update copyright year.
38914 * malloc/memusagestat.c (print_version): Likewise.
38916 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
38919 * elf/Makefile (tests): Add tst-audit8.
38920 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38921 ($(objpfx)tst-audit8.out): New target.
38922 (tst-audit8-ENV): New variable.
38923 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38924 audit if l_reloc_result is NULL.
38925 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38926 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38927 * elf/tst-audit8.c: New file.
38929 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38931 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38932 * misc/Makefile (CFLAGS-select.c): Define.
38933 * posix/Makefile (CFLAGS-pause.c): Define.
38935 2012-11-13 David S. Miller <davem@davemloft.net>
38937 * crypt/Makefile: Move test targets after toplevel Rules
38938 inclusion. Grab any necessary sysdep routines when linking.
38939 * crypt/md5.c (md5_process_block): Remove define, we will always
38940 name it __md5_process_block.
38941 (md5_finish_ctx): Update md5_process_block call.
38942 (md5_stream): Likewise.
38943 (md5_process_bytes): Likewise.
38944 (md5_process_block): Rename to __md5_process_block and move to ...
38945 * crypt/md5-block.c: ... here.
38946 * crypt/sha256.c (sha256_process_block): Move to ...
38947 * crypt/sha256-block.c: ... here.
38948 * crypt/sha512.c (sha512_process_block): Move to ...
38949 * crypt/sha512-block.c: ... here.
38950 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38952 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38953 * sysdeps/sparc/sparc64/multiarch/Makefile
38954 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38956 (localedef-aux): Add md5 crypto assembler when in locale subdir.
38957 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38959 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38960 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38961 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38962 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38963 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38964 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38965 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38966 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38967 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38969 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38970 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38972 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38974 2012-11-13 Joseph Myers <joseph@codesourcery.com>
38976 * timezone/tzselect.ksh: Update from tzcode git revision
38977 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38978 * timezone/zdump.c: Likewise.
38979 * timezone/zic.c: Likewise.
38980 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38981 in TZVERSION setting, not $(PKGVERSION).
38982 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
38983 REPORT_BUGS_TO settings.
38986 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38989 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38991 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38992 detection to immediately after _FP_ROUND().
38993 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38996 2012-11-11 David S. Miller <davem@davemloft.net>
38998 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39000 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39001 __close rather than their public counterparts.
39003 2012-11-10 Joseph Myers <joseph@codesourcery.com>
39005 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39007 [UNIX98] (sem_timedwait): Do not expect.
39008 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39009 [XPG4 || UNIX98] (sockatmark): Do not expect.
39010 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39011 (clock_getcpuclockid): Do not expect.
39012 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39013 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39015 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39016 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39017 [UNIX98] (vwscanf): Likewise.
39018 [UNIX98] (vswscanf): Likewise.
39020 2012-11-09 Joseph Myers <joseph@codesourcery.com>
39022 * timezone/version.h: Remove file.
39023 * timezone/README: Do not refer to version.h.
39024 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39025 $(objpfx)version.h.
39026 ($(objpfx)zdump.o): Likewise.
39027 ($(objpfx)version.h): New target.
39029 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39031 * timezone/README: Don't mention modification to tzselect.ksh.
39032 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39033 work on unmodified tzselect.ksh. Substitute version numbers in
39036 * Makefile (format-me): Remove.
39037 (INSTALL): Adjust indentation. Use commands directly instead of
39038 using $(format-me).
39040 * aclocal.m4 (ACX_PKGVERSION): New macro.
39041 (ACX_BUGURL): Likewise.
39042 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39043 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39044 (REPORT_BUGS_TO): Likewise.
39045 * configure: Regenerated.
39046 * config.h.in (PKGVERSION): New macro.
39047 (REPORT_BUGS_TO): Likewise.
39048 * config.make.in (PKGVERSION): New variable.
39049 (PKGVERSION_TEXI): Likewise.
39050 (REPORT_BUGS_TO): Likewise.
39051 (REPORT_BUGS_TEXI): Likewise.
39052 * Makefile (format-me): Use -I$(common-objpfx)manual.
39053 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39054 ($(common-objpfx)manual/%): New target.
39055 (manual/%): Remove target.
39056 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39057 (print_version): Use PKGVERSION.
39058 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39059 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39060 and REPORT_BUGS_TO.
39061 ($(objpfx)xtrace): Likewise.
39062 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39063 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39064 (print_version): Use PKGVERSION.
39065 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39066 (do_version): Use PKGVERSION.
39067 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39069 (common-ldd-rewrite): Likewise.
39070 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39071 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39072 (print_version): Use PKGVERSION.
39073 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39074 * elf/pldd.c (argp_program_bug_address): Remove variable.
39075 (more_help): New function.
39076 (argp): Use more_help.
39077 (print_version): Use PKGVERSION.
39078 * elf/sln.c (main): Use PKGVERSION.
39079 (usage): Use REPORT_BUGS_TO.
39080 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39081 (top level): Use PKGVERSION.
39082 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39083 (print_version): Use PKGVERSION.
39084 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39085 (print_version): Use PKGVERSION.
39086 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39087 (print_version): Use PKGVERSION.
39088 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39089 (print_version): Use PKGVERSION.
39090 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39091 (print_version): Use PKGVERSION.
39092 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39093 (print_version): Use PKGVERSION.
39094 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39096 ($(objpfx)memusage): Likewise.
39097 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39098 (do_version): Use PKGVERSION.
39099 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39100 (print_version): Use PKGVERSION.
39101 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39102 ($PKGVERSION): New variable.
39103 ($REPORT_BUGS_TO): Likewise.
39104 (usage): Use $REPORT_BUGS_TO.
39105 (top level): Use $PKGVERSION.
39106 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39107 ($(objpfx)pkgvers.texi): New rule.
39108 ($(objpfx)stamp-pkgvers): Likewise.
39109 * manual/install.texi: Include pkgvers.texi.
39110 (--with-pkgversion): Document new configure option.
39111 (--with-bugurl): Likewise.
39112 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39113 than necessarily for this particular distribution. Use
39114 REPORT_BUGS_TO for where to report bugs.
39115 * INSTALL: Regenerated.
39116 * manual/libc.texinfo: Include pkgvers.texi.
39117 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39118 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39119 (print_version): Use PKGVERSION.
39120 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39121 (print_version): Use PKGVERSION.
39122 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39123 (print_version): Use PKGVERSION.
39124 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39125 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39127 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39128 (print_version): Use PKGVERSION.
39129 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39130 (print_version): Use PKGVERSION.
39131 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39134 * timezone/checktab.awk: Update from tzcode 2012i.
39135 * timezone/ialloc.c: Likewise.
39136 * timezone/private.h: Likewise.
39137 * timezone/scheck.c: Likewise.
39138 * timezone/tzfile.h: Likewise.
39139 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39140 (TZVERSION): Hardcode tzcode version number.
39141 * timezone/zdump.c: Update from tzcode 2012i.
39142 * timezone/zic.c: Likewise.
39143 * timezone/version.h: New file.
39144 * timezone/README: Describe version.h. Update upstream location.
39147 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39148 (mktemp): Enable declaration.
39149 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39150 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39152 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39154 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39156 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39158 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39160 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39166 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39167 offset in buffer as u_int32_t not u_long. Consistently use memcpy
39168 for copies of such integer values.
39169 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39170 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39172 2012-11-09 Andreas Jaeger <aj@suse.de>
39174 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39175 definitions and declarations that are provided by
39176 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39178 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39180 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39181 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39182 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39185 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39187 * elf/elf.h: Update comment before AArch64 relocations.
39189 2012-11-07 David S. Miller <davem@davemloft.net>
39191 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39192 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39193 (__start_context): Declare.
39194 (__makecontext_ret): Delete.
39195 (__makecontext): Hook up __start_context instead of
39197 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39198 (sysdep_routines): Add __start_context when in stdlib.
39200 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39202 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39203 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39204 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39206 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39207 (READELF): New variable. Use it instead of hardcoded "readelf".
39209 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39211 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39212 * sysdeps/x86/Makefile: Here.
39213 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39214 * sysdeps/x86/tst-xmmymm.sh: This.
39216 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39218 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39220 [UNIX98] (pthread_barrier_t): Do not expect.
39221 [UNIX98] (pthread_barrierattr_t): Likewise.
39222 [UNIX98] (pthread_spinlock_t): Likewise.
39223 [UNIX98] (pthread_barrier_destroy): Likewise.
39224 [UNIX98] (pthread_barrier_init): Likewise.
39225 [UNIX98] (pthread_barrier_wait): Likewise.
39226 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39227 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39228 [UNIX98] (pthread_barrierattr_init): Likewise.
39229 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39230 [UNIX98] (pthread_getcpuclockid): Likewise.
39231 [UNIX98] (pthread_mutex_timedlock): Likewise.
39232 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39233 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39234 [UNIX98] (pthread_sigmask): Likewise.
39235 [UNIX98] (pthread_spin_destroy): Likewise.
39236 [UNIX98] (pthread_spin_init): Likewise.
39237 [UNIX98] (pthread_spin_lock): Likewise.
39238 [UNIX98] (pthread_spin_trylock): Likewise.
39239 [UNIX98] (pthread_spin_unlock): Likewise.
39240 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39242 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39243 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39244 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39245 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39246 [XPG3 || XPG4] (pthread_key_t): Likewise.
39247 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39248 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39249 [XPG3 || XPG4] (pthread_once_t): Likewise.
39250 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39251 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39252 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39253 [XPG3 || XPG4] (pthread_t): Likewise.
39255 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39257 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39259 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39260 Change function return type to int.
39262 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39263 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39264 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39265 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39266 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39267 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39268 [!POSIX] (posix_madvise): Likewise.
39269 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39271 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39272 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39273 (mode_t): Likewise.
39274 (posix_mem_offset): Likewise.
39275 (posix_typed_mem_get_info): Likewise.
39276 (posix_typed_mem_open): Likewise.
39278 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39279 Change condition to [XOPEN2K8].
39281 * conform/conformtest.pl: Preprocess allow-header data with -x c
39282 instead of from stdin.
39283 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39284 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39285 [C99-based standards] (cerfc): Likewise.
39286 [C99-based standards] (cexp2): Likewise.
39287 [C99-based standards] (cexpm1): Likewise.
39288 [C99-based standards] (clog10): Likewise.
39289 [C99-based standards] (clog1p): Likewise.
39290 [C99-based standards] (clog2): Likewise.
39291 [C99-based standards] (clgamma): Likewise.
39292 [C99-based standards] (ctgamma): Likewise.
39293 [C99-based standards] (cerff): Likewise.
39294 [C99-based standards] (cerfcf): Likewise.
39295 [C99-based standards] (cexp2f): Likewise.
39296 [C99-based standards] (cexpm1f): Likewise.
39297 [C99-based standards] (clog10f): Likewise.
39298 [C99-based standards] (clog1pf): Likewise.
39299 [C99-based standards] (clog2f): Likewise.
39300 [C99-based standards] (clgammaf): Likewise.
39301 [C99-based standards] (ctgammaf): Likewise.
39302 [C99-based standards] (cerfl): Likewise.
39303 [C99-based standards] (cerfcl): Likewise.
39304 [C99-based standards] (cexp2l): Likewise.
39305 [C99-based standards] (cexpm1l): Likewise.
39306 [C99-based standards] (clog10l): Likewise.
39307 [C99-based standards] (clog1pl): Likewise.
39308 [C99-based standards] (clog2l): Likewise.
39309 [C99-based standards] (clgammal): Likewise.
39310 [C99-based standards] (ctgammal): Likewise.
39311 * conform/data/inttypes.h-data [C99-based standards]: Include
39312 stdint.h-data. Remove all expectations for stdint.h contents.
39313 [C99-based standards] (PRI*): Do not allow.
39314 [C99-based standards] (SCN*): Likewise.
39315 [C99-based standards] (*_t): Likewise.
39316 [C99-based-standards] (PRId8): Expect macro.
39317 [C99-based-standards] (PRIi8): Likewise.
39318 [C99-based-standards] (PRIo8): Likewise.
39319 [C99-based-standards] (PRIu8): Likewise.
39320 [C99-based-standards] (PRIx8): Likewise.
39321 [C99-based-standards] (PRIX8): Likewise.
39322 [C99-based-standards] (SCNd8): Likewise.
39323 [C99-based-standards] (SCNi8): Likewise.
39324 [C99-based-standards] (SCNo8): Likewise.
39325 [C99-based-standards] (SCNu8): Likewise.
39326 [C99-based-standards] (SCNx8): Likewise.
39327 [C99-based-standards] (PRIdLEAST8): Likewise.
39328 [C99-based-standards] (PRIiLEAST8): Likewise.
39329 [C99-based-standards] (PRIoLEAST8): Likewise.
39330 [C99-based-standards] (PRIuLEAST8): Likewise.
39331 [C99-based-standards] (PRIxLEAST8): Likewise.
39332 [C99-based-standards] (PRIXLEAST8): Likewise.
39333 [C99-based-standards] (SCNdLEAST8): Likewise.
39334 [C99-based-standards] (SCNiLEAST8): Likewise.
39335 [C99-based-standards] (SCNoLEAST8): Likewise.
39336 [C99-based-standards] (SCNuLEAST8): Likewise.
39337 [C99-based-standards] (SCNxLEAST8): Likewise.
39338 [C99-based-standards] (PRIdFAST8): Likewise.
39339 [C99-based-standards] (PRIiFAST8): Likewise.
39340 [C99-based-standards] (PRIoFAST8): Likewise.
39341 [C99-based-standards] (PRIuFAST8): Likewise.
39342 [C99-based-standards] (PRIxFAST8): Likewise.
39343 [C99-based-standards] (PRIXFAST8): Likewise.
39344 [C99-based-standards] (SCNdFAST8): Likewise.
39345 [C99-based-standards] (SCNiFAST8): Likewise.
39346 [C99-based-standards] (SCNoFAST8): Likewise.
39347 [C99-based-standards] (SCNuFAST8): Likewise.
39348 [C99-based-standards] (SCNxFAST8): Likewise.
39349 [C99-based-standards] (PRId16): Likewise.
39350 [C99-based-standards] (PRIi16): Likewise.
39351 [C99-based-standards] (PRIo16): Likewise.
39352 [C99-based-standards] (PRIu16): Likewise.
39353 [C99-based-standards] (PRIx16): Likewise.
39354 [C99-based-standards] (PRIX16): Likewise.
39355 [C99-based-standards] (SCNd16): Likewise.
39356 [C99-based-standards] (SCNi16): Likewise.
39357 [C99-based-standards] (SCNo16): Likewise.
39358 [C99-based-standards] (SCNu16): Likewise.
39359 [C99-based-standards] (SCNx16): Likewise.
39360 [C99-based-standards] (PRIdLEAST16): Likewise.
39361 [C99-based-standards] (PRIiLEAST16): Likewise.
39362 [C99-based-standards] (PRIoLEAST16): Likewise.
39363 [C99-based-standards] (PRIuLEAST16): Likewise.
39364 [C99-based-standards] (PRIxLEAST16): Likewise.
39365 [C99-based-standards] (PRIXLEAST16): Likewise.
39366 [C99-based-standards] (SCNdLEAST16): Likewise.
39367 [C99-based-standards] (SCNiLEAST16): Likewise.
39368 [C99-based-standards] (SCNoLEAST16): Likewise.
39369 [C99-based-standards] (SCNuLEAST16): Likewise.
39370 [C99-based-standards] (SCNxLEAST16): Likewise.
39371 [C99-based-standards] (PRIdFAST16): Likewise.
39372 [C99-based-standards] (PRIiFAST16): Likewise.
39373 [C99-based-standards] (PRIoFAST16): Likewise.
39374 [C99-based-standards] (PRIuFAST16): Likewise.
39375 [C99-based-standards] (PRIxFAST16): Likewise.
39376 [C99-based-standards] (PRIXFAST16): Likewise.
39377 [C99-based-standards] (SCNdFAST16): Likewise.
39378 [C99-based-standards] (SCNiFAST16): Likewise.
39379 [C99-based-standards] (SCNoFAST16): Likewise.
39380 [C99-based-standards] (SCNuFAST16): Likewise.
39381 [C99-based-standards] (SCNxFAST16): Likewise.
39382 [C99-based-standards] (PRId32): Likewise.
39383 [C99-based-standards] (PRIi32): Likewise.
39384 [C99-based-standards] (PRIo32): Likewise.
39385 [C99-based-standards] (PRIu32): Likewise.
39386 [C99-based-standards] (PRIx32): Likewise.
39387 [C99-based-standards] (PRIX32): Likewise.
39388 [C99-based-standards] (SCNd32): Likewise.
39389 [C99-based-standards] (SCNi32): Likewise.
39390 [C99-based-standards] (SCNo32): Likewise.
39391 [C99-based-standards] (SCNu32): Likewise.
39392 [C99-based-standards] (SCNx32): Likewise.
39393 [C99-based-standards] (PRIdLEAST32): Likewise.
39394 [C99-based-standards] (PRIiLEAST32): Likewise.
39395 [C99-based-standards] (PRIoLEAST32): Likewise.
39396 [C99-based-standards] (PRIuLEAST32): Likewise.
39397 [C99-based-standards] (PRIxLEAST32): Likewise.
39398 [C99-based-standards] (PRIXLEAST32): Likewise.
39399 [C99-based-standards] (SCNdLEAST32): Likewise.
39400 [C99-based-standards] (SCNiLEAST32): Likewise.
39401 [C99-based-standards] (SCNoLEAST32): Likewise.
39402 [C99-based-standards] (SCNuLEAST32): Likewise.
39403 [C99-based-standards] (SCNxLEAST32): Likewise.
39404 [C99-based-standards] (PRIdFAST32): Likewise.
39405 [C99-based-standards] (PRIiFAST32): Likewise.
39406 [C99-based-standards] (PRIoFAST32): Likewise.
39407 [C99-based-standards] (PRIuFAST32): Likewise.
39408 [C99-based-standards] (PRIxFAST32): Likewise.
39409 [C99-based-standards] (PRIXFAST32): Likewise.
39410 [C99-based-standards] (SCNdFAST32): Likewise.
39411 [C99-based-standards] (SCNiFAST32): Likewise.
39412 [C99-based-standards] (SCNoFAST32): Likewise.
39413 [C99-based-standards] (SCNuFAST32): Likewise.
39414 [C99-based-standards] (SCNxFAST32): Likewise.
39415 [C99-based-standards] (PRId64): Likewise.
39416 [C99-based-standards] (PRIi64): Likewise.
39417 [C99-based-standards] (PRIo64): Likewise.
39418 [C99-based-standards] (PRIu64): Likewise.
39419 [C99-based-standards] (PRIx64): Likewise.
39420 [C99-based-standards] (PRIX64): Likewise.
39421 [C99-based-standards] (SCNd64): Likewise.
39422 [C99-based-standards] (SCNi64): Likewise.
39423 [C99-based-standards] (SCNo64): Likewise.
39424 [C99-based-standards] (SCNu64): Likewise.
39425 [C99-based-standards] (SCNx64): Likewise.
39426 [C99-based-standards] (PRIdLEAST64): Likewise.
39427 [C99-based-standards] (PRIiLEAST64): Likewise.
39428 [C99-based-standards] (PRIoLEAST64): Likewise.
39429 [C99-based-standards] (PRIuLEAST64): Likewise.
39430 [C99-based-standards] (PRIxLEAST64): Likewise.
39431 [C99-based-standards] (PRIXLEAST64): Likewise.
39432 [C99-based-standards] (SCNdLEAST64): Likewise.
39433 [C99-based-standards] (SCNiLEAST64): Likewise.
39434 [C99-based-standards] (SCNoLEAST64): Likewise.
39435 [C99-based-standards] (SCNuLEAST64): Likewise.
39436 [C99-based-standards] (SCNxLEAST64): Likewise.
39437 [C99-based-standards] (PRIdFAST64): Likewise.
39438 [C99-based-standards] (PRIiFAST64): Likewise.
39439 [C99-based-standards] (PRIoFAST64): Likewise.
39440 [C99-based-standards] (PRIuFAST64): Likewise.
39441 [C99-based-standards] (PRIxFAST64): Likewise.
39442 [C99-based-standards] (PRIXFAST64): Likewise.
39443 [C99-based-standards] (SCNdFAST64): Likewise.
39444 [C99-based-standards] (SCNiFAST64): Likewise.
39445 [C99-based-standards] (SCNoFAST64): Likewise.
39446 [C99-based-standards] (SCNuFAST64): Likewise.
39447 [C99-based-standards] (SCNxFAST64): Likewise.
39448 [C99-based-standards] (PRIdMAX): Likewise.
39449 [C99-based-standards] (PRIiMAX): Likewise.
39450 [C99-based-standards] (PRIoMAX): Likewise.
39451 [C99-based-standards] (PRIuMAX): Likewise.
39452 [C99-based-standards] (PRIxMAX): Likewise.
39453 [C99-based-standards] (PRIXMAX): Likewise.
39454 [C99-based-standards] (SCNdMAX): Likewise.
39455 [C99-based-standards] (SCNiMAX): Likewise.
39456 [C99-based-standards] (SCNoMAX): Likewise.
39457 [C99-based-standards] (SCNuMAX): Likewise.
39458 [C99-based-standards] (SCNxMAX): Likewise.
39459 [C99-based-standards] (PRIdPTR): Likewise.
39460 [C99-based-standards] (PRIiPTR): Likewise.
39461 [C99-based-standards] (PRIoPTR): Likewise.
39462 [C99-based-standards] (PRIuPTR): Likewise.
39463 [C99-based-standards] (PRIxPTR): Likewise.
39464 [C99-based-standards] (PRIXPTR): Likewise.
39465 [C99-based-standards] (SCNdPTR): Likewise.
39466 [C99-based-standards] (SCNiPTR): Likewise.
39467 [C99-based-standards] (SCNoPTR): Likewise.
39468 [C99-based-standards] (SCNuPTR): Likewise.
39469 [C99-based-standards] (SCNxPTR): Likewise.
39470 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39472 * conform/data/stdint.h-data: Update comments to clarify
39474 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
39476 [C99-based standards] (INT8_MAX): Likewise.
39477 [C99-based standards] (INT16_MIN): Likewise.
39478 [C99-based standards] (INT16_MAX): Likewise.
39479 [C99-based standards] (INT32_MIN): Likewise.
39480 [C99-based standards] (INT32_MAX): Likewise.
39481 [C99-based standards] (INT64_MIN): Likewise.
39482 [C99-based standards] (INT64_MAX): Likewise.
39483 [C99-based standards] (UINT8_MAX): Likewise.
39484 [C99-based standards] (UINT16_MAX): Likewise.
39485 [C99-based standards] (UINT32_MAX): Likewise.
39486 [C99-based standards] (UINT64_MAX): Likewise.
39487 [C99-based standards] (INT_LEAST8_MIN): Likewise.
39488 [C99-based standards] (INT_LEAST8_MAX): Likewise.
39489 [C99-based standards] (INT_LEAST16_MIN): Likewise.
39490 [C99-based standards] (INT_LEAST16_MAX): Likewise.
39491 [C99-based standards] (INT_LEAST32_MIN): Likewise.
39492 [C99-based standards] (INT_LEAST32_MAX): Likewise.
39493 [C99-based standards] (INT_LEAST64_MIN): Likewise.
39494 [C99-based standards] (INT_LEAST64_MAX): Likewise.
39495 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39496 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39497 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39498 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39499 [C99-based standards] (INT_FAST8_MIN): Likewise.
39500 [C99-based standards] (INT_FAST8_MAX): Likewise.
39501 [C99-based standards] (INT_FAST16_MIN): Likewise.
39502 [C99-based standards] (INT_FAST16_MAX): Likewise.
39503 [C99-based standards] (INT_FAST32_MIN): Likewise.
39504 [C99-based standards] (INT_FAST32_MAX): Likewise.
39505 [C99-based standards] (INT_FAST64_MIN): Likewise.
39506 [C99-based standards] (INT_FAST64_MAX): Likewise.
39507 [C99-based standards] (UINT_FAST8_MAX): Likewise.
39508 [C99-based standards] (UINT_FAST16_MAX): Likewise.
39509 [C99-based standards] (UINT_FAST32_MAX): Likewise.
39510 [C99-based standards] (UINT_FAST64_MAX): Likewise.
39511 [C99-based standards] (INTPTR_MIN): Likewise.
39512 [C99-based standards] (INTPTR_MAX): Likewise.
39513 [C99-based standards] (UINTPTR_MAX): Likewise.
39514 [C99-based standards] (INTMAX_MIN): Likewise.
39515 [C99-based standards] (INTMAX_MAX): Likewise.
39516 [C99-based standards] (UINTMAX_MAX): Likewise.
39517 [C99-based standards] (PTRDIFF_MIN): Likewise.
39518 [C99-based standards] (PTRDIFF_MAX): Likewise.
39519 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39520 [C99-based standards] (SIZE_MAX): Likewise.
39521 [C99-based standards] (WCHAR_MAX): Likewise.
39522 [C99-based standards] (WINT_MAX): Likewise.
39523 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
39524 constraint on value.
39525 [C99-based standards] (WCHAR_MIN): Likewise.
39526 [C99-based standards] (WINT_MIN): Likewise.
39527 [C99-based standards] (*_t): Allow.
39528 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39529 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39530 Include math.h-data and complex.h-data. Remove all expectations
39531 of math.h and complex.h contents.
39532 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39534 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39535 (struct tm): Expect tag.
39536 [C99-based-standards] (wcstof): Expect function.
39537 [C99-based-standards] (wcstold): Likewise.
39538 [C99-based-standards] (wcstoll): Likewise.
39539 [C99-based-standards] (wcstoull): Likewise.
39540 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39541 macro-int-constant. Specify type.
39542 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
39543 constraint on value.
39544 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39546 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39548 [ISO C standards]: Do not allow headers.
39549 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39550 wcs[abcdefghijklmnopqrstuvwxyz]*.
39551 [ISO C standards] (*_t): Do not allow.
39552 * conform/data/wctype.h-data [C99-based standards] (iswblank):
39554 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39555 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39557 [ISO C standards]: Do not allow headers.
39558 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39559 is[abcdefghijklmnopqrstuvwxyz]*.
39560 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39561 to[abcdefghijklmnopqrstuvwxyz]*.
39562 [ISO C standards] (*_t): Do not allow.
39563 * conform/data/stdalign.h-data: New file.
39564 * conform/data/stdbool.h-data: Likewise.
39565 * conform/data/stdnoreturn.h-data: Likewise.
39567 2012-11-07 Roland McGrath <roland@hack.frob.com>
39570 * manual/filesys.texi (Directory Entries): Typo fix.
39571 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39573 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39575 * elf/elf.h (EM_AARCH64): New macro.
39576 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39577 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39578 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39579 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39580 (R_AARCH64_TLSDESC): Likewise.
39581 (NT_ARM_TLS): Likewise.
39582 (NT_ARM_HW_BREAK): Likewise.
39583 (NT_ARM_HW_WATCH): Likewise.
39585 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39588 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39589 (__ieee754_powl): Saturate nonzero exponents with absolute value
39590 below 0x1p-79 to +/- 0x1p-79.
39591 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39592 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39593 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39594 nonzero exponents with absolute value below 0x1p-32 to +/-
39596 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39597 (__ieee754_powl): Saturate nonzero exponents with absolute value
39598 below 0x1p-79 to +/- 0x1p-79.
39599 * math/libm-test.inc (pow_test): Add more tests.
39601 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39603 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39604 _dl_s390_cap_flags with kernel. Increase string length.
39605 (_dl_s390_platforms): Add z196 and zEC12.
39607 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39609 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39610 Change XOPEN21K to XOPEN2K.
39612 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
39614 * string/memmove.c: Use memcpy when possible.
39616 2012-11-06 Andreas Jaeger <aj@suse.de>
39618 * po/eo.po: Update from translation team.
39620 2012-11-06 Joseph Myers <joseph@codesourcery.com>
39623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39624 exponent and small x and y exponents, scale x or y up. Increase
39625 by 2 the exponent used in scaling up.
39626 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39627 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39628 * math/libm-test.inc (fma_test): Add more tests.
39629 (fma_test_towardzero): Likewise.
39630 (fma_test_downward): Likewise.
39631 (fma_test_upward): Likewise.
39633 2012-11-05 Joseph Myers <joseph@codesourcery.com>
39636 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39640 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39641 namespace for names of struct fields.
39642 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39644 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39645 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39647 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
39650 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39652 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39654 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39658 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39661 2012-11-04 Joseph Myers <joseph@codesourcery.com>
39664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39665 definitely overflow as x * y not x * y + z.
39666 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39667 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39668 * math/libm-test.inc (fma_test): Add more tests.
39669 (fma_test_towardzero): Likewise.
39670 (fma_test_downward): Likewise.
39671 (fma_test_upward): Likewise.
39673 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39677 * include/stub-tag.h: Remove file.
39678 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39680 * manual/maint.texi (Porting): Don't reference it.
39681 * Makerules ($(objpfx)stubs): Likewise.
39682 * dirent/closedir.c: Don't include <stub-tag.h>.
39683 * dirent/dirfd.c: Likewise.
39684 * dirent/fdopendir.c: Likewise.
39685 * dirent/getdents.c: Likewise.
39686 * dirent/getdents64.c: Likewise.
39687 * dirent/opendir.c: Likewise.
39688 * dirent/readdir.c: Likewise.
39689 * dirent/readdir64.c: Likewise.
39690 * dirent/readdir64_r.c: Likewise.
39691 * dirent/readdir_r.c: Likewise.
39692 * dirent/rewinddir.c: Likewise.
39693 * dirent/seekdir.c: Likewise.
39694 * dirent/telldir.c: Likewise.
39695 * gmon/profil.c: Likewise.
39696 * grp/setgroups.c: Likewise.
39697 * inet/if_index.c: Likewise.
39698 * io/access.c: Likewise.
39699 * io/chdir.c: Likewise.
39700 * io/chmod.c: Likewise.
39701 * io/chown.c: Likewise.
39702 * io/close.c: Likewise.
39703 * io/dup.c: Likewise.
39704 * io/dup2.c: Likewise.
39705 * io/dup3.c: Likewise.
39706 * io/euidaccess.c: Likewise.
39707 * io/faccessat.c: Likewise.
39708 * io/fchdir.c: Likewise.
39709 * io/fchmod.c: Likewise.
39710 * io/fchmodat.c: Likewise.
39711 * io/fchown.c: Likewise.
39712 * io/fchownat.c: Likewise.
39713 * io/fcntl.c: Likewise.
39714 * io/flock.c: Likewise.
39715 * io/fstatfs.c: Likewise.
39716 * io/fstatfs64.c: Likewise.
39717 * io/fstatvfs.c: Likewise.
39718 * io/fstatvfs64.c: Likewise.
39719 * io/futimens.c: Likewise.
39720 * io/fxstat.c: Likewise.
39721 * io/fxstat64.c: Likewise.
39722 * io/fxstatat.c: Likewise.
39723 * io/fxstatat64.c: Likewise.
39724 * io/getcwd.c: Likewise.
39725 * io/isatty.c: Likewise.
39726 * io/lchmod.c: Likewise.
39727 * io/lchown.c: Likewise.
39728 * io/link.c: Likewise.
39729 * io/linkat.c: Likewise.
39730 * io/lseek.c: Likewise.
39731 * io/lseek64.c: Likewise.
39732 * io/lxstat64.c: Likewise.
39733 * io/mkdir.c: Likewise.
39734 * io/mkdirat.c: Likewise.
39735 * io/mkfifo.c: Likewise.
39736 * io/mkfifoat.c: Likewise.
39737 * io/open.c: Likewise.
39738 * io/open64.c: Likewise.
39739 * io/openat.c: Likewise.
39740 * io/openat64.c: Likewise.
39741 * io/pipe.c: Likewise.
39742 * io/pipe2.c: Likewise.
39743 * io/poll.c: Likewise.
39744 * io/posix_fadvise.c: Likewise.
39745 * io/posix_fadvise64.c: Likewise.
39746 * io/posix_fallocate.c: Likewise.
39747 * io/posix_fallocate64.c: Likewise.
39748 * io/read.c: Likewise.
39749 * io/readlink.c: Likewise.
39750 * io/readlinkat.c: Likewise.
39751 * io/rmdir.c: Likewise.
39752 * io/sendfile.c: Likewise.
39753 * io/sendfile64.c: Likewise.
39754 * io/statfs.c: Likewise.
39755 * io/statfs64.c: Likewise.
39756 * io/statvfs.c: Likewise.
39757 * io/statvfs64.c: Likewise.
39758 * io/symlink.c: Likewise.
39759 * io/symlinkat.c: Likewise.
39760 * io/ttyname.c: Likewise.
39761 * io/ttyname_r.c: Likewise.
39762 * io/umask.c: Likewise.
39763 * io/unlink.c: Likewise.
39764 * io/unlinkat.c: Likewise.
39765 * io/utime.c: Likewise.
39766 * io/utimensat.c: Likewise.
39767 * io/write.c: Likewise.
39768 * io/xmknod.c: Likewise.
39769 * io/xmknodat.c: Likewise.
39770 * io/xstat.c: Likewise.
39771 * io/xstat64.c: Likewise.
39772 * login/getpt.c: Likewise.
39773 * login/grantpt.c: Likewise.
39774 * login/unlockpt.c: Likewise.
39775 * math/e_acoshl.c: Likewise.
39776 * math/e_acosl.c: Likewise.
39777 * math/e_asinl.c: Likewise.
39778 * math/e_atan2l.c: Likewise.
39779 * math/e_atanhl.c: Likewise.
39780 * math/e_coshl.c: Likewise.
39781 * math/e_expl.c: Likewise.
39782 * math/e_fmodl.c: Likewise.
39783 * math/e_gammal_r.c: Likewise.
39784 * math/e_hypotl.c: Likewise.
39785 * math/e_j0l.c: Likewise.
39786 * math/e_j1l.c: Likewise.
39787 * math/e_jnl.c: Likewise.
39788 * math/e_lgammal_r.c: Likewise.
39789 * math/e_log10l.c: Likewise.
39790 * math/e_log2l.c: Likewise.
39791 * math/e_logl.c: Likewise.
39792 * math/e_powl.c: Likewise.
39793 * math/e_rem_pio2l.c: Likewise.
39794 * math/e_sinhl.c: Likewise.
39795 * math/e_sqrtl.c: Likewise.
39796 * math/fclrexcpt.c: Likewise.
39797 * math/fedisblxcpt.c: Likewise.
39798 * math/feenablxcpt.c: Likewise.
39799 * math/fegetenv.c: Likewise.
39800 * math/fegetexcept.c: Likewise.
39801 * math/fegetround.c: Likewise.
39802 * math/feholdexcpt.c: Likewise.
39803 * math/fesetenv.c: Likewise.
39804 * math/fesetround.c: Likewise.
39805 * math/feupdateenv.c: Likewise.
39806 * math/fgetexcptflg.c: Likewise.
39807 * math/fraiseexcpt.c: Likewise.
39808 * math/fsetexcptflg.c: Likewise.
39809 * math/ftestexcept.c: Likewise.
39810 * math/k_cosl.c: Likewise.
39811 * math/k_rem_pio2l.c: Likewise.
39812 * math/k_sinl.c: Likewise.
39813 * math/k_tanl.c: Likewise.
39814 * math/s_asinhl.c: Likewise.
39815 * math/s_atanl.c: Likewise.
39816 * math/s_cbrtl.c: Likewise.
39817 * math/s_erfl.c: Likewise.
39818 * math/s_expm1l.c: Likewise.
39819 * math/s_log1pl.c: Likewise.
39820 * math/s_tanhl.c: Likewise.
39821 * misc/acct.c: Likewise.
39822 * misc/brk.c: Likewise.
39823 * misc/chflags.c: Likewise.
39824 * misc/chroot.c: Likewise.
39825 * misc/fchflags.c: Likewise.
39826 * misc/fgetxattr.c: Likewise.
39827 * misc/flistxattr.c: Likewise.
39828 * misc/fremovexattr.c: Likewise.
39829 * misc/fsetxattr.c: Likewise.
39830 * misc/fsync.c: Likewise.
39831 * misc/ftruncate.c: Likewise.
39832 * misc/futimes.c: Likewise.
39833 * misc/futimesat.c: Likewise.
39834 * misc/getdomain.c: Likewise.
39835 * misc/getdtsz.c: Likewise.
39836 * misc/gethostid.c: Likewise.
39837 * misc/gethostname.c: Likewise.
39838 * misc/getloadavg.c: Likewise.
39839 * misc/getpagesize.c: Likewise.
39840 * misc/getsysstats.c: Likewise.
39841 * misc/getxattr.c: Likewise.
39842 * misc/gtty.c: Likewise.
39843 * misc/ioctl.c: Likewise.
39844 * misc/lgetxattr.c: Likewise.
39845 * misc/listxattr.c: Likewise.
39846 * misc/llistxattr.c: Likewise.
39847 * misc/lremovexattr.c: Likewise.
39848 * misc/lsetxattr.c: Likewise.
39849 * misc/lutimes.c: Likewise.
39850 * misc/madvise.c: Likewise.
39851 * misc/mincore.c: Likewise.
39852 * misc/mlock.c: Likewise.
39853 * misc/mlockall.c: Likewise.
39854 * misc/mmap.c: Likewise.
39855 * misc/mprotect.c: Likewise.
39856 * misc/msync.c: Likewise.
39857 * misc/munlock.c: Likewise.
39858 * misc/munlockall.c: Likewise.
39859 * misc/munmap.c: Likewise.
39860 * misc/preadv.c: Likewise.
39861 * misc/preadv64.c: Likewise.
39862 * misc/ptrace.c: Likewise.
39863 * misc/pwritev.c: Likewise.
39864 * misc/pwritev64.c: Likewise.
39865 * misc/readv.c: Likewise.
39866 * misc/reboot.c: Likewise.
39867 * misc/remap_file_pages.c: Likewise.
39868 * misc/removexattr.c: Likewise.
39869 * misc/revoke.c: Likewise.
39870 * misc/select.c: Likewise.
39871 * misc/setdomain.c: Likewise.
39872 * misc/setegid.c: Likewise.
39873 * misc/seteuid.c: Likewise.
39874 * misc/sethostid.c: Likewise.
39875 * misc/sethostname.c: Likewise.
39876 * misc/setregid.c: Likewise.
39877 * misc/setreuid.c: Likewise.
39878 * misc/setxattr.c: Likewise.
39879 * misc/sstk.c: Likewise.
39880 * misc/stty.c: Likewise.
39881 * misc/swapoff.c: Likewise.
39882 * misc/swapon.c: Likewise.
39883 * misc/sync.c: Likewise.
39884 * misc/syncfs.c: Likewise.
39885 * misc/syscall.c: Likewise.
39886 * misc/truncate.c: Likewise.
39887 * misc/ualarm.c: Likewise.
39888 * misc/usleep.c: Likewise.
39889 * misc/ustat.c: Likewise.
39890 * misc/utimes.c: Likewise.
39891 * misc/vhangup.c: Likewise.
39892 * misc/writev.c: Likewise.
39893 * posix/_exit.c: Likewise.
39894 * posix/alarm.c: Likewise.
39895 * posix/execve.c: Likewise.
39896 * posix/fexecve.c: Likewise.
39897 * posix/fork.c: Likewise.
39898 * posix/fpathconf.c: Likewise.
39899 * posix/getaddrinfo.c: Likewise.
39900 * posix/getegid.c: Likewise.
39901 * posix/geteuid.c: Likewise.
39902 * posix/getgid.c: Likewise.
39903 * posix/getgroups.c: Likewise.
39904 * posix/getlogin.c: Likewise.
39905 * posix/getlogin_r.c: Likewise.
39906 * posix/getpgid.c: Likewise.
39907 * posix/getpid.c: Likewise.
39908 * posix/getppid.c: Likewise.
39909 * posix/getresgid.c: Likewise.
39910 * posix/getresuid.c: Likewise.
39911 * posix/getsid.c: Likewise.
39912 * posix/getuid.c: Likewise.
39913 * posix/glob64.c: Likewise.
39914 * posix/nanosleep.c: Likewise.
39915 * posix/pathconf.c: Likewise.
39916 * posix/pause.c: Likewise.
39917 * posix/posix_madvise.c: Likewise.
39918 * posix/pread.c: Likewise.
39919 * posix/pread64.c: Likewise.
39920 * posix/pwrite.c: Likewise.
39921 * posix/pwrite64.c: Likewise.
39922 * posix/sched_getaffinity.c: Likewise.
39923 * posix/sched_getp.c: Likewise.
39924 * posix/sched_gets.c: Likewise.
39925 * posix/sched_primax.c: Likewise.
39926 * posix/sched_primin.c: Likewise.
39927 * posix/sched_rr_gi.c: Likewise.
39928 * posix/sched_setaffinity.c: Likewise.
39929 * posix/sched_setp.c: Likewise.
39930 * posix/sched_sets.c: Likewise.
39931 * posix/sched_yield.c: Likewise.
39932 * posix/setgid.c: Likewise.
39933 * posix/setlogin.c: Likewise.
39934 * posix/setpgid.c: Likewise.
39935 * posix/setresgid.c: Likewise.
39936 * posix/setresuid.c: Likewise.
39937 * posix/setsid.c: Likewise.
39938 * posix/setuid.c: Likewise.
39939 * posix/sleep.c: Likewise.
39940 * posix/spawni.c: Likewise.
39941 * posix/sysconf.c: Likewise.
39942 * posix/times.c: Likewise.
39943 * posix/wait.c: Likewise.
39944 * posix/wait3.c: Likewise.
39945 * posix/wait4.c: Likewise.
39946 * posix/waitpid.c: Likewise.
39947 * resolv/gai_sigqueue.c: Likewise.
39948 * resource/getpriority.c: Likewise.
39949 * resource/getrlimit.c: Likewise.
39950 * resource/getrusage.c: Likewise.
39951 * resource/nice.c: Likewise.
39952 * resource/setpriority.c: Likewise.
39953 * resource/setrlimit.c: Likewise.
39954 * resource/ulimit.c: Likewise.
39955 * rt/aio_cancel.c: Likewise.
39956 * rt/aio_fsync.c: Likewise.
39957 * rt/aio_read.c: Likewise.
39958 * rt/aio_sigqueue.c: Likewise.
39959 * rt/aio_suspend.c: Likewise.
39960 * rt/aio_write.c: Likewise.
39961 * rt/clock_getres.c: Likewise.
39962 * rt/clock_gettime.c: Likewise.
39963 * rt/clock_nanosleep.c: Likewise.
39964 * rt/clock_settime.c: Likewise.
39965 * rt/lio_listio.c: Likewise.
39966 * rt/mq_close.c: Likewise.
39967 * rt/mq_getattr.c: Likewise.
39968 * rt/mq_notify.c: Likewise.
39969 * rt/mq_open.c: Likewise.
39970 * rt/mq_receive.c: Likewise.
39971 * rt/mq_send.c: Likewise.
39972 * rt/mq_setattr.c: Likewise.
39973 * rt/mq_timedreceive.c: Likewise.
39974 * rt/mq_timedsend.c: Likewise.
39975 * rt/mq_unlink.c: Likewise.
39976 * rt/shm_open.c: Likewise.
39977 * rt/shm_unlink.c: Likewise.
39978 * rt/timer_create.c: Likewise.
39979 * rt/timer_delete.c: Likewise.
39980 * rt/timer_getoverr.c: Likewise.
39981 * rt/timer_gettime.c: Likewise.
39982 * rt/timer_settime.c: Likewise.
39983 * setjmp/__longjmp.c: Likewise.
39984 * setjmp/setjmp.c: Likewise.
39985 * signal/kill.c: Likewise.
39986 * signal/killpg.c: Likewise.
39987 * signal/raise.c: Likewise.
39988 * signal/sigaction.c: Likewise.
39989 * signal/sigaltstack.c: Likewise.
39990 * signal/sigblock.c: Likewise.
39991 * signal/sigignore.c: Likewise.
39992 * signal/sigintr.c: Likewise.
39993 * signal/signal.c: Likewise.
39994 * signal/sigpause.c: Likewise.
39995 * signal/sigpending.c: Likewise.
39996 * signal/sigqueue.c: Likewise.
39997 * signal/sigreturn.c: Likewise.
39998 * signal/sigset.c: Likewise.
39999 * signal/sigsetmask.c: Likewise.
40000 * signal/sigstack.c: Likewise.
40001 * signal/sigsuspend.c: Likewise.
40002 * signal/sigtimedwait.c: Likewise.
40003 * signal/sigvec.c: Likewise.
40004 * signal/sigwait.c: Likewise.
40005 * signal/sigwaitinfo.c: Likewise.
40006 * signal/sysv_signal.c: Likewise.
40007 * socket/accept.c: Likewise.
40008 * socket/accept4.c: Likewise.
40009 * socket/bind.c: Likewise.
40010 * socket/connect.c: Likewise.
40011 * socket/getpeername.c: Likewise.
40012 * socket/getsockname.c: Likewise.
40013 * socket/getsockopt.c: Likewise.
40014 * socket/isfdtype.c: Likewise.
40015 * socket/listen.c: Likewise.
40016 * socket/recv.c: Likewise.
40017 * socket/recvfrom.c: Likewise.
40018 * socket/recvmsg.c: Likewise.
40019 * socket/send.c: Likewise.
40020 * socket/sendmsg.c: Likewise.
40021 * socket/sendto.c: Likewise.
40022 * socket/setsockopt.c: Likewise.
40023 * socket/shutdown.c: Likewise.
40024 * socket/sockatmark.c: Likewise.
40025 * socket/socket.c: Likewise.
40026 * socket/socketpair.c: Likewise.
40027 * stdio-common/ctermid.c: Likewise.
40028 * stdio-common/cuserid.c: Likewise.
40029 * stdio-common/remove.c: Likewise.
40030 * stdio-common/rename.c: Likewise.
40031 * stdio-common/renameat.c: Likewise.
40032 * stdio-common/tempname.c: Likewise.
40033 * stdlib/getcontext.c: Likewise.
40034 * stdlib/makecontext.c: Likewise.
40035 * stdlib/setcontext.c: Likewise.
40036 * stdlib/swapcontext.c: Likewise.
40037 * stdlib/system.c: Likewise.
40038 * streams/fattach.c: Likewise.
40039 * streams/fdetach.c: Likewise.
40040 * streams/getmsg.c: Likewise.
40041 * streams/getpmsg.c: Likewise.
40042 * streams/putmsg.c: Likewise.
40043 * streams/putpmsg.c: Likewise.
40044 * sysdeps/unix/bsd/getpt.c: Likewise.
40045 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40046 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40047 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40050 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40051 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40052 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40053 * sysvipc/msgctl.c: Likewise.
40054 * sysvipc/msgget.c: Likewise.
40055 * sysvipc/msgrcv.c: Likewise.
40056 * sysvipc/msgsnd.c: Likewise.
40057 * sysvipc/semctl.c: Likewise.
40058 * sysvipc/semget.c: Likewise.
40059 * sysvipc/semop.c: Likewise.
40060 * sysvipc/semtimedop.c: Likewise.
40061 * sysvipc/shmat.c: Likewise.
40062 * sysvipc/shmctl.c: Likewise.
40063 * sysvipc/shmdt.c: Likewise.
40064 * sysvipc/shmget.c: Likewise.
40065 * termios/tcdrain.c: Likewise.
40066 * termios/tcflow.c: Likewise.
40067 * termios/tcflush.c: Likewise.
40068 * termios/tcgetattr.c: Likewise.
40069 * termios/tcgetpgrp.c: Likewise.
40070 * termios/tcsendbrk.c: Likewise.
40071 * termios/tcsetattr.c: Likewise.
40072 * termios/tcsetpgrp.c: Likewise.
40073 * time/adjtime.c: Likewise.
40074 * time/clock.c: Likewise.
40075 * time/getitimer.c: Likewise.
40076 * time/gettimeofday.c: Likewise.
40077 * time/setitimer.c: Likewise.
40078 * time/settimeofday.c: Likewise.
40079 * time/stime.c: Likewise.
40080 * time/time.c: Likewise.
40082 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
40084 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40087 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40089 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40091 2012-11-03 Joseph Myers <joseph@codesourcery.com>
40094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40095 FE_TONEAREST before applying Dekker multiplication and Knuth
40096 addition. Clear inexact exceptions and check for exact zero
40097 results afterwards.
40098 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40099 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40100 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40101 * math/libm-test.inc (fma_test): Add more tests.
40102 (fma_test_towardzero): Likewise.
40103 (fma_test_downward): Likewise.
40104 (fma_test_upward): Likewise.
40105 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40107 (libc_fesetround): New macro.
40108 (libc_fesetroundf): Likewise.
40109 (libc_fesetroundl): Likewise.
40110 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40112 (libc_fesetround_387): Likewise.
40113 (libc_fesetroundf): New macro.
40114 (libc_fesetround): Likewise.
40115 (libc_fesetroundl): Likewise.
40116 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40118 (libc_fesetroundf): New macro.
40119 (libc_fesetround): Likewise.
40120 (libc_fesetroundl): Likewise.
40121 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40122 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40123 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40125 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40126 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40128 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40129 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40131 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40135 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40136 integer constant usable in #if and use that to give value to enum
40138 (FE_DIVBYZERO): Likewise.
40139 (FE_UNDERFLOW): Likewise.
40140 (FE_OVERFLOW): Likewise.
40141 (FE_INVALID): Likewise.
40142 (FE_INVALID_SNAN): Likewise.
40143 (FE_INVALID_ISI): Likewise.
40144 (FE_INVALID_IDI): Likewise.
40145 (FE_INVALID_ZDZ): Likewise.
40146 (FE_INVALID_IMZ): Likewise.
40147 (FE_INVALID_COMPARE): Likewise.
40148 (FE_INVALID_SOFTWARE): Likewise.
40149 (FE_INVALID_SQRT): Likewise.
40150 (FE_INVALID_INTEGER_CONVERSION): Likewise.
40151 (FE_TONEAREST): Likewise.
40152 (FE_TOWARDZERO): Likewise.
40153 (FE_UPWARD): Likewise.
40154 (FE_DOWNWARD): Likewise.
40155 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40156 (FE_DIVBYZERO): Likewise.
40157 (FE_OVERFLOW): Likewise.
40158 (FE_UNDERFLOW): Likewise.
40159 (FE_INEXACT): Likewise.
40160 (FE_TONEAREST): Likewise.
40161 (FE_DOWNWARD): Likewise.
40162 (FE_UPWARD): Likewise.
40163 (FE_TOWARDZERO): Likewise.
40164 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40165 (FE_UNDERFLOW): Likewise.
40166 (FE_OVERFLOW): Likewise.
40167 (FE_DIVBYZERO): Likewise.
40168 (FE_INVALID): Likewise.
40169 (FE_TONEAREST): Likewise.
40170 (FE_TOWARDZERO): Likewise.
40171 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40172 (FE_OVERFLOW): Likewise.
40173 (FE_UNDERFLOW): Likewise.
40174 (FE_DIVBYZERO): Likewise.
40175 (FE_INEXACT): Likewise.
40176 (FE_TONEAREST): Likewise.
40177 (FE_TOWARDZERO): Likewise.
40178 (FE_UPWARD): Likewise.
40179 (FE_DOWNWARD): Likewise.
40180 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40181 (FE_DIVBYZERO): Likewise.
40182 (FE_OVERFLOW): Likewise.
40183 (FE_UNDERFLOW): Likewise.
40184 (FE_INEXACT): Likewise.
40185 (FE_TONEAREST): Likewise.
40186 (FE_DOWNWARD): Likewise.
40187 (FE_UPWARD): Likewise.
40188 (FE_TOWARDZERO): Likewise.
40190 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40192 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40194 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40196 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40197 commands. Quote $PWD.
40198 (blacklist_exports): Don't use remove_newlines. Replace "declare
40200 (remove_newlines): Remove.
40202 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40204 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40205 * stdlib/stdlib.h (atof): Moved to ...
40206 * include/bits/stdlib-float.h: Here. New file.
40207 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40208 * stdlib/bits/stdlib-float.h: New file.
40209 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40211 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40214 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40216 * conform/conformtest.pl (@headers): Add fenv.h.
40217 * conform/data/fenv.h-data: New file.
40218 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40219 include of <math/fenv.h>.
40221 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40222 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40223 && !UNIX98]. Enables tests for XOPEN2K8.
40224 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40225 POSIX2008]: Likewise.
40227 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40228 (struct rusage): Do not expect type or its members.
40231 * math/math.h (FP_NAN): Define macro to integer constant usable in
40232 #if and use that to give value to enum constant.
40233 (FP_INFINITE): Likewise.
40234 (FP_ZERO): Likewise.
40235 (FP_SUBNORMAL): Likewise.
40236 (FP_NORMAL): Likewise.
40238 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40240 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40241 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40244 2012-11-02 Roland McGrath <roland@hack.frob.com>
40246 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40247 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40248 autoconf-time if not.
40249 * configure.in: Remove AC_PREREQ.
40251 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40253 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40254 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40255 of the internal implementation.
40257 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40259 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40260 except include of <misc/sys/syslog.h>.
40262 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40265 function returns with a NULL context exit with zero.
40267 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40269 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40271 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40273 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40274 (run_program_cmd): This.
40275 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40276 (tst_langinfo): New variable. Use it.
40278 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40280 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40281 floating point opcodes.
40283 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40285 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40288 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40290 * sysdeps/mach/hurd/powerpc: Remove directory.
40291 * sysdeps/mach/powerpc: Likewise.
40293 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40295 * scripts/check-local-headers.sh: Ignore c++ headers.
40297 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40299 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40300 __libc_cleanup_region_start argument.
40302 2012-11-01 Joseph Myers <joseph@codesourcery.com>
40306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40307 x * y using scaling, not as x * y + z.
40308 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40309 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40310 * math/libm-test.inc (fma_test): Add more tests.
40311 (fma_test_towardzero): Likewise.
40312 (fma_test_downward): Likewise.
40313 (fma_test_upward): Likewise.
40315 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40317 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40319 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40321 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40324 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40326 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40328 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40335 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40338 Fix the order of the list for glibc 2.17.
40339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40342 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40346 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40349 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40350 for low part of x being zero before using __atanl (y).
40351 * math/libm-test.inc (atan2_test): Add another test.
40353 * manual/install.texi (Configuring and compiling): Document
40354 general use of test-wrapper and test-wrapper-env.
40355 * INSTALL: Regenerated.
40357 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40358 (__fma): Do not extract and scale down low bits on after-rounding
40359 systems when result rounded to normal precision would have normal
40361 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40362 (__fmal): Do not extract and scale down low bits on after-rounding
40363 systems when result rounded to normal precision would have normal
40365 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40366 (__fmal): Do not extract and scale down low bits on after-rounding
40367 systems when result rounded to normal precision would have normal
40369 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40371 (fma_test): Add more tests.
40372 (fma_test_towardzero): Likewise.
40373 (fma_test_downward): Likewise.
40374 (fma_test_upward): Likewise.
40376 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
40378 * sysdeps/i386/tininess.h: Renamed to ...
40379 * sysdeps/x86/tininess.h: This.
40380 * sysdeps/x86_64/tininess.h: Removed.
40382 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40384 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40385 input. Use $(build-program-cmd).
40386 ($(objpfx)tst-array1-static.out): Likewise.
40387 ($(objpfx)tst-array2.out): Likewise.
40388 ($(objpfx)tst-array3.out): Likewise.
40389 ($(objpfx)tst-array4.out): Likewise.
40390 ($(objpfx)tst-array5.out): Likewise.
40391 ($(objpfx)tst-array5-static.out): Likewise.
40393 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
40395 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40398 * nss/nsswitch.h (nss_interface_function): Provide new
40399 macro for use with NSS functions.
40400 * grp/initgroups.c: Use new macro.
40401 * nss/getXXbyYY.c: Likewise.
40402 * nss/getXXbyYY_r.c: Likewise.
40403 * nss/getXXent.c: Likewise.
40404 * nss/getXXent_r.c: Likewise.
40405 * sysdeps/posix/getaddrinfo.c: Likewise.
40407 2012-10-30 Andreas Jaeger <aj@suse.de>
40409 * po/ru.po: Update Russion translation from translation project.
40411 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40416 result and shift together with sticky bit instead of replicating
40417 round-to-nearest rounding.
40418 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40419 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40420 * math/libm-test.inc (fma_test): Add more tests. Do not permit
40421 missing underflow exceptions.
40422 (fma_test_towardzero): Add more tests.
40423 (fma_test_downward): Likewise.
40424 (fma_test_upward): Likewise.
40427 * sysdeps/generic/tininess.h: New file.
40428 * sysdeps/i386/tininess.h: Likewise.
40429 * sysdeps/sh/tininess.h: Likewise.
40430 * sysdeps/x86_64/tininess.h: Likewise.
40431 * stdlib/tst-strtod-underflow.c: Likewise.
40432 * stdlib/tst-tininess.c: Likewise.
40433 * stdlib/strtod_l.c: Include <tininess.h>.
40434 (round_and_return): Do not set errno for exact underflow cases.
40435 Force an underflow exception when setting errno for underflow.
40436 Determine underflow based on rounding to normal precision if
40437 TININESS_AFTER_ROUNDING.
40438 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40439 ERANGE for exact underflow cases.
40440 * stdlib/Makefile (tests): Add tst-tininess and
40441 tst-strtod-underflow.
40442 ($(objpfx)tst-tininess): Use $(link-libm).
40443 ($(objpfx)tst-strtod-underflow): Likewise.
40445 2012-10-30 Andreas Jaeger <aj@suse.de>
40448 * elf/Makefile (tests): Remove conditional for have-initfini-array
40449 since this is now always required and the variable does not exist
40451 (tests-static): Likewise.
40452 (modules-names): Likewise.
40454 * po/eo.po: Add Esperanto translation from translation project.
40456 * elf/tst-array1.c (fini_array): Make writeable so that it can be
40457 merged with constructor/destructor.
40458 (init_array): Likewise.
40459 * elf/tst-array2dep.c (fini_array): Likewise.
40460 (init_array): Likewise.
40462 2012-10-29 Mike Frysinger <vapier@gentoo.org>
40464 * manual/message.texi: Delete @cartouche tags.
40466 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
40468 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40470 * sysdeps/mach/hurd/fsync.c: Likewise.
40472 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40473 [_POSIX_REALTIME_SIGNALS]: Change condition to
40474 [_POSIX_REALTIME_SIGNALS > 0].
40476 2012-10-27 Andreas Jaeger <aj@suse.de>
40478 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40479 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40481 [__WORDSIZE != 64]: Likewise.
40483 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
40485 * iconvdata/tst-table.sh: Remove ${SHELL}.
40486 * iconvdata/tst-tables.sh: Likewise.
40488 2012-10-25 David S. Miller <davem@davemloft.net>
40490 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40491 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40494 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40496 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40497 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40498 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40501 2012-10-25 Roland McGrath <roland@hack.frob.com>
40503 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40504 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40507 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40508 Jim Blandy <jimb@codesourcery.com>
40510 * scripts/cross-test-ssh.sh: New file.
40511 * manual/install.texi (Configuring and compiling): Document use of
40513 * INSTALL: Regenerated.
40515 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
40517 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40520 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40522 * Makeconfig (run-program-prefix): Fix comment.
40524 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40525 Jim Blandy <jimb@codesourcery.com>
40527 * Makeconfig (test-wrapper): New variable,
40528 (test-wrapper-env): Likewise.
40529 [$(cross-compiling) = yes && $(test-wrapper) != ""]
40530 (run-built-tests): Define to yes.
40531 (run-program-prefix): Use $(test-wrapper).
40532 (built-program-cmd): Likewise.
40533 * Rules (make-test-out): Use $(test-wrapper-env) and
40534 $(host-built-program-cmd).
40535 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40536 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40538 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40539 $(test-wrapper-env) to tst-rtld-load-self.sh.
40540 ($(objpfx)order2.out): Use $(test-wrapper).
40541 ($(objpfx)tst-initorder.out): Likewise.
40542 ($(objpfx)tst-initorder2.out): Likewise.
40543 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40544 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40545 (test_wrapper_env): New variable. Use it to run ld.so.
40546 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40547 Use it to run ld.so.
40548 (test_wrapper_env): Likewise.
40549 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40550 $(test-wrapper) to run-iconv-test.sh.
40551 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40552 (ICONV): Use $test_wrapper.
40553 * posix/Makefile ($(objpfx)globtest.out): Pass
40554 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40555 globtest.sh, not $(run-program-prefix).
40556 * posix/globtest.sh (run_via_rtld_prefix): New variable.
40557 (test_wrapper): Likewise.
40558 (test_wrapper_env): Likewise. Use it to run globtest with HOME
40559 set together with run_via_rtld_prefix.
40560 (run_program_prefix): Define in terms of test_wrapper and
40561 run_via_rtld_prefix.
40563 2012-10-24 Roland McGrath <roland@hack.frob.com>
40565 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40566 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40570 * include/time.h: Remove librt_hidden_proto (clock_gettime).
40571 Declare __clock_getres, __clock_gettime, __clock_settime,
40572 __clock_nanosleep, and __clock_getcpuclockid.
40573 * rt/clock_gettime.c: Define __clock_gettime as an alias.
40574 Remove librt_hidden_def (clock_gettime).
40575 * sysdeps/unix/clock_gettime.c: Likewise.
40576 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40577 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40578 * rt/clock_getres.c: Define __clock_getres as an alias.
40579 * sysdeps/posix/clock_getres.c: Likewise.
40580 * rt/clock_settime.c: Define __clock_settime as an alias.
40581 * sysdeps/unix/clock_settime.c: Likewise.
40582 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40583 * sysdeps/unix/clock_nanosleep.c: Likewise.
40584 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40585 * rt/clock-compat.c: New file.
40586 * rt/Makefile (librt-routines): Add clock-compat and move
40587 $(clock-routines) to ...
40588 (routines): ... here, new variable.
40589 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40590 Don't add get_clockfreq here.
40591 * rt/Versions (libc: GLIBC_2.17): New version set.
40592 Add clock_* symbols here.
40593 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
40594 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40595 (GLIBC_2.17): Add clock_* symbols.
40596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40598 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40607 * NEWS: Mention the move.
40609 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40610 Use __open, __read, __close rather than their public counterparts.
40611 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40612 (__get_clockfreq_via_cpuinfo): Likewise.
40613 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40614 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40616 * config.h.in (HAVE_IFUNC): New #undef.
40617 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40619 * configure: Regenerated.
40621 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40623 * configure.in: Move READELF check to start of file.
40624 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40625 libc_cv_asm_gnu_indirect_function in the process.
40626 * configure: Regenerated.
40628 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40630 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40631 send the output to /dev/null.
40632 (libc_cv_cc_with_libunwind): Likewise.
40633 (libc_cv_as_noexecstack): Likewise.
40634 * configure: Regenerate.
40636 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40638 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40640 * posix/globtest.sh (TMPDIR): Do not set.
40641 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40642 (testout): Likewise.
40644 2012-10-24 Andreas Jaeger <aj@suse.de>
40646 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40647 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40648 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40649 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40650 posix_fadvise64, posix_fallocate64.
40652 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40653 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40654 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40656 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40658 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40661 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40662 <bits/fcntl-linux.h>.
40663 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40665 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40666 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40667 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40668 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40669 [__WORDSIZE != 64]: Likewise.
40671 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40673 * Makeconfig (run-built-tests): New variable.
40674 * Rules [$(cross-compiling) = yes]: Change condition to
40675 [$(run-built-tests) = no].
40676 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40677 to [$(run-built-tests) = yes].
40678 * elf/Makefile [$(cross-compiling) = no]: Likewise
40679 * grp/Makefile [$(cross-compiling) = no]: Likewise.
40680 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40681 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40682 * intl/Makefile [$(cross-compiling) = no]: Likewise.
40683 * io/Makefile [$(cross-compiling) = no]: Likewise.
40684 * libio/Makefile [$(cross-compiling) = no]: Likewise.
40685 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40686 * misc/Makefile [$(cross-compiling) = no]: Likewise.
40687 * posix/Makefile [$(cross-compiling) = no]: Likewise.
40688 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40689 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40690 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40691 * string/Makefile [$(cross-compiling) = no]: Likewise.
40693 * posix/Makefile ($(objpfx)globtest.out): Pass
40694 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40695 $(rtld-installed-name).
40696 * posix/globtest.sh (elf_objpfx): Remove variable.
40697 (rtld_installed_name): Likewise.
40698 (library_path): Likewise.
40699 (run_program_prefix): New variable. Use for running globtest
40702 2012-10-23 Jim Blandy <jimb@codesourcery.com>
40703 Joseph Myers <joseph@codesourcery.com>
40705 * Makeconfig (host-built-program-cmd): New variable.
40706 * elf/Makefile (tst-stackguard1-ARGS): Use
40707 $(host-built-program-cmd).
40708 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40709 (tst-spawn-ARGS): Likewise.
40710 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40712 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40713 Jim Blandy <jimb@codesourcery.com>
40715 * Makeconfig (run-via-rtld-prefix): New variable.
40716 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40717 (built-program-cmd): Likewise.
40719 2012-10-22 Andreas Jaeger <aj@suse.de>
40721 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40722 __O_RSYNC if it exists, otherwise to O_SYNC.
40724 2012-10-22 Jim Blandy <jimb@codesourcery.com>
40725 Joseph Myers <joseph@codesourcery.com>
40727 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40729 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40731 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40734 2012-10-22 Andreas Jaeger <aj@suse.de>
40736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40738 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40741 bits/fcntl-linux.h.
40743 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40744 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40751 2012-10-21 Jim Blandy <jimb@codesourcery.com>
40752 Joseph Myers <joseph@codesourcery.com>
40754 * config.make.in (NM): New variable.
40756 2012-10-21 Andreas Jaeger <aj@suse.de>
40758 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40759 definitions and declarations that are provided by
40760 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40762 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40765 * elf/Makefile (tests-static): Add tst-leaks1-static.
40766 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40767 ($(objpfx)tst-leaks1-static): New rule.
40768 ($(objpfx)tst-leaks1-static-mem): Likewise.
40769 (tst-leaks1-static-ENV): New macro.
40770 * elf/dl-open.c (dl_open_worker): Check the main application
40771 only if SHARED is defined.
40772 * elf/tst-leaks1-static.c: New file.
40774 2012-10-20 Andreas Jaeger <aj@suse.de>
40776 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40777 generic values for Linux.
40778 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40779 and declarations that are provided by <bits/fcntl-linux.h> and
40780 include <bits/fcntl-linux.h>.
40781 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40784 2012-10-20 Roland McGrath <roland@hack.frob.com>
40786 * io/fcntl.h: Move include of <bits/types.h> to the top and
40787 include it unconditionally.
40789 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40791 * wcsmbs/Makefile (tests-ifunc): New variable.
40792 (tests): Add $(tests-ifunc).
40793 * wcsmbs/test-wcschr-ifunc.c: New file.
40794 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40795 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40796 * wcsmbs/test-wcslen-ifunc.c: Likewise.
40797 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40798 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40800 * string/Makefile (tests-ifunc): New variable.
40801 (tests): Add $(tests-ifunc).
40802 * string/test-memccpy.c (TEST_NAME): New macro.
40803 * string/test-memchr.c (TEST_NAME): Likewise.
40804 * string/test-memcmp.c (TEST_NAME): Likewise.
40805 * string/test-memcpy.c (TEST_NAME): Likewise.
40806 * string/test-memmem.c (TEST_NAME): Likewise.
40807 * string/test-memmove.c (TEST_NAME): Likewise.
40808 * string/test-memset.c (TEST_NAME): Likewise.
40809 * string/test-rawmemchr.c (TEST_NAME): Likewise.
40810 * string/test-stpcpy.c (TEST_NAME): Likewise.
40811 * string/test-stpncpy.c (TEST_NAME): Likewise.
40812 * string/test-strcasecmp.c (TEST_NAME): Likewise.
40813 * string/test-strcasestr.c (TEST_NAME): Likewise.
40814 * string/test-strcat.c (TEST_NAME): Likewise.
40815 * string/test-strchr.c (TEST_NAME): Likewise.
40816 * string/test-strcmp.c(TEST_NAME): Likewise.
40817 * string/test-strcpy.c (TEST_NAME): Likewise.
40818 * string/test-strcspn.c (TEST_NAME): Likewise.
40819 * string/test-strlen.c (TEST_NAME): Likewise.
40820 * string/test-strncasecmp.c (TEST_NAME): Likewise.
40821 * string/test-strncmp.c (TEST_NAME): Likewise.
40822 * string/test-strncpy.c (TEST_NAME): Likewise.
40823 * string/test-strnlen.c (TEST_NAME): Likewise.
40824 * string/test-strpbrk.c (TEST_NAME): Likewise.
40825 * string/test-strrchr.c (TEST_NAME): Likewise.
40826 * string/test-strspn.c (TEST_NAME): Likewise.
40827 * string/test-strstr.c (TEST_NAME): Likewise.
40828 * string/test-bcopy-ifunc.c: New file.
40829 * string/test-bzero-ifunc.c: Likewise.
40830 * string/test-memccpy-ifunc.c: Likewise.
40831 * string/test-memchr-ifunc.c: Likewise.
40832 * string/test-memcmp-ifunc.c: Likewise.
40833 * string/test-memcpy-ifunc.c: Likewise.
40834 * string/test-memmem-ifunc.c: Likewise.
40835 * string/test-memmove-ifunc.c: Likewise.
40836 * string/test-mempcpy-ifunc.c: Likewise.
40837 * string/test-memset-ifunc.c: Likewise.
40838 * string/test-rawmemchr-ifunc.c: Likewise.
40839 * string/test-stpcpy-ifunc.c: Likewise.
40840 * string/test-stpncpy-ifunc.c: Likewise.
40841 * string/test-strcasecmp-ifunc.c: Likewise.
40842 * string/test-strcasestr-ifunc.c: Likewise.
40843 * string/test-strcat-ifunc.c: Likewise.
40844 * string/test-strchr-ifunc.c: Likewise.
40845 * string/test-strchrnul-ifunc.c: Likewise.
40846 * string/test-strcmp-ifunc.c: Likewise.
40847 * string/test-strcpy-ifunc.c: Likewise.
40848 * string/test-strcspn-ifunc.c: Likewise.
40849 * string/test-strlen-ifunc.c: Likewise.
40850 * string/test-strncasecmp-ifunc.c: Likewise.
40851 * string/test-strncat-ifunc.c: Likewise.
40852 * string/test-strncmp-ifunc.c: Likewise.
40853 * string/test-strncpy-ifunc.c: Likewise.
40854 * string/test-strnlen-ifunc.c: Likewise.
40855 * string/test-strpbrk-ifunc.c: Likewise.
40856 * string/test-strrchr-ifunc.c: Likewise.
40857 * string/test-strspn-ifunc.c: Likewise.
40858 * string/test-strstr-ifunc.c: Likewise.
40860 * debug/Makefile (tests-ifunc): New variable.
40861 (tests): Add $(tests-ifunc).
40862 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40863 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40864 * debug/test-stpcpy_chk-ifunc.c: New file.
40865 * debug/test-strcpy_chk-ifunc.c: Likewise.
40867 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40870 * elf/dl-load.c (open_verify): Retry read if the entire ELF
40871 header is not read in.
40873 2012-10-19 Joseph Myers <joseph@codesourcery.com>
40875 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
40876 script to $(SHELL) as $<. Pass $(common-objpfx) to script
40877 directly. Pass built executable to script as
40878 $(built-program-cmd).
40879 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
40880 $testprogram without using LD_LIBRARY_PATH and $ldso.
40882 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40883 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40884 $(rtld-installed-name).
40885 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40886 (rtld_installed_name): Likewise.
40887 (library_path): Likewise.
40888 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
40889 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40890 $(run-program-prefix) to tst-tables.sh.
40891 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
40892 it to run tst-table-from and tst-table-to.
40893 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40894 Pass it to tst-table.sh.
40895 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40896 $(run-program-prefix) to tst-gettext.sh.
40897 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40899 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40901 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
40902 to run tst-gettext.
40903 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
40904 to run tst-gettext2.
40905 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
40906 to run tst-translit.
40907 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40908 $(run-program-prefix) to tst-mtrace.sh.
40909 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
40911 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40912 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40913 $(rtld-installed-name).
40914 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40915 (rtld_installed_name): Likewise.
40916 (run_program_prefix): New variable. Use it to run wordexp-test.
40918 * Makeconfig (ARCH): Remove all definitions.
40919 (machine): Likewise.
40920 [ARCH]: Remove conditional code.
40921 [!objdir]: Give error.
40922 [!objdir] (objpfx): Remove.
40923 [!objdir] (common-objpfx): Likewise.
40924 [!objdir] (common-objdir): Likewise.
40925 * configure.in (config_makefile): Remove. Hardcode Makefile in
40926 AC_CONFIG_FILES call.
40927 * configure: Regenerated.
40930 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40932 (testout): Likewise.
40934 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40935 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40936 $(rtld-installed-name).
40937 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40938 (rtld_installed_name): Likwise.
40939 (runit): Remove function.
40940 (run_getconf): New variable, Use it for running getconf binary.
40942 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
40945 * string/test-memmem.c (check_result): New function.
40946 (do_one_test): Use it.
40947 (check1): New function.
40948 (test_main): Use it.
40950 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
40952 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40954 2012-10-18 Joseph Myers <joseph@codesourcery.com>
40956 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40957 (_G_LSEEK64): Likewise.
40958 (_G_MMAP64): Likewise.
40959 (_G_FSTAT64): Likewise.
40960 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40961 (_G_LSEEK64): Likewise.
40962 (_G_MMAP64): Likewise.
40963 (_G_FSTAT64): Likewise.
40964 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40965 unconditional. Call __mmap64 directly.
40966 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40967 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
40968 __lseek64 directly.
40969 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40970 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
40972 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40973 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
40974 __lseek64 directly.
40975 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40976 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
40977 __lseek64 directly.
40978 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40979 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
40980 __lseek64 directly.
40981 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40982 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
40983 __fxstat64 directly.
40984 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40985 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40987 (freopen64) [!_G_OPEN64]: Remove conditional code.
40988 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40990 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40991 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40993 (ftello64) [!_G_LSEEK64]: Remove conditional code.
40994 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40996 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40997 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40999 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41000 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41002 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41003 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41005 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41006 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41008 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41010 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41013 * manual/memory.texi (Malloc Tunable Parameters): Add note
41014 about free list pointers overwriting some perturb bytes.
41015 Wording suggested by Roland McGrath.
41017 2012-10-17 Joseph Myers <joseph@codesourcery.com>
41019 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41020 (lgamma_test): Likewise.
41021 (tgamma_test): Likewise.
41023 2012-10-16 Florian Weimer <fweimer@redhat.com>
41026 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41027 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41029 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41031 * NEWS: Mention BZ #14716.
41032 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41033 when removing AVAILABLE1_USES_J macro.
41035 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41037 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41038 (__bswap_64): __uint64_t for unsigned 64-bit int.
41040 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41042 * include/string.h (memmem): Declare libc hidden alias.
41043 * string/memmem.c (memmem): Define libc hidden alias.
41044 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41045 __read, __close instead of open, read, close.
41047 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41049 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41050 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41052 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41053 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41054 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41056 (__rawmemchr_sse2): Likewise.
41057 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41058 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41059 (__strchr_sse2): Likewise.
41060 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41061 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41062 (__strcasecmp_sse2): Likewise.
41063 (__strncasecmp_sse2): Likewise.
41064 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41065 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41066 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41067 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41068 (__strrchr_sse2): Likewise.
41069 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41071 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41072 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41073 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41074 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41075 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41076 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41077 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41078 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41079 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41080 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41081 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41082 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41083 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41084 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41085 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41086 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41087 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41088 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41089 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41090 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41091 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41092 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41093 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41094 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41095 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41096 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41097 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41098 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41099 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41100 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41102 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41104 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41105 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41106 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41107 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41109 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41111 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41112 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41113 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41114 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41116 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41117 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41118 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41119 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41120 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41121 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41122 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41123 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41124 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41125 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41126 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41127 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41128 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41129 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41130 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41131 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41132 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41133 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41134 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41135 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41136 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41137 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41138 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41139 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41140 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41141 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41142 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41143 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41144 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41145 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41146 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41147 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41148 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41149 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41150 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41151 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41152 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41153 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41154 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41155 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41156 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41158 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41159 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41160 * include/ifunc-impl-list.h: New file.
41161 * misc/ifunc-impl-list.c: Likewise.
41162 * misc/Makefile (routines): Add ifunc-impl-list.
41163 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41164 * string/test-string.h: Include <ifunc-impl-list.h>.
41165 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41166 TEST_NAME]: New variables.
41167 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41169 (test_init): Call __libc_ifunc_impl_list to initialize
41170 func_list if TEST_IFUNC and TEST_NAME are defined.
41172 * string/Makefile (strop-tests): Add bcopy and bzero.
41173 * string/test-bcopy.c: New file.
41174 * string/test-bzero.c: Likewise.
41175 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41177 * string/test-memset.c: Support bzero test if TEST_BZERO is
41179 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41181 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41183 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41186 2012-10-10 Joseph Myers <joseph@codesourcery.com>
41188 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41189 * configure: Regenerated.
41191 * Makeconfig (+link-static-before-libc): Don't include
41192 $(link-static-libc).
41194 * libio/libio.h (_IO_pos_t): Remove.
41196 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41198 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41201 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41203 * crypt/crypt-entry.c: Include fips-private.h.
41204 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41205 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41206 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41207 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41209 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41211 * crypt/crypt-private.h: Include stdbool.h.
41212 (_ufc_setup_salt_r): Return bool.
41213 * crypt/crypt-entry.c: Include errno.h.
41214 (__crypt_r): Return NULL with EINVAL for bad salt.
41215 * crypt/crypt_util.c (bad_for_salt): New.
41216 (_ufc_setup_salt_r): Check that salt is long enough and within
41217 the specified alphabet.
41218 * crypt/badsalttest.c: New file.
41219 * crypt/Makefile (tests): Add it.
41220 ($(objpfx)badsalttest): New.
41222 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41224 * NEWS: Add entry for BZ #14602.
41226 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41228 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41230 * math/libm-test.inc: Update comment listing what functions and
41232 (isgreater_test): New function.
41233 (isgreaterequal_test): Likewise.
41234 (isless_test): Likewise.
41235 (islessequal_test): Likewise.
41236 (islessgreater_test): Likewise.
41237 (isunordered_test): Likewise.
41238 (main): Call the new functions.
41240 2012-10-09 Roland McGrath <roland@hack.frob.com>
41242 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41243 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41244 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41245 * sysdeps/i386/configure: Regenerated.
41246 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41247 * sysdeps/mach/configure: Regenerated.
41248 * sysdeps/mach/hurd/configure: Regenerated.
41249 * sysdeps/powerpc/configure: Regenerated.
41250 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41251 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41252 * sysdeps/s390/s390-32/configure: Regenerated.
41253 * sysdeps/s390/s390-64/configure: Regenerated.
41254 * sysdeps/sh/configure: Regenerated.
41255 * sysdeps/sparc/configure: Regenerated.
41256 * sysdeps/unix/sysv/linux/configure: Regenerated.
41257 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41258 * sysdeps/x86_64/configure: Regenerated.
41260 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41261 defined. Don't check if MAP is NULL.
41263 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41265 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41266 (_G_stat64): Likewise.
41267 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41268 (_G_stat64): Likewise.
41269 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41270 instead of struct _G_stat64.
41271 * libio/fileops.c (mmap_remap_check): Likewise.
41272 (decide_maybe_mmap): Likewise.
41273 (_IO_new_file_seekoff): Likewise.
41274 (_IO_file_stat): Likewise.
41275 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41277 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41278 instead of struct _G_stat64.
41279 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41281 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41284 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41286 (CHECK_EOL): New macro.
41287 (two_way_short_needle): Check beginning of haystack for EOL. Use
41289 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41290 Replace with CHECK_EOL.
41291 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41292 Replace with CHECK_EOL.
41294 2012-10-08 Joseph Myers <joseph@codesourcery.com>
41296 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41298 * math/libm-test.inc: Update comment listing what functions and
41300 (finite_test): New function.
41301 (isinf_test): Likewise.
41302 (isnan_test): Likewise.
41303 (fpclassify_test): Test subnormal input.
41304 (isfinite_test): Likewise.
41305 (isnormal_test): Likewise.
41306 (main): Call the new functions.
41308 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41311 * Makerules (%.dynsym): Force C locale when running
41312 $(OBJDUMP) --dynamic-syms.
41314 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41316 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41319 2012-10-06 David S. Miller <davem@davemloft.net>
41321 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41322 upper 32-bits of the length value in %o2 since we use branch-on-register
41323 tests which consider the entire 64-bit register.
41325 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41327 * string/test-strstr.c (check2): Add a test for page boundary.
41329 2012-10-05 David S. Miller <davem@davemloft.net>
41331 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41332 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41334 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41336 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41337 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41338 and bzero when HWCAP_SPARC_CRYPTO is present.
41340 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41343 * string/test-strstr.c (check2): New function.
41344 (test_main): Call check2.
41346 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41348 * string/bug-strcasestr1.c (do_test): Moved to ...
41349 * string/test-strcasestr.c (check1): Here. New function.
41350 (do_one_test): Break out result checking code into ...
41351 (check_result): This. New function.
41352 (do_one_test): Call check_result.
41353 (test_main): Call check1.
41354 * string/bug-strchr1.c (do_test): Moved to ...
41355 * string/test-strchr.c (check1): Here. New function.
41356 (do_one_test): Break out result checking code into ...
41357 (check_result): This. New function.
41358 (do_one_test): Call check_result.
41359 (test_main): Call check1.
41360 * string/bug-strstr1.c (main): Moved to ...
41361 * string/test-strstr.c (check1): Here. New function.
41362 (do_one_test): Break out result checking code into ...
41363 (check_result): This. New function.
41364 (do_one_test): Call check_result.
41365 (test_main): Call check1.
41366 * string/bug-strcasestr1.c: Removed.
41367 * string/bug-strchr1.c: Likewise.
41368 * string/bug-strstr1.c: Likewise.
41370 * elf/Makefile (dl-routines): Add hwcaps.
41371 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41372 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41373 (_dl_important_hwcaps): Moved to ...
41374 * elf/dl-hwcaps.c: Here. New file.
41375 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41378 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41379 if IS_IN_rtld isn't defined.
41381 * elf/dl-support.c (_dl_sysinfo_map): New.
41382 Include "get-dynamic-info.h" and "setup-vdso.h".
41383 (_dl_non_dynamic_init): Call setup_vdso.
41384 * elf/dynamic-link.h: Don't include <assert.h>.
41385 (elf_get_dynamic_info): Moved to ...
41386 * elf/get-dynamic-info.h: Here. New file.
41387 * elf/dynamic-link.h: Include "get-dynamic-info.h".
41388 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41389 * elf/setup-vdso.h: Here. New file.
41390 * elf/rtld.c: Include "setup-vdso.h".
41391 (dl_main): Call setup_vdso.
41393 2012-10-05 Joseph Myers <joseph@codesourcery.com>
41395 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41396 creal in comment listing functions tested. List finite, isinf,
41397 isnan, isless, islessequal, isgreater, isgreaterequal,
41398 islessgreater, isunordered, lgamma_r and pow10 as functions and
41399 macros not tested. Mention which functions not tested are aliases
41400 for other functions. Fix typo. Note that signs of NaNs are not
41403 * scripts/config.guess: Update from config.git.
41404 * scripts/config.sub: Likewise.
41406 2012-10-04 Roland McGrath <roland@hack.frob.com>
41408 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41409 * misc/madvise.c (madvise): Renamed to __madvise.
41410 Make madvise a weak alias.
41411 * include/sys/mman.h: Declare __madvise.
41412 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41413 * sysdeps/unix/syscalls.list
41414 (madvise): Make __madvise the strong name, and madvise a weak alias.
41415 * sysdeps/unix/sysv/linux/syscalls.list
41416 (madvise, mmap): Remove redundant entries.
41417 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41418 * malloc/malloc.c (mtrim): Likewise.
41419 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41421 2012-10-03 Roland McGrath <roland@hack.frob.com>
41423 * sysdeps/mach/hurd/dl-cache.c: File removed.
41424 * config.h.in (USE_LDCONFIG): New #undef.
41425 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41426 * configure: Regenerated.
41427 * elf/Makefile (dl-routines): Add dl-cache only under
41428 [$(use-ldconfig) = yes].
41429 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41430 cache on [USE_LDCONFIG].
41431 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41433 * elf/rtld.c (dl_main): Likewise.
41435 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
41437 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41438 _SC_LEVEL4_CACHE_LINESIZE.
41440 2012-10-03 Roland McGrath <roland@hack.frob.com>
41442 * sysdeps/unix/bsd/confstr.h: File removed.
41444 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
41446 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41449 2012-10-02 Roland McGrath <roland@hack.frob.com>
41451 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41452 Make 'mapoff' field ElfW(Off) rather than off_t.
41454 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
41456 * nscd/Makefile: Remove nscd-cflags and all its users.
41457 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41458 (CFLAGS-nonlib): Add compiler flags for nscd modules.
41461 * malloc.c (malloc_printerr): Clarify error message.
41463 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
41466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41467 Set bit_FMA_Usable if FMA is supported.
41468 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41470 (bit_FMA4_Usable): Updated.
41471 (index_FMA_Usable): New macro.
41472 (CPUID_FMA): Likewise
41473 (HAS_FMA): Defined with bit_FMA_Usable.
41475 2012-10-01 Roland McGrath <roland@hack.frob.com>
41477 * bits/types.h (__swblk_t): Type removed.
41478 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41479 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41480 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41481 (__SWBLK_T_TYPE): Likewise.
41482 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41483 (__SWBLK_T_TYPE): Likewise.
41484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41485 (__SWBLK_T_TYPE): Likewise.
41486 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41487 (__SWBLK_T_TYPE): Likewise.
41489 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
41490 Honza Horak <hhorak@redhat.com>
41492 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41493 (xdr_mapname): Use YPMAXMAP as maxsize.
41494 (xdr_peername): Use YPMAXPEER as maxsize.
41495 (xdr_keydat): Use YPAXRECORD as maxsize.
41496 (xdr_valdat): Use YPMAXRECORD as maxsize.
41498 2012-10-01 Roland McGrath <roland@hack.frob.com>
41500 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41502 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41503 * csu/init-first.c: ... here.
41504 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41505 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41506 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41507 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41508 * sysdeps/i386/init-first.c: File removed.
41509 * sysdeps/sh/init-first.c: File removed.
41511 2012-10-01 Joseph Myers <joseph@codesourcery.com>
41514 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41515 if x * y might underflow to zero and z is zero.
41516 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41517 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41518 * math/libm-test.inc (min_subnorm_value): New variable.
41519 (fma_test): Add more tests.
41520 (fma_test_towardzero): Likewise.
41521 (fma_test_downward): Likewise
41522 (fma_test_upward): Likewise.
41523 (initialize): Set min_subnorm_value.
41525 2012-09-29 Joseph Myers <joseph@codesourcery.com>
41528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41530 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41531 mode for addition resulting in exact zero.
41532 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41533 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41535 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41536 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41537 * math/libm-test.inc (fma_test): Add more tests.
41538 (fma_test_towardzero): New function.
41539 (fma_test_downward): Likewise.
41540 (fma_test_upward): Likewise.
41541 (main): Call the new functions.
41543 2012-09-28 David S. Miller <davem@davemloft.net>
41545 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41547 2012-09-28 Roland McGrath <roland@hack.frob.com>
41549 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41550 instead of SIGALRM.
41552 * sysdeps/gnu/_G_config.h: Moved to ...
41553 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41554 * sysdeps/mach/hurd/_G_config.h: Moved to ...
41555 * sysdeps/generic/_G_config.h: ... here.
41557 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
41559 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41561 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41562 Conditionalize target on [libnss_test1.so-version].
41564 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41566 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41567 (elfobjdir): Move out of conditionals.
41569 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41570 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41571 (__nss_lookup_function): Conditionalize label remove_from_tree on
41572 [!DO_STATIC_NSS || SHARED], matching its only use.
41574 2012-09-28 David S. Miller <davem@davemloft.net>
41576 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41577 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41579 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41581 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41583 when HWCAP_SPARC_CRYPTO is present.
41585 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41587 * io/tst-mknodat.c: Create a FIFO instead of a socket.
41589 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
41592 * stdio-common/vfprintf.c (process_string_arg): Revert
41595 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
41597 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41599 * stdio-common/tst-sprintf.c: Include <locale.h>
41600 (main): Test sprintf's handling of incomplete multibyte
41603 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
41605 * elf/dl-runtime.c (VERSYMIDX): Removed.
41606 * elf/dl-version.c (VERSYMIDX): Likewise.
41607 * elf/do-rel.h (VERSYMIDX): Likewise.
41608 (VALIDX): Likewise.
41609 * elf/dynamic-link.h (VERSYMIDX): Likewise.
41610 * elf/rtld.c (VALIDX): Likewise.
41611 (ADDRIDX): Likewise.
41612 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41613 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41614 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41615 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41616 (VALIDX): Likewise.
41617 (ADDRIDX): Likewise.
41619 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41621 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41623 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
41626 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41628 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41629 addresses are in the same scope as 192.0.2/24.
41630 * posix/gai.conf: Document new scope table defaults.
41632 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41635 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41636 for ftell. Compute offsets from write pointers instead.
41637 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41639 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41642 * libio/Makefile (tests): New test case tst-fseek.
41643 * libio/tst-fseek.c: New test case to verify that fseek/ftell
41644 combination works in wide mode.
41645 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41646 state when the external buffer state changes.
41648 2012-09-27 David S. Miller <davem@davemloft.net>
41651 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41652 pass reloc->r_addend in as the 'high' argument to
41653 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41657 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41659 * rt/tst-aio2.c: Include <pthread.h>.
41660 * rt/tst-aio3.c: Likewise.
41662 2012-09-27 Steve Ellcey <sellcey@mips.com>
41664 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41666 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
41668 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41669 contents on [SHARED].
41671 2012-09-26 Marek Polacek <polacek@redhat.com>
41675 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41676 for C++ and GCC <4.3 as well as for non GCC compilers.
41678 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
41680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41682 2012-09-25 Roland McGrath <roland@hack.frob.com>
41684 * Makefile.in (all, install): Declare with .PHONY.
41685 Reported by Michael Hope <michael.hope@linaro.org>.
41687 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41689 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41690 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41692 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41694 (sydep_routines): Add the new and the internal functions.
41695 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41696 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41698 (GLIBC_2.17): Add the new function.
41699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41700 (GLIBC_2.17): Likewise.
41701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41702 (GLIBC_2.17): Likewise.
41703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41704 (GLIBC_2.17): Likewise.
41705 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41707 2012-09-25 Alan Modra <amodra@gmail.com>
41709 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41710 Add release barrier before setting once_control to say
41711 initialisation is done. Add hints on lwarx. Use macro in
41713 (clear_once_control): Add release barrier.
41715 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41718 * math/s_clog.c (__clog): Handle more values close to |z| = 1
41720 * math/s_clog10.c (__clog10): Likewise.
41721 * math/s_clog10f.c (__clog10f): Likewise.
41722 * math/s_clog10l.c (__clog10l): Likewise.
41723 * math/s_clogf.c (__clogf): Likewise.
41724 * math/s_clogl.c (__clogl): Likewise.
41725 * math/Makefile (libm-calls): Add x2y2m1.
41726 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41727 (__x2y2m1): Likewise.
41728 (__x2y2m1l): Likewise.
41729 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41730 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41731 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41732 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41733 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41734 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41735 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41736 * sysdeps/i386/fpu/libm-test-ulps: Update.
41737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41740 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41741 int as type of variable DEPTH.
41742 (glob): Use size_t instead of int as type of variables NEWCOUNT
41745 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41747 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41748 Add s_sincosf-sse2.
41749 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41750 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41751 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41752 macros for using routine as __sincosf_ia32.
41753 Use macro for function declaration and weak_alias.
41754 * sysdeps/i386/fpu/libm-test-ulps: Update.
41756 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41759 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41760 subnormal argument.
41761 * math/s_cexpf.c (__cexpf): Likewise.
41762 * math/s_csinf.c (__csinf): Likewise.
41763 * math/s_csinhf.c (__csinhf): Likewise.
41764 * math/s_ctanf.c (__ctanf): Likewise.
41765 * math/s_ctanhf.c (__ctanhf): Likewise.
41766 * math/s_ccosh.c (__ccoshf): Likewise.
41767 * math/s_cexp.c (__cexpl): Likewise.
41768 * math/s_csin.c (__csin): Likewise.
41769 * math/s_csinh.c (__csinh): Likewise.
41770 * math/s_ctan.c (__ctan): Likewise.
41771 * math/s_ctanh.c (ctanh): Likewise.
41772 * math/s_ccoshl.c (__ccoshl): Likewise.
41773 * math/s_cexpl.c (__cexpl): Likewise.
41774 * math/s_csinl.c (__csinl): Likewise.
41775 * math/s_csinhl.c (__csinhl): Likewise.
41776 * math/s_ctanl.c (__ctanl): Likewise.
41777 * math/s_ctanhl.c (__ctanhl): Likewise.
41779 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41781 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41782 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41783 (_IO_off_t): Define to __off_t, not _G_off_t.
41784 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41785 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41786 (_IO_wint_t): Define to wint_t, not _G_wint_t.
41787 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41788 type of __dummy and __dummy2 fields.
41789 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41790 (_G_ssize_t): Likewise.
41791 (_G_off_t): Likewise.
41792 (_G_pid_t): Likewise.
41793 (_G_uid_t): Likewise.
41794 (_G_wchar_t): Likewise.
41795 (_G_wint_t): Likewise.
41796 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41797 (_G_ssize_t): Likewise.
41798 (_G_off_t): Likewise.
41799 (_G_pid_t): Likewise.
41800 (_G_uid_t): Likewise.
41801 (_G_wchar_t): Likewise.
41802 (_G_wint_t): Likewise.
41803 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41804 (_G_ssize_t): Likewise.
41805 (_G_off_t): Likewise.
41806 (_G_pid_t): Likewise.
41807 (_G_uid_t): Likewise.
41808 (_G_wchar_t): Likewise.
41809 (_G_wint_t): Likewise.
41811 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41813 * malloc/arena.c: Include malloc-sysdep.h.
41814 (shrink_heap): Use check_may_shrink_heap to decide if madvise
41815 is sufficient to shrink the heap or an unmap is needed.
41816 * sysdeps/generic/malloc-sysdep.h: New file. Define
41817 new function check_may_shrink_heap.
41818 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
41819 new function check_may_shrink_heap.
41821 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41823 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41826 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
41828 * catgets/test-gencat.sh: Add "set -e".
41829 * elf/tst-pathopt.sh: Likewise.
41830 * grp/tst_fgetgrent.sh: Likewise.
41831 * iconvdata/run-iconv-test.sh: Likewise.
41832 * intl/tst-gettext.sh: Likewise.
41833 * intl/tst-gettext2.sh: Likewise.
41834 * intl/tst-gettext4.sh: Likewise.
41835 * intl/tst-gettext6.sh: Likewise.
41836 * intl/tst-translit.sh: Likewise.
41837 * io/ftwtest-sh: Likewise.
41838 * libio/test-freopen.sh: Likewise.
41839 * malloc/tst-mtrace.sh: Likewise.
41840 * posix/globtest.sh: Likewise.
41841 * posix/tst-getconf.sh: Likewise.
41842 * posix/wordexp-tst.sh: Likewise.
41843 * stdio-common/tst-printf.sh: Likewise.
41844 * stdio-common/tst-unbputc.sh: Likewise.
41845 * stdlib/tst-fmtmsg.sh: Likewise.
41846 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41847 * catgets/Makefile: Do not specify -e option when running
41848 testsuite shell scripts.
41849 * elf/Makefile: Likewise.
41850 * grp/Makefile: Likewise.
41851 * iconvdata/Makefile: Likewise.
41852 * intl/Makefile: Likewise.
41853 * io/Makefile: Likewise.
41854 * libio/Makefile: Likewise.
41855 * malloc/Makefile: Likewise.
41856 * posix/Makefile: Likewise.
41857 * stdio-common/Makefile: Likewise.
41858 * stdlib/Makefile: Likewise.
41859 * sysdeps/x86_64/Makefile: Likewise.
41861 * io/ftwtest-sh: Add copyright header.
41862 * posix/globtest.sh: Likewise.
41863 * posix/tst-getconf.sh: Likewise.
41864 * posix/wordexp-tst.sh: Likewise.
41865 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41867 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
41870 * Makeconfig (+link): Defined as $(+link-static) if
41871 $(build-shared) isn't yes.
41872 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41874 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41876 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41879 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41880 new chunk size with MALLOC_ALIGN_MASK.
41882 2012-09-24 Joseph Myers <joseph@codesourcery.com>
41885 * stdio-common/printf_fphex.c: Include <stdbool.h> and
41887 (__printf_fphex): Determine rounding using get_rounding_mode and
41889 * stdio-common/tst-printf-round.c (struct hex_test): New
41891 (hex_tests): New variable.
41892 (test_hex_in_one_mode): New function.
41893 (do_test): Also run tests for hex float output.
41895 2012-09-21 Joseph Myers <joseph@codesourcery.com>
41897 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41898 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41899 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41900 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41901 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41902 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41903 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41904 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41906 2012-09-20 Joseph Myers <joseph@codesourcery.com>
41908 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41909 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41910 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41911 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41913 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
41916 * elf/rtld.c (dl_main): Limit the check for self loading to normal
41918 * elf/tst-rtld-load-self.sh: New test.
41919 * elf/Makefile: Run it.
41921 2012-09-18 Joseph Myers <joseph@codesourcery.com>
41923 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41924 (tst-writev-ENV): Remove.
41925 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41927 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
41929 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41931 2012-09-17 Joseph Myers <joseph@codesourcery.com>
41933 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41935 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41937 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41938 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41939 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41942 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
41945 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41946 * config.make.in (have-cpp-asm-debuginfo): Removed.
41947 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41948 * configure: Regenerated.
41950 2012-09-14 Joseph Myers <joseph@codesourcery.com>
41953 * stdio-common/printf_fp.c: Include <stdbool.h> and
41955 (___printf_fp): Determine rounding using get_rounding_mode and
41957 * stdio-common/tst-printf-round.c: New file.
41958 * stdio-common/Makefile (tests): Add tst-printf-round.
41959 (link-libm): New variable.
41960 ($(objpfx)tst-printf-round): Depend in $(link-libm).
41962 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
41965 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41966 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41968 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41971 2012-09-13 Joseph Myers <joseph@codesourcery.com>
41973 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41974 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41975 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41976 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41978 2012-09-12 Joseph Myers <joseph@codesourcery.com>
41981 * include/rounding-mode.h: New file.
41982 * sysdeps/generic/get-rounding-mode.h: Likewise.
41983 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41984 * stdlib/strtod_l.c: Include <rounding-mode.h>.
41985 (MAX_VALUE): New macro.
41986 (MIN_VALUE): Likewise.
41987 (overflow_value): New function.
41988 (underflow_value): Likewise.
41989 (round_and_return): Use overflow_value and underflow_value to
41990 determine return values in overflow and underflow cases. Use
41991 round_away to determine rounding depending on rounding mode.
41992 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41993 determine return values in overflow and underflow cases.
41994 * stdlib/tst-strtod-round.c: Include <fenv.h>.
41995 (struct test_results): New structure.
41996 (struct test): Use struct test_results to store expected results
41997 for all rounding modes.
41998 (TEST): Include expected results for all rounding modes.
41999 (test_in_one_mode): New function.
42000 (do_test): Use test_in_one_mode to compute and check results.
42001 Check results for all rounding modes.
42002 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42005 2012-12-09 Allan McRae <allan@archlinux.org>
42007 * sysdeps/i386/fpu/libm-test-ulps: Update
42009 2012-09-11 Joseph Myers <joseph@codesourcery.com>
42011 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42012 (_G_int32_t): Likewise.
42013 (_G_uint16_t): Likewise.
42014 (_G_uint32_t): Likewise.
42015 (_G_HAVE_BOOL): Likewise.
42016 (_G_HAVE_ATEXIT): Likewise.
42017 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42018 (_G_HAVE_IO_FILE_OPEN): Likewise.
42019 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42020 (_G_int32_t): Likewise.
42021 (_G_uint16_t): Likewise.
42022 (_G_uint32_t): Likewise.
42023 (_G_HAVE_BOOL): Likewise.
42024 (_G_HAVE_ATEXIT): Likewise.
42025 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42026 (_G_HAVE_IO_FILE_OPEN): Likewise.
42027 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42028 (_G_int32_t): Likewise.
42029 (_G_uint16_t): Likewise.
42030 (_G_uint32_t): Likewise.
42031 (_G_HAVE_BOOL): Likewise.
42032 (_G_HAVE_ATEXIT): Likewise.
42033 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42034 (_G_HAVE_IO_FILE_OPEN): Likewise.
42036 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42038 * csu/libc-tls.c: Update copyright years.
42040 2012-09-10 Joseph Myers <joseph@codesourcery.com>
42042 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42043 [!_G_USING_THUNKS]: Remove conditional code.
42044 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42045 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42047 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42048 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42049 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42050 (_G_VTABLE_LABEL_PREFIX): Likewise.
42051 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42052 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42053 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42054 (_G_VTABLE_LABEL_PREFIX): Likewise.
42055 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42056 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42057 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42058 (_G_VTABLE_LABEL_PREFIX): Likewise.
42059 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42061 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42063 * libio/Makefile: Include ../Makeconfig before tests.
42064 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42065 only if $(build-shared) is yes.
42067 * iconv/gconv_db.c: Update copyright years.
42069 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42071 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42072 unwind info if defined PIC. Fix special cases description.
42073 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42075 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42077 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42079 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42081 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42083 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42086 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42087 (LDLIBS-tst-chk4): This.
42088 (LDFLAGS-tst-chk5): Renamed to ...
42089 (LDLIBS-tst-chk5): This.
42090 (LDFLAGS-tst-chk6): Renamed to ...
42091 (LDLIBS-tst-chk6): This.
42092 (LDFLAGS-tst-lfschk4): Renamed to ...
42093 (LDLIBS-tst-lfschk4): This.
42094 (LDFLAGS-tst-lfschk5): Renamed to ...
42095 (LDLIBS-tst-lfschk5): This.
42096 (LDFLAGS-tst-lfschk6): Renamed to ...
42097 (LDLIBS-tst-lfschk6): This.
42099 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42100 on $(common-objpfx)soversions.mk.
42102 2012-09-07 Joseph Myers <joseph@codesourcery.com>
42105 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42108 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42110 * malloc/arena.c (arena_get_retry): New function that gets
42111 another arena for the caller to try its request on.
42112 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42113 current arena cannot fulfill the request.
42114 (__libc_memalign): Likewise.
42115 (__libc_memalign): Likewise.
42116 (__libc_pvalloc): Likewise.
42117 (__libc_calloc): Likewise.
42119 2012-09-05 John Tobey <john.tobey@gmail.com>
42122 * manual/arith.texi (Operations on Complex): Fix description
42123 of carg branch cut.
42125 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42128 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42132 * manual/memory.texi (Memory): Make order of menu items match
42135 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42137 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42138 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
42139 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42141 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42143 * csu/libc-tls.c (static_dtv): Renamed to ...
42144 (_dl_static_dtv): This. Make it global.
42145 (_dl_initial_dtv): Removed.
42146 (__libc_setup_tls): Updated.
42147 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42148 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42151 2012-09-06 Petr Machata <pmachata@redhat.com>
42153 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42154 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42155 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42156 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42158 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42161 * csu/libc-tls.c (_dl_initial_dtv): New variable.
42162 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42165 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42168 * Makeconfig (link-static-before-libc): Replace $(+prector)
42170 (link-static-after-libc): Replace $(+postctor) with
42172 (link-bounded): Replace $(+prector)/$(+postctor) with
42173 $(+prectorT)/$(+postctorT).
42174 (+prectorT): New macro.
42175 (+postctorT): Likewise.
42177 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42179 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42180 (round_str): Handle values above the maximum for IBM long double
42182 * stdlib/tst-strtod-round.c (tests): Regenerated.
42184 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42186 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42188 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42189 zarch_nohighgprs around the zarch optimized routines.
42190 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42191 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42192 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42195 2012-09-05 David S. Miller <davem@davemloft.net>
42197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42199 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42200 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42201 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42202 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42205 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42207 * malloc/arena.c: Fold copyright years.
42208 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42210 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42212 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42214 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42216 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42218 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42220 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42221 change internal state upon failure.
42223 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42225 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42226 * malloc/memusage.c (mmap): Likewise.
42227 (mmap64, mremap): Likewise. Adjust name in comment.
42229 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42231 * libio/fileops.c: Fix typos in comments.
42232 * libio/oldfileops.c: Likewise.
42233 * libio/wfileops.c: Likewise.
42235 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42238 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42239 (tst-malloc-usable-ENV): Set environment for test case.
42240 * malloc/hooks.c (malloc_check_get_size): New function to get
42242 * malloc/malloc.c (musable): Use malloc_check_get_size.
42243 * malloc/tst-malloc-usable.c: New test case.
42245 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42247 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42249 2012-09-05 Allan McRae <allan@archlinux.org>
42252 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42253 determine header location.
42254 * configure: Regenerated.
42256 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42258 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42260 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42261 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42263 (test): Regenerate.
42265 2012-09-04 David S. Miller <davem@davemloft.net>
42267 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42268 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42269 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42271 2012-09-04 Florian Weimer <fweimer@redhat.com>
42273 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42276 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42278 2012-09-04 Joseph Myers <joseph@codesourcery.com>
42281 * libio/iogetdelim.c: Include <limits.h>.
42282 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42283 + len + 1 would overflow.
42285 2012-09-03 Andreas Jaeger <aj@suse.de>
42287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42288 * sysdeps/i386/fpu/libm-test-ulps: Update.
42290 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42292 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42293 Add s_sinf-sse2, s_conf-sse2.
42295 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42296 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42297 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42298 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42300 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42301 for using routine as __sinf_ia32.
42302 Use macro for function declaration and weak_alias.
42303 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42304 for using routine as __cosf_ia32.
42305 Use macro for function declaration and weak_alias.
42307 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42308 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42310 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42311 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42314 * math/libm-test.inc (cos_test): Add more test cases.
42315 (sin_test): Likewise.
42316 (sincos_test): Likewise.
42318 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42320 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42321 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42323 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42325 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42328 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42329 first element of the GOT.
42330 (elf_machine_load_address): Return the difference between
42331 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42333 2012-09-01 Allan McRae <allan@archlinux.org>
42336 * configure.in (AWK): Require gawk version 3.0 or later.
42337 * configure: Regenerated.
42339 2012-09-01 Joseph Myers <joseph@codesourcery.com>
42341 * sysdeps/unix/sysv/linux/kernel-features.h
42342 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42343 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42344 [__NR_clock_getres]: Make code unconditional.
42345 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42346 (clock_getcpuclockid): Remove code left unreachable by removal of
42348 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42349 code unconditional.
42350 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42351 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42352 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42353 Make code unconditional.
42354 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42355 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42356 * sysdeps/unix/sysv/linux/clock_settime.c
42357 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42359 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42360 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42362 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42365 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42366 scripts/test-installation.pl.
42368 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42369 and $ld_so_version if it is set.
42371 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42374 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42375 failure if reading from procfs failed.
42376 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42378 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42380 * sysdeps/unix/sysv/linux/kernel-features.h
42381 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42382 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42383 Remove conditional code.
42384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42385 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42386 Remove conditional code.
42387 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42388 * sysdeps/unix/sysv/linux/i386/fxstat.c
42389 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42391 * sysdeps/unix/sysv/linux/i386/fxstatat.c
42392 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42393 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42394 * sysdeps/unix/sysv/linux/i386/lxstat.c
42395 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42397 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42398 Remove conditional code.
42399 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42400 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42401 Remove conditional code.
42402 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42403 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42404 <kernel-features.h>.
42405 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42407 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42408 Remove conditional code.
42409 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42410 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42411 Remove conditional.
42413 2012-08-27 Mike Frysinger <vapier@gentoo.org>
42416 * NEWS: Add fixed bug number.
42418 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42421 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42422 underflowing exponent in case of negative sign.
42423 * stdlib/tst-strtod-round-data: Add more tests.
42424 * stdlib/tst-strtod-round.c (tests): Regenerated.
42427 * stdlib/strtod_l.c (NDIG): Remove.
42428 (HEXNDIG): Likewise.
42429 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42430 smallest representable value.
42431 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42432 lie within an exact representation of 1/2 ulp of the result.
42433 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42435 (TENS_P9_IDX): Define unconditionally.
42436 (TENS_P9_SIZE): Likewise.
42437 (TENS_P10_IDX): Likewise.
42438 (TENS_P10_SIZE): Likewise.
42439 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42440 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42441 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42442 entries for 10^2^13 and 10^2^14.
42443 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42444 (TENS_P13_IDX): Define.
42445 (TENS_P13_SIZE): Likewise.
42446 (TENS_P14_IDX): Likewise.
42447 (TENS_P14_SIZE): Likewise.
42448 (_fpioconst_pow10): Change array size to
42449 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
42451 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42452 1024]: Add entries for 10^2^13 and 10^2^14.
42453 [LAST_POW10 > _LAST_POW10]: Remove #error.
42454 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42455 (_fpioconst_pow10): Change array size to
42456 FPIOCONST_POW10_ARRAY_SIZE.
42457 * stdlib/gen-fpioconst.c: New file.
42458 * stdlib/gen-tst-strtod-round.c: Likewise.
42459 * stdlib/tst-strtod-round-data: Likewise.
42460 * stdlib/tst-strtod-round.c: Likewise.
42461 * stdlib/Makefile (tests): Add tst-strtod-round.
42464 * stdlib/strtod_l.c: Include <stdint.h>.
42465 (NDEBUG): Do not define.
42466 (round_and_return): Change EXPONENT parameter to type intmax_t.
42467 Rearrange calculations to avoid internal overflow possibilities.
42468 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42469 Rearrange calculations to avoid internal overflow possibilities.
42470 Assert that number fits inside MPNSIZE limbs.
42471 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42472 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
42473 calculations and add assertions to avoid internal overflow
42474 possibilities. Add casts to avoid signed/unsigned operations.
42475 * stdlib/tst-strtod-overflow.c: New file.
42476 * stdlib/Makefile (tests): Add tst-strtod-overflow.
42478 2012-08-25 Marek Polacek <polacek@redhat.com>
42480 * time/time.h: Fix some typos in comments.
42482 2012-08-23 Roland McGrath <roland@hack.frob.com>
42484 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42485 * posix/tst-rfc3484-2.c: Likewise.
42486 * posix/tst-rfc3484-3.c: Likewise.
42488 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
42490 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42491 (EF_ARM_ABI_FLOAT_HARD): Likewise.
42493 2012-08-23 Joseph Myers <joseph@codesourcery.com>
42495 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42496 #include of fxstatat64.c.
42498 2012-08-22 Roland McGrath <roland@hack.frob.com>
42500 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42501 * shadow/getspent_r.c: Likewise.
42502 * shadow/getspnam.c: Likewise.
42503 * shadow/getspnam_r.c: Likewise.
42504 * gshadow/getsgent.c: Likewise.
42505 * gshadow/getsgent_r.c: Likewise.
42506 * gshadow/getsgnam.c: Likewise.
42507 * gshadow/getsgnam_r.c: Likewise.
42508 * inet/getnetbyad.c: Likewise.
42509 * inet/getnetbyad_r.c: Likewise.
42510 * inet/getnetbynm.c: Likewise.
42511 * inet/getnetbynm_r.c: Likewise.
42512 * inet/getnetent.c: Likewise.
42513 * inet/getnetent_r.c: Likewise.
42514 * inet/getproto.c: Likewise.
42515 * inet/getproto_r.c: Likewise.
42516 * inet/getprtent.c: Likewise.
42517 * inet/getprtent_r.c: Likewise.
42518 * inet/getprtname.c: Likewise.
42519 * inet/getprtname_r.c: Likewise.
42520 * inet/getrpcbyname.c: Likewise.
42521 * inet/getrpcbyname_r.c: Likewise.
42522 * inet/getrpcbynumber.c: Likewise.
42523 * inet/getrpcbynumber_r.c: Likewise.
42524 * inet/getrpcent.c: Likewise.
42525 * inet/getrpcent_r.c: Likewise.
42526 * inet/getaliasent.c: Likewise.
42527 * inet/getaliasent_r.c: Likewise.
42528 * inet/getaliasname.c: Likewise.
42529 * inet/getaliasname_r.c: Likewise.
42530 * nscd/getgrgid_r.c: Likewise.
42531 * nscd/getgrnam_r.c: Likewise.
42532 * nscd/gethstbyad_r.c: Likewise.
42533 * nscd/gethstbynm3_r.c: Likewise.
42534 * nscd/getpwnam_r.c: Likewise.
42535 * nscd/getpwuid_r.c: Likewise.
42536 * nscd/getsrvbynm_r.c: Likewise.
42537 * nscd/getsrvbypt_r.c: Likewise.
42538 * nscd/gai.c: Likewise.
42540 * configure.in (build_nscd): New substituted variable, set
42541 by --disable-build-nscd and defaults to $use_nscd.
42542 * configure: Regenerated.
42543 * config.make.in (build-nscd): New substituted variable.
42544 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42545 Change conditional to require [$(build-nscd) = yes] as well.
42546 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42549 * configure.in (use_nscd): New substituted variable, set by
42550 --disable-nscd. If enabled, define USE_NSCD.
42551 * configure: Regenerated.
42552 * config.h.in: Add USE_NSCD.
42553 * config.make.in (use-nscd): New substituted variable.
42554 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42555 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42556 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42557 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42558 (CFLAGS-getgrnam_r.c): Likewise.
42559 (CFLAGS-initgroups.c): Likewise.
42560 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42561 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42563 * inet/getnetgrent_r.c
42564 (nscd_setnetgrent): New function, broken out of ...
42565 (setnetgrent): ... here. Call it.
42566 (innetgr): Conditionalize nscd bits on [USE_NSCD].
42567 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42568 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42569 * nscd/Makefile (routines, aux): Move definitions after include of
42570 Makeconfig. Conditionalize on [$(use-nscd) != no].
42571 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42572 Conditionalize on [USE_NSCD].
42573 (is_nscd, nscd_init_cb): Likewise.
42574 (nss_load_library): Conditionalize init callback on [USE_NSCD].
42575 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42576 * nss/nss_db/db-init.c: Likewise.
42577 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42579 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42580 (make_request): Use it.
42581 (cache_valid_p): New function.
42582 (__check_pf): Use it.
42583 * NEWS: Add item for --disable-nscd.
42585 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
42587 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42588 to support sed >= 4.2.1-20-ga9bf076.
42589 * configure: Regenerated.
42591 2012-08-22 Roland McGrath <roland@hack.frob.com>
42593 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42594 Conditionalize whole body on [IREL].
42596 2012-08-22 Jeff Law <law@redhat.com>
42599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42600 if the family is PF_UNSPEC.
42602 2012-08-22 Mike Frysinger <vapier@gentoo.org>
42604 * Makerules (lib-version): Rename from V.
42605 (install-lib-nosubdir): Change V to lib-version.
42607 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
42610 * powerpc32/power6/wcschr.c: New file.
42611 * powerpc32/power6/wcscpy.c: New file.
42612 * powerpc32/power6/wcsrchr.c: New file.
42613 * powerpc64/power6/wcschr.c: New file.
42614 * powerpc64/power6/wcscpy.c: New file.
42615 * powerpc64/power6/wcsrchr.c: New file.
42617 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42619 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42620 (two_way_short_needle): Use it.
42621 * string/strstr.c (AVAILABLE1_USES_J): Define.
42622 * string/strcasestr.c: Likewise.
42624 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42626 * string/strcasestr.c (TOLOWER): Make side-effect safe.
42629 * NEWS: Add an entry.
42630 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42631 define their defaults.
42632 (two_way_short_needle): Detect end-of-string on-the-fly.
42633 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42634 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42635 * string/bug-strcasestr1.c: New test.
42636 * string/Makefile: Run it.
42638 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42641 * string/str-two-way.h (two_way_short_needle): Optimize matching of
42642 the first character.
42644 2012-08-21 Roland McGrath <roland@hack.frob.com>
42646 * csu/elf-init.c (__libc_csu_irel): Function removed.
42647 * csu/libc-start.c (apply_irel): New function.
42648 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42650 2012-08-21 Joseph Myers <joseph@codesourcery.com>
42652 * sysdeps/unix/sysv/linux/kernel-features.h
42653 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42654 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42655 <kernel-features.h>.
42656 [__NR_fadvise64_64]: Make code unconditional.
42657 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42658 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42659 !__NR_fadvise64_64)]: Likewise.
42660 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42661 !__NR_fadvise64_64))]: Likewise.
42662 [__NR_fadvise64]: Make code unconditional.
42663 [!__NR_fadvise64]: Remove conditional code.
42664 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42665 <kernel-features.h>.
42666 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42668 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42671 not include <kernel-features.h>.
42672 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42674 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42676 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42677 include <kernel-features.h>.
42678 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42680 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42683 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42685 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42686 slight instruction rearrangements per scrollpipe analysis.
42687 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42689 2012-08-20 Roland McGrath <roland@hack.frob.com>
42691 * manual/syslog.texi (syslog; vsyslog, closelog):
42692 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42693 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42695 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42696 DSOCAPS to match condition on defining it.
42698 2012-08-20 Joseph Myers <joseph@codesourcery.com>
42700 * sysdeps/unix/sysv/linux/kernel-features.h
42701 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42703 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42704 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42706 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42707 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42709 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42710 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42712 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42713 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42715 * sysdeps/unix/sysv/linux/kernel-features.h
42716 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42717 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42719 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42720 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42721 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42722 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42723 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42724 Make code unconditional.
42725 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42726 (__mmap64) [!__NR_mmap2]: Likewise.
42727 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42728 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42729 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42730 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42731 [__NR_mmap2]: Make code unconditional.
42732 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42733 (__mmap64) [!__NR_mmap2]: Likewise.
42735 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42737 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42739 2012-08-18 Andreas Jaeger <aj@suse.de>
42741 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42743 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42745 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42746 * include/unistd.h (__have_sock_cloexec): Likewise.
42747 (__have_pipe2): Likewise.
42748 (__have_dup3): Likewise.
42750 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42753 * include/unistd.h (__have_pipe2): Change define into an extern int.
42754 (__have_dup3): Likewise.
42755 * socket/have_sock_cloexec.c: Include fcntl.h.
42756 (__have_pipe2): New variable.
42757 (__have_dup3): Likewise.
42759 2012-08-17 Mike Frysinger <vapier@gentoo.org>
42761 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42763 2012-08-17 Marek Polacek <polacek@redhat.com>
42765 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42766 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42768 2012-08-17 Roland McGrath <roland@hack.frob.com>
42770 * configure.in: Add AC_SUBST for sysheaders.
42771 * configure: Regenerated.
42772 * config.make.in (sysheaders): New substituted variable.
42774 * sysdeps/unix/mkfifo.c: Moved ...
42775 * sysdeps/posix/mkfifo.c: ... here.
42776 * sysdeps/unix/mkfifoat.c: Moved ...
42777 * sysdeps/posix/mkfifoat.c: ... here.
42779 * sysdeps/unix/utime.c: Moved ...
42780 * sysdeps/posix/utime.c: ... here.
42782 * sysdeps/unix/time.c: Moved ...
42783 * sysdeps/posix/time.c: ... here.
42784 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42785 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42787 * sysdeps/unix/nice.c: Moved ...
42788 * sysdeps/posix/nice.c: ... here.
42790 * sysdeps/unix/alarm.c: Moved ...
42791 * sysdeps/posix/alarm.c: ... here.
42793 * intl/Makefile ($(codeset_mo)): Depend on the input file.
42795 2012-08-17 Jeff Law <law@redhat.com>
42797 * intl/Makefile (codeset_mo): New variable.
42798 ($(codeset_mo)): New target.
42799 (tst-codeset.out): Depend on that. Remove explicit rule.
42800 (tst-gettext3.out, tst-gettext5.out): Likewise.
42801 (LOCPATH-ENV, tst-codeset-ENV): New variables.
42802 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42803 * intl/tst-codeset.sh: Remove.
42804 * intl/tst-gettext3.sh: Likewise.
42805 * intl/tst-gettext5.sh: Likewise.
42807 2012-08-17 Roland McGrath <roland@hack.frob.com>
42809 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
42810 * sysdeps/unix/syscalls.list: ... here.
42812 * sysdeps/posix/getaddrinfo.c
42813 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42814 (gaiconf_init, gaiconf_reload): Use them.
42815 [!_STATBUF_ST_NSEC]
42816 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42817 Define using time_t rather than struct timespec.
42819 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42820 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42822 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42824 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42825 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42828 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42829 __libc_cleanup_push argument.
42831 * bits/param.h: New file.
42832 * misc/sys/param.h: New file.
42833 * include/sys/param.h: New file.
42834 * misc/Makefile (headers): Add bits/param.h.
42835 * sysdeps/generic/sys/param.h: File removed.
42836 * sysdeps/unix/sysv/linux/bits/param.h: New file.
42837 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42838 * sysdeps/mach/hurd/bits/param.h: New file.
42839 * sysdeps/mach/hurd/sys/param.h: File removed.
42841 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42844 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42846 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42847 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42850 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42851 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42852 rather than -D_IO_MTSAFE_IO conditionally.
42853 * stdio-common/Makefile (CPPFLAGS): Likewise.
42854 * wcsmbs/Makefile (CPPFLAGS): Likewise.
42855 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42856 Use $(libio-mtsafe).
42857 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42858 of -D_IO_MTSAFE_IO.
42859 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42860 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42861 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42862 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42863 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42864 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42865 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42866 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42867 (CFLAGS-fread_u_chk.c): Likewise.
42868 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42869 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42870 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42871 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42872 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42873 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42874 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42875 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42876 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42878 * libio/Makefile: Test [$(libc-reentrant) = yes]
42879 instead of [$(filter %REENTRANT, $(defines)) nonempty].
42882 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42883 * sysdeps/pthread/configure: File removed.
42884 * sysdeps/pthread/Makeconfig: New file.
42885 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42886 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42888 2012-08-16 Gary Benson <gbenson@redhat.com>
42890 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42891 unmapping the first object in a namespace.
42893 2012-08-16 Roland McGrath <roland@hack.frob.com>
42895 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42896 (__internal_setnetgrent): ... this. Add internal_function to
42897 definition. Add libc_hidden_def.
42898 (setnetgrent): Update caller.
42899 (internal_endnetgrent): Renamed to ...
42900 (__internal_endnetgrent): ... this. Add internal_function to
42901 definition. Add libc_hidden_def.
42902 (endnetgrent): Update caller.
42903 (internal_getnetgrent_r): Renamed to ...
42904 (__internal_getnetgrent_r): ... this. Add internal_function to
42905 definition. Add libc_hidden_def.
42906 (__getnetgrent_r): Update caller.
42907 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
42909 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42911 * stdlib/longlong.h: Update from GCC.
42913 2012-08-16 Roland McGrath <roland@hack.frob.com>
42915 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42916 on _QL, which is set by umul_ppmm but never used.
42917 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42918 variables, which are set by GMP macros but never used.
42919 * stdio-common/_itowa.c (_itowa): Likewise.
42920 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42921 * stdlib/mod_1.c (mpn_mod_1): Likewise.
42923 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
42925 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42926 struct La_sh_regs is not constant.
42927 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42928 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42929 and struct La_sparc64_regs are not constant.
42931 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42933 * sysdeps/unix/sysv/linux/kernel-features.h
42934 (__ASSUME_POSIX_TIMERS): Remove.
42935 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42936 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42937 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42938 Make code unconditional.
42939 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42940 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42941 Make code unconditional.
42942 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42943 * sysdeps/unix/sysv/linux/clock_nanosleep.c
42944 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42945 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42946 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42947 Make code unconditional.
42948 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42949 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42950 (__libc_missing_posix_timers): Remove.
42952 2012-08-15 Roland McGrath <roland@hack.frob.com>
42954 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42955 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42957 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42959 * elf/dl-sym.c: Include <stdlib.h>.
42961 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42962 constants, which avoids warnings in 32-bit builds.
42964 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42965 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42967 * misc/lseek.c: File moved to ...
42968 * io/lseek.c: ... here.
42970 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42972 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42973 shifting LEN more than 31 bits at once.
42975 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42978 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42979 segmentation fault for a case of two empty input strings.
42980 * string/test-strncasecmp.c (check1): Renamed to...
42981 (bz12205): ...this.
42982 (bz14195): Add new testcase for two empty input strings and N > 0.
42983 (test_main): Call new testcase, adapt for renamed function.
42985 2012-08-15 Andreas Jaeger <aj@suse.de>
42988 * crypt/md5test2.c: New test, based on test supplied by Serge
42989 Belyshev <belyshev@depni.sinp.msu.ru>.
42990 * crypt/Makefile (xtests): Add md5test-giant..
42991 * crypt/Makefile ($(objpfx)md5test-giant): Add.
42993 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
42996 * crypt/md5.c (md5_process_block): Don't assume the buffer
42997 length is less than 2**32.
42998 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42999 length is less than 2**64.
43001 2012-08-15 Roland McGrath <roland@hack.frob.com>
43003 * string/str-two-way.h: Include <sys/param.h>.
43004 (MAX): Macro removed.
43006 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43007 Move #define and #undef of memmove to just before and after
43008 including <string.h>.
43010 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43011 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43012 and after including <string.h>. Move declarations of
43013 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43014 to before #include "string/memmove.c".
43016 * include/dirent.h: Declare __getdirentries.
43018 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43019 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43021 2012-08-14 Mike Frysinger <vapier@gentoo.org>
43023 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43024 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43025 * sysdeps/i386/configure: Regenerated.
43026 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43027 STABS_CURRENT_FILE, and STABS_FUN.
43028 (END): Remove call to STABS_FUN_END.
43029 (STABS_CURRENT_FILE1): Delete.
43030 (STABS_CURRENT_FILE): Likewise.
43031 (STABS_FUN): Likewise.
43032 (STABS_FUN_END): Likewise.
43033 (STABS_FUN2): Likewise.
43034 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43035 * sysdeps/x86_64/configure: Regenerated.
43037 2012-08-14 Roland McGrath <roland@hack.frob.com>
43039 * elf/dl-open.c: Include <atomic.h>.
43040 * elf/dl-lookup.c: Likewise.
43042 2012-08-14 Joseph Myers <joseph@codesourcery.com>
43044 * sysdeps/unix/sysv/linux/kernel-features.h
43045 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43046 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43048 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43050 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43051 condition on __ASSUME_CLONE_THREAD_FLAGS.
43053 2012-08-14 Andreas Jaeger <aj@suse.de>
43055 * sysdeps/i386/fpu/libm-test-ulps: Update.
43057 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43059 * include/atomic.h (atomic_exchange_and_add): Split into ...
43060 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43063 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43067 2012-08-13 Jeff Law <law@redhat.com>
43069 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43070 null byte in the output string.
43072 2012-08-10 Joseph Myers <joseph@codesourcery.com>
43074 * sysdeps/unix/sysv/linux/kernel-features.h
43075 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43076 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43077 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43078 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43079 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43080 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43081 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43083 2012-08-09 Jeff Law <law@redhat.com>
43086 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43087 When avoid_arena is set, don't retry in the that arena. Pick the
43088 next one, whatever it might be.
43089 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43090 (arena_lock): Pass in new parameter to arena_get2.
43091 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43093 (__libc_malloc): Unify retrying after main arena failure with
43094 __libc_memalign version.
43095 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43097 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43100 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43101 to __redirect_strstr.
43102 (__strstr_sse42): Use typeof __redirect_strstr.
43103 (__strstr_ia32): Likewise.
43104 (__libc_strstr): New prototype.
43105 (strstr): Renamed to ...
43106 (__libc_strstr): This.
43107 (strstr): New strong alias of __libc_strstr.
43108 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43109 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43112 (__libc_time): New prototype.
43113 (time_ifunc): Replace time with __libc_time.
43114 (time): New strong alias and hidden definition of __libc_time.
43115 (__GI_time): Remove strong alias.
43116 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43117 Include <stddef.h>.
43118 (memmove): Redefined to __redirect_memmove.
43119 (__memmove_sse2): Use typeof __redirect_memmove.
43120 (__memmove_ssse3): Likewise.
43121 (__memmove_ssse3_back): Likewise.
43122 (__libc_memmove): New prototype.
43123 (memmove): Renamed to ...
43124 (__libc_memmove): This.
43125 (memmove): New strong alias of __libc_memmove.
43127 2012-08-08 Mark Salter <msalter@redhat.com>
43130 (R_MN10300_TLS_GD): Define.
43131 (R_MN10300_TLS_LD): Likewise.
43132 (R_MN10300_TLS_LDO): Likewise.
43133 (R_MN10300_TLS_GOTIE): Likewise.
43134 (R_MN10300_TLS_IE): Likewise.
43135 (R_MN10300_TLS_LE): Likewise.
43136 (R_MN10300_TLS_DTPMOD): Likewise.
43137 (R_MN10300_TLS_DTPOFF): Likewise.
43138 (R_MN10300_TLS_TPOFF): Likewise.
43139 (R_MN10300_SYM_DIFF): Likewise.
43140 (R_MN10300_ALIGN): Likewise.
43141 (R_MN10300_NUM): Update.
43143 2012-08-08 Joseph Myers <joseph@codesourcery.com>
43145 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43148 2012-08-08 Roland McGrath <roland@hack.frob.com>
43150 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43152 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43153 sysdeps/unix -> sysdeps/posix move.
43154 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43156 2012-08-07 Allan McRae <allan@archlinux.org>
43159 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43160 (SUNOS_CPP): Likewise.
43161 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43163 (open_input): Call CPP using execvp.
43165 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43167 * sysdeps/unix/sysv/linux/kernel-features.h
43168 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43169 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43170 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43171 (__ASSUME_WAITID_SYSCALL): Likewise.
43172 * sysdeps/unix/sysv/linux/dl-execstack.c
43173 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43174 code unconditional.
43175 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43177 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43178 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43179 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43181 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43183 [__ASSUME_WAITID_SYSCALL]: Likewise.
43184 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43186 2012-08-07 Roland McGrath <roland@hack.frob.com>
43188 * sysdeps/unix/closedir.c: Renamed to ...
43189 * sysdeps/posix/closedir.c: ... here.
43190 * sysdeps/unix/dirfd.c: Renamed to ...
43191 * sysdeps/posix/dirfd.c: ... here.
43192 * sysdeps/unix/dirstream.h: Renamed to ...
43193 * sysdeps/posix/dirstream.h: ... here.
43194 * sysdeps/unix/fdopendir.c: Renamed to ...
43195 * sysdeps/posix/fdopendir.c: ... here.
43196 * sysdeps/unix/opendir.c: Renamed to ...
43197 * sysdeps/posix/opendir.c: ... here.
43198 * sysdeps/unix/readdir.c: Renamed to ...
43199 * sysdeps/posix/readdir.c: ... here.
43200 * sysdeps/unix/readdir_r.c: Renamed to ...
43201 * sysdeps/posix/readdir_r.c: ... here.
43202 * sysdeps/unix/rewinddir.c: Renamed to ...
43203 * sysdeps/posix/rewinddir.c: ... here.
43204 * sysdeps/unix/seekdir.c: Renamed to ...
43205 * sysdeps/posix/seekdir.c: ... here.
43206 * sysdeps/unix/telldir.c: Renamed to ...
43207 * sysdeps/posix/telldir.c: ... here.
43208 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43209 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43210 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43211 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43213 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43214 * bits/fcntl.h: ... here.
43216 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43218 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43219 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43220 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43221 (struct flock): Move l_start, l_len to the beginning.
43222 Use __pid_t for l_pid.
43223 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43224 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43225 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43226 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43227 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43228 [__USE_LARGEFILE64] (struct flock64): New type.
43229 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43231 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43232 * bits/dirent.h: ... here.
43234 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43235 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43237 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43239 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43240 Change from 2.6.0 to 2.6.16.
43241 * sysdeps/unix/sysv/linux/configure: Regenerated.
43242 * sysdeps/unix/sysv/linux/kernel-features.h
43243 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43244 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43246 (__ASSUME_UTIMES): Likewise.
43247 (__ASSUME_CLONE_STOPPED): Remove.
43248 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43249 architectures, not kernel version.
43250 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43251 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43252 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43253 (__ASSUME_WAITID_SYSCALL): Likewise.
43254 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43255 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43256 * README: State 2.6.16 as minimum Linux kernel version. Do not
43257 refer to older versions.
43259 2012-08-06 Roland McGrath <roland@hack.frob.com>
43261 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43262 Define alphasort64 as an alias.
43263 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43264 Define versionsort64 as an alias.
43265 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43266 Define scandir64 as an alias.
43267 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43268 Define scandirat64 as an alias.
43269 * dirent/alphasort64.c (alphasort64):
43270 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43271 * dirent/versionsort64.c: Likewise.
43272 * dirent/scandir64.c: Likewise.
43273 * dirent/scandirat64.c: Likewise.
43274 * sysdeps/wordsize-64/alphasort.c: File removed.
43275 * sysdeps/wordsize-64/alphasort64.c: File removed.
43276 * sysdeps/wordsize-64/scandir.c: File removed.
43277 * sysdeps/wordsize-64/scandir64.c: File removed.
43278 * sysdeps/wordsize-64/scandirat.c: File removed.
43279 * sysdeps/wordsize-64/scandirat64.c: File removed.
43280 * sysdeps/wordsize-64/versionsort.c: File removed.
43281 * sysdeps/wordsize-64/versionsort64.c: File removed.
43282 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43283 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43284 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43285 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43286 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43287 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43288 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43289 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43291 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43293 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43295 [defined __arch64__ || defined __sparcv9]
43296 (__INO_T_MATCHES_INO64_T): New macro.
43297 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43298 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43299 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43300 * sysdeps/unix/sysv/linux/bits/dirent.h
43301 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43302 (_DIRENT_MATCHES_DIRENT64): New macro.
43304 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43305 Define lockf64 as an alias.
43306 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43307 Define fseeko64 as an alias.
43308 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43309 Define ftello64 as an alias.
43310 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43311 Define _IO_fgetpos64 and fgetpos64 as aliases.
43312 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43313 Define _IO_fsetpos64 and fsetpos64 as aliases.
43314 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43315 Conditionalize body on this.
43316 * libio/fseeko64.c: Likewise.
43317 * libio/ftello64.c: Likewise.
43318 * libio/iofgetpos64.c: Likewise.
43319 * libio/iofsetpos64.c: Likewise.
43320 * sysdeps/wordsize-64/lockf.c: File removed.
43321 * sysdeps/wordsize-64/lockf64.c: File removed.
43322 * sysdeps/wordsize-64/fseeko.c: File removed.
43323 * sysdeps/wordsize-64/fseeko64.c: File removed.
43324 * sysdeps/wordsize-64/ftello.c: File removed.
43325 * sysdeps/wordsize-64/ftello64.c: File removed.
43326 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43327 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43328 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43329 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43330 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43331 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43332 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43333 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43334 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43335 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43336 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43337 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43338 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43339 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43341 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43342 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43343 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43344 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43345 [defined __arch64__ || defined __sparcv9]
43346 (__OFF_T_MATCHES_OFF64_T): New macro.
43347 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43348 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43350 (__OFF_T_MATCHES_OFF64_T): New macro.
43352 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43354 * stdlib/secure-getenv.c (__secure_getenv): Replace
43355 GLIBC_2_16 with GLIBC_2_17.
43357 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43359 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43360 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43362 2012-08-03 David S. Miller <davem@davemloft.net>
43364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43366 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43368 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43370 (__ASSUME_CORRECT_SI_PID): Likewise.
43371 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43372 (__ASSUME_TMPFS_NAME): Likewise.
43373 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43374 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43375 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43376 (HAVE_AUX_SECURE): Make definition unconditional.
43377 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43378 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43380 2012-08-03 Roland McGrath <roland@hack.frob.com>
43382 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43383 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43384 * sysdeps/mach/hurd/eloop-threshold.h: New file.
43385 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43386 __eloop_threshold instead of SYMLOOP_MAX.
43388 * sysdeps/generic/eloop-threshold.h: New file.
43389 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43391 * elf/chroot_canon.c (chroot_canon): Likewise.
43393 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43396 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43397 Change to 2.6.0 everywhere.
43398 * sysdeps/unix/sysv/linux/configure: Regenerated.
43399 * sysdeps/unix/sysv/linux/kernel-features.h
43400 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43401 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43403 (__ASSUME_POSIX_TIMERS): Define unconditionally.
43404 (__ASSUME_FUTEX_REQUEUE): Remove.
43405 (__ASSUME_STATFS64): Define unconditionally.
43406 (__ASSUME_AT_SECURE): Likewise.
43407 (__ASSUME_CORRECT_SI_PID): Likewise.
43408 (__ASSUME_TGKILL): Define without depending on kernel version for
43410 (__ASSUME_UTIMES): Likewise.
43411 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43413 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43414 (__ASSUME_TMPFS_NAME): Likewise.
43415 * README: Update reference to Linux kernel versions.
43417 2012-08-02 Marek Polacek <polacek@redhat.com>
43420 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
43421 libc_cv_asm_type_prefix with %.
43422 * configure: Regenerated.
43423 * include/libc-symbols.h: Remove comment about
43424 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43425 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43426 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43427 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43428 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43429 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43430 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43431 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43432 * elf/tst-unique2mod1.c: Likewise.
43433 * elf/tst-unique1mod2.c: Likewise.
43434 * elf/tst-unique1mod1.c: Likewise.
43435 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43436 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43437 Replace ASM_TYPE_DIRECTIVE with .type.
43438 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43439 * sysdeps/i386/sysdep.h: Likewise.
43440 * sysdeps/x86_64/sysdep.h: Likewise.
43441 * sysdeps/sh/sysdep.h: Likewise.
43442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43443 Do not define ASM_TYPE_DIRECTIVE.
43444 * sysdeps/powerpc/sysdep.h: Likewise.
43445 * sysdeps/powerpc/powerpc32/sysdep.h:
43446 Replace ASM_TYPE_DIRECTIVE with .type.
43447 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43448 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43449 * sysdeps/i386/fpu/e_powf.S: Likewise.
43450 * sysdeps/i386/fpu/e_expl.S: Likewise.
43451 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43452 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43453 * sysdeps/i386/fpu/e_pow.S: Likewise.
43454 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43455 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43456 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43457 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43458 * sysdeps/i386/fpu/e_log2.S: Likewise.
43459 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43460 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43461 * sysdeps/i386/fpu/e_powl.S: Likewise.
43462 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43463 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43464 * sysdeps/i386/fpu/e_logl.S: Likewise.
43465 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43466 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43467 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43468 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43469 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43470 * sysdeps/i386/fpu/e_log.S: Likewise.
43471 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43472 * sysdeps/i386/fpu/e_logf.S: Likewise.
43473 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43474 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43475 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43476 * sysdeps/i386/fpu/e_log10.S: Likewise.
43477 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43478 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43479 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43480 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43481 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43482 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43483 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43484 * sysdeps/i386/i686/strtok.S: Likewise.
43485 * sysdeps/i386/i386-mcount.S: Likewise.
43486 * sysdeps/i386/strtok.S: Likewise.
43487 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43488 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43489 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43490 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43491 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43492 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43493 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43494 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43495 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43496 * sysdeps/x86_64/_mcount.S: Likewise.
43497 * sysdeps/x86_64/strtok.S: Likewise.
43498 * sysdeps/sh/_mcount.S: Likewise.
43500 2012-08-01 Roland McGrath <roland@hack.frob.com>
43502 * libio/iofopen.c: Include <fcntl.h>.
43503 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43504 (_IO_fopen64, fopen64): Define as aliases.
43505 * libio/iofopen64.c: Include <fcntl.h>.
43506 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43507 Conditionalize body on this.
43508 * sysdeps/wordsize-64/iofopen.c: File removed.
43509 * sysdeps/wordsize-64/iofopen64.c: File removed.
43511 2012-08-01 Marek Polacek <polacek@redhat.com>
43513 * libc/Makeconfig: Use elf in place of binfmt-subdir.
43514 Use dlfcn directly instead of a variable.
43515 (binfmt-subdir): Do not define.
43518 2012-08-01 Joseph Myers <joseph@codesourcery.com>
43520 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43521 Remove all definitions.
43522 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43523 <kernel-features.h>.
43524 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43525 (miss_F_GETOWN_EX): Remove all definitions.
43526 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43528 [!__ASSUME_FCNTL64]: Remove conditional code.
43529 [__ASSUME_FCNTL64]: Make code unconditional.
43530 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43531 <kernel-features.h>.
43532 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43533 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43534 (lockf64) [__NR_fcntl64]: Make code unconditional.
43535 (lockf64) [__ASSUME_FCNTL64]: Likewise.
43537 * sysdeps/unix/sysv/linux/kernel-features.h
43538 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43539 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43540 Make code unconditional.
43541 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43542 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43544 [__NR_vfork]: Make code unconditional.
43545 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43546 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43548 [__NR_vfork]: Make code unconditional.
43549 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43550 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43552 2012-08-01 Roland McGrath <roland@hack.frob.com>
43554 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43555 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43557 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43558 Define mkstemp64 as an alias.
43559 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43560 Define mkstemps64 as an alias.
43561 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43562 Define mkostemp64 as an alias.
43563 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43564 Define mkostemps64 as an alias.
43565 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43566 Conditionalize body on this.
43567 * misc/mkostemp64.c: Likewise.
43568 * misc/mkostemps64.c: Likewise.
43569 * misc/mkstemps64.c: Likewise.
43570 * sysdeps/wordsize-64/mkstemp64.c: File removed.
43571 * sysdeps/wordsize-64/mkostemp64.c: File removed.
43572 * sysdeps/wordsize-64/mkostemp.c: File removed.
43573 * sysdeps/wordsize-64/mkstemp.c: File removed.
43574 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43575 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43576 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43577 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43580 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43581 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43582 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43583 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43585 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43586 compat_symbol macros from <shlib-compat.h> rather than the underlying
43587 default_symbol_version and symbol_version macros, so that DEFAULT
43588 lines in shlib-versions are respected.
43589 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43591 2012-08-01 Florian Weimer <fweimer@redhat.com>
43593 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43594 Declare with warn_unused_result.
43595 (setgid, setregid, setegid, setresgid): Likewise.
43596 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43598 * WUR-REPORT: Remove set*id functions.
43600 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
43602 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43604 2012-07-31 Roland McGrath <roland@hack.frob.com>
43607 * include/sys/socket.h (__libc_accept, __libc_accept4):
43608 Add attribute_hidden.
43609 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43611 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43613 * inet/getnetgrent_r.c (setup): Likewise.
43615 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43617 2012-07-31 David S. Miller <davem@davemloft.net>
43619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43621 2012-07-31 Joseph Myers <joseph@codesourcery.com>
43624 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43625 value between 1.0 and 2.0 and smaller part has absolute value less
43627 * math/s_clog10.c (__clog10): Likewise.
43628 * math/s_clog10f.c (__clog10f): Likewise.
43629 * math/s_clog10l.c (__clog10l): Likewise.
43630 * math/s_clogf.c (__clogf): Likewise.
43631 * math/s_clogl.c (__clogl): Likewise.
43632 * math/libm-test.inc (clog_test): Add more tests.
43633 (clog10_test): Likewise.
43634 * sysdeps/i386/fpu/libm-test-ulps: Update.
43635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43637 2012-07-31 Florian Weimer <fweimer@redhat.com>
43639 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43640 Exit with zero in case no suitable GID is found, and write a
43641 message to standard error.
43643 2012-07-30 Roland McGrath <roland@hack.frob.com>
43645 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43647 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43648 (MAXPATHLEN): Removed.
43649 (NOGROUP, NODEV): New macros.
43650 (setbit, clrbit, isset, isclr): New macros.
43651 (howmany, roundup, powerof2): New macros.
43652 (DEV_BSIZE): New macro.
43654 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43655 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43657 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43658 definition on [!__NO_LONG_DOUBLE_MATH].
43660 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43661 PTR_MANGLE and PTR_DEMANGLE.
43663 * socket/accept4.c (accept4): Rename to __libc_accept4.
43664 Define accept4 as a weak alias.
43666 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43667 on [_DIRENT_HAVE_D_TYPE].
43668 * io/ftw.c (ftw_dir): Likewise.
43670 * io/xmknod.c (__xmknod): Don't check PATH for being null.
43672 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43674 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43675 Use the BSD numbers rather than the arbitrary ones we had.
43676 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43677 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43678 (SIGXCPU, SIGXFSZ): New macros.
43681 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43682 initializer on [_LIBC_REENTRANT].
43684 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43685 definitions inside [_POSIX_MAPPED_FILES].
43687 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43689 * dirent/opendir.c: Include <fcntl.h>.
43691 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43692 (__libc_getspecific): Likewise.
43693 (__libc_key_create): Likewise.
43695 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43696 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43697 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43698 (tmpfile64): Define as alias.
43699 * sysdeps/wordsize-64/tmpfile.c: File removed.
43700 * sysdeps/wordsize-64/tmpfile64.c: File removed.
43701 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43702 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43704 * stdio-common/vfscanf.c: Include <stdbool.h>.
43705 * nss/makedb.c: Likewise.
43706 * stdio-common/_i18n_number.h: Likewise.
43707 * argp/argp-help.c: Likewise.
43708 * posix/wordexp.c: Likewise.
43709 * sysdeps/posix/spawni.c: Likewise.
43710 * nss/nss_files/files-initgroups.c: Likewise.
43711 * stdio-common/reg-modifier.c: Include <stdlib.h>.
43712 * nss/nss_files/files-initgroups.c: Likewise.
43713 * nss/nss_db/db-netgrp.c: Likewise.
43714 * nss/nss_db/db-initgroups.c: Likewise.
43715 * io/fchmodat.c: Include <sys/stat.h>.
43717 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43718 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43720 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43723 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43724 Add multiple inclusion protection.
43726 2012-07-27 David S. Miller <davem@davemloft.net>
43728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43730 2012-07-27 Gary Benson <gbenson@redhat.com>
43733 * elf/rtld.c: Include <stap-probe.h>.
43734 (dl_main): Added static probes "init_start" and "init_complete".
43735 * elf/dl-load.c: Include <stap-probe.h>.
43736 (lose): Take new parameter "nsid".
43737 Added static probe "map_failed".
43738 (_dl_map_object_from_fd): Pass namespace id to lose.
43739 Added static probe "map_start".
43740 (open_verify): Pass namespace id to lose.
43741 * elf/dl-open.c: Include <stap-probe.h>.
43742 (dl_open_worker) Added static probes "map_complete", "reloc_start"
43743 and "reloc_complete".
43744 * elf/dl-close.c: Include <stap-probe.h>.
43745 (_dl_close_worker): Added static probes "unmap_start" and
43747 * elf/rtld-debugger-interface.txt: New file documenting the above.
43749 2012-07-26 Roland McGrath <roland@hack.frob.com>
43751 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43752 rather than a string variable.
43753 * sunrpc/rpc_main.c (h_output): Likewise.
43754 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43756 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
43758 * inet/check_native.c: New file.
43760 2012-07-26 Joseph Myers <joseph@codesourcery.com>
43763 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43764 if larger part has absolute value 1.0.
43765 * math/s_clog10.c (__clog10): Likewise.
43766 * math/s_clog10f.c (__clog10f): Likewise.
43767 * math/s_clog10l.c (__clog10l): Likewise.
43768 * math/s_clogf.c (__clogf): Likewise.
43769 * math/s_clogl.c (__clogl): Likewise.
43770 * math/libm-test.inc (clog_test): Add more tests.
43771 (clog10_test): Likewise.
43772 * sysdeps/i386/fpu/libm-test-ulps: Update.
43773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43775 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43776 (pltexit): Likewise.
43777 (La_regs): Likewise.
43778 (La_retval): Likewise.
43779 (int_retval): Likewise.
43780 Update #error for removed macros to refer only to definitions in
43782 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43784 (pltexit): Likewise.
43785 (La_regs): Likewise.
43786 (La_retval): Likewise.
43787 (int_retval): Likewise.
43788 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43790 (pltexit): Likewise.
43791 (La_regs): Likewise.
43792 (La_retval): Likewise.
43793 (int_retval): Likewise.
43794 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43796 (pltexit): Likewise.
43797 (La_regs): Likewise.
43798 (La_retval): Likewise.
43799 (int_retval): Likewise.
43800 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43802 (pltexit): Likewise.
43803 (La_regs): Likewise.
43804 (La_retval): Likewise.
43805 (int_retval): Likewise.
43806 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43808 (pltexit): Likewise.
43809 (La_regs): Likewise.
43810 (La_retval): Likewise.
43811 (int_retval): Likewise.
43812 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43814 (pltexit): Likewise.
43815 (La_regs): Likewise.
43816 (La_retval): Likewise.
43817 (int_retval): Likewise.
43818 * sysdeps/generic/tst-audit.h: Update comment to refer only to
43819 macro definitions in tst-audit.h.
43820 * sysdeps/i386/tst-audit.h: New file.
43821 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43822 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43823 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43824 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43825 * sysdeps/sh/tst-audit.h: Likewise.
43826 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43827 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43828 * sysdeps/x86_64/tst-audit.h: Likewise.
43830 2012-07-26 Andreas Jaeger <aj@suse.de>
43832 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43835 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43836 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43837 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43839 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43840 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43841 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43843 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43846 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43848 (si_call_addr, si_syscall, si_arch): Define new macro.
43849 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43851 (si_call_addr, si_syscall, si_arch): Define new marcro.
43852 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43854 (si_call_addr, si_syscall, si_arch): Define new macro.
43855 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43857 (si_call_addr, si_syscall, si_arch): Define new macro.
43859 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43862 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43863 Change to 2.4.21 where previously 2.4.1.
43864 * sysdeps/unix/sysv/linux/configure: Regenerated.
43865 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43866 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43867 Linux kernel version.
43868 (__ASSUME_STD_AUXV): Remove.
43869 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43871 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43872 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43873 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43874 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43875 (__ASSUME_NETLINK_SUPPORT): Likewise.
43876 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43877 (__no_netlink_support): Remove conditional definition.
43878 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43880 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43881 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43882 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43883 (if_nameindex_ioctl): Remove.
43884 (if_nameindex_netlink): Do not handle __no_netlink_support.
43885 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43887 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43888 Remove conditional code.
43889 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43891 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43893 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43894 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43895 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43897 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43898 [!__ASSUME_STD_AUXV]: Remove conditional code.
43899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43900 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43901 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43903 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43904 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43906 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43908 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43909 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43911 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43913 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43916 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43919 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43920 code unconditional.
43921 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43923 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43925 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43928 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43930 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43933 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43934 code unconditional.
43935 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43937 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43939 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43942 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43943 code unconditional.
43944 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43946 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43948 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43951 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
43953 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43954 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43955 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43956 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43957 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43958 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43959 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43960 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43961 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43962 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43963 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43964 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43965 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43966 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43967 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43968 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43969 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43970 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43971 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43973 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43974 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43975 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43977 2012-07-25 Florian Weimer <fweimer@redhat.com>
43979 * Versions.def: Add GLIBC_2.17.
43980 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43981 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43982 Introduce __libc_secure_getenv.
43983 * stdlib/Versions (2.17): Add secure_getenv
43984 (GLIBC_PRIVATE): Add __libc_secure_getenv.
43985 * stdlib/secure-getenv.c: Rename __secure_getenv to
43986 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
43987 symbol __secure_getenv for GLIBC_2.0.
43988 * stdlib/tst-secure-getenv.c: New.
43989 * stdlib/Makefile (tests): Add testcase.
43990 * manual/startup.texi (Environment Access): Document
43992 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43993 __libc_secure_getenv.
43994 * inet/ruserpass.c (ruserpass): Likewise.
43995 * malloc/mtrace.c (mtrace): Likewise.
43996 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43997 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43998 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43999 * sysdeps/posix/tempname.c: Likewise. Evaluate
44000 HAVE_SECURE_GETENV.
44001 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44002 __secure_getenv to __libc_secure_getenv.
44003 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44010 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44016 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44018 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44019 (struct La_i86_retval): Likewise.
44020 (struct La_x86_64_regs): Likewise.
44021 (struct La_x86_64_retval): Likewise.
44022 (struct La_x32_regs): Likewise.
44023 (struct La_x32_retval): Likewise.
44024 (struct La_ppc32_regs): Likewise.
44025 (struct La_ppc32_retval): Likewise.
44026 (struct La_ppc64_regs): Likewise.
44027 (struct La_ppc64_retval): Likewise.
44028 (struct La_sh_regs): Likewise.
44029 (struct La_sh_retval): Likewise.
44030 (struct La_s390_32_regs): Likewise.
44031 (struct La_s390_32_retval): Likewise.
44032 (struct La_s390_64_regs): Likewise.
44033 (struct La_s390_64_retval): Likewise.
44034 (struct La_sparc32_regs): Likewise.
44035 (struct La_sparc32_retval): Likewise.
44036 (struct La_sparc64_regs): Likewise.
44037 (struct La_sparc64_retval): Likewise.
44038 (struct audit_ifaces): Remove architecture-specific pltenter and
44040 * sysdeps/i386/ldsodefs.h: New file.
44041 * sysdeps/powerpc/ldsodefs.h: Likewise.
44042 * sysdeps/s390/ldsodefs.h: Likewise.
44043 * sysdeps/sh/ldsodefs.h: Likewise.
44044 * sysdeps/sparc/ldsodefs.h: Likewise.
44045 * sysdeps/x86_64/ldsodefs.h: Likewise.
44047 2012-07-25 Marek Polacek <polacek@redhat.com>
44050 * math/libm-test.inc (yn_test): Add another test.
44051 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44052 to ERANGE when the result is +-Inf.
44053 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44054 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44055 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44056 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44058 2012-07-24 Joseph Myers <joseph@codesourcery.com>
44060 * conform/data/time.h-data (NULL): Use macro-constant. Require
44062 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44064 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44066 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44068 * configure.in <sysdeps resolving>: Correct printing
44070 * configure: Regenerate.
44072 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44074 * math/w_ilogb.c: Include <limits.h>.
44075 * math/w_ilogbl.c: Likewise.
44077 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44079 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44080 va_copy. Document allowing for unavailable va_copy only as
44081 pre-C99 compatibility.
44082 * manual/string.texi (Copying and Concatenation): Use va_copy
44083 instead of __va_copy in concat example.
44085 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44087 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44088 (__sendto): Use create_address_port. Initialize APORT and deallocate
44091 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44092 with O_NOLINK passed to __file_name_lookup.
44094 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44095 with O_NOLINK passed to __file_name_lookup.
44097 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44098 negative N or less than NGIDS.
44100 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44101 type to string_t. Set ERANGE as errno and return it if NAME is not big
44102 enough. Use memcpy instead of strncpy.
44104 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44106 * elf/Makefile (check-data): Remove.
44107 (localplt.data): New vpath directive.
44108 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44109 instead of $(check-data).
44110 * scripts/data/localplt-generic.data: Move to ...
44111 * sysdeps/generic/localplt.data: ... here.
44112 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44113 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44114 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44117 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44120 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44123 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44126 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44129 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44133 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44135 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44136 PPC32 and PPC64 files.
44137 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44138 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44140 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44142 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44143 __makecontext_ret to ...
44144 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44145 ... here and call exit if uc_link is NULL. New file.
44146 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44147 __makecontext_ret.S.
44148 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44149 __makecontext_ret to ...
44150 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44151 ... here and call exit if uc_link is NULL. New file.
44152 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44153 __makecontext_ret.S.
44155 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44157 * elf/elf.h (R_390_IRELATIVE): New definition.
44158 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44159 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
44160 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44161 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44162 (elf_machine_lazy_rel): Likewise.
44163 * sysdeps/s390/dl-irel.h: New file.
44164 * sysdeps/s390/s390-64/memcpy.S: New asm code.
44165 * sysdeps/s390/s390-64/memset.S: New asm code.
44166 * sysdeps/s390/s390-64/memcmp.S: New asm code.
44167 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44168 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44169 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44170 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44171 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44172 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44173 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44174 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44175 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44176 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44177 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44178 * sysdeps/s390/s390-32/memset.S: New asm code.
44179 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44181 2012-07-17 Marek Polacek <polacek@redhat.com>
44184 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44185 * sysdeps/s390/s390-64/configure.in: Likewise.
44186 * sysdeps/sparc/configure.in: Likewise.
44187 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44188 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44189 * sysdeps/i386/configure.in: Likewise.
44190 * sysdeps/x86_64/configure.in: Likewise.
44191 * sysdeps/sh/configure.in: Likewise.
44192 * sysdeps/s390/s390-32/configure: Regenerated.
44193 * sysdeps/s390/s390-64/configure: Likewise.
44194 * sysdeps/x86_64/configure: Likewise.
44195 * sysdeps/sh/configure: Likewise.
44196 * sysdeps/powerpc/powerpc64/configure: Likewise.
44197 * sysdeps/powerpc/powerpc32/configure: Likewise.
44198 * sysdeps/sparc/configure: Likwise.
44199 * sysdeps/i386/configure: Likewise.
44201 * elf/dl-open.c: Comment fixes.
44203 2012-07-17 Joseph Myers <joseph@codesourcery.com>
44205 * Makefile [CXX] (check-data): Remove.
44206 [CXX] (c++-types.data): New vpath directive.
44207 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44208 vpath. Do not allow for C++ type data being missing.
44209 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44210 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44211 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44212 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44213 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44214 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44215 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44218 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44221 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44224 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44227 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44230 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44233 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44236 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44239 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44240 definitions to architecture-specific files.
44241 (TLS_IE): Likewise.
44242 (TLS_LD): Likewise.
44243 (TLS_GD): Likewise.
44244 * sysdeps/i386/tls-macros.h: New file.
44245 * sysdeps/powerpc/tls-macros.h: Likewise.
44246 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44247 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44248 * sysdeps/sh/tls-macros.h: Likewise.
44249 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44250 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44251 * sysdeps/x86_64/tls-macros.h: Likewise.
44253 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44255 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44256 zero value for regular exit case.
44258 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44259 (__start_context): Preserve zero value for regular exit case.
44261 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44262 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44264 * manual/setjmp.texi (setcontext): Clarify normal process
44265 termination when uc_link is the null pointer.
44266 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44269 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44271 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44272 preprocessor. Test for each exception mask separately.
44274 2012-07-16 Andreas Jaeger <aj@suse.de>
44276 * po/ru.po: Update from translation team.
44278 2012-07-15 Joseph Myers <joseph@codesourcery.com>
44280 * conform/data/string.h-data (NULL): Use macro-constant. Require
44282 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44283 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44284 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44285 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44286 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44288 2012-07-13 Andreas Jaeger <aj@suse.de>
44290 * po/fr.po: Update from translation team.
44292 2012-07-12 Marek Polacek <polacek@redhat.com>
44295 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44296 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44299 2012-07-12 Joseph Myers <joseph@codesourcery.com>
44302 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44303 Change to 2.4.1 where previously 2.4.0.
44304 * sysdeps/unix/sysv/linux/configure: Regenerated.
44305 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44306 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44308 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44309 (__ASSUME_AT_CLKTCK): Remove.
44310 (__ASSUME_AT_PAGESIZE): Likewise.
44311 (__ASSUME_AT_XID): Likewise.
44312 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44313 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44314 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44316 (HAVE_AUX_PAGESIZE): Likewise.
44317 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44318 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44319 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44321 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44325 the temporary buffer used to invoke __gethostbyname2_r,
44326 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44327 host_data / struct gaih_addrtuple.
44328 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44329 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44330 header file nss/nsswitch.h.
44331 * nss/nsswitch.h (global scope): Add definition of implementation
44332 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44333 resolv/nss_dns/dns-host.c).
44335 2012-07-11 Andreas Jaeger <aj@suse.de>
44337 * po/fr.po: Update from translation team.
44339 * po/sv.po: Update from translation team
44340 * po/fr.po: Another update from translation team.
44342 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44344 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44345 for subnormals or multiply small sinh result by itself.
44346 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44349 2012-07-11 David S. Miller <davem@davemloft.net>
44351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44353 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44356 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44357 (INTERNAL_MARK): Shift it here.
44359 2012-07-10 Marek Polacek <polacek@redhat.com>
44362 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44363 libc_cv_asm_global_directive with .globl.
44364 * configure: Regenerated.
44365 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44367 * sysdeps/i386/configure: Regenerated.
44368 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44370 * sysdeps/x86_64/configure: Regenerated.
44371 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44372 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44373 * elf/tst-unique2mod2.c: Likewise.
44374 * elf/tst-unique2mod1.c: Likewise.
44375 * elf/tst-unique1mod2.c: Likewise.
44376 * elf/tst-unique1mod1.c: Likewise.
44377 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44378 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44379 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44380 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44381 * sysdeps/mach/sysdep.h: Likewise.
44382 * sysdeps/i386/sysdep.h: Likewise.
44383 * sysdeps/i386/i386-mcount.S: Likewise.
44384 * sysdeps/x86_64/_mcount.S: Likewise.
44385 * sysdeps/x86_64/sysdep.h: Likewise.
44386 * sysdeps/sh/_mcount.S: Likewise.
44387 * sysdeps/sh/sysdep.h: Likewise.
44388 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44389 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44390 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44391 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44392 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44393 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44394 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44395 * locale/localeinfo.h: Likewise.
44396 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44397 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44399 2012-07-09 Roland McGrath <roland@hack.frob.com>
44402 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44404 * manual/message.texi (The Uniforum approach): Likewise.
44405 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44406 (glibc iconv Implementation): Likewise.
44408 2012-07-09 Joseph Myers <joseph@codesourcery.com>
44411 * math/s_clog.c (__clog): Avoid scaling a value down where that
44412 could result in underflow.
44413 * math/s_clog10.c (__clog10): Likewise.
44414 * math/s_clog10f.c (__clog10f): Likewise.
44415 * math/s_clog10l.c (__clog10l): Likewise.
44416 * math/s_clogf.c (__clogf): Likewise.
44417 * math/s_clogl.c (__clogl): Likewise.
44418 * math/libm-test.inc (clog_test): Add more tests.
44419 (clog10_test): Likewise.
44420 * sysdeps/i386/fpu/libm-test-ulps: Update.
44421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44423 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
44426 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44427 by 7 not 8 to examine high bit of fractional part.
44430 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44431 for call to __mcount_internal.
44432 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44433 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44434 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44436 2012-07-06 Joseph Myers <joseph@codesourcery.com>
44439 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44440 approximation for values within 0x1p-13f of an odd multiple of
44442 * math/libm-test.inc (tan_test): Do not allow spurious underflow
44443 exception. Add more tests.
44444 * sysdeps/i386/fpu/libm-test-ulps: Update.
44447 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44448 inputs and return -1 for them. Do not check for +Inf in case not
44449 reachable for +Inf.
44450 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44451 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44452 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44453 and return -1 for them. Do not check for +Inf in case not
44454 reachable for +Inf.
44455 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44457 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44458 and return -1 for them. Do not check for +Inf in case not
44459 reachable for +Inf.
44460 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
44461 spurious underflow.
44462 * sysdeps/i386/fpu/libm-test-ulps: Update.
44463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44465 2012-07-06 Mike Frysinger <vapier@gentoo.org>
44467 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44469 2012-07-05 Joseph Myers <joseph@codesourcery.com>
44473 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44474 could result in spurious underflow. Scale down values above
44475 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44476 * math/s_csqrtf.c (__csqrtf): Likewise.
44477 * math/s_csqrtl.c (__csqrtl): Likewise.
44478 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
44479 spurious underflow.
44480 * sysdeps/i386/fpu/libm-test-ulps: Update.
44481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44483 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
44485 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44487 * catgets/xopen-msg.awk: New file.
44488 * catgets/xopen-msg.sed: Removed.
44490 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44492 * intl/po2test.awk: New file.
44493 * intl/po2test.sed: Removed.
44495 2012-07-04 Joseph Myers <joseph@codesourcery.com>
44498 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44499 or multiply small sinh result by itself.
44500 * math/s_ctanf.c (__ctanf): Likewise.
44501 * math/s_ctanh.c (__ctanh): Likewise.
44502 * math/s_ctanhf.c (__ctanhf): Likewise.
44503 * math/s_ctanhl.c (__ctanhl): Likewise.
44504 * math/s_ctanl.c (__ctanl): Likewise.
44505 * math/libm-test.inc (ctan_test_tonearest): New function.
44506 (ctan_test_towardzero): Likewise.
44507 (ctan_test_downward): Likewise.
44508 (ctan_test_upward): Likewise.
44509 (ctanh_test_tonearest): Likewise.
44510 (ctanh_test_towardzero): Likewise.
44511 (ctanh_test_downward): Likewise.
44512 (ctanh_test_upward): Likewise.
44513 (main): Call these new functions.
44514 * sysdeps/i386/fpu/libm-test-ulps: Update.
44515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44517 2012-07-03 Mike Frysinger <vapier@gentoo.org>
44519 * .gitignore: Delete /ports entry.
44521 2012-07-03 Andreas Jaeger <aj@suse.de>
44523 * po/bg.po: Update from translation team.
44524 * po/cs.po: Likewise.
44525 * po/de.po: Likewise.
44526 * po/hr.po: Likewise.
44527 * po/nl.pl: Likewise.
44528 * po/pl.po: Likewise.
44529 * po/vi.po: Likewise.
44531 2012-07-03 Joseph Myers <joseph@codesourcery.com>
44533 * Makeconfig [!+link] (+link-before-libc): New variable.
44534 [!+link] (+link-after-libc): Likewise.
44535 [!+link] (+link-tests): Likewise.
44536 [!+link] (+link): Define in terms of $(+link-before-libc) and
44537 $(+link-after-libc).
44538 [!+link-static] (+link-static-before-libc): New variable.
44539 [!+link-static] (+link-static-after-libc): Likewise.
44540 [!+link-static] (+link-static-tests): Likewise.
44541 [!+link-static] (+link-static): Define in terms of
44542 $(+link-static-before-libc) and $(+link-static-after-libc).
44543 [build-shared] (link-libc-before-gnulib): New variable.
44544 [build-shared] (link-libc-tests): Likewise.
44545 [build-shared] (link-libc): Define in terms of
44546 $(link-libc-before-gnulib).
44547 [!build-shared] (link-libc-tests): New variable.
44548 (link-libc-static-tests): New variable.
44549 [!gnulib] (gnulib-arch): New variable.
44550 [!gnulib] (gnulib-tests): Likewise.
44551 [!gnulib] (static-gnulib-arch): Likewise.
44552 [!gnulib] (static-gnulib-tests): Likewise.
44553 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
44554 Define with "=" instead of ":=".
44555 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
44556 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
44557 * Rules (binaries-all-notests): New variable.
44558 (binaries-all-tests): Likewise.
44559 (binaries-static-notests): Likewise.
44560 (binaries-static-tests): Likewise.
44561 (binaries-all): Define using $(binaries-all-notests) and
44562 $(binaries-all-tests).
44563 (binaries-static): Define using $(binaries-static-notests) and
44564 $(binaries-static-tests).
44565 (binaries-shared-tests): New variable.
44566 (binaries-shared-notests): Likewise.
44567 (binaries-shared): Remove variable.
44568 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44569 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44570 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44571 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44572 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44573 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44574 * elf/Makefile (sln-modules): New variable.
44575 (extra-objs): Add $(sln-modules:=.o).
44576 (ldconfig-modules): Add static-stubs.
44577 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44578 * elf/static-stubs.c: New file.
44581 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44582 by 7 not 8 to examine high bit of fractional part. Use volatile
44583 variables when splitting into final array of floats if
44584 __FLT_EVAL_METHOD__ != 0.
44585 * math/libm-test.inc (cos_test): Add another test.
44586 (sin_test): Likewise.
44587 * sysdeps/i386/fpu/libm-test-ulps: Update.
44590 * math/libm-test.inc (cosh_test): Add more tests.
44592 * version.h (RELEASE): Set to "development".
44593 (VERSION): Set to "2.16.90".
44595 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
44597 * NEWS: Update copyright. Remove last-updated date.
44598 Mention math library bug fixes and timezone data changes.
44599 * README: Mention GNU/Hurd, x32, and HPPA support status.
44601 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
44603 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44605 2012-06-27 Andreas Jaeger <aj@suse.de>
44607 * manual/contrib.texi (Contributors): Add Samuel Thibault.
44609 2012-06-25 Andreas Jaeger <aj@suse.de>
44611 * sysdeps/s390/fpu/libm-test-ulps: Update.
44613 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
44614 Thomas Schwinge <thomas@codesourcery.com>
44616 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44617 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44618 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44621 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
44623 * sysdeps/mach/start.c: Remove file.
44624 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44625 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44626 * sysdeps/sh/init-first.c: Likewise.
44628 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44629 registers for frame unwinding purposes, add CFI directives.
44630 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44631 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44632 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44635 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44636 __fortify_fail returning.
44637 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44639 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44640 sysdeps/sh/____longjmp_chk.S.
44641 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44642 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44643 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44644 (gen-as-const-headers): Append sigaltstack-offsets.sym.
44646 * sysdeps/sh/abort-instr.h: New file.
44647 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44648 process in case exit returns.
44650 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44651 initialize the GOT register before use.
44653 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44654 calculation of ARGC > 4.
44656 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44657 meaningful names to some local labels.
44659 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44660 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44662 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44663 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44664 (__arch_compare_and_exchange_val_16_acq): Likewise.
44665 (__arch_compare_and_exchange_val_32_acq): Likewise.
44666 (atomic_exchange_and_add): Fix gUSA sequence.
44667 (atomic_add): Likewise.
44668 (atomic_add_negative): Likewise.
44669 (atomic_add_zero): Likewise.
44670 (atomic_bit_test_set): Likewise.
44672 2012-06-22 Andreas Schwab <schwab@redhat.com>
44675 * include/link.h (struct link_map): Add l_free_initfini.
44676 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44678 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44679 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44680 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44683 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
44685 * configure.in: Use AC_LANG_SOURCE.
44686 * configure: Regenerate.
44688 2012-06-22 Roland McGrath <roland@hack.frob.com>
44690 * configure.in (libc_cv_localstatedir): New substituted variable.
44691 * configure: Regenerated.
44692 * config.make.in (localstatedir): New variable, substituted from
44693 libc_cv_localstatedir.
44694 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44695 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44696 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44697 * sysdeps/gnu/configure: Regenerated.
44699 2012-06-21 Jeff Law <law@redhat.com>
44702 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44703 free. Simplify list management for _LIBC case.
44705 2012-06-21 Joseph Myers <joseph@codesourcery.com>
44708 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44709 Clear sign bit of 64-bit integer value before comparing against
44712 * sysdeps/mach/configure: Regenerated.
44714 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
44717 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44719 2012-06-21 Jeff Law <law@redhat.com>
44722 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
44723 uint16_t for elements in the "seen" array to avoid char overflows.
44724 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44725 * elf/dl-open.c (dl_open_worker): Likewise.
44727 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
44729 * scripts/list-sources.sh: Scan PORTS for translations.
44730 * po/libc.pot: Regenerated.
44732 2012-06-21 Andreas Jaeger <aj@suse.de>
44735 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44737 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44738 * bits/byteswap-16.h (__bswap_16): Likewise.
44739 * bits/byteswap.h (__bswap_constant_16): Likewise.
44741 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
44744 * sysdeps/i386/fpu_control.h: Removed.
44745 * sysdeps/x86_64/fpu_control.h: Moved to ...
44746 * sysdeps/x86/fpu_control.h: Here.
44748 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44749 (_FPU_SETCW): Likewise.
44751 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
44754 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44755 * sysdeps/x86/fpu/bits/mathinline.h: This.
44756 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44760 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44761 functions if __x86_64__ is defined.
44763 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
44765 * string/endian.h: Add !__ASSEMBLER__ condition for including
44766 conversion interfaces.
44768 2012-06-15 Joseph Myers <joseph@codesourcery.com>
44771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44772 of ABS(x) in calculating zero to negative powers other than odd
44774 * math/libm-test.inc (pow_test): Add more tests.
44776 2012-06-15 Andreas Jaeger <aj@suse.de>
44778 * manual/contrib.texi (Contributors): Update entry of Liubov
44779 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44782 2012-06-15 Cyril Hrubis <metan@ucw.cz>
44784 * string/string.h: Add __wur to GNU version of strerror_r.
44786 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
44789 * string/Makefile (tests): Add tst-strtok_r.
44790 * string/tst-strtok_r.c: New file.
44791 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44792 RAX_LP/RDX_LP on SAVE_PTR.
44794 2012-06-14 Roland McGrath <roland@hack.frob.com>
44796 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44798 2012-06-14 Joseph Myers <joseph@codesourcery.com>
44800 * libm_test.inc (csqrt_test): Allow more spurious underflow
44802 (j0_test): Likewise.
44803 (j1_test): Likewise.
44804 (y0_test): Likewise.
44805 (y1_test): Likewise.
44807 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
44809 * po/Makefile (libc.pot): Use UTF-8 charset.
44811 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
44814 Suppress sign-conversion warning from FD_SET.
44815 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44816 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44817 not unsigned long int.
44818 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44820 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
44824 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44825 __extern_always_inline instead of __extern_inline.
44826 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44827 (__signbit): Likewise.
44828 (__signbitl): Support C++ namespace.
44829 (lrintf): New inline function.
44831 (llrintf): Likewise.
44832 (llrint): Likewise.
44842 (floorf): Likewise.
44843 (nearbyint): Likewise.
44844 (nearbyintf): Likewise.
44846 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
44848 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44849 non-default versions.
44851 2012-06-11 Roland McGrath <roland@hack.frob.com>
44854 * manual/argp.texi (Argp): Reword argp_parse description slightly.
44856 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
44858 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44859 (FE_UPWARD, FE_DOWNWARD): Don't define.
44860 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44861 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44863 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44865 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44866 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44868 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44870 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44871 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44872 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44873 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44875 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
44878 * sysdeps/i386/fpu/bits/fenv.h: Removed.
44879 * sysdeps/i386/fpu/Implies: New file.
44880 * sysdeps/x86_64/fpu/Implies: Likewise.
44881 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44882 * sysdeps/x86/fpu/bits/fenv.h: This.
44884 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44887 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
44890 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44891 character 0xffff that matches the last element of the
44894 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44896 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44899 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44901 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44902 values higher than 25.6283.
44904 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44906 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44907 subnormal exponent extraction and add some __builtin_expect.
44908 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44909 Fix for subnormal mantissa calculation.
44911 2012-06-04 Mike Frysinger <vapier@gentoo.org>
44913 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44914 cpu2 is -1 and errno is not ENOSYS.
44916 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
44919 * sysdeps/i386/i486/bits/string.h: Renamed to ...
44920 * sysdeps/x86/bits/string.h: This.
44921 * sysdeps/x86_64/bits/string.h: Removed.
44923 * sysdeps/i386/i486/bits/string.h: Define inline functions only
44924 if not compiling for x86-64, but compiling for >= i486.
44926 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44927 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44929 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44930 New macro from Linux kernel 3.4.0.
44931 (FP_XSTATE_MAGIC2): Likewise.
44932 (FP_XSTATE_MAGIC2_SIZE): Likewise.
44933 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44934 (struct _fpx_sw_bytes): New struct.
44935 (struct _xsave_hdr): Likewise.
44936 (struct _ymmh_state): Likewise.
44937 (struct _xstate): Likewise.
44939 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44940 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44941 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44942 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44943 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44944 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44946 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44947 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44948 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44949 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44950 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44951 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44953 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44956 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44957 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44958 (sysdep_headers): Include sys/platform/ppc.h.
44959 * sysdeps/powerpc/test-gettimebase.c: Test for
44960 __ppc_get_timebase() to catch future ISA opcode/insn changes.
44961 * manual/Makefile (appendices): Include platform.texi.
44962 * manual/contrib.texi (Contributors): Update @node pointers.
44963 * manual/maint.texi (Maintenance): Likewise.
44964 (Platform): New node.
44965 * manual/platform.texi: New file. Document the new features.
44967 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44968 Jakub Jelinek <jakub@redhat.com>
44971 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44972 where __builtin_expect is unavailable.
44974 2012-06-03 David S. Miller <davem@davemloft.net>
44976 * stdlib/longlong.h: Updated from GCC.
44978 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
44981 * sysdeps/powerpc/powerpc32/mcount.c: New file.
44982 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44985 (GLIBC_2.16): Likewise.
44987 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44989 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44991 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44994 (default-abi): New variable.
44995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44996 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44998 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45000 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45002 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45005 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45006 definition. Document in comment.
45008 2012-06-01 David S. Miller <davem@davemloft.net>
45010 * stdlib/longlong.h: Updated from GCC.
45012 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45015 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45016 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45017 sys/debugreg.h sys/io.h here.
45018 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45019 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45021 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45022 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45023 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45024 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45025 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45026 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45028 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45029 Define only if __x86_64__ is defined.
45031 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45034 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45035 Use int64_t for variable i.
45036 * math/libm-test.inc (fmod_test): Add more tests.
45038 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45039 z computation is not scheduled after fetestexcept.
45040 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45041 Use math_force_eval instead of asm to ensure calculation scheduled
45042 before exception test.
45043 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45044 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45046 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45048 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45049 computation is not scheduled after fetestexcept.
45051 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45054 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45055 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45057 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45059 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45060 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45062 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45065 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45067 (__WCHAR_MIN): Support __WORDSIZE == 64.
45068 (__WCHAR_MAX): Likewise.
45070 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45071 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45074 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45075 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45078 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45079 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45081 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45082 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45084 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45085 Defined to 1 if __x86_64__ isn't defined.
45086 (_STAT_VER_LINUX_OLD): New.
45087 (st_atime): Remove duplicate.
45088 (st_mtime): Likewise.
45089 (st_ctime): Likewise.
45091 2012-05-31 David S. Miller <davem@davemloft.net>
45093 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45096 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45098 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45102 * elf/dl-reloc.c: Include <_itoa.h>.
45103 (_dl_reloc_bad_type): Remove use of INTUSE.
45104 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45105 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45106 * stdio-common/psiginfo.c (psiginfo): Likewise.
45107 * stdio-common/psignal.c (psignal): Likewise.
45108 * string/strsignal.c (strsignal): Likewise.
45109 * include/signal.h (_sys_siglist): Declare hidden proto.
45110 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45111 INTVARDEF with libc_hidden_data_def.
45112 * stdio-common/itoa-udigits.c: Likewise.
45113 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45114 (_itoa_lower_digits_internal): Remove declaration.
45115 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45116 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45117 (_sys_sigabbrev_internal): Remove aliases.
45118 (_sys_siglist): Define hidden alias.
45120 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45125 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45128 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45129 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45131 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45132 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45133 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45134 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45135 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45136 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45138 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45139 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45140 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45142 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45150 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45151 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45152 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45154 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45155 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45156 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45157 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45158 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45159 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45161 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45162 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45164 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45165 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45167 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45168 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45169 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45171 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45172 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45174 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45176 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45177 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45178 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45180 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45182 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45184 2012-05-31 Joseph Myers <joseph@codesourcery.com>
45186 * math/math.h (M_El): Use two more decimal places.
45187 (M_LOG2El): Likewise.
45188 (M_LOG10El): Likewise.
45189 (M_LN2l): Likewise.
45190 (M_LN10l): Likewise.
45192 (M_PI_2l): Likewise.
45193 (M_PI_4l): Likewise.
45194 (M_1_PIl): Likewise.
45195 (M_2_PIl): Likewise.
45196 (M_2_SQRTPIl): Likewise.
45197 (M_SQRT2l): Likewise.
45198 (M_SQRT1_2l): Likewise.
45200 2012-05-31 David S. Miller <davem@davemloft.net>
45202 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45203 values between float registers.
45204 * sysdeps/sparc/sparc64/memset.S: Likewise.
45205 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45207 2012-05-31 Mike Frysinger <vapier@gentoo.org>
45209 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45210 -D_FORTIFY_SOURCE=1.
45211 (CPPFLAGS-tst-longjmp_chk.c): Define.
45212 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45213 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45214 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45215 CFLAGS-tst-wchar-h.c.
45217 2012-05-31 Marek Polacek <polacek@redhat.com>
45220 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45221 __endmntent_internal): Remove declaration.
45222 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45223 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45224 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45226 2012-05-30 David S. Miller <davem@davemloft.net>
45228 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45229 (___Q_simulate_exceptions): Use real FP ops rather than writing
45231 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45234 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45237 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45238 * sysdeps/x86/bits/xtitypes.h: This.
45240 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45241 * sysdeps/x86/bits/wordsize.h: This.
45243 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45244 * sysdeps/x86/bits/huge_vall.h: This.
45246 * sysdeps/i386/bits/select.h: Removed.
45247 * sysdeps/x86_64/bits/select.h: Renamed to ...
45248 * sysdeps/x86/bits/select.h: This.
45250 * sysdeps/i386/bits/setjmp.h: Removed.
45251 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45252 * sysdeps/x86/bits/setjmp.h: This.
45254 * sysdeps/i386/bits/mathdef.h: Removed.
45255 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45256 * sysdeps/x86/bits/mathdef.h: This.
45258 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45261 * include/sys/socket.h (__connect_internal)
45262 (__libc_sa_len_internal): Remove declaration.
45263 (__connect, __libc_sa_len): Declare hidden_proto.
45264 (SA_LEN): Remove use of INTUSE.
45265 * socket/connect.c: Add libc_hidden_def.
45266 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45267 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45268 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45270 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45271 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45272 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45273 of adding _internal alias.
45275 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45278 * sysdeps/i386/bits/link.h: Removed.
45279 * sysdeps/i386/bits/linkmap.h: Likewise.
45280 * sysdeps/x86_64/bits/link.h: Renamed to ...
45281 * sysdeps/x86/bits/link.h: This.
45282 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45283 * sysdeps/x86/bits/linkmap.h: This.
45285 * sysdeps/i386/bits/endian.h: Removed.
45286 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45287 * sysdeps/x86/bits/endian.h: This.
45289 * sysdeps/i386/bits/byteswap.h: Removed.
45290 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45291 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45292 * sysdeps/x86/bits/byteswap.h: This.
45293 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45294 * sysdeps/x86/bits/byteswap-16.h: This.
45295 * sysdeps/i386/Implies: Add x86.
45296 * sysdeps/x86_64/Implies: Likewise.
45298 2012-05-30 David S. Miller <davem@davemloft.net>
45300 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45301 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45302 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45303 (FP_TRAPPING_EXCEPTIONS): Define.
45304 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45305 (FP_TRAPPING_EXCEPTIONS): Define.
45306 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45307 subnormals only when inexact has been signalled or underflow
45308 exceptions are enabled.
45309 (_FP_PACK_CANONICAL): Likewise.
45311 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45314 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45315 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45317 2012-05-30 Richard Henderson <rth@twiddle.net>
45319 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45320 with #ifndef NOT_IN_libc.
45322 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45323 marked to avoid plt entry.
45325 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45328 * Makeconfig (default-abi): New macro.
45329 (abi-includes): Likewise.
45330 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45331 $(abi-$(default-abi)-lib-soname) for soname if defined.
45332 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45334 * Makefile (installed-stubs): Likewise.
45335 * include/stubs-biarch.h: Removed.
45336 * scripts/lib-names.awk: Only handle one library at a time.
45337 * scripts/soversions.awk: Remove WORDSIZE support.
45338 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45340 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45342 (syscall-list-default-condition): Likewise.
45343 (syscall-list-default-condition): Likewise.
45344 (syscall-list-includes): Likewise.
45345 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45346 syscall-list-* with abi-*. Handle undefined abi-variants.
45347 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45348 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45349 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45350 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45351 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45352 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45354 (syscall-list-32-options): Likewise.
45355 (syscall-list-32-condition): Likewise.
45356 (syscall-list-64-options): Likewise.
45357 (syscall-list-64-condition): Likewise.
45358 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45360 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45363 (abi-64-ld-soname): New macro.
45364 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45365 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45368 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45369 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45371 2012-05-30 Joseph Myers <joseph@codesourcery.com>
45373 * sysdeps/unix/sysv/linux/kernel-features.h
45374 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45375 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45376 include <kernel-features.h>.
45377 [!__NR_ftruncate64]: Remove conditional code.
45378 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45379 [__NR_ftruncate64]: Make code unconditional.
45380 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45381 * sysdeps/unix/sysv/linux/truncate64.c: Do not
45382 include <kernel-features.h>.
45383 [!__NR_ftruncate64]: Remove conditional code.
45384 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45385 [__NR_ftruncate64]: Make code unconditional.
45386 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45388 include <kernel-features.h>.
45389 [!__NR_ftruncate64]: Remove conditional code.
45390 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45391 [__NR_ftruncate64]: Make code unconditional.
45392 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45394 include <kernel-features.h>.
45395 [!__NR_ftruncate64]: Remove conditional code.
45396 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45397 [__NR_ftruncate64]: Make code unconditional.
45398 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45400 * configure.in (libc_cv_fpie): Weaken to a compile test using
45401 LIBC_TRY_CC_OPTION.
45402 * configure: Regenerated.
45404 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45419 2012-05-27 David S. Miller <davem@davemloft.net>
45421 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45423 (__Q_simulate_exceptions): Return void. Change to simulate
45424 exceptions by writing into the %fsr.
45425 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45426 (__Qp_handle_exceptions): Likewise.
45428 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45429 __Qp_handle_exceptions.
45430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45431 __Qp_handle_exceptions.
45432 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45433 as unused and give dummy FP_RND_NEAREST initializer.
45434 (FP_INHIBIT_RESULTS): Define.
45435 (___Q_simulate_exceptions): Update declaration.
45436 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45438 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45439 as unused and give dummy FP_RND_NEAREST initializer.
45440 (__Qp_handle_exceptions): Update declaration.
45441 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45444 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
45446 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45447 the temporary FPU control word.
45448 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45449 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45450 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45451 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45452 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45453 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45454 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45455 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45456 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45457 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45458 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45460 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45462 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45465 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
45467 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45468 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45469 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45470 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45472 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45473 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45476 2012-05-27 Ulrich Drepper <drepper@gmail.com>
45478 * po/h.po: Update from translation team.
45480 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
45482 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45484 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45485 handling of denormals.
45486 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45487 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45488 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45489 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45490 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45491 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45495 2012-05-26 Marek Polacek <polacek@redhat.com>
45498 * math/libm-test.inc (fma_test): Don't always expect underflow
45501 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45504 * elf/tst-execstack.c: Include stackinfo.h.
45505 (do_test): Adjust test case to ensure that pthread_getattr_np
45506 behaviour remains the same after marking stack executable.
45508 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45510 * sysdeps/unix/sysv/linux/kernel-features.h
45511 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45512 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45514 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45515 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45516 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45518 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45519 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45521 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
45523 * configure.in: Define the default includes to being none.
45524 * configure: Regenerated.
45526 2012-05-25 Roland McGrath <roland@hack.frob.com>
45528 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45529 * sysdeps/x86_64/setjmp.S: Likewise.
45530 * sysdeps/i386/bsd-setjmp.S: Likewise.
45531 * sysdeps/i386/bsd-_setjmp.S: Likewise.
45532 * sysdeps/i386/setjmp.S: Likewise.
45533 * sysdeps/i386/__longjmp.S: Likewise.
45534 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45535 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45537 * include/stap-probe.h: New file.
45538 * configure.in: Handle --enable-systemtap.
45539 * configure: Regenerated.
45540 * config.h.in (USE_STAP_PROBE): New #undef.
45541 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45542 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45543 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45545 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45548 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45549 to 2.4.0 where earlier.
45550 * sysdeps/unix/sysv/linux/configure: Regenerated.
45551 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45552 <kernel-features.h>.
45553 [__ASSUME_32BITUIDS]: Make code unconditional.
45554 [!__ASSUME_32BITUIDS]: Remove conditional code.
45555 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45556 <kernel-features.h>.
45557 [__ASSUME_32BITUIDS]: Make code unconditional.
45558 [!__ASSUME_32BITUIDS]: Remove conditional code.
45559 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45560 [__ASSUME_32BITUIDS]: Make code unconditional.
45561 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45562 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45563 <kernel-features.h>.
45564 [__ASSUME_32BITUIDS]: Make code unconditional.
45565 [!__ASSUME_32BITUIDS]: Remove conditional code.
45566 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45567 <kernel-features.h>.
45568 [__ASSUME_32BITUIDS]: Make code unconditional.
45569 [!__ASSUME_32BITUIDS]: Remove conditional code.
45570 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45571 <kernel-features.h>.
45572 [__ASSUME_32BITUIDS]: Make code unconditional.
45573 [!__ASSUME_32BITUIDS]: Remove conditional code.
45574 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45575 <kernel-features.h>.
45576 [__ASSUME_32BITUIDS]: Make code unconditional.
45577 [!__ASSUME_32BITUIDS]: Remove conditional code.
45578 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45579 <kernel-features.h>.
45580 [__ASSUME_32BITUIDS]: Make code unconditional.
45581 [!__ASSUME_32BITUIDS]: Remove conditional code.
45582 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45583 <kernel-features.h>.
45584 [__ASSUME_32BITUIDS]: Make code unconditional.
45585 [!__ASSUME_32BITUIDS]: Remove conditional code.
45586 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45587 <kernel-features.h>.
45588 [__ASSUME_32BITUIDS]: Make code unconditional.
45589 [!__ASSUME_32BITUIDS]: Remove conditional code.
45590 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45591 <kernel-features.h>.
45592 [__ASSUME_32BITUIDS]: Make code unconditional.
45593 [!__ASSUME_32BITUIDS]: Remove conditional code.
45594 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45595 <kernel-features.h>.
45596 [__ASSUME_32BITUIDS]: Make code unconditional.
45597 [!__ASSUME_32BITUIDS]: Remove conditional code.
45598 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45599 <kernel-features.h>.
45600 [__ASSUME_32BITUIDS]: Make code unconditional.
45601 [!__ASSUME_32BITUIDS]: Remove conditional code.
45602 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45603 <kernel-features.h>.
45604 [__NR_setresgid] (__setresgid): Do not declare.
45605 [__ASSUME_32BITUIDS]: Make code unconditional.
45606 [!__ASSUME_32BITUIDS]: Remove conditional code.
45607 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45608 <kernel-features.h>.
45609 [__NR_setresuid] (__setresuid): Do not declare.
45610 [__ASSUME_32BITUIDS]: Make code unconditional.
45611 [!__ASSUME_32BITUIDS]: Remove conditional code.
45612 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45613 <kernel-features.h>.
45614 [__ASSUME_32BITUIDS]: Make code unconditional.
45615 [!__ASSUME_32BITUIDS]: Remove conditional code.
45616 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45617 <kernel-features.h>.
45618 [__ASSUME_32BITUIDS]: Make code unconditional.
45619 [!__ASSUME_32BITUIDS]: Remove conditional code.
45620 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45621 <kernel-features.h>.
45622 [__ASSUME_32BITUIDS]: Make code unconditional.
45623 [!__ASSUME_32BITUIDS]: Remove conditional code.
45624 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45625 <kernel-features.h>.
45626 [__ASSUME_32BITUIDS]: Make code unconditional.
45627 [!__ASSUME_32BITUIDS]: Remove conditional code.
45628 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45629 <kernel-features.h>.
45630 [__ASSUME_32BITUIDS]: Make code unconditional.
45631 [!__ASSUME_32BITUIDS]: Remove conditional code.
45632 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45633 <kernel-features.h>.
45634 [__ASSUME_32BITUIDS]: Make code unconditional.
45635 [!__ASSUME_32BITUIDS]: Remove conditional code.
45636 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45637 <kernel-features.h>.
45638 [__ASSUME_32BITUIDS]: Make code unconditional.
45639 [!__ASSUME_32BITUIDS]: Remove conditional code.
45640 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45641 <kernel-features.h>.
45642 [__ASSUME_32BITUIDS]: Make code unconditional.
45643 [!__ASSUME_32BITUIDS]: Remove conditional code.
45644 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45645 <kernel-features.h>.
45646 [__ASSUME_32BITUIDS]: Make code unconditional.
45647 [!__ASSUME_32BITUIDS]: Remove conditional code.
45648 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45649 <kernel-features.h>.
45650 [__ASSUME_32BITUIDS]: Make code unconditional.
45651 [!__ASSUME_32BITUIDS]: Remove conditional code.
45652 * sysdeps/unix/sysv/linux/kernel-features.h
45653 (__ASSUME_SETRESUID_SYSCALL): Remove.
45654 (__ASSUME_SETRESGID_SYSCALL): Likewise.
45655 (__ASSUME_32BITUIDS): Likewise.
45656 (__ASSUME_LDT_WORKS): Likewise.
45657 (__ASSUME_O_DIRECTORY): Likewise.
45658 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45659 architecture but not kernel version.
45660 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45661 (__ASSUME_MMAP2_SYSCALL): Likewise.
45662 (__ASSUME_STAT64_SYSCALL): Likewise.
45663 (__ASSUME_IPC64): Likewise.
45664 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45665 <kernel-features.h>.
45666 [__ASSUME_32BITUIDS]: Make code unconditional.
45667 [!__ASSUME_32BITUIDS]: Remove conditional code.
45668 * sysdeps/unix/sysv/linux/opendir.c: Do not include
45669 <kernel-features.h>.
45670 [__ASSUME_O_DIRECTORY]: Make code unconditional.
45671 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45672 132096]: Remove conditional code.
45673 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45674 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45675 <kernel-features.h>.
45676 [__ASSUME_32BITUIDS]: Make code unconditional.
45677 [!__ASSUME_32BITUIDS]: Remove conditional code.
45678 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45679 <kernel-features.h>.
45680 [__ASSUME_32BITUIDS]: Make code unconditional.
45681 [!__ASSUME_32BITUIDS]: Remove conditional code.
45682 * sysdeps/unix/sysv/linux/setegid.c: Do not include
45683 <kernel-features.h>.
45684 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45686 (__setresgid): Do not declare.
45687 [__ASSUME_32BITUIDS]: Make code unconditional.
45688 [!__ASSUME_32BITUIDS]: Remove conditional code.
45689 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45690 <kernel-features.h>.
45691 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45693 (__setresuid): Do not declare.
45694 [__ASSUME_32BITUIDS]: Make code unconditional.
45695 [!__ASSUME_32BITUIDS]: Remove conditional code.
45696 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45697 <kernel-features.h>.
45698 [__ASSUME_32BITUIDS]: Make code unconditional.
45699 [!__ASSUME_32BITUIDS]: Remove conditional code.
45700 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45701 <kernel-features.h>.
45702 [__ASSUME_32BITUIDS]: Make code unconditional.
45703 [!__ASSUME_32BITUIDS]: Remove conditional code.
45705 2012-05-25 Richard Henderson <rth@twiddle.net>
45707 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45708 dl_hwcap to ifunc resolver.
45709 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45711 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45712 dl_hwcap to ifunc resolver.
45713 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45715 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45718 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45719 for |x| <= 2**-26, not 2**-57.
45720 * math/libm-test.inc (acos_test): Do not allow spurious underflow
45723 2012-05-24 Jeff Law <law@redhat.com>
45725 * stdio-common/Makefile (tests): Add bug25.
45726 * stdio-common/bug25.c: New test.
45728 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45731 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45732 multiple of MALLOC_ALIGNMENT in size.
45733 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45735 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45737 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45739 (FILENAME_MAX): Use macro-int-constant.
45740 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
45741 (_IOFBF): Use macro-int-constant.
45742 (_IOLBF): Likewise.
45743 (_IONBF): Likewise.
45744 (SEEK_CUR): Likewise.
45745 (SEEK_END): Likewise.
45746 (SEEK_SET): Likewise.
45747 (TMP_MAX): Likewise.
45748 (EOF): Use macro-int-constant. Require < 0.
45749 (NULL): Use macro-constant. Require == 0.
45750 (stdin): Require type to be FILE *.
45751 (stdout): Likewise.
45752 (stderr): Likewise.
45753 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45754 macro-int-constant.
45755 (EXIT_SUCCESS): Likewise.
45756 (NULL): Use macro-constant. Require == 0.
45757 (RAND_MAX): Use macro-int-constant.
45758 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45759 [C99-based standards] (strtof): Require function.
45760 [C99-based standards] (strtold): Likewise.
45761 [C99-based standards] (strtoll): Likewise.
45762 [C99-based standards] (strtoull): Likewise.
45763 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45764 [ISO || ISO99 || ISO11] (limits.h): Likewise.
45765 [ISO || ISO99 || ISO11] (math.h): Likewise.
45766 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45767 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45768 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45770 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
45773 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45774 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45775 * intl/dgettext.c (DCGETTEXT): Likewise.
45776 * intl/gettext.c (DCGETTEXT): Likewise.
45777 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45778 * posix/regex_internal.h (gettext): Likewise.
45779 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45780 Remove declaration.
45781 * include/argz.h (__argz_count_internal)
45782 (__argz_stringify_internal): Remove declaration.
45783 (__argz_count, __argz_stringify): Declare hidden proto.
45784 * intl/dcgettext.c: Remove use of INTDEF.
45785 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45786 * string/argz-stringify.c: Likewise.
45787 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45788 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45789 Declare hidden proto.
45790 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45791 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45792 Declare hidden proto.
45793 * include/stdio.h (__asprintf_internal): Don't declare.
45794 (__asprintf): Don't define as macro. Declare hidden proto.
45795 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45796 (__fsetlocking): Declare hidden proto.
45797 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45798 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45800 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45801 (_IO_setlinebuf): Remove use of INTUSE.
45802 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45803 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45804 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45805 Remove declaration.
45806 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45807 (_IO_do_flush): Remove use of INTUSE.
45808 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45809 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45810 (_IO_adjust_column, _IO_least_wmarker)
45811 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45812 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45813 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45814 (_IO_default_doallocate, _IO_wdefault_doallocate)
45815 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45816 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45817 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45818 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45819 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45820 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45821 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45822 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45823 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45824 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45825 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45826 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45827 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45829 (_IO_flush_all_internal, _IO_adjust_column_internal)
45830 (_IO_default_uflow_internal, _IO_default_finish_internal)
45831 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45832 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45833 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45834 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45835 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45836 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45837 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45838 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45839 (_IO_file_close_internal, _IO_file_close_it_internal)
45840 (_IO_file_underflow_internal, _IO_file_overflow_internal)
45841 (_IO_file_init_internal, _IO_file_attach_internal)
45842 (_IO_file_fopen_internal, _IO_file_read_internal)
45843 (_IO_file_sync_internal, _IO_file_seek_internal)
45844 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45845 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45846 (_IO_str_underflow_internal, _IO_str_overflow_internal)
45847 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45848 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45849 (_IO_list_all_internal, _IO_link_in_internal)
45850 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45851 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45852 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45853 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45854 (_IO_do_write_internal, _IO_padn_internal)
45855 (_IO_getline_info_internal, _IO_getline_internal)
45856 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45857 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45858 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45859 (_IO_vfscanf_internal, _IO_vfprintf_internal)
45860 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45861 (_IO_init_internal, _IO_un_link_internal): Don't declare.
45862 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45863 with libc_hidden_ver, remove use of INTUSE.
45864 * libio/genops.c: Likewise.
45865 * libio/freopen.c: Likewise.
45866 * libio/freopen64.c: Likewise.
45867 * libio/iofclose.c: Likewise.
45868 * libio/iofdopen.c: Likewise.
45869 * libio/iofflush.c: Likewise.
45870 * libio/iofflush_u.c: Likewise.
45871 * libio/iofgets.c: Likewise.
45872 * libio/iofgets_u.c: Likewise.
45873 * libio/iofopen.c: Likewise.
45874 * libio/iofopncook.c: Likewise.
45875 * libio/iofread.c: Likewise.
45876 * libio/iofread_u.c: Likewise.
45877 * libio/ioftell.c: Likewise.
45878 * libio/iofwrite.c: Likewise.
45879 * libio/iogetline.c: Likewise.
45880 * libio/iogets.c: Likewise.
45881 * libio/iogetwline.c: Likewise.
45882 * libio/iopadn.c: Likewise.
45883 * libio/iopopen.c: Likewise.
45884 * libio/ioseekoff.c: Likewise.
45885 * libio/ioseekpos.c: Likewise.
45886 * libio/iosetbuffer.c: Likewise.
45887 * libio/iosetvbuf.c: Likewise.
45888 * libio/ioungetc.c: Likewise.
45889 * libio/ioungetwc.c: Likewise.
45890 * libio/iovdprintf.c: Likewise.
45891 * libio/iovsprintf.c: Likewise.
45892 * libio/iovsscanf.c: Likewise.
45893 * libio/memstream.c: Likewise.
45894 * libio/obprintf.c: Likewise.
45895 * libio/oldfileops.c: Likewise.
45896 * libio/oldiofclose.c: Likewise.
45897 * libio/oldiofdopen.c: Likewise.
45898 * libio/oldiofopen.c: Likewise.
45899 * libio/oldiopopen.c: Likewise.
45900 * libio/oldstdfiles.c: Likewise.
45901 * libio/putc.c: Likewise.
45902 * libio/setbuf.c: Likewise.
45903 * libio/setlinebuf.c: Likewise.
45904 * libio/stdfiles.c: Likewise.
45905 * libio/strops.c: Likewise.
45906 * libio/vasprintf.c: Likewise.
45907 * libio/vscanf.c: Likewise.
45908 * libio/vsnprintf.c: Likewise.
45909 * libio/vswprintf.c: Likewise.
45910 * libio/wfiledoalloc.c: Likewise.
45911 * libio/wfileops.c: Likewise.
45912 * libio/wgenops.c: Likewise.
45913 * libio/wmemstream.c: Likewise.
45914 * libio/wstrops.c: Likewise.
45915 * libio/__fpurge.c: Likewise.
45916 * libio/__fsetlocking.c: Likewise.
45917 * assert/assert.c: Likewise.
45918 * debug/fgets_chk.c: Likewise.
45919 * debug/fgets_u_chk.c: Likewise.
45920 * debug/fread_chk.c: Likewise.
45921 * debug/fread_u_chk.c: Likewise.
45922 * debug/gets_chk.c: Likewise.
45923 * debug/obprintf_chk.c: Likewise.
45924 * debug/vasprintf_chk.c: Likewise.
45925 * debug/vdprintf_chk.c: Likewise.
45926 * debug/vsnprintf_chk.c: Likewise.
45927 * debug/vsprintf_chk.c: Likewise.
45928 * malloc/mtrace.c: Likewise.
45929 * misc/error.c: Likewise.
45930 * misc/syslog.c: Likewise.
45931 * stdio-common/asprintf.c: Likewise.
45932 * stdio-common/fxprintf.c: Likewise.
45933 * stdio-common/getw.c: Likewise.
45934 * stdio-common/isoc99_fscanf.c: Likewise.
45935 * stdio-common/isoc99_scanf.c: Likewise.
45936 * stdio-common/isoc99_vfscanf.c: Likewise.
45937 * stdio-common/isoc99_vscanf.c: Likewise.
45938 * stdio-common/isoc99_vsscanf.c: Likewise.
45939 * stdio-common/printf-prs.c: Likewise.
45940 * stdio-common/printf_fp.c: Likewise.
45941 * stdio-common/printf_fphex.c: Likewise.
45942 * stdio-common/printf_size.c: Likewise.
45943 * stdio-common/putw.c: Likewise.
45944 * stdio-common/scanf.c: Likewise.
45945 * stdio-common/sprintf.c: Likewise.
45946 * stdio-common/tmpfile.c: Likewise.
45947 * stdio-common/vfprintf.c: Likewise.
45948 * stdio-common/vfscanf.c: Likewise.
45949 * stdlib/strfmon_l.c: Likewise.
45950 * sunrpc/openchild.c: Likewise.
45951 * sunrpc/xdr_stdio.c: Likewise.
45952 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45953 * sysdeps/mach/hurd/tmpfile.c: Likewise.
45955 2012-05-24 Roland McGrath <roland@hack.frob.com>
45957 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45959 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45960 in the third column, to generate for the shared library an IFUNC
45961 that uses _dl_vdso_vsym.
45962 * Makerules (COMPILE.c, compile-stdin.c): New variables.
45963 * Makeconfig (object-suffixes-noshared): New variable.
45965 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45966 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45967 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45968 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45971 * include/sys/time.h (__gettimeofday): Remove macro.
45972 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45973 * time/gettimeofday.c (__gettimeofday): Remove #undef.
45975 (__gettimeofday): Add libc_hidden_def.
45976 (gettimeofday): Add libc_hidden_weak.
45977 * sysdeps/mach/gettimeofday.c: Likewise.
45978 * sysdeps/posix/gettimeofday.c: Likewise.
45979 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45980 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45981 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45982 (__gettimeofday_internal): Remove strong_alias.
45983 (__gettimeofday): Add libc_hidden_def.
45984 (gettimeofday): Add libc_hidden_weak.
45985 * sysdeps/unix/syscalls.list (gettimeofday):
45986 Remove __gettimeofday_internal alias.
45988 2012-05-24 Daniel Jacobowitz <drow@false.org>
45989 H.J. Lu <hongjiu.lu@intel.com>
45992 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45993 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45994 (largebin_index_32_big): New.
45995 (largebin_index): Use it for 16-byte alignment.
45996 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
45997 correction with front_misalign.
45999 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46027 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46028 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46030 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46034 * math/libm-test.inc (exp_test): Add test from bug 14036.
46035 (pow_test): Add test from bug 10846.
46037 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46039 (special_function): Do not include flags in test name.
46040 (parse_args): Likewise.
46041 * sysdeps/i386/fpu/libm-test-ulps: Update.
46042 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46043 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46044 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46047 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46049 * math/libm-test.inc ("Philosophy"): Update comment about
46051 (UNDERFLOW_EXCEPTION): New macro.
46052 (UNDERFLOW_EXCEPTION_OK): Likewise.
46053 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46054 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46055 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46056 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46057 (INVALID_EXCEPTION_OK): Update value.
46058 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46059 (OVERFLOW_EXCEPTION_OK): Likewise.
46060 (IGNORE_ZERO_INF_SIGN): Likewise.
46061 (test_exceptions): Handle underflow exceptions.
46062 (acos_test): Update for underflow exception expectations.
46063 (cexp_test): Likewise.
46064 (clog_test): Likewise.
46065 (clog10_test): Likewise.
46066 (csqrt_test): Likewise.
46067 (ctan_test): Likewise.
46068 (ctanh_test): Likewise.
46069 (exp_test): Likewise.
46070 (exp10_test): Likewise.
46071 (exp2_test): Likewise.
46072 (expm1_test): Likewise.
46073 (fma_test): Likewise.
46074 (j0_test): Likewise.
46075 (jn_test): Likewise.
46076 (nexttoward_test): Likewise.
46077 (pow_test): Likewise.
46078 (scalbn_test): Likewise.
46079 (scalbln_test): Likewise.
46080 (tan_test): Likewise.
46081 (y1_test): Likewise.
46082 * sysdeps/i386/fpu/libm-test-ulps: Update.
46083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46085 2012-05-23 David S. Miller <davem@davemloft.net>
46087 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46088 (__libc_sigaction): Remove unused local variables.
46090 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46092 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46094 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46096 mktime: avoid signed integer overflow
46097 * time/mktime.c (__mktime_internal): Do not mishandle the case
46098 where diff == INT_MIN.
46100 mktime: simplify computation of average
46101 * time/mktime.c (ranged_convert): Use new time_t_avg function
46102 instead of rolling our own (probably-slower) code.
46104 mktime: do not assume signed right shift propagates sign bit
46105 * time/mktime.c (isdst_differ): New static function.
46106 (__mktime_internal): No need to normalize tm_isdst now.
46107 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46110 mktime: merge another wrapv change from gnulib
46111 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46112 from some compilers.
46114 mktime: remove incorrect attempt at unusual arithmetics
46115 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46116 The code didn't really work on such machines anyway.
46117 (TYPE_MINIMUM): Assume two's complement.
46118 (twos_complement_arithmetic): Verify that long_int and time_t
46119 are two's complement (or unsigned, in the latter case).
46121 mktime: check signed shifts on long_int and time_t, too
46122 * time/mktime.c (SHR): Check that shifts work as desired
46123 on the types long_int and time_t too, as SHR is used on
46126 mktime: do not assume 'long' is wide enough
46127 * time/mktime.c (verify): Move decl up.
46128 (long_int): New type.
46129 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46130 to remove assumption in the code that 'long' is wide enough to
46131 store year values. This assumption is not true on x32 and on
46132 some non-glibc platforms.
46134 mktime: merge wrapv change from gnulib
46135 * time/mktime.c (WRAPV): New macro.
46136 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46137 (guess_time_tm, __mktime_internal): Do not assume that signed
46138 integer overflow wraps around; modern compilers generate code
46139 where this assumption is no longer valid.
46141 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46143 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46144 Replace "jmp L(pseudo_end)" with "ret".
46145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46148 2012-05-23 Andreas Jaeger <aj@suse.de>
46150 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46151 * sysdeps/unix/sysv/linux/poll.c: Remove file.
46153 2012-05-23 Andreas Jaeger <aj@suse.de>
46154 Maximilian Attems <max@stro.at>
46156 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46159 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46161 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46162 code so that pseudo_end is just ret and the stack pointer is
46163 correct also for static library in error case.
46165 2012-05-23 Joseph Myers <joseph@codesourcery.com>
46167 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46168 move to syscalls.list.
46169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46174 * manual/install.texi (Running make install): Do not mention Linux
46175 kernel version for which pt_chown is not needed.
46176 (Linux): Do not mention problems with nscd with 2.0 kernels.
46177 * INSTALL: Regenerated.
46179 2012-05-23 Andreas Jaeger <aj@suse.de>
46181 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46182 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46184 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46185 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46186 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46187 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46188 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46189 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46190 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46191 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46192 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46193 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46194 * sysdeps/unix/sysv/linux/bits/in.h
46195 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46197 2012-05-22 Roland McGrath <roland@hack.frob.com>
46199 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46200 (PREPARE_VERSION): Just use assert instead, it will be elided
46201 under [NDEBUG] anyway.
46203 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46205 * sysdeps/unix/sysv/linux/Makefile: Include
46206 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46207 (sysdep_routines): Remove sysctl.
46208 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46209 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46210 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46211 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46212 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46214 2012-05-22 Andreas Jaeger <aj@suse.de>
46216 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46217 that pseudo_end is just ret and the stack pointer is correct also
46218 for static library in error case.
46220 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46223 * nss/nsswitch.c (defconfig_entries): New variable.
46224 (__nss_database_lookup): Don't leak defconfig entries.
46225 (nss_parse_service_list): Don't leak on error paths.
46226 (free_database_entries): New function.
46227 (free_defconfig): New function.
46228 (free_mem): Move common code to free_database_entries.
46230 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46232 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46234 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46236 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46237 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46238 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46240 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46241 (INTERNAL_SYSCALL_TYPES): Likewise.
46242 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46243 (LOAD_REGS_TYPES_[1-6]): Likewise.
46244 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46245 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46247 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46249 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46250 copysignl for GLIBC_2_0.
46251 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46252 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46254 logbl for GLIBC_2_0.
46255 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46256 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46258 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46260 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46261 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46263 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46266 * time/mktime.c: Update copyright years.
46268 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46270 mktime: merge comment-quoting-style change from gnulib
46271 * time/mktime.c: Quote 'like this' in comments.
46272 The GNU coding standards suggest that we no longer quote `like this',
46273 as "`" and "'" are typically rendered asymmetrically nowadays.
46274 The typical gnulib style is to quote 'like this' when quoting
46275 code, and "like this" when quoting English.
46277 * time/mktime.c (compile-command): Add "-I.".
46279 mktime: merge mktime-internal.h change from gnulib
46280 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46282 mktime: merge time_r change from gnulib
46283 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46285 mktime: merge DEBUG change from gnulib
46286 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46287 case system <time.h> has a #define.
46289 mktime: merge <sys/types.h> change from gnulib
46290 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46291 since <time.t> is now guaranteed to define time_t.
46293 mktime: merge HAVE_CONFIG_H change from gnulib
46294 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46296 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46301 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46303 (struct rusage): Use anonymous union to pad each field to
46306 2012-05-21 David S. Miller <davem@davemloft.net>
46308 * Makefules (o-iterator): Remove .s cases.
46309 (compile-command.s): Delete.
46310 (COMPILE.s): Delete.
46311 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46313 2012-05-21 Joseph Myers <joseph@codesourcery.com>
46315 * configure.in (libc_cv_predef_stack_protector): Only consider
46316 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46317 * configure: Regenerated.
46319 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46322 New macro. Use R*LP on int and pointer.
46323 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46324 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46325 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46326 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46328 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46329 [__WORDSIZE_TIME64_COMPAT32] instead of
46330 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46331 (struct utmp): Likewise.
46332 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46333 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46335 (__WORDSIZE_TIME64_COMPAT32): This.
46336 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46337 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46338 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46339 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46340 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46341 (__WORDSIZE_TIME64_COMPAT32): New macro.
46343 2012-05-21 Andreas Jaeger <aj@suse.de>
46345 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46346 only if [SHARED]. Add prototype for __wcschr_ia32.
46348 2012-05-21 Roland McGrath <roland@hack.frob.com>
46350 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46351 of %rbp unmolested in the jmp_buf while mangling the low bits.
46352 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46353 unmolested high bits of %rbp while demangling the low bits.
46354 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46356 2012-05-21 Andreas Jaeger <aj@suse.de>
46358 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46359 * sunrpc/svc_simple.c: Use it for registerrpc.
46360 * sunrpc/xcrypt.c: Use it for passwd2des.
46362 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46364 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46366 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46367 Don't define if [__SYSCALL_WORDSIZE != 32].
46368 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46371 2012-05-21 Bruno Haible <bruno@clisp.org>
46372 Andreas Jaeger <aj@suse.de>
46374 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46375 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46376 inptr and inend for must_buffer_ch.
46377 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46378 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46379 * stdio-common/Makefile (tests): Remove bug15.
46380 (bug15-ENV): Remove macro.
46381 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46384 2012-05-19 Andreas Jaeger <aj@suse.de>
46385 Roland McGrath <roland@hack.frob.com>
46387 * manual/contrib.texi: Completely rewritten. It contains now an
46388 alphabetical list of contributors and their contributions.
46390 2012-05-21 Richard Henderson <rth@twiddle.net>
46392 * misc/getauxval.c (__getauxval): Use unsigned long int.
46393 * misc/sys/auxv.h: Include <sys/cdefs.h>.
46394 (getauxval): Use unsigned long int.
46396 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46398 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46400 2012-05-21 Roland McGrath <roland@hack.frob.com>
46402 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46403 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46404 __alignof__ (long double).
46406 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46410 2012-05-20 Richard Henderson <rth@twiddle.net>
46412 * misc/getauxval.c: New file.
46413 * misc/sys/auxv.h: New file.
46414 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46415 (routines): Add getauxval.
46416 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46417 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46418 * elf/dl-sysdep.c (_dl_auxv): Remove.
46419 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46420 * elf/dl-support.c (_dl_auxv): New variable.
46421 (_dl_aux_init): Initialize it.
46422 * manual/startup.texi (Auxiliary Vector): New node.
46423 * sysdeps/generic/bits/hwcap.h: New file.
46424 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46425 * sysdeps/powerpc/sysdep.h: ... here. Include it.
46426 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46427 * sysdeps/sparc/sysdep.h: ... here. Include it.
46428 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46429 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46435 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46441 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46445 2012-05-19 David S. Miller <davem@davemloft.net>
46447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46449 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46452 * math/s_ccosh.c: Include <float.h>
46453 (__ccosh): Avoid internal overflow calculating sinh and cosh
46454 values before multiplying by sin and cos values.
46455 * math/s_ccoshf.c: Likewise.
46456 * math/s_ccoshl.c: Likewise.
46457 * math/s_csin.c: Likewise.
46458 * math/s_csinf.c: Likewise.
46459 * math/s_csinl.c: Likewise.
46460 * math/s_csinh.c: Likewise.
46461 * math/s_csinhf.c: Likewise.
46462 * math/s_csinhl.c: Likewise.
46463 * math/libm-test.inc (ccos_test): Add more tests.
46464 (ccosh_test): Likewise.
46465 (csin_test): Likewise.
46466 (csinh_test): Likewise.
46467 * sysdeps/i386/fpu/libm-test-ulps: Update.
46468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46470 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
46472 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46473 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46475 * sysdeps/x86_64/x32/_itoa.h: Add comment.
46477 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46479 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46480 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46481 * sysdeps/powerpc/soft-fp/Versions: Likewise.
46482 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46483 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46484 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46485 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46486 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46487 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46488 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46489 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46490 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46491 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46492 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46493 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46494 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46495 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46496 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46497 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46498 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46499 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46500 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46501 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46502 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46503 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46504 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46505 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46506 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46507 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46508 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46509 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46511 2012-05-18 Andreas Jaeger <aj@suse.de>
46513 * csu/.gitignore: Delete.
46515 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46517 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46518 (timex): Use __syscall_slong_t.
46520 2012-05-18 Andreas Jaeger <aj@suse.de>
46521 Carlos O'Donell <carlos_odonell@mentor.com>
46523 * manual/install.texi (Configuring and compiling): Update
46524 description about files modified in the source directory.
46525 * INSTALL: Regenerated.
46527 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46529 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46530 value. Use "or" to set return value to -1.
46531 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46532 negate return value.
46534 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46536 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46537 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46538 failure if the compiler has Graphite support disabled.
46539 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46541 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46542 (CFLAGS-memmove.c): Likewise.
46543 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46546 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46548 * sysdeps/x86_64/x32/_itoa.h: New file.
46550 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46551 getdents system call only if kernel and user dirents have the
46552 same d_ino and d_off.
46554 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46555 LLONG_MAX != LONG_MAX.
46556 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46557 (_fitoa_word): Likewise.
46559 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46561 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46562 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46563 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46565 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46566 include <bits/wordsize.h>. Check __x86_64__ instead of
46568 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46569 if __x86_64__ is defined. Use anonymous union on fpstate.
46571 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46574 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
46576 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46577 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46578 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46579 Refer to _rtld_local_ro instead of _rtld_global_ro.
46580 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46582 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46584 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46586 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46587 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46588 of _rtld_global, and rtld_progname instead of _dl_argv[0].
46590 * sysdeps/powerpc/powerpc32/dl-machine.c
46591 (__elf_machine_runtime_setup) [PROF]: Don't reference
46594 2012-05-18 Andreas Jaeger <aj@suse.de>
46596 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46597 function only available for GCCs before 3.4 since GCC 3.4
46598 introduced a builtin.
46600 (llrintf): Likewise.
46601 (llrint): Likewise.
46608 (nearbyint): Likewise.
46609 (nearbyintf): Likewise.
46613 (floorf): Likewise.
46615 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46617 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46618 on both fields and cast pointer to __syscall_ulong_t.
46620 * bits/types.h (__fsword_t): New type.
46621 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46622 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46624 (__FSWORD_T_TYPE): Likewise.
46625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46626 (__FSWORD_T_TYPE): Likewise.
46627 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46628 (__FSWORD_T_TYPE): Likewise.
46629 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46630 (__FSWORD_T_TYPE): Likewise.
46631 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46632 __SWORD_TYPE with __fsword_t.
46633 (statfs64): Likewise.
46635 2012-05-17 David S. Miller <davem@davemloft.net>
46637 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46639 2012-05-17 Andreas Jaeger <aj@suse.de>
46641 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46644 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46646 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46648 2012-05-17 Andreas Jaeger <aj@suse.de>
46650 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46653 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46655 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46657 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46659 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46660 * sysdeps/x86_64/tst-mallocalign1.c: New file.
46662 2012-05-17 Andreas Jaeger <aj@suse.de>
46663 Carlos O'Donell <carlos_odonell@mentor.com>
46666 * sysdeps/x86_64/multiarch/init-arch.h
46667 (bit_YMM_Usable): Rename to...
46668 (bit_AVX_Usable): ... this.
46669 (bit_FMA4_Usable): New macro.
46670 (bit_XMM_state): New macro.
46671 (bit_YMM_state): New macro.
46672 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46673 [__ASSEMBLER__] (index_AVX_Usable): ... this.
46674 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46675 (CPUID_OSXSAVE): New macro.
46676 (CPUID_AVX): New macro.
46677 (CPUID_FMA4): New macro.
46678 (index_YMM_Usable): Rename to...
46679 (index_AVX_Usable): ... this.
46680 (HAS_AVX): Use HAS_ARCH_FEATURE.
46681 (HAS_FMA4): Likewise.
46682 (HAS_YMM_USABLE): Remove.
46683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46684 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46686 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46687 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46688 * sysdeps/x86_64/multiarch/Makefile: Likewise.
46689 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46690 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46692 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46694 * math/libm-test.c: Support platforms without multiple rounding modes.
46695 * math/bug-nextafter.c: Support platforms without FP exceptions.
46696 * math/bug-nexttoward.c: Likewise.
46697 * math/test-fenv.c: Likewise.
46698 * math/test-misc.c: Likewise.
46699 * stdlib/bug-getcontext.c: Likewise.
46701 2012-05-17 Andreas Jaeger <aj@suse.de>
46703 * manual/examples/search.c (critter_cmp): Change signature to
46705 * manual/string.texi (Collation Functions): Likewise.
46707 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46709 * bits/types.h: Fold copyright years.
46710 * bits/typesizes.h: Likewise.
46711 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46712 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46713 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46714 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46715 * time/time.h: Likewise.
46717 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
46720 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46721 in instead of returning them. Return void.
46722 (__libc_mallinfo): Accumulate over all arenas.
46723 (__malloc_stats): Adjust for change in int_mallinfo interface.
46725 2012-05-16 Roland McGrath <roland@hack.frob.com>
46728 * configure.in (NM): Add AC_CHECK_TOOL for it.
46729 (libc_extra_cflags): New substituted variable.
46730 Check for -fstack-protector being used implicitly.
46731 * configure: Regenerated.
46732 * config.make.in (config-extra-cflags): New variable,
46733 gets @libc_extra_cflags@.
46734 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46737 * configure.in: Check for _FORTIFY_SOURCE being predefined.
46738 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46739 * configure: Regenerated.
46740 * config.make.in (CPPUNDEFS): New substituted variable.
46741 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46742 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46743 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46745 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46747 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46748 (mq_attr): Use __syscall_slong_t.
46750 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46752 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46753 Check __x86_64__ instead of __WORDSIZE.
46754 (_STAT_VER_LINUX): Likewise.
46755 (stat): Check __x86_64__ instead of __WORDSIZE. Use
46756 __syscall_ulong_t and __syscall_slong_t.
46757 (stat64): Likewise.
46759 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46761 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46763 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46765 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46767 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46769 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46772 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46773 include <bits/wordsize.h>. Check __x86_64__ instead of
46775 (greg_t): Use "__extension__ long long int" if __x86_64__ is
46777 (mcontext_t): Replace "unsigned long" with "unsigned long long".
46779 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46780 include <bits/wordsize.h>. Check __x86_64__ instead of
46782 (user_regs_struct): Use "__extension__ unsigned long long"
46783 instead of "unsigned long" if __x86_64__ is defined.
46784 (user): Likewise. Pad after pointer field if __ILP32__ is
46787 2012-05-16 Joseph Myers <joseph@codesourcery.com>
46789 * configure.in (makeinfo): Require version 4.5 or later. Allow
46791 * configure: Regenerated.
46792 * manual/install.texi (texinfo): Increase version requirement to
46794 * INSTALL: Regenerated.
46796 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46798 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46800 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46802 * sysdeps/x86_64/x32/ffs.c: New file.
46804 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46806 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46807 defined. Use __syscall_ulong_t.
46808 (shminfo): Use __syscall_ulong_t.
46809 (shm_info): Likewise.
46811 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46814 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46816 (msgqnum_t): Use __syscall_ulong_t.
46817 (msglen_t): Likewise.
46818 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
46821 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46822 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46824 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46826 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46827 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46829 * sysvipc/sys/msg.h (msgbuf): Replace long int with
46832 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46833 include <bits/wordsize.h>. Check __x86_64__ instead of
46836 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46837 "unsigned long long int" if __x86_64__ is defined.
46838 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46840 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46841 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46842 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46844 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46846 (GET_PC): Cast to uintptr_t first.
46847 (GET_FRAME): Likewise.
46848 (GET_STACK): Likewise.
46850 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46851 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46852 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46853 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46854 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46855 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46856 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46857 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46858 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46859 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46860 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46861 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46862 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46863 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46864 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46865 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46866 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46867 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46868 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46869 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46870 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46871 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46872 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46873 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46874 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46875 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46876 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46877 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46878 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46880 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
46882 * Makerules (+depfiles): Also collect depfiles from .oS in
46884 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46885 .oS, $(libnldbl-routines)).
46887 * Makerules (native-compile-mkdep-flags): Define.
46888 * sunrpc/Makefile (extra-objs): Add $(addprefix
46889 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46890 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46891 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
46892 calling $(make-target-directory).
46894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46896 * bits/types.h (__snseconds_t): Removed.
46897 * time/time.h (struct timespec): Replace __snseconds_t with
46899 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46900 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46902 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46903 (__SNSECONDS_T_TYPE): Likewise.
46904 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46905 (__SNSECONDS_T_TYPE): Likewise.
46906 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46907 (__SNSECONDS_T_TYPE): Likewise.
46909 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46911 * sysdeps/mach/hurd/bits/typesizes.h
46912 (__SYSCALL_SLONG_TYPE): New macro.
46913 (__SYSCALL_ULONG_TYPE): Likewise.
46915 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46917 * bits/types.h (__syscall_slong_t): New type.
46918 (__syscall_ulong_t): Likewise.
46920 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46921 (__SYSCALL_ULONG_TYPE): Likewise.
46922 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46923 (__SYSCALL_SLONG_TYPE): Likewise.
46924 (__SYSCALL_ULONG_TYPE): Likewise.
46925 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46926 (__SYSCALL_SLONG_TYPE): Likewise.
46927 (__SYSCALL_ULONG_TYPE): Likewise.
46928 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46929 (__SYSCALL_SLONG_TYPE): Likewise.
46930 (__SYSCALL_ULONG_TYPE): Likewise.
46932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46934 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46935 Add sigaltstack-offsets.sym.
46936 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46937 <sigaltstack-offsets.h>.
46938 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
46939 longjmp_msg pointer.
46940 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
46941 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46943 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46945 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46947 * elf/stackguard-macros.h: Remove file.
46948 * sysdeps/generic/stackguard-macros.h: New file.
46949 * sysdeps/i386/stackguard-macros.h: Likewise.
46950 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46951 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46952 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46953 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46954 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46955 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46956 * sysdeps/x86_64/stackguard-macros.h: Likewise.
46957 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46958 <elf/stackguard-macros.h>.
46961 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46962 __aligned__ in attribute.
46963 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46964 (gregset_t): Likewise.
46966 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46968 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46969 * sysdeps/x86_64/64/Implies-after: Here. New file.
46970 * sysdeps/x86_64/x32/Implies-after: New file.
46972 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46974 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46975 and access return value for _dl_profile_fixup. Use R10_LP to
46978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46980 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46984 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46985 * sysdeps/x86_64/x32/sysdep.h: New file.
46987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46989 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46990 * sysdeps/x86_64/setjmp.S: Likewise.
46992 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46994 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46995 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46996 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46997 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46998 remove unused global constant.
47000 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47002 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47003 include of <not-cancel.h>.
47005 2012-05-15 Roland McGrath <roland@hack.frob.com>
47007 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47009 2012-05-15 Jeff Law <law@redhat.com>
47010 Andreas Jaeger <aj@suse.de>
47013 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47015 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47016 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47017 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47018 code changing __hst_map_handle.map.
47020 2012-05-15 Roland McGrath <roland@hack.frob.com>
47022 * configure.in (sysnames): Look for Implies-before and Implies-after
47024 * configure: Regenerated.
47026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47028 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47029 8-byte data alignment with LP_SIZE alignment.
47031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47033 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47038 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47042 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47043 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47044 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47046 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47050 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47051 (stackinfo_sub_sp): Likewise.
47053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47055 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47058 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47060 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47065 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47070 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47072 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47074 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47075 into R11_LP and load __x86_64_shared_cache_size_half into
47078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47080 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47083 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47085 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47087 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47089 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47091 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47092 powerpc32/power7/fpu/s_logb.c via #include.
47093 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47094 powerpc32/power7/fpu/s_logbf.c via #include.
47095 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47096 powerpc32/power7/fpu/s_logbl.c via #include.
47098 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47100 * README.libm: Remove file.
47102 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47104 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47105 count for x32. Use R*_LP and omit operand-size suffix.
47107 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47109 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47110 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47111 * sysdeps/x86_64/x32/shlib-versions: New file.
47113 2012-05-14 Roland McGrath <roland@hack.frob.com>
47115 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47116 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47117 Use _dl_fatal_printf instead.
47119 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47121 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47122 set if not set by the user. Do not allow for being unset.
47123 * sysdeps/unix/sysv/linux/configure: Regenerated.
47125 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47127 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47128 the `q' suffix from lea and replace .quad with ASM_ADDR.
47130 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47133 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
47135 (PTR_DEMANGLE): Likewise.
47137 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47139 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47141 (ASM_ADDR): Likewise.
47142 (RAX_LP): Likewise.
47143 (RBP_LP): Likewise.
47144 (RBX_LP): Likewise.
47145 (RCX_LP): Likewise.
47146 (RDI_LP): Likewise.
47147 (RSI_LP): Likewise.
47148 (RSP_LP): Likewise.
47151 (R10_LP): Likewise.
47152 (R10_LP): Likewise.
47153 (R11_LP): Likewise.
47154 (R12_LP): Likewise.
47155 (R13_LP): Likewise.
47156 (R14_LP): Likewise.
47157 (R15_LP): Likewise.
47159 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47161 * sysdeps/x86_64/x32/dl-machine.h: New file.
47163 2012-05-14 Andreas Jaeger <aj@suse.de>
47165 * manual/Makefile (subdir): Remove export of subdir.
47166 (all): Remove target.
47167 (.PHONY): Remove all from list.
47168 (mkinstalldirs): Remove.
47169 (.PHONY): Remove installdirs from list.
47170 ($(inst_infodir)/libc.info): Use make-target-directory.
47171 (installdirs): Remove.
47172 (subdir_%): Remove.
47173 (glibc-targets): Remove.
47176 ($(objpfx)stubs ../po/manual.pot): Remove.
47177 ($(objpfx)stamp%): Remove.
47178 (make-target-directory): Remove.
47179 (subdir_install): Remove.
47180 (routines): Remove.
47187 * manual/.gitignore: Remove, it's not needed anymore.
47188 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47190 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47192 (texis): Renamed to $(objpfx)texis.
47193 (texis-path): New, contains path to generated files.
47194 (chapters.%): Use texis-path for complete path, add extra argument
47196 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47197 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47198 (summary,texi, stamp-summary): Use complete path of
47199 files. Generate files in build dir.
47200 (dir-add.texi): Build in build dir.
47201 (libm-err.texi,stamp-libm-err): Likewise.
47202 (version.texi, stamp-version): Likewise.
47203 (.%c.texi): Likewise.
47204 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47205 (mostlyclean): Remove target.
47206 (realclean): Remove target.
47207 (generated): Add new variable with contents from mostlyclean and
47208 realclean, remove entries duplicated in common-mostlyclean, add
47209 stamp-libm-err and stamp-version.
47210 (generated-dirs): Add libc directory.
47211 ($(inst_infodir)/libc.info): Install files from build dir.
47213 * manual/install.texi (Configuring and compiling): Adjust since
47214 the info files are not part of the tar ball anymore.
47216 2012-05-14 Andreas Jaeger <aj@suse.de>
47218 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47221 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47224 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47225 to 2.2.0 where earlier.
47226 * sysdeps/unix/sysv/linux/configure: Regenerated.
47227 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47228 Remove conditional code.
47229 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47230 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47231 Remove conditional code.
47232 [!__NR_lchown]: Likewise.
47233 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47234 [__NR_lchown]: Likewise.
47235 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47236 comment referencing __ASSUME_LCHOWN_SYSCALL.
47237 * sysdeps/unix/sysv/linux/i386/sigaction.c
47238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47240 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47241 Remove conditional code.
47242 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47243 (__protocol_available): Remove #if 0 code.
47244 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47246 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47247 * sysdeps/unix/sysv/linux/kernel-features.h
47248 (__ASSUME_GETCWD_SYSCALL): Don't define.
47249 (__ASSUME_REALTIME_SIGNALS): Likewise.
47250 (__ASSUME_PREAD_SYSCALL): Likewise.
47251 (__ASSUME_PWRITE_SYSCALL): Likewise.
47252 (__ASSUME_POLL_SYSCALL): Likewise.
47253 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47254 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47256 (__ASSUME_SIOCGIFNAME): Don't define.
47257 (__ASSUME_MSG_NOSIGNAL): Likewise.
47258 (__ASSUME_SENDFILE): Define unconditionally.
47259 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47260 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47262 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47263 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47264 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47265 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47266 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47267 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47268 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47270 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47273 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47276 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47279 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47282 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47285 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47288 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47291 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47292 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47293 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47294 Remove conditional code.
47295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47296 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47297 Remove conditional code.
47298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47299 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47300 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47301 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47302 Remove conditional code.
47303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47304 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47305 Remove conditional code.
47306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47307 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47308 Remove conditional code.
47309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47310 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47311 Remove conditional code.
47312 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47313 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47314 Remove conditional code.
47315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47316 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47317 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47318 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47319 * sysdeps/unix/sysv/linux/sigaction.c
47320 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47321 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47322 * sysdeps/unix/sysv/linux/sigpending.c
47323 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47324 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47325 * sysdeps/unix/sysv/linux/sigprocmask.c
47326 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47327 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47328 * sysdeps/unix/sysv/linux/sigsuspend.c
47329 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47330 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47331 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47332 (__libc_missing_rt_sigs): Remove.
47333 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47334 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47335 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47336 Remove conditional code.
47337 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47338 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47340 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47341 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47342 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47343 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47345 2012-05-14 Andreas Jaeger <aj@suse.de>
47347 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47348 it's not used in glibc.
47349 (__coshm1): Likewise.
47350 (__acosh1p): Likewise.
47353 * manual/string.texi (Copying and Concatenation): Add missing
47354 variable in concat example.
47355 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47357 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47360 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47361 __builtin_clzl with __builtin_clzll.
47363 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47366 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47369 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47371 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47372 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47373 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47374 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47376 2012-05-14 Mike Frysinger <vapier@gentoo.org>
47378 * NEWS: Update ia64 info.
47380 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
47382 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47385 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
47387 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47388 * sysdeps/unix/syscalls.list (dup3): Likewise.
47389 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47390 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47392 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47394 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47395 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47397 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47399 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47401 (TLS_IE): Use mov/add instead of movq/addq to load thread
47403 (TLS_GD_PREFIX): New.
47406 2012-05-11 David S. Miller <davem@davemloft.net>
47408 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47409 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47410 (_FPU_SETCW): Likewise.
47412 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47414 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47415 is 32-byte aligned.
47417 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
47420 * iconvdata/gb18030.c: Update tables.
47421 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47422 characters specially.
47423 (BODY for TO_LOOP): Add encoding of missing ranges.
47425 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47428 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47429 * sysdeps/mach/hurd/dup3.c: Likewise.
47430 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47431 * sysdeps/powerpc/memmove.c:: Likewise.
47433 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47435 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47436 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47438 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47440 * elf/elf.h (R_X86_64_RELATIVE64): New.
47441 (R_X86_64_NUM): Updated.
47442 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47443 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
47444 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47445 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47446 tst-quad1pie tst-quad2pie
47447 (modules-names): Add tst-quadmod1 tst-quadmod2.
47448 ($(objpfx)tst-quad1): New dependency.
47449 ($(objpfx)tst-quad2): Likewise.
47450 ($(objpfx)tst-quad1pie): Likewise.
47451 ($(objpfx)tst-quad2pie): Likewise.
47452 * sysdeps/x86_64/tst-quad1.c: New file.
47453 * sysdeps/x86_64/tst-quad1pie.c: New file.
47454 * sysdeps/x86_64/tst-quad2.c: Likewise.
47455 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47456 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47457 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47458 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47459 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47461 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47463 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47464 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47465 * streams/stropts.h (t_scalar_t): Define type.
47467 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47468 (_PATH_PRESERVE): Set to "/var/lib".
47469 (_PATH_RWHODIR): Set to "/var/spool/rwho".
47471 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47474 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47475 if __dir_mkfile succeeded.
47477 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47478 checking for _hurd_dtablesize. Unlock it right after having
47479 finished _hurd_dtable allocation.
47481 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47483 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47484 * sysdeps/mach/hurd/configure: Regenerated.
47485 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47486 special-casing to...
47487 * sysdeps/gnu/configure.in: ... this new file.
47488 * sysdeps/unix/sysv/linux/configure: Regenerated.
47489 * sysdeps/gnu/configure: New generated file.
47491 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47492 for Linux: use nsec instead of usec, as well as:
47493 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47494 members of type struct timespec.
47495 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47497 (struct stat64): Likewise.
47498 (_STATBUF_ST_NSEC): New macro.
47499 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47501 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47502 __strtoul_internal rather than strtoul.
47504 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47506 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47509 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47511 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47512 which preserves existing values.
47513 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47515 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47517 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47518 TIMEOUT values. Return EINVAL for NFDS values either negative or
47519 greater than FD_SETSIZE.
47521 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47523 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47524 allocated, call __vm_protect to finish enabling the existing space, and
47525 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47526 allocate the remainder.
47528 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47530 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47531 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
47533 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47535 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47536 sysdeps/mach/hurd/readlink.c.
47538 * posix/tst-sysconf.c (posix_options): Only use
47539 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47540 _POSIX_SYNCHRONIZED_IO when they are defined
47541 * sysdeps/mach/hurd/bits/posix_opt.h:
47542 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47543 (_XOPEN_REALTIME): Undefine macro.
47544 (_XOPEN_REALTIME_THREADS): Undefine macro.
47545 (_XOPEN_SHM): Undefine macro.
47546 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47548 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47550 (_POSIX_ASYNC_IO): Undefine macro.
47551 (_POSIX_PRIORITIZED_IO): Undefine macro.
47552 (_POSIX_SPIN_LOCKS): Define macro to -1.
47554 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47555 SA_NODEFER, SA_RESETHAND.
47556 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47557 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47560 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47562 * elf/Makefile (pldd-modules): Define unconditionally.
47564 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47566 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47568 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47570 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47571 Return ENOENT when name is empty.
47572 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47574 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47576 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47578 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47580 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47582 Fix mlock in all cases except non-readable pages.
47583 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47584 instead of VM_PROT_ALL as parameter to __vm_wire function.
47586 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47587 (__mkdir): When path is `/', just fail with EEXIST.
47588 * sysdeps/mach/hurd/mkdirat.c: Likewise.
47590 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47592 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47593 <sys/uio.h> (for writev).
47594 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47595 and <sys/param.h> (for MIN).
47597 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47599 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47600 REQUESTED_TIME. Properly set the remaining time and return EINTR
47603 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47605 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47606 Depend on against $(link-rpcuserlibs).
47608 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47610 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47611 (__libc_stack_end): Do not use attribute_relro.
47612 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47613 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47614 to libthread-provided value.
47615 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47618 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47621 * bits/libc-lock.h (__libc_once_get): New macro.
47622 * sysdeps/mach/bits/libc-lock.h: Likewise.
47623 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47624 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47625 instead of using implementation details.
47627 * libio/fileops.c: Unconditionally include <kernel-features.h>.
47628 * libio/freopen.c: Likewise.
47629 * libio/freopen64.c: Likewise.
47630 * misc/syslog.c: Likewise.
47631 * nscd/connections.c: Likewise.
47632 * nscd/netgroupcache.c: Likewise.
47633 * sysdeps/posix/getcwd.c: Likewise.
47635 2012-05-10 Roland McGrath <roland@hack.frob.com>
47637 * math/w_ilogbf.c: Add #include <limits.h>.
47639 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47641 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47642 path instead of returning without unlocking.
47644 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47645 immediate-write ioctls.
47646 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47648 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47650 * sysdeps/mach/hurd/i386/init-first.c (init): Use
47651 __builtin_frame_address instead of making assumptions about the
47652 location of the return address relative to DATA. Force early load of
47653 the return address.
47654 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47655 __builtin_frame_address.
47658 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47659 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
47660 implement dup3 and do some further code clean-ups.
47661 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47662 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47664 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47666 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47668 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47669 HURD_CRITICAL_END around holding _hurd_dtable_lock.
47670 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47671 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47672 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47675 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47676 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
47677 when handler == SIG_ERR, not when handler != SIG_ERR.
47679 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47681 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47682 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47685 accept4 for GNU Hurd.
47686 * include/sys/socket.h (__libc_accept4): New prototype.
47687 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
47688 to implement __libc_accept4.
47689 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47691 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47693 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47694 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47695 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47696 signal-defines.sym.
47698 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47700 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47702 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47704 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47705 assertion on O_CLOEXEC flag.
47706 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47707 * hurd/intern-fd.c: Likewise.
47708 * hurd/port2fd.c: Likewise.
47710 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47713 * bits/in.h (IPV6_PKTINFO): Define new macro.
47714 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47716 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47721 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47722 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47723 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47724 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47725 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47726 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47727 * math/libm-test.inc (logb_test) : Additional logb tests.
47729 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
47730 Andreas Jaeger <aj@suse.de>
47732 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47733 * configure: Regenerated.
47734 * config.h.in (LINK_OBSOLETE_RPC): New macro.
47735 * config.make.in (link-obsolete-rpc): New substituted variable.
47736 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47737 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47738 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47739 (shared-only-routines): Don't set it under [link-obsolete-rpc],
47740 so that libc.a contains the symbols.
47741 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47742 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47743 * sunrpc/auth_none.c: Likewise.
47744 * sunrpc/auth_unix.c: Likewise.
47745 * sunrpc/authdes_prot.c: Likewise.
47746 * sunrpc/authuxprot.c: Likewise.
47747 * sunrpc/clnt_gen.c: Likewise.
47748 * sunrpc/clnt_perr.c: Likewise.
47749 * sunrpc/clnt_raw.c: Likewise.
47750 * sunrpc/clnt_simp.c: Likewise.
47751 * sunrpc/clnt_tcp.c: Likewise.
47752 * sunrpc/clnt_udp.c: Likewise.
47753 * sunrpc/clnt_unix.c: Likewise.
47754 * sunrpc/des_crypt.c: Likewise.
47755 * sunrpc/des_soft.c: Likewise.
47756 * sunrpc/get_myaddr.c: Likewise.
47757 * sunrpc/key_call.c: Likewise.
47758 * sunrpc/key_prot.c: Likewise.
47759 * sunrpc/netname.c: Likewise.
47760 * sunrpc/pm_getmaps.c: Likewise.
47761 * sunrpc/pm_getport.c: Likewise.
47762 * sunrpc/pmap_clnt.c: Likewise.
47763 * sunrpc/pmap_prot.c: Likewise.
47764 * sunrpc/pmap_prot2.c: Likewise.
47765 * sunrpc/pmap_rmt.c: Likewise.
47766 * sunrpc/publickey.c: Likewise.
47767 * sunrpc/rpc_cmsg.c: Likewise.
47768 * sunrpc/rpc_common.c: Likewise.
47769 * sunrpc/rpc_dtable.c: Likewise.
47770 * sunrpc/rpc_prot.c: Likewise.
47771 * sunrpc/rpc_thread.c: Likewise.
47772 * sunrpc/rtime.c: Likewise.
47773 * sunrpc/svc.c: Likewise.
47774 * sunrpc/svc_auth.c: Likewise.
47775 * sunrpc/svc_raw.c: Likewise.
47776 * sunrpc/svc_run.c: Likewise.
47777 * sunrpc/svc_tcp.c: Likewise.
47778 * sunrpc/svc_udp.c: Likewise.
47779 * sunrpc/svc_unix.c: Likewise.
47780 * sunrpc/svcauth_des.c: Likewise.
47781 * sunrpc/xcrypt.c: Likewise.
47782 * sunrpc/xdr.c: Likewise.
47783 * sunrpc/xdr_array.c: Likewise.
47784 * sunrpc/xdr_float.c: Likewise.
47785 * sunrpc/xdr_intXX_t.c: Likewise.
47786 * sunrpc/xdr_mem.c: Likewise.
47787 * sunrpc/xdr_rec.c: Likewise.
47788 * sunrpc/xdr_ref.c: Likewise.
47789 * sunrpc/xdr_sizeof.c: Likewise.
47790 * sunrpc/xdr_stdio.c: Likewise.
47792 2012-05-10 Roland McGrath <roland@hack.frob.com>
47794 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47795 change. Update copyright years.
47797 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47799 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47801 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
47802 Joseph Myers <joseph@codesourcery.com>
47803 Paul Pluzhnikov <ppluzhnikov@google.com>
47806 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47808 [cross-compiling] (extra-libs): Likewise.
47809 [cross-compiling] (extra-libs-others): Likewise.
47810 [cross-compiling] (librpcsvc-routines): Likewise.
47811 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47812 [cross-compiling] (omit-deps): Likewise.
47813 (sunrpc-CPPFLAGS): New variable.
47814 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47815 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47816 (cross-rpcgen-objs): New variable.
47817 (extra-objs): Append $(cross-rpcgen-objs).
47818 ($(cross-rpcgen-objs)): New rule.
47819 ($(objpfx)cross-rpcgen): Likewise.
47820 (rpcgen-cmd): Define to use $(built-program-file). Expand
47822 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47823 ($(objpfx)x%.stmp): Likewise.
47824 * sunrpc/proto.h [IS_IN_build] (_): Define.
47825 [IS_IN_build] (_libc_intl_domainname): Likewise.
47827 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47829 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47830 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47831 and R_X86_64_TPOFF64.
47833 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47835 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47836 sysdeps/unix/sysv/syscalls.list.
47839 * sysdeps/unix/sysv/syscalls.list: Remove file.
47841 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
47844 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47845 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47846 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47847 (__LC_IDENTIFICATION): Make these macros useful in #if
47848 expressions, as required by C99.
47850 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
47852 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47853 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
47856 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
47858 * stdlib/longlong.h: Updated from GCC.
47860 2012-05-09 Andreas Jaeger <aj@suse.de>
47862 * nscd/nscd.c (run_modes): Make named enum, reorder so that
47863 default is first entry.
47864 (run_mode): Set type.
47865 (main): Remove informal message about syslog.
47866 (options): Fix typo.
47869 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47872 (llrintf): Likewise.
47873 (llrint): Likewise.
47876 (nearbyint): Likewise.
47877 (nearbyintf): Likewise.
47879 2012-05-09 Andreas Jaeger <aj@suse.de>
47880 Pedro Alves <palves@redhat.com>
47882 * nscd/nscd.c (run_mode): Use enum.
47883 (main): Cleanup coding style issue.
47885 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
47886 Andreas Jaeger <aj@suse.de>
47888 * nscd/nscd.c (go_background): Replaced with...
47889 (run_mode): ... this.
47890 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47891 (options): Add -F --foreground.
47892 (main): Implement it.
47893 (parse_opt): Parse it.
47895 2012-05-09 Andreas Jaeger <aj@suse.de>
47898 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47899 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47900 -Wconversion warning.
47901 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47904 2012-05-09 Joseph Myers <joseph@codesourcery.com>
47906 * conform/data/locale.h-data (NULL): Use macro-constant. Require
47908 (LC_ALL): Use macro-int-constant.
47909 (LC_COLLATE): Likewise.
47910 (LC_CTYPE): Likewise.
47911 (LC_MESSAGES): Likewise.
47912 (LC_MONETARY): Likewise.
47913 (LC_NUMERIC): Likewise.
47914 (LC_TIME): Likewise.
47915 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47916 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47917 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47918 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47920 [C99-based standards] (float_t): Expect type.
47921 [C99-based standards] (double_t): Expect type.
47922 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
47924 [C99-based standards] (HUGE_VALL): Likewise.
47925 [C99-based standards] (INFINITY): Likewise.
47926 [C99-based standards] (NAN): Likewise.
47927 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47928 [C99-based standards] (FP_NAN): Likewise.
47929 [C99-based standards] (FP_NORMAL): Likewise.
47930 [C99-based standards] (FP_SUBNORMAL): Likewise.
47931 [C99-based standards] (FP_ZERO): Likewise.
47932 [C99-based standards] (FP_FAST_FMA): Use
47933 optional-macro-int-constant. Specify type. Require == 1.
47934 [C99-based standards] (FP_FAST_FMAF): Likewise.
47935 [C99-based standards] (FP_FAST_FMAL): Likewise.
47936 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47937 [C99-based standards] (FP_ILOGBNAN): Likewise.
47938 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47940 [C99-based standards] (MATH_ERREXCEPT): Likewise.
47941 [C99-based standards] (math_errhandling): Specify type.
47942 [ISO99 || ISO11] (signgam): Do not allow.
47943 [non-C99-based standards] (copysignf): Do not allow.
47944 [non-C99-based standards] (exp2f): Likewise.
47945 [non-C99-based standards] (log2f): Likewise.
47946 [non-C99-based standards] (modff): Allow.
47947 [non-C99-based standards] (erff): Do not allow.
47948 [non-C99-based standards] (erfcf): Likewise.
47949 [non-C99-based standards] (gammaf): Likewise.
47950 [non-C99-based standards] (hypotf): Likewise.
47951 [non-C99-based standards] (j0f): Likewise.
47952 [non-C99-based standards] (j1f): Likewise.
47953 [non-C99-based standards] (jnf): Likewise.
47954 [non-C99-based standards] (lgammaf): Likewise.
47955 [non-C99-based standards] (tgammaf): Likewise.
47956 [non-C99-based standards] (y0f): Likewise.
47957 [non-C99-based standards] (y1f): Likewise.
47958 [non-C99-based standards] (ynf): Likewise.
47959 [non-C99-based standards] (isnanf): Likewise.
47960 [non-C99-based standards] (acoshf): Likewise.
47961 [non-C99-based standards] (asinhf): Likewise.
47962 [non-C99-based standards] (atanhf): Likewise.
47963 [non-C99-based standards] (cbrtf): Likewise.
47964 [non-C99-based standards] (expm1f): Likewise.
47965 [non-C99-based standards] (ilogbf): Likewise.
47966 [non-C99-based standards] (log1pf): Likewise.
47967 [non-C99-based standards] (logbf): Likewise.
47968 [non-C99-based standards] (nextafterf): Likewise.
47969 [non-C99-based standards] (remainderf): Likewise.
47970 [non-C99-based standards] (rintf): Likewise.
47971 [non-C99-based standards] (scalbf): Likewise.
47972 [non-C99-based standards] (copysignl): Likewise.
47973 [non-C99-based standards] (exp2l): Likewise.
47974 [non-C99-based standards] (log2l): Likewise.
47975 [non-C99-based standards] (modfl): Allow.
47976 [non-C99-based standards] (erfl): Do not allow.
47977 [non-C99-based standards] (erfcl): Likewise.
47978 [non-C99-based standards] (gammal): Likewise.
47979 [non-C99-based standards] (hypotl): Likewise.
47980 [non-C99-based standards] (j0l): Likewise.
47981 [non-C99-based standards] (j1l): Likewise.
47982 [non-C99-based standards] (jnl): Likewise.
47983 [non-C99-based standards] (lgammal): Likewise.
47984 [non-C99-based standards] (tgammal): Likewise.
47985 [non-C99-based standards] (y0l): Likewise.
47986 [non-C99-based standards] (y1l): Likewise.
47987 [non-C99-based standards] (ynl): Likewise.
47988 [non-C99-based standards] (isnanl): Likewise.
47989 [non-C99-based standards] (acoshl): Likewise.
47990 [non-C99-based standards] (asinhl): Likewise.
47991 [non-C99-based standards] (atanhl): Likewise.
47992 [non-C99-based standards] (cbrtl): Likewise.
47993 [non-C99-based standards] (expm1l): Likewise.
47994 [non-C99-based standards] (ilogbl): Likewise.
47995 [non-C99-based standards] (log1pl): Likewise.
47996 [non-C99-based standards] (logbl): Likewise.
47997 [non-C99-based standards] (nextafterl): Likewise.
47998 [non-C99-based standards] (remainderl): Likewise.
47999 [non-C99-based standards] (rintl): Likewise.
48000 [non-C99-based standards] (scalbl): Likewise.
48001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48002 [non-C99-based standards] (FP_*): Do not allow.
48003 [C99-based standards] (FP_*): Change to
48004 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48005 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48007 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48008 (SIG_ERR): Likewise.
48009 [X/Open-based standards] (SIG_HOLD): Likewise.
48010 (SIG_IGN): Likewise.
48011 (SIGABRT): Use macro-int-constant. Specify type. Require
48013 (SIGFPE): Likewise.
48014 (SIGILL): Likewise.
48015 (SIGINT): Likewise.
48016 (SIGSEGV): Likewise.
48017 (SIGTER): Likewise.
48018 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48019 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48020 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48021 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48022 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48023 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48024 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48025 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48026 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48027 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48028 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48029 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48030 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48031 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48032 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48033 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48034 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48035 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48036 [X/Open-based standards] (SIGTRAP): Likewise.
48037 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48038 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48039 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48040 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48041 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48044 2012-05-08 Ian Wienand <ianw@vmware.com>
48047 * time/tzset.c (__tzset_parse_tz): Update default rules for
48048 daylight time changes in the Energy Policy Act of 2005.
48050 2012-05-09 Andreas Jaeger <aj@suse.de>
48053 * elf/ldconfig.c (parse_conf): Change string to make clear that
48054 ldconfig only issued a warning if ld.so.conf does not exist.
48056 2012-05-08 David S. Miller <davem@davemloft.net>
48058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48059 movxtod instead of popping the value on the stack.
48061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48063 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48065 * config.h.in: Add HAVE_ARM_PCS_VFP.
48067 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
48070 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48071 checking but the checks are disabled for any reason.
48073 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48075 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48076 and ELF64_R_TYPE with ELFW(R_TYPE).
48078 2012-05-08 Joseph Myers <joseph@codesourcery.com>
48080 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48081 (ulimit): Likewise.
48083 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48084 (settimeofday): Likewise.
48086 2012-05-08 Mike Frysinger <vapier@gentoo.org>
48088 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48089 a struct th_u2 inside the union, and move tu_block/tu_code into
48090 a new th_u3 union of tu_block/tu_code inside of that. Move
48091 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48092 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48093 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48094 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48095 (th_stuff): Change to th_u1.tu_stuff.
48097 (th_msg): Change to th_u1.th_u2.tu_data.
48099 2012-05-07 David S. Miller <davem@davemloft.net>
48101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48104 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48105 (SETUP_PIC_REG): Use it.
48106 (SETUP_PIC_REG_LEAF): Use it.
48108 2012-05-07 Joseph Myers <joseph@codesourcery.com>
48112 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48114 (EXPL_FINITE): Likewise.
48115 (FLDLOG): Likewise.
48116 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48117 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48119 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48121 (EXPL_FINITE): Likewise.
48122 (FLDLOG): Likewise.
48123 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48124 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48126 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48127 test of -max_value argument for long double.
48128 * sysdeps/i386/fpu/libm-test-ulps: Update.
48129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48131 2012-05-06 David S. Miller <davem@davemloft.net>
48133 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48134 quad soft-float symbols whose references which are compiler
48136 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48138 2012-05-06 Joseph Myers <joseph@codesourcery.com>
48142 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48144 (EXPL_FINITE): Likewise.
48145 (FLDLOG): Likewise.
48148 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48149 Adjust comments for base varying.
48150 (__expl_finite): Change alias to EXPL_FINITE.
48151 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48153 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48154 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48155 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48156 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48157 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48159 (EXPL_FINITE): Likewise.
48160 (FLDLOG): Likewise.
48163 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48164 Adjust comments for base varying.
48165 (__expl_finite): Change alias to EXPL_FINITE.
48166 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
48168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48171 * math/libm-test.inc (check_float_internal): Correct ulp
48172 calculation for subnormal expected results.
48174 2012-05-06 Andreas Jaeger <aj@suse.de>
48176 * Makeconfig (+math-flags): New, set to -frounding-math.
48177 (+cflags): Add +math-flags so that all of glibc gets compiled with
48180 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48182 2012-05-05 Joseph Myers <joseph@codesourcery.com>
48184 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48190 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48191 (__ieee754_expl): Allow for and saturate large arguments.
48192 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48193 (u_threshold): Likewise.
48194 (__exp): Call __ieee754_exp before checking for overflow and
48196 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48197 (u_threshold): Likewise.
48198 (__expf): Call __ieee754_expf before checking for overflow and
48200 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48201 (u_threshold): Likewise.
48202 (__expl): Call __ieee754_expl before checking for overflow and
48204 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48205 (__ieee754_expl): Allow for and saturate large arguments.
48206 * math/libm-test.inc (exp_test): Add another test. Do not allow
48207 missing overflow exception on overflow.
48208 (expm1_test): Do not allow missing overflow exception on overflow.
48210 * sysdeps/i386/fpu/e_expl.c: Move to ...
48211 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48212 rather than using inline asm.
48213 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48214 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48215 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48217 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48220 (signal): Likewise.
48224 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48226 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48227 sysdeps/unix/common/syscalls.list.
48228 (fchmod): Likewise.
48229 (fchown): Likewise.
48230 (ftruncate): Likewise.
48231 (getrusage): Likewise.
48232 (gettimeofday): Likewise.
48233 (setpgid): Likewise.
48234 (setregid): Likewise.
48235 (setreuid): Likewise.
48236 (sigaction): Likewise.
48237 (truncate): Likewise.
48238 (vhangup): Likewise.
48239 * sysdeps/unix/common/syscalls.list: Remove file.
48240 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48241 * sysdeps/unix/sysv/linux/Implies: Likewise.
48243 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48245 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48247 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48251 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48254 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48257 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48260 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48263 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48266 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48269 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48273 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48277 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48280 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48284 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48288 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48290 * sysdeps/unix/common/bits/dirent.h: Remove file.
48291 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48293 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48294 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48295 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48296 * sysdeps/unix/bsd/isatty.c: Likewise.
48297 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48298 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48299 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48301 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48304 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48305 long double comparison inaccuracies.
48306 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48309 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48311 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48312 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48314 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48317 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48318 nonzero digits before rounding a hex value.
48319 * stdlib/tst-strtod.c (tests): Add another test.
48321 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48323 * sysdeps/s390/fpu/libm-test-ulps: Update.
48325 2012-05-03 Andreas Jaeger <aj@suse.de>
48327 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48328 does not get optimized out.
48329 (malloc_opt_barrier): New.
48331 2012-05-03 Andreas Jaeger <aj@suse.de>
48332 Roland McGrath <roland@hack.frob.com>
48334 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48335 intermediate file deletion.
48336 (generated): Add .symlist files.
48338 2012-05-03 Joseph Myers <joseph@codesourcery.com>
48341 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48342 Redirect under this condition.
48343 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48344 [__USE_GNU] (__dprintf_chk): Not under this condition.
48345 [__USE_GNU] (__vdprintf_chk): Likewise.
48346 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48347 under this condition.
48348 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48349 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48350 [__USE_XOPEN2K8] (vdprintf): Likewise.
48351 [__USE_GNU] (__dprintf_chk): Not under this condition.
48352 [__USE_GNU] (__vdprintf_chk): Likewise.
48353 [__USE_GNU] (dprintf): Likewise.
48354 [__USE_GNU] (vdprintf): Likewise.
48356 2012-05-03 Roland McGrath <roland@hack.frob.com>
48358 * elf/Makefile (common-generated): Set this instead of generated for
48359 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48360 $(all-built-dso)-derived lists.
48362 2012-05-03 Andreas Jaeger <aj@suse.de>
48364 * sysdeps/i386/fpu/libm-test-ulps: Update.
48367 * FAQ.in: Likewise.
48368 * scripts/gen-FAQ.pl: Likewise.
48369 * manual/install.texi (Installation): Point to online location of
48371 * Makefile (files-for-dist): Remove FAQ.
48374 2012-05-02 Allan McRae <allan@archlinux.org>
48376 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48377 (LDFLAGS-reldepmod5.so): Likewise.
48378 (LDFLAGS-reldep6mod1.so): Likewise.
48379 (LDFLAGS-reldep6mod4.so): Likewise.
48380 (LDFLAGS-reldep8mod3.so): Likewise.
48381 (LDFLAGS-unload4mod1.so): Likewise.
48382 (LDFLAGS-unload4mod2.so): Likewise.
48383 (LDFLAGS-tst-initorder): Likewise.
48384 (LDFLAGS-tst-initordera2.so): Likewise.
48385 (LDFLAGS-tst-initordera3.so): Likewise.
48386 (LDFLAGS-tst-initordera4.so): Likewise.
48387 (LDFLAGS-tst-initorderb2.so): Likewise.
48388 (LDFLAGS-noload): Likewise.
48389 (LDFLAGS-next): Likewise.
48390 (LDFLAGS-order2mod1.so): Likewise.
48391 (LDFLAGS-order2mod2.so): Likewise.
48392 (LDFLAGS-tst-initorder2): Likewise.
48393 (LDFLAGS-tst-initorder2a.so): Likewise.
48394 (LDFLAGS-tst-initorder2b.so): Likewise.
48395 (LDFLAGS-tst-initorder2c.so): Likewise.
48396 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48398 2012-05-02 David S. Miller <davem@davemloft.net>
48400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48402 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48405 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48407 2012-05-02 Andreas Jaeger <aj@suse.de>
48409 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48410 since we manipulate rounding mode.
48411 (CPPFLAGS-test-idouble.c): Likewise.
48412 (CPPFLAGS-test-ifloat.c): Likewise.
48413 (CFLAGS-test-ldouble.c): Likewise.
48414 (CFLAGS-test-double.c): Likewise.
48415 (CFLAGS-test-float.c): Likewise.
48416 (CFLAGS-test-misc.c): Likewise.
48417 (CFLAGS-test-test-fenv.c): Likewise.
48419 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48423 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48424 comparisons to determine direction to adjust input.
48426 2012-05-01 Roland McGrath <roland@hack.frob.com>
48428 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48429 output to the target.
48431 * scripts/localplt.awk: New file.
48432 * elf/Makefile ($(objpfx)check-localplt): Target removed.
48433 (check-localplt-CFLAGS): Variable removed.
48434 ($(all-built-dso:=.jmprel)): New static pattern rule.
48435 (generated): Add those targets.
48436 (localplt-built-dso): New variable.
48437 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48439 * elf/check-localplt.c: File removed.
48441 * scripts/check-execstack.awk: New file.
48442 * elf/Makefile ($(objpfx)check-execstack): Target removed.
48443 (check-execstack-CFLAGS): Variable removed.
48444 ($(objpfx)check-execstack.h): Target removed.
48445 ($(objpfx)execstack-default): New target.
48446 (generated): Add that instead of check-execstack.h.
48447 ($(all-built-dso:=.phdr)): New static pattern rule.
48448 (generated): Add those targets.
48449 * elf/check-execstack.c: File removed.
48451 * scripts/check-textrel.awk: New file.
48452 * elf/Makefile ($(objpfx)check-textrel): Target removed.
48453 (check-textrel-CFLAGS): Variable removed.
48454 (all-built-dso): Use := to define.o
48455 ($(all-built-dso:=.dyn)): New static pattern rule.
48456 (generated): Add those targets.
48457 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48458 * config.make.in (READELF): New substituted variable.
48459 * elf/check-textrel.c: File removed.
48461 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48463 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48465 * conform/data/ctype.h-data [C99-based standards] (isblank):
48467 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48468 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48469 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48470 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48471 Specify type. Require positive value.
48472 (EILSEQ): Likewise.
48473 (ERANGE): Likewise.
48474 [ISO || POSIX] (EILSEQ): Do not expect.
48475 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48476 Specify type. Require positive value.
48477 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48478 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48479 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48480 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48481 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48482 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48483 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48484 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48485 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48486 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48487 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48488 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48489 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48490 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48491 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48492 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48493 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48494 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48495 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48496 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48497 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48498 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48499 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48500 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48501 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48502 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48503 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48504 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48505 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48506 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48507 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48508 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48509 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48510 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48511 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48512 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48513 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48514 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48515 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48516 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48517 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48518 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48519 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48520 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48521 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48522 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48523 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48524 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48525 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48526 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48527 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48528 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48529 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48530 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48531 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48532 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48533 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48534 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48535 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48536 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48537 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48538 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48539 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48540 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48541 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48542 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48543 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48544 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48545 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48546 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48547 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48548 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48549 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48550 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48551 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48552 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48553 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48555 (FLT_ROUNDS): Expect as macro, not constant.
48556 (FLT_MANT_DIG): Use macro-int-constant.
48557 (DBL_MANT_DIG): Likewise.
48558 (LDBL_MANT_DIG): Likewise.
48559 (FLT_DIG): Likewise.
48560 (DBL_DIG): Likewise.
48561 (LDBL_DIG): Likewise.
48562 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
48563 (DBL_MIN_EXP): Likewise.
48564 (LDBL_MIN_EXP): Likewise.
48565 (FLT_MAX_EXP): Use macro-int-constant.
48566 (DBL_MAX_EXP): Likewise.
48567 (LDBL_MAX_EXP): Likewise.
48568 (FLT_MAX_10_EXP): Likewise.
48569 (DBL_MAX_10_EXP): Likewise.
48570 (LDBL_MAX_10_EXP): Likewise.
48571 (FLT_MAX): Use macro-constant.
48572 (DBL_MAX): Likewise.
48573 (LDBL_MAX): Likewise.
48574 (FLT_EPSILON): Use macro-constant. Give upper bound.
48575 (DBL_EPSILON): Likewise.
48576 (LDBL_EPSILON): Likewise.
48577 (FLT_MIN): Likewise.
48578 (DBL_MIN): Likewise.
48579 (LDBL_MIN): Likewise.
48580 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48581 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48582 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48583 [ISO11] (FLT_HAS_SUBNORM): Likewise.
48584 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48585 [ISO11] (DBL_DECIMAL_DIG): Likewise.
48586 [ISO11] (FLT_DECIMAL_DIG): Likewise.
48587 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48588 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48589 [ISO11] (FLT_TRUE_MIN): Likewise.
48590 [ISO11] (LDBL_TRUE_MIN): Likewise.
48591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48592 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48593 (SCHAR_MIN): Use macro-int-constant. Specify type.
48594 (SCHAR_MAX): Likewise.
48595 (UCHAR_MAX): Likewise.
48596 (CHAR_MIN): Likewise.
48597 (CHAR_MAX): Likewise.
48598 (MB_LEN_MAX): Use macro-int-constant.
48599 (SHRT_MIN): Use macro-int-constant. Specify type.
48600 (SHRT_MAX): Likewise.
48601 (USHRT_MAX): Likewise.
48602 (INT_MAX): Likewise.
48603 (INT_MIN): Use macro-int-constant. Specify type. Make upper
48605 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
48607 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48609 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
48610 bound negative. Suffix upper bound with "L".
48611 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48613 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48615 [C99-based standards] (LLONG_MAX): Likewise.
48616 [C99-based standards] (ULLONG_MAX): Likewise.
48617 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
48619 [ISO11] (max_align_t): Require type.
48620 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48622 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48623 from $CFLAGS, without defining away __attribute__ calls.
48624 (checknamespace): Use $CFLAGS_namespace.
48626 * conform/conformtest.pl (@keywords): Only include C99 keywords
48627 for standards based on C99 or C11.
48629 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48631 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48634 * conform/conformtest.pl: Handle "macro-int-constant" and test for
48635 usability of symbols in #if.
48637 * conform/conformtest.pl: If macro or constant types start
48638 "promoted:", expect the symbol to be of the following type
48639 promoted by the integer promotions.
48641 * conform/conformtest.pl: Parse all "constant" and "macro" lines
48642 in one place. Also handle "macro-constant".
48644 * conform/conformtest.pl: Only accept expected macro values with
48645 "==". Parse all "macro" lines in one place.
48646 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48648 * conform/conformtest.pl: Handle braced types on "constant" lines
48649 instead of handling "typed-constant".
48650 * conform/data/signal.h-data: Use "constant" instead of
48653 * conform/conformtest.pl: Handle "optional-" at start of lines in
48654 one place rather than duplicating several cases. Handle each
48655 format of "macro" line with initial "optional-".
48657 * conform/conformtest.pl: Only accept expected constant or
48658 optional-constant values with "==". Parse all "constant" lines in
48659 one place. Parse all "optional-constant" lines in one place.
48660 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48661 * conform/data/fmtmsg.h-data: Likewise.
48662 * conform/data/netinet/in.h-data: Likewise.
48663 * conform/data/tar.h-data: Likewise.
48664 * conform/data/limits.h-data: Use "==" form on "constant" and
48665 "optional-constant" lines.
48667 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48668 Use -std=c99 for XOPEN2K.
48669 (@knownproblems): Remove.
48670 (newtoken): Don't check %isknown.
48672 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48673 Do not expect macro.
48674 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48675 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48676 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48677 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48678 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48679 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48680 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48681 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48682 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48683 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48684 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48685 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48686 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48687 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48688 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48689 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48690 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48691 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48692 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48693 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48694 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48695 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48696 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48697 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48698 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48699 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48700 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48701 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48702 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48703 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48704 [XPG3] (acosh): Likewise.
48705 [XPG3] (asinh): Likewise.
48706 [XPG3] (atanh): Likewise.
48707 [XPG3] (cbrt): Likewise.
48708 [XPG3] (expm1): Likewise.
48709 [XPG3] (ilogb): Likewise.
48710 [XPG3] (log1p): Likewise.
48711 [XPG3] (logb): Likewise.
48712 [XPG3] (nextafter): Likewise.
48713 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48714 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48715 [XPG3] (remainder): Likewise.
48716 [XPG3] (rint): Likewise.
48717 [XPG3 || XPG4 || UNIX98] (round): Likewise.
48718 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48719 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48720 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48721 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48722 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48723 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48724 [UNIX98 || XOPEN2K] (scalb): Expect.
48725 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48726 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48727 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48728 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48729 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48730 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48731 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48732 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48733 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48734 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48735 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48736 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48737 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48738 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48739 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48740 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48741 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48742 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48743 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48744 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48745 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48746 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48747 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48748 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48749 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48750 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48751 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48752 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48753 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48754 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48755 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48756 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48757 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48758 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48759 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48760 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48761 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48762 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48763 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48764 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48765 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48766 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48767 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48768 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48769 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48770 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48771 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48772 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48773 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48774 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48775 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48776 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48777 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48778 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48779 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48780 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48781 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48782 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48783 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48784 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48785 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48786 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48787 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48788 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48789 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48790 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48791 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48792 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48793 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48794 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48795 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48796 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48797 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48798 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48799 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48800 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48801 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48802 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48803 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48804 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48805 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48806 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48807 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48808 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48809 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48810 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48811 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48812 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48813 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48814 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48815 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48816 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48817 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48818 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48819 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48820 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48821 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48822 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48823 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48824 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48825 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48826 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48827 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48828 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48829 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48830 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48831 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48832 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48833 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48834 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48835 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48836 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48837 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48838 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48839 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48840 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48841 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48842 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48843 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48844 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48845 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48846 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48847 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48848 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48849 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48850 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48851 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48852 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48853 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48854 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48855 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48856 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48857 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48858 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48859 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48860 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48861 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48863 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48864 _XOPEN_SOURCE_EXTENDED for XPG4.
48866 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48868 * Makeconfig (localtime): Remove variable.
48869 (inst_localtime-file): Likewise.
48871 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48892 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48896 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48897 comparisons to determine direction to adjust input.
48898 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48899 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48900 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48902 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48904 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48906 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48907 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48909 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48911 * math/libm-test.inc (nexttoward_test): Add more tests.
48913 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48916 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48917 in version GLIBC_2.1, not GLIBC_2.0.
48918 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48921 2012-04-30 Joseph Myers <joseph@codesourcery.com>
48924 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48926 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48927 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48928 * math/libm-test.inc (acos_test): Add more tests.
48929 (asin_test): Likewise.
48930 * sysdeps/i386/fpu/libm-test-ulps: Update.
48931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48934 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48936 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48937 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48938 * math/libm-test.inc (acos_test_tonearest): New function.
48939 (acos_test_towardzero): Likewise.
48940 (acos_test_downward): Likewise.
48941 (acos_test_upward): Likewise.
48942 (asin_test_tonearest): Likewise.
48943 (asin_test_towardzero): Likewise.
48944 (asin_test_downward): Likewise.
48945 (asin_test_upward): Likewise.
48946 (main): Call the new functions.
48947 * sysdeps/i386/fpu/libm-test-ulps: Update.
48948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48952 * math/e_exp10.c: Include <float.h>.
48953 (__ieee754_exp10): Handle underflow here rather than multiplying
48954 large negative argument by M_LN10.
48955 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48957 * math/e_exp10l.c: Include <float.h>.
48958 (__ieee754_exp10l): Handle underflow here rather than multiplying
48959 large negative argument by M_LN10l.
48960 * math/libm-test.inc (exp10_test): Add another test. Do not allow
48961 spurious overflow exception on underflow.
48963 2012-04-29 Marek Polacek <polacek@redhat.com>
48965 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48966 (__fortify_function): New macro.
48967 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48968 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48969 __extern_always_inline.
48970 * libio/bits/stdio2.h: Likewise.
48971 * libio/bits/stdio.h: Likewise.
48972 * string/string.h: Likewise.
48973 * string/bits/string3.h: Likewise.
48974 * include/stdio.h: Likewise.
48975 * stdlib/bits/stdlib.h: Likewise.
48976 * stdlib/stdlib.h: Likewise.
48977 * rt/bits/mqueue2.h: Likewise.
48978 * rt/mqueue.h: Likewise.
48979 * posix/bits/unistd.h: Likewise.
48980 * posix/unistd.h: Likewise.
48981 * io/bits/poll2.h: Likewise.
48982 * io/bits/fcntl2.h: Likewise.
48983 * io/fcntl.h: Likewise.
48984 * io/sys/poll.h: Likewise.
48985 * misc/bits/syslog.h: Likewise.
48986 * misc/bits/syslog-ldbl.h: Likewise.
48987 * misc/sys/syslog.h: Likewise.
48988 * socket/bits/socket2.h: Likewise.
48989 * socket/sys/socket.h: Likewise.
48990 * debug/tst-chk1.c: Likewise.
48991 * wcsmbs/bits/wchar2.h: Likewise.
48992 * wcsmbs/bits/wchar-ldbl.h: Likewise.
48993 * wcsmbs/wchar.h: Likewise.
48995 2012-04-29 Andreas Jaeger <aj@suse.de>
48997 * Makerules (tests): Remove enable-check-abi protection.
48998 (check-abi-warn): Remove.
48999 (check-abi-%): Remove check-abi-warn usage.
49001 * configure.in: Remove check-abi configure option.
49002 * configure: Regenerated.
49003 * config.make.in (enable-check-abi): Remove.
49005 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49008 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49009 double functions to double *_finite functions.
49012 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49013 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49015 * stdio-common/Makefile (tests): Add tst-sprintf3.
49016 * stdio-common/tst-sprintf3.c: New file.
49018 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49019 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49021 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49023 * conform/conformtest.pl: Remove duplicate typed-constant
49026 2012-04-28 David S. Miller <davem@davemloft.net>
49028 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49029 (check-abi-%): Remove AWK script prerequisite and explicit
49031 (check-abi): Rewrite to just diff the symlist with the abilist.
49032 (config-tls, config-abi-config): Delete, no longer used.
49033 (update-abi-%): Remove AWK script and explicit abilist directory.
49034 (update-abi): Rewrite to simply compare and conditionally copy the
49035 symlist and the sysdep abilist file. Remove update-abi-config
49037 * abilist/ld.abilist: Remove.
49038 * abilist/libBrokenLocale.abilist: Remove.
49039 * abilist/libanl.abilist: Remove.
49040 * abilist/libcrypt.abilist: Remove.
49041 * abilist/libdl.abilist: Remove.
49042 * abilist/librt.abilist: Remove.
49043 * abilist/libthread_db.abilist: Remove.
49044 * abilist/libutil.abilist: Remove.
49045 * scripts/extract-abilist.awk: Remove.
49046 * scripts/merge-abilist.awk: Remove.
49047 * sysdeps/generic/libcidn.abilist: New file.
49048 * sysdeps/generic/libnss_compat.abilist: New file.
49049 * sysdeps/generic/libnss_db.abilist: New file.
49050 * sysdeps/generic/libnss_dns.abilist: New file.
49051 * sysdeps/generic/libnss_files.abilist: New file.
49052 * sysdeps/generic/libnss_hesiod.abilist: New file.
49053 * sysdeps/generic/libnss_nis.abilist: New file.
49054 * sysdeps/generic/libnss_nisplus.abilist: New file.
49055 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49056 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49057 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49059 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49060 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49061 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49062 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49063 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49064 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49065 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49066 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49067 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49069 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49070 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49071 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49072 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49074 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49075 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49076 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49077 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49078 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49079 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49081 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49082 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49083 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49085 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49094 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49100 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49102 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49104 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49106 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49108 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49110 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49188 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49189 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49190 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49192 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49193 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49194 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49195 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49196 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49197 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49198 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49199 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49200 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49201 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49253 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49255 * conform/conformtest.pl: Fix typo in handling typed-constant from
49258 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49260 * README: Cut down references to pre-2.6 Linux kernels and
49261 Linuxthreads. Update lists of configurations in libc and ports
49262 and sort alphabetically. Say "or newer" with Linux kernel version
49265 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49267 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49270 * math/libm-test.inc (logb_test_downward): New test to expose
49271 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49274 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49277 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49279 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49280 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49282 2012-04-26 Joseph Myers <joseph@codesourcery.com>
49284 * sysdeps/unix/i386/brk.S: Remove file.
49285 * sysdeps/unix/i386/dl-brk.S: Likewise.
49286 * sysdeps/unix/i386/pipe.S: Likewise.
49287 * sysdeps/unix/i386/sigreturn.S: Likewise.
49288 * sysdeps/unix/i386/syscall.S: Likewise.
49289 * sysdeps/unix/i386/vfork.S: Likewise.
49290 * sysdeps/unix/i386/wait.S: Likewise.
49292 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49293 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49295 * configure.in (arm*-none*): Do not allow without
49296 --enable-hacker-mode.
49297 (netbsd*): Remove case setting base_os.
49298 (386bsd*): Likewise.
49299 (freebsd*): Likewise.
49302 (sunos*): Likewise.
49303 (ultrix*): Likewise.
49304 (newsos*): Likewise.
49305 (dynix*): Likewise.
49311 (minix*): Likewise.
49312 (irix4*): Likewise.
49313 (irix6*): Likewise.
49314 (solaris[2-9]*): Likewise.
49316 * configure: Regenerated.
49318 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49321 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49322 overflow or cancellation in calculating denominator.
49323 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49324 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49325 down expression to avoid unexpected rounding in newer GCCs.
49326 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49328 2012-04-26 David S. Miller <davem@davemloft.net>
49330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49331 long-double compat symbols.
49332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49346 2012-04-25 David S. Miller <davem@davemloft.net>
49348 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49349 HWCAP_* values only after the memory barriers have been defined.
49350 (atomic_full_barrier): Define.
49351 (atomic_read_barrier): Define.
49352 (atomic_write_barrier): Define.
49354 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49356 * shlib-versions: Add libgcc_s version information.
49357 * sysdeps/generic/libgcc_s.h: Remove.
49358 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49360 * sysdeps/gnu/unwind-resume.c: Likewise.
49361 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49363 2012-04-25 David S. Miller <davem@davemloft.net>
49365 * sysdeps/unix/sparc/brk.S: Delete.
49366 * sysdeps/unix/sparc/dl-brk.S: Delete.
49367 * sysdeps/unix/sparc/pipe.S: Delete.
49368 * sysdeps/unix/sparc/sysdep.S: Delete.
49369 * sysdeps/unix/sparc/sysdep.h: Delete.
49370 * sysdeps/unix/sparc/vfork.S: Delete.
49371 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49372 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49373 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49374 (ret_ERRVAL, r0, r1, MOVE): Define.
49375 (JUMPTARGET): Remove.
49376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49377 sysdeps/unix/sparc/sysdep.h
49378 (ENTRY, END): Remove.
49379 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49381 2012-04-25 Joseph Myers <joseph@codesourcery.com>
49383 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49384 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49387 * timezone/README: Update upstream location and email address for
49389 * timezone/zdump.c: Update from tzcode 2012b.
49390 * timezone/zic.c: Likewise.
49392 * configure.in (libc_cv_as_needed): Remove test.
49393 * configure: Regenerated.
49394 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49395 conditional definition.
49396 [$(have-as-needed) != yes] (no-as-needed): Likewise.
49397 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49398 * config.make.in (have-as-needed): Remove variable.
49400 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49401 Paul Pluzhnikov <ppluzhnikov@google.com>
49403 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49406 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
49408 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49409 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49410 * sysdeps/sh/strlen.S: Likewise.
49412 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49414 * sysdeps/unix/fork.S: Remove file.
49415 * sysdeps/unix/i386/fork.S: Likewise.
49416 * sysdeps/unix/sparc/fork.S: Likewise.
49418 * sysdeps/unix/system.c: Remove file.
49419 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49421 * sysdeps/unix/getegid.S: Remove file.
49422 * sysdeps/unix/geteuid.S: Likewise.
49424 2012-04-24 Roland McGrath <roland@hack.frob.com>
49426 * scripts/check-localplt.awk: New file.
49427 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49429 * scripts/data/localplt-generic.data: Add a comment.
49431 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49432 NODE when __dir_mkfile failed.
49433 * sysdeps/mach/hurd/symlinkat.c: Likewise.
49434 Reported by Ludovic Courtès <ludo@gnu.org>.
49436 2012-04-24 Andreas Jaeger <aj@suse.de>
49438 * Makerules (common-clean): Also remove gen-as-const-headers
49441 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49443 * Makerules (native-compile): Do not change working directory for
49444 build. Use $(OUTPUT_OPTION) in command.
49445 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49447 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49450 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49451 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49452 * math/libm-test.inc (floor_test): Add more tests.
49453 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49455 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49457 * sysdeps/unix/getdents.c: Remove file.
49458 * sysdeps/unix/sysv/getdents.c: Likewise.
49459 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49461 * sysdeps/unix/syscalls.list (madvise): Add syscall from
49462 sysdeps/unix/mman/syscalls.list.
49464 (mprotect): Likewise.
49466 (munmap): Likewise.
49467 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49468 * sysdeps/unix/mman/syscalls.list: Remove.
49469 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49471 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49472 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49473 * configure: Regenerated.
49474 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49475 $(libgcc_s_suffix).
49476 * config.make.in (libgcc_s_suffix): Remove variable.
49478 2012-04-23 Joseph Myers <joseph@codesourcery.com>
49480 * sysdeps/unix/sysv/gethostname.c: Move to ...
49481 * sysdeps/posix/gethostname.c: ... here.
49483 * sysdeps/unix/execve.S: Remove file.
49485 * sysdeps/unix/_exit.S: Remove file.
49487 2012-04-23 Andreas Jaeger <aj@suse.de>
49490 * manual/Makefile: Remove make dist support, there's no
49491 need for a stand-alone documentation tar ball.
49492 (TEXI2DVI): Define always, it's not in Makeconfig.
49495 (edition): Removed.
49496 (glibc-doc-$(edition).tar): Removed
49500 (ETAGS): Remove, it's in Makeconfig.
49501 (move-if-change): Remove, it's in Makeconfig.
49503 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
49506 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49507 (strtod, strtof, strtold, strtol, strtoul, strtoq)
49508 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49509 (strtod_l, strtof_l, strtold_l): Remove __wur.
49510 It is not necessarily an error to ignore strtol's return value.
49511 One can reliably look at the stored endptr to decide whether
49512 the number had valid syntax.
49514 2012-04-21 Andreas Jaeger <aj@suse.de>
49517 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49519 2012-04-21 Joseph Myers <joseph@codesourcery.com>
49521 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49522 * sysdeps/unix/sysv/Versions: Remove file.
49524 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
49527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49529 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
49532 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49533 version from __vm86.
49535 2012-04-20 Joseph Myers <joseph@codesourcery.com>
49537 * sysdeps/unix/common/lxstat.c: Remove file.
49538 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49540 * sysdeps/unix/sysv/Makefile: Remove file.
49542 * sysdeps/unix/sysv/direct.h: Remove file.
49544 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49545 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49546 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49547 * sysdeps/unix/sysv/bits/signum.h: Likewise.
49548 * sysdeps/unix/sysv/bits/stat.h: Likewise.
49549 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49550 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49552 * sysdeps/unix/sysv/setrlimit.c: Remove file.
49554 * sysdeps/unix/xmknod.c: Remove file.
49555 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49557 * sysdeps/unix/sysv/settimeofday.c: Remove file.
49559 * sysdeps/unix/sysv/i386/time.S: Remove file.
49561 * sysdeps/unix/fxstat.c: Remove file.
49562 * sysdeps/unix/xstat.c: Likewise.
49563 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49565 * sysdeps/unix/sysv/sigaction.c: Remove file.
49567 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49568 (sysdep_headers): Remove variable.
49569 [termio.h not in sysdep_headers] (generated): Likewise.
49570 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49571 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49572 * sysdeps/unix/sysv/tcdrain.c: Likewise.
49573 * sysdeps/unix/sysv/tcflow.c: Likewise.
49574 * sysdeps/unix/sysv/tcflush.c: Likewise.
49575 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49576 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49577 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49578 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49579 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49581 * sysdeps/unix/siglist.c: Remove file.
49583 * sysdeps/unix/getppid.S: Remove file.
49585 * sysdeps/unix/mkdir.c: Remove file.
49586 * sysdeps/unix/rmdir.c: Likewise.
49588 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
49590 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49592 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49593 errlist-compat value.
49595 2012-04-18 David S. Miller <davem@davemloft.net>
49597 * sysdeps/generic/memcopy.h (reg_char): Delete.
49598 * debug/strcat_chk.c: Use char, not reg_char.
49599 * debug/strcpy_chk.c: Likewise.
49600 * debug/strncat_chk.c: Likewise.
49601 * debug/strncpy_chk.c: Likewise.
49602 * string/memchr.c: Likewise.
49603 * string/memrchr.c: Likewise.
49604 * string/rawmemchr.c: Likewise.
49605 * string/strcat.c: Likewise.
49606 * string/strchr.c: Likewise.
49607 * string/strchrnul.c: Likewise.
49608 * string/strcmp.c: Likewise.
49609 * string/strcpy.c: Likewise.
49610 * string/strncat.c: Likewise.
49611 * string/strncmp.c: Likewise.
49612 * string/strncpy.c: Likewise.
49614 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49616 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49617 __builtin_memcopy is called when src and dest ranges are known to not
49620 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49622 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49623 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49624 fwd_align_merge macro call.
49625 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49626 bwd_align_merge macro call.
49627 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49629 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49631 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49632 bwd_align_merge macros.
49633 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49634 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49635 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49637 2012-04-18 David S. Miller <davem@davemloft.net>
49639 * sysdeps/sparc/sparc64/memcopy.h: Delete.
49641 2012-04-18 Andreas Jaeger <aj@suse.de>
49644 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49645 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49646 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49648 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49649 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49650 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49652 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49653 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49654 Adjust for changed ldbl-128 files.
49656 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49657 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49658 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49660 2012-04-17 David S. Miller <davem@davemloft.net>
49662 * sysdeps/sparc/sparc32/memcopy.h: Delete.
49664 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
49666 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49667 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49668 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49669 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49670 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49671 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49673 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49676 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49677 * math/libm-test.inc: Add ilogb errno and exception tests.
49678 * math/w_ilogb.c: New file: ilogb wrapper.
49679 * math/w_ilogbf.c: New file: ilogbf wrapper.
49680 * math/w_ilogbl.c: New file: ilogbl wrapper.
49681 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49682 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49683 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49684 exception being thrown with 0.0 as argument.
49685 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49686 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49687 exception being thrown with 0.0 as argument.
49688 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49689 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49690 exception being thrown with 0.0 as argument.
49691 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49692 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49693 exception being thrown with 0.0 as argument.
49694 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49695 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49696 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49697 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49698 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49699 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49700 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49701 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49702 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49704 2012-04-17 Petr Baudis <pasky@ucw.cz>
49706 * include/sys/uio.h: Change __vector to __iovec to avoid clash
49709 2012-04-16 Marek Polacek <polacek@redhat.com>
49711 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49713 2012-04-16 Marek Polacek <polacek@redhat.com>
49715 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49716 operands of fdivp instruction.
49718 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49720 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49721 * elf/tst-auditmod3b.c: Likewise.
49722 * elf/tst-auditmod4b.c: Likewise.
49723 * elf/tst-auditmod5b.c: Likewise.
49724 * elf/tst-auditmod6b.c: Likewise.
49725 * elf/tst-auditmod6c.c: Likewise.
49726 * elf/tst-auditmod7b.c: Likewise.
49727 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49728 * sysdeps/x86_64/preconfigure.in: Likewise.
49729 * sysdeps/x86_64/preconfigure: Regenerated.
49731 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49733 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49736 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
49738 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49739 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49741 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
49744 * locale/iso-639.def: Fix gl language name. Spotted by
49747 2012-04-12 Roland McGrath <roland@hack.frob.com>
49750 * libio/libio.h (__io_write_fn): Update comment.
49752 2012-04-12 Petr Baudis <pasky@ucw.cz>
49755 * stdio.texi (Hook Functions): The user provided writer function
49756 is not allowed to return -1.
49758 2012-04-11 David S. Miller <davem@davemloft.net>
49760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49762 2012-04-11 Mike Frysinger <vapier@gentoo.org>
49764 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49765 Add a leading slash to rtkaio.
49767 2012-04-11 Jim Meyering <meyering@redhat.com>
49770 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49771 It is not necessarily an error to ignore fwrite's return
49772 value. One can reliably use ferror to test for errors after
49775 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49777 * bits/types.h (__snseconds_t): New type.
49778 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49780 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49782 (__SNSECONDS_T_TYPE): Likewise.
49783 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49784 (__SNSECONDS_T_TYPE): Likewise.
49785 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49786 (__SNSECONDS_T_TYPE): Likewise.
49788 2012-04-10 Andreas Jaeger <aj@suse.de>
49791 * manual/time.texi (Processor Time): Return type of times is
49792 elapsed real time since an arbitrary point in the past.
49793 (CPU Time): Move CLK_TCK from here...
49794 (Processor Time): ...to here. Correct description.
49795 * manual/conf.texi (Constants for Sysconf): Correct description of
49798 2012-04-10 David S. Miller <davem@davemloft.net>
49801 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49802 where the is a gap between DT_REL(A) and DT_JMPREL.
49804 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49806 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49807 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49808 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49810 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49812 * elf/dl-support.c (_dl_inhibit_cache): New variable.
49813 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49814 (dl_main): Handle --inhibit-cache.
49815 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49817 * elf/dl-load.c (_dl_map_object): Use it.
49818 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49820 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49823 * sysdeps/i386/fpu/e_powl.S (p78): New object.
49824 (__ieee754_powl): Saturate large exponents rather than testing for
49825 overflow of y*log2(x).
49826 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49827 * math/libm-test.inc (pow_test): Do not permit spurious overflow
49831 * math/s_ctan.c: Include <float.h>.
49832 (__ctan): Avoid internal overflow or cancellation in calculating
49834 * math/s_ctanf.c: Likewise.
49835 * math/s_ctanl.c: Likewise.
49836 * math/s_ctanh.c: Likewise.
49837 * math/s_ctanhf.c: Likewise.
49838 * math/s_ctanhl.c: Likewise.
49839 * math/libm-test.inc (ctan_test): Add more tests.
49840 (ctanh_test): Likewise.
49841 * sysdeps/i386/fpu/libm-test-ulps: Update.
49842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49844 2012-04-09 Andreas Jaeger <aj@suse.de>
49847 * manual/filesys.texi (Directory Entries): Mention that d_namlen
49848 is an optional BSD extension.
49851 * manual/stdio.texi (Opening Streams): Document additional fopen
49854 2012-04-09 Roland McGrath <roland@hack.frob.com>
49856 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49857 %eax without telling the compiler.
49859 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
49862 * manual/install.texi: Use sourceware.org.
49864 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49867 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49868 (__ieee754_pow): Generate overflow and underflow using huge*huge
49869 and tiny*tiny rather than just returning constant infinity or zero
49870 for large exponents.
49871 * math/libm-test.inc (pow_test): Require overflow exceptions for
49872 applicable cases of large exponents.
49875 * sysdeps/i386/fpu/e_pow.S (p10): New object.
49876 (__ieee754_pow): Use iterative multiplication algorithm only for
49877 integer exponents with absolute value below 1024. Check for odd
49878 integer exponents when using algorithm for real exponents.
49879 * math/libm-test.inc (pow_test): Add more tests.
49880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49882 2012-04-08 Joseph Myers <joseph@codesourcery.com>
49885 * math/libm-test.inc (exp_test): Do not allow overflow exception
49888 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
49891 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49892 instead of __kernel_standard_f.
49894 2012-04-08 Mike Frysinger <vapier@gentoo.org>
49896 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49897 * sysdeps/x86_64/memset_chk.S: Likewise.
49899 2012-04-08 Andreas Jaeger <aj@suse.de>
49902 * manual/startup.texi (Environment Access): Describe return value
49903 for putenv and setenv.
49906 * manual/filesys.texi (Directory Entries): Add description for
49910 * manual/filesys.texi (Directory Entries): Clarify that it's file
49911 system not operating system in the description of DT_UNKNOWN.
49914 * manual/syslog.texi (closelog): Fix reference, it's openlog.
49916 2012-04-08 Stephen Compall <s11@member.fsf.org>
49919 * manual/llio.texi (Opening and Closing Files): Add cross
49920 reference to explain mode argument.
49922 2012-04-07 Mike Frysinger <vapier@gentoo.org>
49924 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49925 * sysdeps/x86_64/memset_chk.S: Likewise.
49927 2012-04-07 David S. Miller <davem@davemloft.net>
49929 * elf/elf.h (R_SPARC_WDISP10): Define.
49930 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49932 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49933 R_SPARC_SIZE64 and R_SPARC_H34.
49935 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
49937 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49938 conditions and remove no longer applicable assertion.
49940 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49942 * bits/byteswap.h: Include <features.h>.
49943 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49944 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49946 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49948 * bits/byteswap.h (__bswap_16): Removed.
49949 Include <bits/byteswap-16.h> to get __bswap_16.
49950 * sysdeps/i386/bits/byteswap.h: Likewise.
49951 * sysdeps/s390/bits/byteswap.h: Likewise.
49952 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49953 * bits/byteswap-16.h: New file.
49954 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49955 * sysdeps/s390/bits/byteswap-16.h: Likewise.
49956 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49957 * string/Makefile (headers): Add bits/byteswap-16.h.
49959 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49962 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49964 * nss/Makefile (tests-static, tests): Add tst-nss-static.
49965 * nss/tst-nss-static.c: New.
49967 2012-04-06 Robert Millan <rmh@gnu.org>
49970 * manual/llio.texi (File Position Primitive): lseek
49971 refers to WHENCE when it really means OFFSET.
49973 2012-04-06 Andreas Jaeger <aj@suse.de>
49975 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49976 strncmp declarations.
49978 * abilist/libc.abilist: Add __poll and __ppoll.
49980 2012-04-05 David S. Miller <davem@davemloft.net>
49982 * scripts/check-local-headers.sh: Accept a host triplet in the
49983 path matched by the exclude regexp.
49985 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49987 * sysdeps/powerpc/powerpc32/dl-machine.h
49988 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49989 * sysdeps/s390/s390-32/dl-machine.h
49990 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49991 * sysdeps/sparc/sparc32/dl-machine.h
49992 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49993 * sysdeps/sparc/sparc64/dl-machine.h
49994 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49996 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49998 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49999 undefined symbol errors.
50001 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50004 2012-04-05 Michael Matz <matz@suse.de>
50007 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50009 2012-04-05 Andreas Jaeger <aj@suse.de>
50012 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50015 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50017 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50018 which ROUND is no valid rounding mode.
50020 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50022 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50024 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50026 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50028 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50029 an exception using FPU order intentionally.
50031 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50033 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50034 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50035 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50036 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50038 2012-04-05 Simon Josefsson <simon@josefsson.org>
50041 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50042 EINVAL when BUFLEN is too smal.
50044 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50047 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50048 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50050 2012-04-03 Andreas Jaeger <aj@suse.de>
50053 * manual/setjmp.texi (System V contexts): Fix sentence.
50056 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50057 New macro for this case.
50058 [!__GNUC__] (__bswap_64): New inline function for this case.
50059 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50060 * bits/byteswap.h: Likewise.
50061 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50062 ull, guard with __GLIBC_HAVE_LONG_LONG.
50064 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50065 __GLIBC_HAVE_LONG_LONG.
50067 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50068 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50070 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50073 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50074 inptr and inend, rather than using last_ch.
50076 2012-04-02 David S. Miller <davem@davemloft.net>
50078 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50079 * stdio-common/printf-parse.h (read_int): Change return type to
50080 'int', return -1 on INT_MAX overflow.
50081 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50082 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50083 overflows INT_MAX. Check for overflow of in-format-string precision
50084 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50085 SIZE_MAX not INT_MAX for integer overflow test.
50086 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50087 skip the construct in the format string but do not record anything.
50088 * stdio-common/bug22.c: Adjust to test both width/prevision
50089 INT_MAX overflow as well as total length INT_MAX overflow. Check
50090 explicitly for proper errno values.
50092 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50094 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50096 * string/test-strcmp.c [! WIDE]: Likewise.
50097 * time/tst-mktime2.c: Likewise for INT_MAX.
50098 * string/test-string.h: #include <sys/param.h> for MIN.
50100 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50101 * sysdeps/i386/init-first.c (init): Likewise.
50102 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50103 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50104 * sysdeps/sh/init-first.c (init): Likewise.
50106 2012-04-01 Ulrich Drepper <drepper@gmail.com>
50108 * po/ru.po: Update from translation team.
50109 * po/vi.po: Likewise.
50111 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50113 * resolv/nss_dns/dns-host.c: Merge copyright years.
50115 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50117 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50118 Optimize memcpy with prefetch if
50119 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50120 src, dst pointers have unequal 16 byte alignments.
50122 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50125 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50126 from a CNAME entry and return the minimum ttl for the query.
50127 (gaih_getanswer_slice): Likewise.
50129 2012-03-30 Jeff Law <law@redhat.com>
50131 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50133 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50134 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50136 * resolv/nss_dns/dns-host.c: Update copyright year.
50138 2012-03-30 Ulrich Drepper <drepper@gmail.com>
50140 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50141 requests to save a system call. Fix check that all bytes are sent.
50143 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50144 comments for sendmmsg.
50146 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50149 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50150 with only 1 character between 0x0041 and 0x01b0.
50151 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50152 * wcsmbs/tst-mbsnrtowcs.c: New file.
50154 2012-03-29 David S. Miller <davem@davemloft.net>
50156 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50157 small copies by hand.
50159 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50162 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50163 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50166 2012-03-28 David S. Miller <davem@davemloft.net>
50168 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50169 that branches into memcpy.
50170 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50171 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50172 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50173 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50174 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50176 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50177 implementation too.
50178 * sysdeps/sparc/mempcpy.S: New file.
50180 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50181 the IFUNC routine in the libc case.
50182 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50184 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50185 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50186 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50187 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50188 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50189 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50190 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50191 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50193 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50194 loop to 256 bytes instead of 64 bytes and fix test signedness.
50196 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50197 * sysdeps/sparc/sparc32/Makefile: rather than here...
50198 * sysdeps/sparc/sparc64/Makefile: and here.
50200 2012-03-28 Ulrich Drepper <drepper@gmail.com>
50202 * malloc/mallocbug.c: Avoid warnings about unused variables.
50204 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50207 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50208 in the right place. Discard and retry query if response is
50209 larger than input buffer size.
50211 2012-03-28 Joseph Myers <joseph@codesourcery.com>
50216 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50217 x for large integer exponent.
50218 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50219 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50220 sign of result as needed afterwards.
50221 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50222 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50223 result for underflowing pow the same as for overflow.
50224 (__kernel_standard_l): Handle powl overflow and underflow here
50225 rather than calling __kernel_standard.
50226 * math/libm-test.inc (pow_test): Add more tests.
50241 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50242 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50243 (__kernel_standard_l): New function.
50244 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50246 * math/w_acosl.c (__acosl): Likewise.
50247 * math/w_asinl.c (__asinl): Likewise.
50248 * math/w_atan2l.c (__atan2l): Likewise.
50249 * math/w_atanhl.c (__atanhl): Likewise.
50250 * math/w_coshl.c (__coshl): Likewise.
50251 * math/w_exp10l.c (__exp10l): Likewise.
50252 * math/w_exp2l.c (__exp2l): Likewise.
50253 * math/w_fmodl.c (__fmodl): Likewise.
50254 * math/w_hypotl.c (__hypotl): Likewise.
50255 * math/w_j0l.c (__j0l, __y0l): Likewise.
50256 * math/w_j1l.c (__j1l, __y1l): Likewise.
50257 * math/w_jnl.c (__jnl, __ynl): Likewise.
50258 * math/w_lgammal.c (__lgammal): Likewise.
50259 * math/w_log10l.c (__log10l): Likewise.
50260 * math/w_log2l.c (__log2l): Likewise.
50261 * math/w_logl.c (__logl): Likewise.
50262 * math/w_powl.c (__powl): Likewise.
50263 * math/w_remainderl.c (__remainderl): Likewise.
50264 * math/w_scalbl.c (sysv_scalbl): Likewise.
50265 * math/w_sinhl.c (__sinhl): Likewise.
50266 * math/w_sqrtl.c (__sqrtl): Likewise.
50267 * math/w_tgammal.c (__tgammal): Likewise.
50268 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50269 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50270 * math/libm-test.inc (acos_test): Add more tests.
50271 (acosh_test): Likewise.
50272 (asin_test): Likewise.
50273 (atanh_test): Likewise.
50274 (exp_test): Likewise.
50275 (exp10_test): Likewise.
50276 (exp2_test): Likewise.
50277 (expm1_test): Likewise.
50278 (lgamma_test): Likewise.
50279 (log_test): Likewise.
50280 (log10_test): Likewise.
50281 (log1p_test): Likewise.
50282 (log2_test): Likewise.
50283 (pow_test): Do not allow some spurious overflow exceptions.
50284 (sqrt_test): Add more tests.
50285 (tgamma_test): Likewise.
50286 (y0_test): Likewise.
50287 (y1_test): Likewise.
50288 (yn_test): Likewise.
50290 2012-03-27 Anton Blanchard <anton@samba.org>
50292 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50294 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50295 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50296 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50298 2012-03-27 David S. Miller <davem@davemloft.net>
50300 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50302 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50303 have-as-vis3 check.
50305 2012-03-27 Andreas Jaeger <aj@suse.de>
50307 * sysdeps/x86_64/elf/configure.in: Moved to ...
50308 * sysdeps/x86_64/configure.in: ... here.
50309 * sysdeps/x86_64/elf/start.S: Moved to ...
50310 * sysdeps/x86_64/start.S: ... here.
50311 * sysdeps/x86_64/elf/configure: Delete.
50313 * sysdeps/x86_64/configure.in: Merge contents from
50314 sysdeps/i386/configure.in (without i686 check).
50316 * sysdeps/i386/elf/Versions: Merge into ...
50317 * sysdeps/i386/Versions: ... this.
50318 * sysdeps/i386/elf/Versions: Delete file.
50319 * sysdeps/i386/elf/start.S: Moved to ...
50320 * sysdeps/i386/start.S: ...here.
50321 * sysdeps/i386/elf/configure.in: Merge into...
50322 * sysdeps/i386/configure.in: ...here.
50323 * sysdeps/i386/elf/configure.in: Delete file.
50324 * sysdeps/i386/elf/configure: Delete file.
50326 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50327 * debug/backtracesyms.c: ... here.
50328 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50329 * debug/backtracesymsfd.c: ... here.
50330 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50331 * sysdeps/generic/ifunc-sel.h: ... here.
50333 * sysdeps/unix/i386/start.c: Delete file.
50334 * sysdeps/unix/sparc/start.c: Delete file.
50335 * sysdeps/unix/start.c: Delete file.
50337 * sysdeps/sh/elf/configure.in: Moved to ...
50338 * sysdeps/sh/configure.in: ... here.
50339 * sysdeps/sh/elf/start.S: Moved to ...
50340 * sysdeps/sh/start.S: ... here.
50341 * sysdeps/sh/elf/configure: Delete file.
50343 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50344 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50345 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50346 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50347 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50348 * sysdeps/powerpc/powerpc64/start.S: here.
50349 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50350 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50351 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50352 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50353 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50355 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50356 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50357 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50358 * sysdeps/powerpc/powerpc32/start.S: ... here.
50359 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50360 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50361 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50363 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50364 * sysdeps/powerpc/ifunc-sel.h: ... here.
50365 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50366 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50368 * sysdeps/sparc/elf/configure.in: Moved to ...
50369 * sysdeps/sparc/configure.in: ... here.
50370 * sysdeps/sparc/elf/configure: Delete file.
50371 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50372 * sysdeps/sparc/sparc32/start.S: ... here.
50373 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50374 * sysdeps/sparc/sparc64/start.S: ... here.
50375 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50376 * sysdeps/sparc/sparc32/Makefile: ... this.
50377 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50378 * sysdeps/sparc/sparc64/Makefile: ... this.
50380 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50381 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50382 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50383 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50384 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50385 * sysdeps/s390/s390-32/setjmp.S: ... here.
50386 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50387 * sysdeps/s390/s390-32/configure.in: ... here.
50388 * sysdeps/s390/s390-32/elf/configure: Delete file.
50389 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50390 * sysdeps/s390/s390-32/start.S: ... here.
50392 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50393 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50394 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50395 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50396 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50397 * sysdeps/s390/s390-64/setjmp.S: ... here.
50398 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50399 * sysdeps/s390/s390-64/configure.in: ... here
50400 * sysdeps/s390/s390-64/elf/configure: Delete file.
50401 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50402 * sysdeps/s390/s390-64/start.S: ... here.
50403 * sysdeps/s390/s390-64/elf/configure: Delete.
50405 * configure.in: Remove support for elf directories in sysdeps.
50407 * configure: Regenerated.
50408 * sysdeps/i386/configure: Regenerated.
50409 * sysdeps/powerpc/powerpc32/configure: Regenerated.
50410 * sysdeps/powerpc/powerpc64/configure: Regenerated.
50411 * sysdeps/s390/s390-32/configure: Regenerated.
50412 * sysdeps/s390/s390-64/configure: Regenerated.
50413 * sysdeps/sh/configure: Regenerated.
50414 * sysdeps/sparc/configure: Regenerated.
50415 * sysdeps/x86_64/configure: Regenerated.
50417 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
50419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50421 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50422 denormal result into account.
50424 2012-03-25 Roland McGrath <roland@hack.frob.com>
50426 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50427 Reported by Allan McRae <allan@archlinux.org>.
50429 2012-03-23 Jeff Law <law@redhat.com>
50431 * nss/getnssent.c (__nss_getent): Fix typo.
50433 2012-03-23 David S. Miller <davem@davemloft.net>
50435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50437 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
50439 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50440 to pad to uint64_t for each field.
50441 (dl_tls_index): Replace unsigned long with uint64_t.
50443 2012-03-23 Daniel Jacobowitz <dmj@google.com>
50444 Paul Pluzhnikov <ppluzhnikov@google.com>
50447 * grp/Makefile (otherlibs): Don't set it.
50448 * inet/Makefile (otherlibs): Likewise.
50449 * login/Makefile (otherlibs): Likewise.
50450 * nscd/Makefile (otherlibs): Likewise.
50451 * posix/Makefile (otherlibs): Likewise.
50452 * pwd/Makefile (otherlibs): Likewise.
50453 * rt/Makefile (otherlibs): Likewise.
50454 * sunrpc/Makefile (otherlibs): Likewise.
50455 * nss/Makefile (otherlibs): Likewise.
50456 Add libnss_files to routines and static-only-routines.
50457 ($(objpfx)getent): Remove rule.
50458 * resolv/Makefile: Add libnss_dns and libresolv to routines and
50459 static-only-routines.
50461 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50464 * math/s_cexp.c: Include <float.h>.
50465 (__cexp): Handle exp result overflowing not necessarily
50466 overflowing both real and imaginary parts of result.
50467 * math/s_cexpf.c: Likewise.
50468 * math/s_cexpl.c: Likewise.
50469 * math/libm-test.inc (cexp_test): Add more tests.
50470 * sysdeps/i386/fpu/libm-test-ulps: Update.
50471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50473 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50475 * include/link.h (ELFW): New macro.
50476 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50477 Replace ELF64_R_TYPE with ELFW(R_TYPE).
50479 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50481 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50484 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50486 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50488 (struct La_x32_retval): Likewise.
50490 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50492 * sysdeps/x86_64/preconfigure.in: New file.
50493 * sysdeps/x86_64/preconfigure: New generated file.
50495 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50498 * math/e_exp2l.c: Include <float.h>.
50499 (__ieee754_exp2l): Handle overflow and underflow cases
50500 separately. Only pass fractional part of argument to
50502 * math/libm-test.inc (exp2_test): Add more tests.
50504 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50505 negating x to take absolute value.
50506 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50508 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50509 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50511 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50512 computing low part if x was negated.
50513 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50515 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50517 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50518 la_x32_gnu_pltexit.
50519 (pltexit): Cast int_retval to ptrdiff_t.
50520 * elf/tst-auditmod3b.c: Likewise.
50521 * elf/tst-auditmod4b.c: Likewise.
50522 * elf/tst-auditmod5b.c: Likewise.
50523 * elf/tst-auditmod6b.c: Likewise.
50524 * elf/tst-auditmod6c.c: Likewise.
50525 * elf/tst-auditmod7b.c: Likewise.
50527 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50528 and x32_gnu_pltexit.
50530 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50531 __ELF_NATIVE_CLASS.
50532 (La_x32_regs): New macro.
50533 (La_x32_retval): Likewise.
50534 (la_x32_gnu_pltenter): New function prototype.
50535 (la_x32_gnu_pltexit): Likewise.
50537 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
50539 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50544 * configure.in (libc_cv_cc_nofma): Check for option to disable
50545 generation of FMA instructions.
50546 * configure: Regenerate.
50547 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50548 * sysdeps/ieee754/dbl-64/Makefile: New file.
50549 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50550 Remove brandred-fma4.
50551 (CFLAGS-brandred-fma4.c): Remove.
50552 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50553 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50555 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50558 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50560 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50561 LLONG_MAX != LONG_MAX.
50562 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50563 (_fitoa_word): Likewise.
50564 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50565 LLONG_MAX != LONG_MAX.
50566 * stdio-common/_itowa.h: Include <_itoa.h>.
50567 (_itowa_word): Use _ITOA_WORD_TYPE on value.
50568 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
50569 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
50570 only if not defined.
50571 (_ITOA_WORD_TYPE): Likewise.
50572 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50573 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50575 2012-03-21 David S. Miller <davem@davemloft.net>
50577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50579 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50581 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50582 of x86_64 when setting libc_cv_slibdir, libdir and
50584 * sysdeps/unix/sysv/linux/configure: Regenerated.
50586 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50588 * manual/lang.texi (Old Varargs): Remove section.
50589 (How Variadic): Update menu.
50590 (va_start): Do not mention varargs.h.
50592 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50593 Joseph Myers <joseph@codesourcery.com>
50595 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50597 * configure: Regenerated.
50599 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50601 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50602 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50605 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50608 * Makefile (files-for-dist): Remove NOTES.
50609 (NOTES): Remove rule.
50610 * README: Don't refer to NOTES.
50611 * manual/creature.texi: Don't include macros.texi.
50612 * manual/intro.texi (creature.texi): Remove comment referring to
50615 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50616 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50617 * configure: Regenerated.
50618 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50619 LIBC_TRY_CC_OPTION.
50620 (libc_cv_as_i686): Likewise.
50621 (libc_cv_cc_avx): Likewise.
50622 (libc_cv_cc_sse2avx): Likewise.
50623 (libc_cv_cc_fma4): Likewise.
50624 (libc_cv_cc_novzeroupper): Likewise.
50625 * sysdeps/i386/configure: Regenerated.
50628 * sysdeps/i386/fpu/s_cexp.S: Remove.
50629 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50630 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50631 * math/libm-test.inc (cexp_test): Add more tests.
50632 * sysdeps/i386/fpu/libm-test-ulps: Update.
50633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50635 2012-03-21 Allan McRae <allan@archlinux.org>
50637 * timezone/Makefile: Do not install iso3166.tab and zone.tab
50639 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50642 * math/w_exp2.c: Do not include <float.h>.
50643 (o_threshold, u_threshold): Remove.
50644 (__exp2): Calculate result before checking finiteness and calling
50646 * math/w_exp2f.c: Likewise.
50647 * math/w_exp2l.c: Likewise.
50648 * math/libm-test.inc (exp2_test): Require overflow exception for
50652 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50653 range of signed 64-bit integers before using fistpll. Remove
50654 checks for whether integers fit in mantissa bits.
50655 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50656 the range of signed 32-bit integers before using fistpl. Remove
50657 checks for whether integers fit in mantissa bits.
50658 * sysdeps/i386/fpu/e_powl.S (p64): New object.
50659 (__ieee754_powl): Test for y outside the range of signed 64-bit
50660 integers before using fistpll. Reduce 64-bit values to 63-bit
50662 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50663 divide-by-zero is raised for zero to large negative powers.
50664 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50665 (__ieee754_powl): Test for y outside the range of signed 64-bit
50666 integers before using fistpll. Reduce 64-bit values to 63-bit
50668 * math/libm-test.inc (pow_test): Add more tests.
50670 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50672 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50673 <stdio-common/_itoa.h>.
50674 * debug/segfault.c: Likewise.
50675 * elf/dl-cache.c: Likewise.
50676 * elf/dl-minimal.c: Likewise.
50677 * elf/dl-misc.c: Likewise.
50678 * elf/dl-sysdep.c: Likewise.
50679 * elf/dl-version.c: Likewise.
50680 * elf/rtld.c: Likewise.
50681 * hurd/hurdsock.c: Likewise.
50682 * hurd/lookup-retry.c: Likewise.
50683 * malloc/malloc.c: Likewise.
50684 * malloc/mtrace.c: Likewise.
50685 * nscd/nscd_getgr_r.c: Likewise.
50686 * nscd/nscd_getpw_r.c: Likewise.
50687 * nscd/nscd_getserv_r.c: Likewise.
50688 * posix/getopt_init.c: Likewise.
50689 * posix/wordexp.c: Likewise.
50690 * stdio-common/_itoa.c: Likewise.
50691 * stdio-common/printf_fphex.c: Likewise.
50692 * stdio-common/vfprintf.c: Likewise.
50693 * string/_strerror.c: Likewise.
50694 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50695 * sysdeps/i386/i686/hp-timing.h: Likewise.
50696 * sysdeps/mach/_strerror.c: Likewise.
50697 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50698 * sysdeps/mach/hurd/sethostid.c: Likewise.
50699 * sysdeps/mach/hurd/xmknodat.c: Likewise.
50700 * sysdeps/mach/xpg-strerror.c: Likewise.
50701 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50702 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50703 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50704 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50705 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50706 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50707 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50708 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50709 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50710 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50711 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50712 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50713 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50714 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50715 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50716 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50717 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50718 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50719 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50720 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50721 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50723 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50725 * stdio-common/_itoa.h: Moved to ...
50726 * sysdeps/generic/_itoa.h: Here.
50728 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50730 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50731 instead of "_itoa.h" and "_itowa.h".
50732 * stdio-common/vfprintf.: Likewise.
50734 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50736 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50738 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50739 (__signbit): Likwise.
50740 (llrintf): Likwise.
50743 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50745 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50748 2012-03-20 Joseph Myers <joseph@codesourcery.com>
50750 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50751 OVERFLOW_EXCEPTION_OK.
50752 * math/libm-test.inc ("Philosophy"): Update comment about
50754 (OVERFLOW_EXCEPTION): Define.
50755 (OVERFLOW_EXCEPTION_OK): Likewise.
50756 (INVALID_EXCEPTION_OK): Renumber.
50757 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50758 (IGNORE_ZERO_INF_SIGN): Likewise.
50759 (test_exceptions): Handle FE_OVERFLOW.
50760 (exp10_test): Expect overflow exceptions.
50761 (exp2_test): Likewise.
50762 (expm1_test): Likewise.
50763 (nextafter_test): Likewise.
50764 (pow_test): Likewise.
50765 (scalbn_test): Likewise.
50766 (scalbln_test): Likewise.
50768 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50770 * sysdeps/x86_64/bits/atomic.h
50771 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50773 (atomic_exchange_acq): Likewise.
50774 (__arch_exchange_and_add_body): Likewise.
50775 (__arch_add_body): Likewise.
50776 (atomic_add_negative): Likewise.
50777 (atomic_add_zero): Likewise.
50779 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50781 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50782 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50784 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50786 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50787 Check __x86_64__ instead of __WORDSIZE.
50789 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50791 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50793 2012-03-19 David S. Miller <davem@davemloft.net>
50795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50797 * sysdeps/sparc/fpu/fenv_private.h: New file.
50798 * sysdeps/sparc/fpu/math_private.h: Use it.
50799 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50801 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50802 (libc_feholdexcept_setroundl): Remove.
50803 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50805 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50806 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50808 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50810 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50811 int64_t instead of long int.
50812 (INSERT_WORDS64): Likwise.
50814 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50816 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50817 _Unwind_GetCFA return to _Unwind_Ptr first.
50819 2012-03-19 Joseph Myers <joseph@codesourcery.com>
50822 * math/s_clog.c: Include <float.h>.
50823 (__clog): Scale large or subnormal inputs.
50824 * math/s_clogf.c: Likewise.
50825 * math/s_clogl.c: Likewise.
50826 * math/s_clog10.c: Include <float.h>.
50827 (M_LOG10_2): Define.
50828 (__clog10): Scale large or subnormal inputs.
50829 * math/s_clog10f.c: Likewise.
50830 * math/s_clog10l.c: Likewise.
50831 * math/libm-test.inc (clog_test): Add more tests.
50832 (clog10_test): Likewise.
50833 * sysdeps/i386/fpu/libm-test-ulps: Update.
50834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50837 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50839 * math/libm-test.inc (atan2_test): Add another test.
50841 * Makerules (common-objdir-compile): Remove.
50842 * sysdeps/unix/Makefile (config-generated): Do not add
50843 $(unix-generated) to variable.
50844 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50845 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50847 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50849 [generic bits/local_lim.h] (before-compile): Do not append to
50851 [generic bits/local_lim.h] (common-generated): Likewise.
50852 [generic sys/param.h] (before-compile): Do not append to variable.
50853 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50854 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50855 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50856 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50858 [generic sys/param.h] (sys/param.h-includes): Remove variable.
50859 [generic sys/param.h] (sys/param.h-includes): Remove rule.
50860 [generic sys/param.h] ($(addprefix
50861 $(common-objpfx),$(sys/param.h-includes))): Likewise.
50862 [generic sys/param.h] (common-generated): Do not append to
50864 [generic sys/param.h] (sysdep_headers): Likewise.
50865 [generic bits/errno.h] (before-compile): Do not append to
50867 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50869 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50870 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50871 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50872 [generic bits/errno.h] (common-generated): Do not append to
50874 [generic bits/ioctls.h] (before-compile): Do not append to
50876 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50878 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50879 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50880 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50882 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50883 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50884 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50885 [generic bits/ioctls.h] (common-generated): Do not append to
50887 [generic sys/syscall.h] (syscall.h): Remove variable.
50888 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50890 [generic sys/syscall.h] (before-compile): Do not append to
50892 [generic sys/syscall.h] (common-generated): Likewise.
50893 * sysdeps/unix/errnos-tmpl.c: Remove file.
50894 * sysdeps/unix/errnos.awk: Likewise.
50895 * sysdeps/unix/ioctls-tmpl.c: Likewise.
50896 * sysdeps/unix/ioctls.awk: Likewise.
50897 * sysdeps/unix/mk-local_lim.c: Likewise.
50898 * sysdeps/unix/snarf-ioctls: Likewise.
50900 2012-03-19 Richard Henderson <rth@twiddle.net>
50902 * sysdeps/i386/fpu/fenv_private.h: New file.
50903 * sysdeps/i386/fpu/math_private.h: Use it.
50904 (math_opt_barrier, math_force_eval): Remove.
50905 (libc_feholdexcept_setround_53bit): Remove.
50906 (libc_feupdateenv_53bit): Remove.
50907 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50908 (math_opt_barrier, math_force_eval): Remove.
50909 (libc_feholdexcept): Remove.
50910 (libc_feholdexcept_setround): Remove.
50911 (libc_fetestexcept, libc_fesetenv): Remove.
50912 (libc_feupdateenv_test): Remove.
50913 (libc_feupdateenv, libc_feholdsetround): Remove.
50914 (libc_feresetround): Remove.
50916 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50917 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50919 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50920 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50921 (libc_feupdateenv_testl): New.
50922 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50923 (libc_feupdateenv_testf): New.
50924 (libc_feupdateenv): Use libc_feupdateenv_test.
50925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50926 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50928 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50929 (libc_feholdsetroundf, libc_feholdsetroundl): New.
50930 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50931 (libc_feresetround_noex): New.
50932 (libc_feresetround_noexf): New.
50933 (libc_feresetround_noexl): New.
50934 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50935 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50936 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50937 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50939 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50940 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50942 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50943 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50944 SET_RESTORE_ROUND_NOEX.
50945 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50946 SET_RESTORE_ROUND_NOEXF.
50947 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50948 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50949 (libc_feholdsetroundf): New.
50950 (libc_feresetround, libc_feresetroundf): New.
50952 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50953 (libc_feholdexcept_setround_53bit): Convert from macro to function.
50954 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
50956 * sysdeps/generic/math_private.h: Include <fenv.h>.
50957 (default_libc_feholdexcept): New.
50958 (default_libc_feholdexcept_setround): New.
50959 (default_libc_fesetenv, default_libc_feupdateenv): New.
50960 (libc_feholdexcept): Only define if undefined.
50961 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50962 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50963 (libc_feholdexcept_setroundl): Likewise.
50964 (libc_feholdexcept_setround_53bit): Likewise.
50965 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50966 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50967 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50968 (libc_feupdateenv_53bit): Likewise.
50969 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50970 (libc_feholdexcept): Convert from macro to inline function.
50971 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50972 (libc_fesetenv, libc_feupdateenv): Likewise.
50974 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50975 not previously defined.
50976 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50977 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50978 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50979 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50980 * sysdeps/ieee754/flt-32/math_private.h: New file.
50981 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50982 math_private.h below SET_FLOAT_WORD.
50983 (__isnan, __isinf_ns, __finite): Remove.
50984 (__isnanf, __isinf_nsf, __finitef): Remove.
50986 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
50988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50990 2012-03-17 David S. Miller <davem@davemloft.net>
50993 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50996 2012-03-16 David S. Miller <davem@davemloft.net>
50998 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51002 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51004 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51005 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51006 sysdep_routines when subdir is sysvipc.
51007 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51008 __getshmlba helper.
51010 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51012 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51014 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51017 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51019 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51020 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51021 (__lround): Renamed to ...
51022 (__llround): This. Replace long int with long long int.
51023 Define lround functions as aliases of llround functions.
51024 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51026 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51028 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51029 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51030 adresses to uintptr_t. Replace "long int" and "unsigned long
51031 int" with "greg_t" on va_arg.
51033 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51035 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51036 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51038 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51039 Move e_machine check before EI_CLASS check. Handle x32
51040 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51041 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51042 SKIP_EM_IA_64 and include
51043 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51045 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51046 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51047 (add_system_dir): New macro.
51049 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51050 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51052 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51063 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51065 * math/w_j0f.c (j0f): Likewise.
51067 * math/w_j0l.c (__j0l): Likewise.
51069 * math/w_j1.c (j1): Likewise.
51071 * math/w_j1f.c (j1f): Likewise.
51073 * math/w_j1l.c (__j1l): Likewise.
51075 * math/w_jn.c (jn): Likewise.
51077 * math/w_jnf.c (jnf): Likewise.
51079 * math/w_jnl.c (__jnl): Likewise.
51081 * math/libm-test.inc (j0_test): Add more tests.
51082 (j1_test): Likewise.
51083 (jn_test): Likewise. Add trailing semicolon to existing test.
51084 (y0_test): Likewise.
51085 (y1_test): Likewise.
51086 * sysdeps/i386/fpu/libm-test-ulps: Update.
51087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51091 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51092 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51093 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51094 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51095 (__tanl): Set errno for infinite argument.
51096 * sysdeps/i386/fpu/mptan.c: Remove.
51097 * sysdeps/i386/fpu/s_tan.S: Likewise.
51098 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51099 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51100 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51101 * math/libm-test.inc (tan_test): Add more tests and enable more
51102 tests for double and long double.
51103 * sysdeps/i386/fpu/libm-test-ulps: Update.
51104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51106 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51108 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51109 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51111 2012-03-16 Roland McGrath <roland@hack.frob.com>
51113 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51114 * configure.in: Use it for both main tree and add-ons.
51115 * configure: Regenerated.
51117 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51119 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51121 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51123 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51127 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51128 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51129 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51130 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51131 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51133 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51134 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51135 != 0 for prec == 2.
51136 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51137 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51138 * sysdeps/i386/fpu/s_cosl.S: Likewise.
51139 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51140 * sysdeps/i386/fpu/s_sinl.S: Likewise.
51141 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51142 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51143 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51144 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51145 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51146 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51147 * math/libm-test.inc (cos_test): Add more tests and enable more
51148 tests for long double.
51149 (sin_test): Likewise.
51150 (sincos_test): Likewise.
51151 * sysdeps/i386/fpu/libm-test-ulps: Update.
51152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51154 2012-03-16 David S. Miller <davem@davemloft.net>
51156 * sysdeps/sparc/fpu/math_private.h: New file.
51158 2012-03-15 David S. Miller <davem@davemloft.net>
51160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51170 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51174 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51175 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51177 * sysdeps/sparc/sparc-ifunc.h: New file.
51178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51204 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51205 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51218 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51220 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51221 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51223 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51225 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51229 2012-03-15 Andreas Jaeger <aj@suse.de>
51232 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51233 ieee754/flt-32 implementation for sin, cos and sincos.
51234 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51235 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51236 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51237 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51238 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51239 ieee754/flt-32 implementation for tan.
51241 * math/libm-test.inc (cos_test): Enable some large input tests for
51243 (sin_test): Likewise.
51244 (sincos_test): Likewise.
51245 (tan_test): Add tests for large input.
51247 * sysdeps/i386/fpu/libm-test-ulps: Update.
51249 2012-03-15 Andreas Jaeger <aj@suse.de>
51252 * math/libm-test.inc (cos_test): Add more test cases.
51253 (sin_test): Likewise.
51254 (sincos_test): Likewise.
51256 2012-03-15 Andreas Jaeger <aj@suse.de>
51259 * math/libm-test.inc (cos_test): Add a test case for large input
51261 (sin_test): Likewise.
51262 (sincos_test): Likewise.
51264 2012-03-15 Andreas Jaeger <aj@suse.de>
51265 Joseph Myers <joseph@codesourcery.com>
51268 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51269 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51270 * sysdeps/i386/fpu/branred.c: Likewise.
51271 * sysdeps/i386/fpu/dosincos.c: Likewise.
51272 * sysdeps/i386/fpu/mpa.c: Likewise.
51273 * sysdeps/i386/fpu/s_cos.S: Likewise.
51274 * sysdeps/i386/fpu/s_sin.S: Likewise.
51275 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51276 * sysdeps/i386/fpu/sincos32.c: Likewise.
51278 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51280 (libc_feupdateenv_53bit): Define.
51281 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51283 (libc_feupdateenv_53bit): Define.
51285 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51286 53 bit (without extend i386 double precision).
51288 * math/libm-test.inc (sincos_test): Add tests for large input.
51292 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51294 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51298 2012-03-15 David S. Miller <davem@davemloft.net>
51300 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51301 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51302 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51303 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51327 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51328 fmin/fmax sysdep routines.
51329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51331 2012-03-14 David S. Miller <davem@davemloft.net>
51333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51337 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51338 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51339 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51340 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51353 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51354 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51355 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51356 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51357 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51358 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51359 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51361 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51405 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51410 * sysdeps/sparc/configure.in: New file.
51411 * sysdeps/sparc/configure: Generate.
51412 * configure.in (libc_cv_sparc_as_vis3): Substitute.
51413 * configure: Regenerate.
51414 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51415 * config.make.in (have-as-vis3): New.
51416 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51417 available use -Av9d instead of -Av9a.
51418 * sysdeps/sparc/sparc64/Makefile: Likewise.
51419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51428 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51429 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51430 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51431 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51432 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51434 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51435 fzeros/fnegs to load 0x80000000 into a float register instead of
51437 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51439 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51443 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51444 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51445 ($(inst_includedir)/bits/syscall.h): Remove rule.
51446 ($(objpfx)bits/syscall.d): Include instead of
51447 $(objpfx)syscall-list.d.
51448 (generated): Change syscall-list.h and syscall-list.d to
51449 bits/syscall.h and bits/syscall.d.
51451 2012-03-14 Roland McGrath <roland@hack.frob.com>
51454 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51456 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51459 * math/s_csqrt.c: Include <float.h>.
51460 (__csqrt): Scale large or subnormal inputs.
51461 * math/s_csqrtf.c: Likewise.
51462 * math/s_csqrtl.c: Likewise.
51463 * math/libm-test.inc (csqrt_test): Add more tests.
51464 * sysdeps/i386/fpu/libm-test-ulps: Update.
51465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51468 * math/libm-test.inc (hypot_test): Add more tests.
51470 2012-03-13 David S. Miller <davem@davemloft.net>
51473 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51474 double-precision for the calculation instead of scaling.
51476 2012-03-13 Joseph Myers <joseph@codesourcery.com>
51478 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51479 manipulate bits before adding and subtracting TWO52[sx].
51480 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51481 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51483 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51485 2012-03-13 David S. Miller <davem@davemloft.net>
51487 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51488 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51489 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51490 rtld-global-offsets.h
51491 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51493 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51496 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51498 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51499 'err' in the ifdef scope in which it is actually used.
51501 * nss/nss_db/db-init.c: Include string.h
51503 2012-03-12 David S. Miller <davem@davemloft.net>
51505 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51506 masking out of the most significant byte of random value used.
51507 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51508 Fix coding style in previous change.
51510 * sysdeps/unix/sysv/linux/kernel-features.h
51511 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51512 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51514 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51517 2012-03-11 David S. Miller <davem@davemloft.net>
51519 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51520 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51521 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51522 for 'resultvar' otherwise things get truncated on 64-bit.
51524 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51525 Fix masking out of the most significant byte of random value used.
51527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51529 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
51531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51533 2012-03-09 David S. Miller <davem@davemloft.net>
51535 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51536 variables with appropriate CPP guards.
51537 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51538 from the frame pointer, not the stack pointer. Correct layout
51539 comments. Fix test on resulting framesize and the management of
51540 the outregs buffer for pltexit. Preserve floating point return
51541 values across _dl_call_pltexit call.
51542 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51543 framesize and the management of the outregs buffer for pltexit.
51544 Preserve floating point return values across _dl_call_pltexit
51546 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51547 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51548 (la_sparc64_gnu_pltexit): New functions.
51549 (print_exit): Fix format string for return register value.
51551 2012-03-10 Joseph Myers <joseph@codesourcery.com>
51553 * sunrpc/Makefile (others): Add rpcgen.
51554 ($(objpfx)rpcgen): Remove special build rule and dependency on
51556 * sunrpc/rpcgen.c: New file.
51558 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
51561 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51562 * stdio-common/bug-vfprintf-nargs.c: Likewise.
51563 * sysdeps/i386/crti.S: Likewise.
51564 * sysdeps/i386/crtn.S: Likewise.
51565 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51566 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51567 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51568 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51569 * sysdeps/sh/crti.S: Likewise.
51570 * sysdeps/sh/crtn.S: Likewise.
51571 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51574 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51576 * locale/programs/locfile-kw.gperf: Likewise.
51577 * locale/programs/charmap-kw.h: Regenerated.
51578 * locale/programs/locfile-kw.h: Likewise.
51581 * intl/plural.y: Replace FSF snail mail address with URL.
51582 * intl/plural.c: Regenerated.
51584 2012-03-09 Richard Henderson <rth@twiddle.net>
51586 * include/math_private.h: Remove file.
51587 * math/math_private.h: Move file ...
51588 * sysdeps/generic/math_private.h: ... here.
51590 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51591 * sysdeps/powerpc/fpu/math_private.h: Likewise.
51592 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51594 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51595 and <math_private.h>.
51596 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51597 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51598 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51599 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51600 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51601 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51602 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51603 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51604 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51605 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51606 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51607 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51608 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51609 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51610 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51611 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51612 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51613 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51614 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51615 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51617 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51618 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51620 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51621 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51622 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51623 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51624 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51625 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51626 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51627 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51628 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51629 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51630 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51631 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51632 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51633 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51634 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51635 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51636 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51637 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51638 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51639 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51640 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51641 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51642 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51643 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51644 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51645 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51646 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51647 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51648 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51649 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51650 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51651 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51652 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51653 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51654 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51655 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51656 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51657 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51658 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51659 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51660 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51661 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51662 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51663 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51664 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51665 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51666 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51667 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51668 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51669 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51670 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51671 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51672 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51673 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51674 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51675 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51676 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51677 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51678 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51679 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51680 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51681 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51682 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51683 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51684 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51685 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51686 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51687 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51688 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51689 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51690 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51691 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51692 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51693 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51694 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51695 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51696 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51697 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51698 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51699 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51700 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51701 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51702 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51703 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51704 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51705 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51706 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51707 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51708 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51709 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51710 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51711 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51712 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51713 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51714 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51715 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51716 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51717 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51718 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51719 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51720 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51721 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51722 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51723 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51724 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51725 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51726 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51727 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51728 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51729 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51730 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51731 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51732 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51733 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51734 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51735 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51736 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51737 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51738 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51739 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51740 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51741 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51742 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51743 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51744 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51745 * sysdeps/ieee754/k_standard.c: Likewise.
51746 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51747 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51748 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51749 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51750 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51751 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51752 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51753 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51754 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51755 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51756 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51757 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51758 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51759 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51760 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51761 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51762 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51763 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51764 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51765 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51766 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51767 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51768 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51769 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51770 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51771 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51772 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51773 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51774 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51775 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51776 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51777 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51778 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51779 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51780 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51781 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51782 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51783 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51784 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51785 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51786 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51787 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51788 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51789 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51790 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51791 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51792 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51793 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51794 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51795 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51796 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51797 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51798 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51799 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51800 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51801 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51802 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51803 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51804 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51805 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51806 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51807 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51808 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51809 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51810 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51812 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51813 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51814 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51815 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51816 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51817 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51818 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51819 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51820 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51821 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51822 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51823 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51824 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51825 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51826 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51827 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51828 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51829 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51830 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51831 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51832 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51833 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51834 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51835 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51836 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51837 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51838 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51839 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51840 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51841 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51842 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51843 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51844 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51845 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51846 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51847 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51848 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51849 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51850 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51851 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51852 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51853 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51854 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51855 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51856 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51857 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51858 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51859 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51860 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51861 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51862 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51863 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51864 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51865 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51866 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51867 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51868 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51869 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51870 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51871 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51872 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51873 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51874 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51875 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51876 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51877 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51878 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51879 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51880 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51881 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51882 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51883 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51884 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51885 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51886 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51887 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51888 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51889 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51890 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51891 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51892 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51893 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51894 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51895 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51896 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51897 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51898 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51899 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51900 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51901 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51902 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51903 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51904 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51905 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51906 * sysdeps/ieee754/s_lib_version.c: Likewise.
51907 * sysdeps/ieee754/s_matherr.c: Likewise.
51908 * sysdeps/ieee754/s_signgam.c: Likewise.
51909 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51910 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51911 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51912 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51913 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51914 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51915 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51916 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51917 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51918 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51919 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51920 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51921 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51922 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51923 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51924 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51925 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51926 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51927 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51928 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51929 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51931 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51933 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51934 * sunrpc/rpc_main.c: Likewise.
51935 * sunrpc/rpc_svcout.c: Likewise.
51937 2012-03-09 David S. Miller <davem@davemloft.net>
51939 * include/math_private.h: New file.
51941 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51943 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51944 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51945 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51946 from <bits/socket_type.h>.
51947 (enum __socket_type): Don't define here.
51948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51950 bits/socket_type.h.
51953 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51954 checking __USE_GNU.
51956 * Makerules ($(inst_includedir)/%.h): New rule.
51957 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51958 (install-others): Remove variable setting.
51959 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51961 2012-03-08 Richard Henderson <rth@twiddle.net>
51963 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51964 from macro to inline function; merge with the
51965 !__LIBC_INTERNAL_MATH_INLINES version.
51966 (__ieee754_sqrtf): Likewise.
51968 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51969 to inline function.
51970 (__rintf, __floor, __floorf): Likewise.
51972 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51973 macro to inline function.
51974 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51976 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51977 not <math/math_private.h>.
51979 2012-03-08 David S. Miller <davem@davemloft.net>
51981 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51983 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51985 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
51987 * resolv/gai_misc.c (handle_requests): Fix struct timespec
51989 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51990 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51992 2012-03-08 Ulrich Drepper <drepper@gmail.com>
51994 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
51995 be defined individually, they must be defined as a block. Define
51996 S for printing a string instead of hidint the different by using a
51997 macro for adding the 'l'.
51998 * stdio-common/tst-fphex-wide.c: Adjust.
52000 2012-03-07 Marek Polacek <polacek@redhat.com>
52002 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52004 2012-03-08 Marek Polacek <polacek@redhat.com>
52007 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52008 * stdio-common/tst-fphex.c: Define a few macros to make the
52009 test reusable. Use them.
52010 * stdio-common/tst-fphex-wide.c: New file.
52012 2012-03-08 Joseph Myers <joseph@codesourcery.com>
52015 * manual/macros.texi (gnusystems): New macro.
52016 (nongnusystems): Likewise.
52017 (gnulinuxhurdsystems): Likewise.
52018 (gnuhurdsystems): Likewise..
52019 (gnulinuxsystems): Likewise.
52020 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52021 variants of the GNU system, not "GNU system".
52022 * manual/conf.texi: Likewise.
52023 * manual/errno.texi: Likewise. Update example of errno macro
52025 * manual/filesys.texi: Likewise.
52026 (getumask): Document as specific to GNU/Hurd.
52027 * manual/install.texi: Likewise. Reword some references to
52029 * manual/intro.texi: Likewise.
52030 * manual/io.texi: Likewise.
52031 (File Name Portability): Detail which constraints are inapplicable
52032 to all GNU systems and which are only inapplicable to GNU/Hurd.
52033 * manual/job.texi: Likewise.
52034 * manual/llio.texi: Likewise.
52035 (O_NOCTTY): Document as present on GNU/Linux.
52036 * manual/maint.texi: Likewise.
52037 * manual/memory.texi: Likewise.
52038 * manual/pattern.texi: Likewise.
52039 * manual/pipe.texi: Likewise.
52040 * manual/process.texi: Likewise.
52041 * manual/resource.texi: Likewise.
52042 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52044 * manual/setjmp.texi: Likewise.
52045 * manual/signal.texi: Likewise.
52046 * manual/startup.texi: Likewise.
52047 * manual/stdio.texi: Likewise.
52048 * manual/terminal.texi: Likewise.
52049 (ONLCR): Document as POSIX.
52050 (OXTABS): Document availability on GNU/Linux as XTABS.
52051 (ONOEOT): Document availability separately from other bits.
52052 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52053 * manual/time.texi: Likewise.
52054 * manual/users.texi: Likewise.
52055 * INSTALL: Regenerated.
52056 * sysdeps/gnu/errlist.c: Regenerated.
52058 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52059 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52060 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52062 * configure: Regenerated.
52064 2012-03-07 Joseph Myers <joseph@codesourcery.com>
52066 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52067 default includes instead of AC_HEADER_CHECK.
52068 * sysdeps/i386/configure: Regenerated.
52071 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52072 * math/s_cacoshf.c (__cacoshf): Likewise.
52073 * math/s_cacoshl.c (__cacoshl): Likewise.
52074 * math/s_casinh.c (__casinh): Set signs of result from argument.
52075 * math/s_casinhf.c (__casinhf): Likewise.
52076 * math/s_casinhl.c (__casinhl): Likewise.
52077 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52078 (casinh_test): Add more tests.
52079 * sysdeps/i386/fpu/libm-test-ulps: Update.
52080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52082 2012-03-07 Ulrich Drepper <drepper@gmail.com>
52084 * po/zh_TW.po: Update from translation team.
52086 * login/Makefile (distribute): Remove variable.
52087 * catgets/Makefile: Likewise.
52088 * mach/Makefile: Likewise.
52089 * malloc/Makefile: Likewise.
52090 * misc/Makefile: Likewise.
52091 * iconv/Makefile: Likewise.
52092 * nscd/Makefile: Likewise.
52093 * hurd/Makefile: Likewise.
52094 * manual/Makefile: Likewise.
52095 * locale/Makefile: Likewise.
52096 * intl/Makefile: Likewise.
52097 * conform/Makefile: Likewise.
52098 * nss/Makefile: Likewise.
52099 * time/Makefile: Likewise.
52100 * soft-fp/Makefile: Likewise.
52101 * dirent/Makefile: Likewise.
52102 * gmon/Makefile: Likewise.
52103 * po/Makefile: Likewise.
52104 * rt/Makefile: Likewise.
52105 * socket/Makefile: Likewise.
52106 * math/Makefile: Likewise.
52107 * signal/Makefile: Likewise.
52108 * debug/Makefile: Likewise.
52109 * elf/Makefile: Likewise.
52110 * timezone/Makefile: Likewise.
52111 * stdlib/Makefile: Likewise.
52112 * iconvdata/Makefile: Likewise.
52113 * sunrpc/Makefile: Likewise.
52114 * io/Makefile: Likewise.
52115 * argp/Makefile: Likewise.
52116 * inet/Makefile: Likewise.
52117 * hesiod/Makefile: Likewise.
52118 * grp/Makefile: Likewise.
52119 * csu/Makefile: Likewise.
52120 * wctype/Makefile: Likewise.
52121 * crypt/Makefile: Likewise.
52122 * libio/Makefile: Likewise.
52123 * string/Makefile: Likewise.
52124 * nis/Makefile: Likewise.
52125 * resolv/Makefile: Likewise.
52126 * stdio-common/Makefile: Likewise.
52127 * wcsmbs/Makefile: Likewise.
52128 * dlfcn/Makefile: Likewise.
52129 * posix/Makefile: Likewise.
52132 * timezone/Makefile: Don't install timezone files, just the programs
52135 2012-03-06 Ulrich Drepper <drepper@gmail.com>
52137 * nss/databases.def: Add missing gshadow entry.
52139 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
52141 2012-03-06 Marek Polacek <polacek@redhat.com>
52144 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52145 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52146 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52147 * stdio-common/tst-long-dbl-fphex.c: New file.
52149 2012-03-06 David S. Miller <davem@davemloft.net>
52151 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52152 (set_obp_int): New function.
52153 (get_obp_int): New function.
52154 (__get_clockfreq_via_dev_openprom): Likewise.
52155 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52156 Avoid unused variable warnings on 'val' and use builtin_expect.
52157 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52159 (INLINE_CLONE_SYSCALL): Likewise.
52161 2012-03-05 David S. Miller <davem@davemloft.net>
52163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52165 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
52167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52169 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52170 only for |x| >= 40.
52171 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52173 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
52175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52176 Replace gettimeofday with __vdso_gettimeofday.
52178 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52179 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52180 __vdso_clock_gettime and __vdso_getcpu.
52182 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52183 time with __vdso_time.
52185 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52187 * manual/lang.texi (size_t): Note types to which size_t may be
52188 equivalent with the GNU C Library, but do not describe when
52189 differences between them are significant.
52191 2012-03-05 Andreas Jaeger <aj@suse.de>
52193 * sysdeps/i386/fpu/libm-test-ulps: Update.
52195 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52198 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52199 (__ieee754_pow): Save and restore rounding mode and use
52200 round-to-nearest for main computations.
52201 * math/libm-test.inc (pow_test_tonearest): New function.
52202 (pow_test_towardzero): Likewise.
52203 (pow_test_downward): Likewise.
52204 (pow_test_upward): Likewise.
52205 (main): Call the new functions.
52206 * sysdeps/i386/fpu/libm-test-ulps: Update.
52207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52210 * math/libm-test.inc (cosh_test_tonearest): New function.
52211 (cosh_test_towardzero): Likewise.
52212 (cosh_test_downward): Likewise.
52213 (cosh_test_upward): Likewise.
52214 (sinh_test_tonearest): Likewise.
52215 (sinh_test_towardzero): Likewise.
52216 (sinh_test_downward): Likewise.
52217 (sinh_test_upward): Likewise.
52218 (main): Call the new functions.
52219 * sysdeps/i386/fpu/libm-test-ulps: Update.
52220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52222 2012-03-05 Tom de Vries <tom@codesourcery.com>
52224 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52225 default stack guard is set in last bytes.
52226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52228 2012-03-05 Kees Cook <keescook@chromium.org>
52230 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52233 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52234 possibly allocate from heap instead of stack.
52235 * stdio-common/bug-vfprintf-nargs.c: New file.
52236 * stdio-common/Makefile (tests): Add nargs overflow test.
52238 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52242 2012-03-03 Marek Polacek <polacek@redhat.com>
52244 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52245 * math/math_private.h: Likewise.
52246 * stdlib/tst-strtod.c: Likewise.
52247 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52248 * sysdeps/x86_64/bits/atomic.h: Likewise.
52250 2012-03-02 David S. Miller <davem@davemloft.net>
52252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52256 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52257 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52258 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52259 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52261 2012-03-02 Roland McGrath <roland@hack.frob.com>
52264 * manual/examples/README: New file, says the example source files
52265 can be used under GPL>=2.
52266 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52267 line containing just "*/".
52268 * manual/examples/add.c: Add copyright header (GPL>=2).
52269 * manual/examples/argp-ex1.c: Likewise.
52270 * manual/examples/argp-ex2.c: Likewise.
52271 * manual/examples/argp-ex3.c: Likewise.
52272 * manual/examples/argp-ex4.c: Likewise.
52273 * manual/examples/atexit.c: Likewise.
52274 * manual/examples/db.c: Likewise.
52275 * manual/examples/dir.c: Likewise.
52276 * manual/examples/dir2.c: Likewise.
52277 * manual/examples/execinfo.c: Likewise.
52278 * manual/examples/filecli.c: Likewise.
52279 * manual/examples/filesrv.c: Likewise.
52280 * manual/examples/fmtmsgexpl.c: Likewise.
52281 * manual/examples/genpass.c: Likewise.
52282 * manual/examples/inetcli.c: Likewise.
52283 * manual/examples/inetsrv.c: Likewise.
52284 * manual/examples/isockad.c: Likewise.
52285 * manual/examples/longopt.c: Likewise.
52286 * manual/examples/memopen.c: Likewise.
52287 * manual/examples/memstrm.c: Likewise.
52288 * manual/examples/mkfsock.c: Likewise.
52289 * manual/examples/mkisock.c: Likewise.
52290 * manual/examples/mygetpass.c: Likewise.
52291 * manual/examples/pipe.c: Likewise.
52292 * manual/examples/popen.c: Likewise.
52293 * manual/examples/rprintf.c: Likewise.
52294 * manual/examples/search.c: Likewise.
52295 * manual/examples/select.c: Likewise.
52296 * manual/examples/setjmp.c: Likewise.
52297 * manual/examples/sigh1.c: Likewise.
52298 * manual/examples/sigusr.c: Likewise.
52299 * manual/examples/stpcpy.c: Likewise.
52300 * manual/examples/strdupa.c: Likewise.
52301 * manual/examples/strftim.c: Likewise.
52302 * manual/examples/strncat.c: Likewise.
52303 * manual/examples/subopt.c: Likewise.
52304 * manual/examples/swapcontext.c: Likewise.
52305 * manual/examples/termios.c: Likewise.
52306 * manual/examples/testopt.c: Likewise.
52307 * manual/examples/testpass.c: Likewise.
52308 * manual/examples/timeval_subtract.c: Likewise.
52311 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52313 * manual/timeval_subtract.c.texi: ... here, new file.
52315 2012-03-02 David S. Miller <davem@davemloft.net>
52317 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52319 2012-03-02 Joseph Myers <joseph@codesourcery.com>
52322 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52323 (__sin): Save and restore rounding mode and use round-to-nearest
52324 for all computations.
52325 (__cos): Save and restore rounding mode and use round-to-nearest
52326 for all computations.
52327 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52329 (tan): Save and restore rounding mode and use round-to-nearest for
52331 * math/libm-test.inc (cos_test_tonearest): New function.
52332 (cos_test_towardzero): Likewise.
52333 (cos_test_downward): Likewise.
52334 (cos_test_upward): Likewise.
52335 (sin_test_tonearest): Likewise.
52336 (sin_test_towardzero): Likewise.
52337 (sin_test_downward): Likewise.
52338 (sin_test_upward): Likewise.
52339 (tan_test_tonearest): Likewise.
52340 (tan_test_towardzero): Likewise.
52341 (tan_test_downward): Likewise.
52342 (tan_test_upward): Likewise.
52343 (main): Call the new functions.
52344 * sysdeps/i386/fpu/libm-test-ulps: Update.
52345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52348 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52349 small n, then large n, before computing and testing k+n.
52350 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52351 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52353 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52355 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52356 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52357 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52358 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52359 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52360 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52361 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52362 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52363 * math/libm-test.inc (scalbn_test): Add more tests.
52364 (scalbln_test): Likewise.
52366 * manual/filesys.texi (mode_t): Describe constraints on size and
52367 signedness, not exact equivalence to a particular type.
52369 (ino64_t): Likewise.
52371 (nlink_t): Likewise.
52372 (blkcnt_t): Likewise.
52373 (blkcnt64_t): Likewise.
52374 * manual/llio.texi (off_t): Likewise.
52377 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52378 (__ieee754_exp): Save and restore rounding mode and use
52379 round-to-nearest for all computations.
52380 * math/libm-test.inc (exp_test_tonearest): New function.
52381 (exp_test_towardzero): Likewise.
52382 (exp_test_downward): Likewise.
52383 (exp_test_upward): Likewise.
52384 (main): Call the new functions.
52385 * sysdeps/i386/fpu/libm-test-ulps: Update.
52386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52388 2012-03-01 Chris Demetriou <cgd@google.com>
52390 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52391 have predictable order.
52393 2012-03-01 David S. Miller <davem@davemloft.net>
52395 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52397 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52398 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52399 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52400 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52402 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52403 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52404 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52406 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52407 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52408 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52409 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52410 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52414 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52415 * sysdeps/sparc/fpu/libm-test-ulps: to here.
52416 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52418 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52419 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52420 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52421 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52422 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52423 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52424 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52425 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52426 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52427 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52428 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52429 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52430 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52431 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52432 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52434 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52435 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52436 * sysdeps/sparc/elf/configure: Regenerated.
52438 2012-03-01 Joseph Myers <joseph@codesourcery.com>
52440 * configure.in (AS, LD): Require binutils 2.20 or later.
52441 * configure: Regenerated.
52442 * manual/install.texi (Tools for Compilation): Give binutils 2.20
52443 as required minimum version.
52444 * INSTALL: Regenerated.
52448 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52449 before squaring exponent.
52450 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52451 bottom long double and 27 bits of top long double before squaring
52453 * math/libm-test.inc (erfc_test): Add more tests.
52454 * sysdeps/i386/fpu/libm-test-ulps: Update.
52455 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52458 2012-03-01 Kai Tietz <ktietz@redhat.com>
52460 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52461 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52462 containing bit-fields.
52463 * soft-fp/extended.h (_FP_UNION_E): Likewise.
52464 * soft-fp/single.h (_FP_UNION_S): Likewise.
52465 * soft-fp/double.h (_FP_UNION_D): Likewise.
52467 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52470 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52471 not include ../strcmp.S.
52472 [USE_AS_STRNCASECMP_L]: Likewise.
52473 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52474 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52475 * sysdeps/i386/i686/multiarch/strncase_l-c.c
52476 (__strncasecmp_l_ia32): Define as alias to
52477 __strncasecmp_l_nonascii.
52480 * math/libm-test.inc (expm1_test): Add test for bug 5794.
52481 * sysdeps/i386/fpu/libm-test-ulps: Update.
52482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52484 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52487 2012-02-29 Jeff Law <law@redhat.com>
52489 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52490 out of bounds read.
52492 2012-02-29 Marek Polacek <polacek@redhat.com>
52495 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52496 * elf/Makefile: Add rules to run tst-unused-dep.out.
52498 2012-02-28 David S. Miller <davem@davemloft.net>
52500 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52501 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52502 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52503 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52504 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52505 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52507 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52509 * math/libm-test.inc (llround_test): Move one test from
52510 lround_test. Use TEST_f_L in moved test.
52511 (lround_test): Move misplaced test to llround_test. Add testcase
52514 2012-02-28 Ulrich Drepper <drepper@gmail.com>
52516 * sysdeps/x86_64/fpu/e_expf.S: New file.
52517 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52519 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
52522 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52523 of remain_len that may cause incomplete multi-byte character and
52525 * posix/bug-regex33.c: New file.
52526 * posix/Makefile (tests): Add bug-regex33.
52528 2012-02-28 Joseph Myers <joseph@codesourcery.com>
52530 * manual/macros.texi: New file.
52531 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52532 * manual/libc.texinfo: Include macros.texi.
52533 * manual/creatute.texi: Likewise.
52534 * manual/install.texi: Likewise.
52535 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52536 @glibcadj{} in references to the GNU C Library.
52537 * manual/charset.texi: Likewise.
52538 * manual/conf.texi: Likewise.
52539 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
52540 when not using those macros.
52541 * manual/creature.texi: Likewise.
52542 * manual/crypt.texi: Likewise.
52543 * manual/errno.texi: Likewise.
52544 * manual/filesys.texi: Likewise.
52545 * manual/header.texi: Likewise.
52546 * manual/install.texi: Likewise.
52547 * manual/intro.texi: Likewise.
52548 * manual/io.texi: Likewise.
52549 * manual/job.texi: Likewise.
52550 * manual/lang.texi: Likewise.
52551 * manual/libc.texiinfo: Likewise.
52552 * manual/llio.texi: Likewise.
52553 * manual/locale.texi: Likewise.
52554 * manual/maint.texi: Likewise.
52555 * manual/math.texi: Likewise.
52556 * manual/memory.texi: Likewise.
52557 * manual/message.texi: Likewise.
52558 * manual/nss.texi: Likewise.
52559 * manual/pattern.texi: Likewise.
52560 * manual/process.texi: Likewise.
52561 * manual/resource.texi: Likewise.
52562 * manual/search.texi: Likewise.
52563 * manual/setjmp.texi: Likewise.
52564 * manual/signal.texi: Likewise.
52565 * manual/socket.texi: Likewise.
52566 * manual/startup.texi: Likewise.
52567 * manual/stdio.texi: Likewise.
52568 * manual/string.texi: Likewise.
52569 * manual/sysinfo.texi: Likewise.
52570 * manual/syslog.texi: Likewise.
52571 * manual/terminal.texi: Likewise.
52572 * manual/time.texi: Likewise.
52573 * manual/users.texi: Likewise.
52574 * INSTALL: Regenerated.
52575 * NOTES: Regenerated.
52576 * sysdeps/gnu/errlist.c: Regenerated.
52578 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
52580 * include/dirent.h: Include <dirstream.h> before
52583 2012-02-28 David S. Miller <davem@davemloft.net>
52585 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52586 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52587 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52588 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52590 2012-02-27 David S. Miller <davem@davemloft.net>
52592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52594 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52595 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52598 frame pointer instead of stack pointer relative arg slot.
52599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52600 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52601 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52603 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
52606 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52608 2012-02-27 David S. Miller <davem@davemloft.net>
52610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52614 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52615 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52616 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52617 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52619 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52621 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52622 later. Allow versions 5-9.
52623 * configure: Regenerated.
52624 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52625 required minimum version and 4.6 as recommended version. Do not
52626 mention bugs in GCC 2.7 and 2.8.
52627 * INSTALL: Regenerated.
52629 2012-02-27 David S. Miller <davem@davemloft.net>
52631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52635 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52636 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52637 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52638 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52640 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52641 manipulate bits before adding and subtracting TWO112[sx].
52642 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52644 2012-02-27 Roland McGrath <roland@hack.frob.com>
52647 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52648 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52649 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52650 being in POSIX, because they are in 1003.1-2008.
52652 * rt/tst-aio.c: Include <fcntl.h>.
52653 * rt/tst-aio7.c: Likewise.
52654 * rt/tst-aio64.c: Likewise.
52656 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52658 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52660 * manual/install.texi (--with-headers): Describe headers as
52661 interface headers, not private headers.
52662 (Specific advice for GNU/Linux systems): Describe use of headers
52663 from "make headers_install", not private headers from older
52665 * INSTALL: Regenerated.
52666 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52668 * sysdeps/unix/sysv/linux/configure: Regenerated.
52670 * manual/llio.texi (fclean): Remove documentation.
52672 * manual/Makefile (libc-texi-generated): New variable. Include
52674 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52675 $(libc-texi-generated), not duplicated list of files.
52676 (version.texi, stamp-version): New rules.
52677 (realclean): Remove $(libc-texi-generated), not individual files
52678 from that list. Do not remove dir-add.texinfo.
52679 * manual/libc.texinfo: Comment out uses of edition numbers and
52680 references to printed manual. Remove last-updated dates.
52681 (EDITION): Comment out.
52683 (VERSION, UPDATED): Remove.
52684 (version.texi): Include.
52686 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
52688 * sysdeps/posix/spawni.c: Include <signal.h>.
52689 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52690 * sysdeps/pthread/aio_fsync.c: Likewise.
52692 2012-02-26 Ulrich Drepper <drepper@gmail.com>
52694 * conform/Makefile (tests): Run only when not cross-compiling and
52695 when fast-check is not defined.
52697 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52698 * conform/data/limits.h-data: Fixes for POSIX2008.
52699 * conform/run-conformtest.sh: Run all tests.
52700 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52702 * include/bits/dlfcn.h: Likewise.
52703 * include/langinfo.h: Likewise.
52704 * include/monetary.h: Likewise.
52705 * include/sys/poll.h: Likewise.
52707 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52709 * posix/spawn.h: Define __need_sigset_t.
52710 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52711 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52712 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
52713 to get sigevent_t only.
52714 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52715 only for __USE_GNU.
52716 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52717 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52718 process_vm_writev only for __USE_GNU.
52719 * termios/termios.h: Declare tcgetsid also for POSIX2008.
52721 * conform/Makefile: For now ignore errors from run-conformtest.
52722 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
52723 POSIX to avoid namespace pollution. Don't prepend headers.
52724 * conform/data/aio.h-data: Fixes for POSIX testing.
52725 * conform/data/fcntl.h-data: Likewise.
52726 * conform/data/glob.h-data: Likewise.
52727 * conform/data/grp.h-data: Likewise.
52728 * conform/data/pthread.h-data: Likewise.
52729 * conform/data/pwd.h-data: Likewise.
52730 * conform/data/signal.h-data: Likewise.
52731 * conform/data/spawn.h-data: Likewise.
52732 * conform/data/stdio.h-data: Likewise.
52733 * conform/data/stdlib.h-data: Likewise.
52734 * conform/data/stropts.h-data: Likewise.
52735 * conform/data/sys/mman.h-data: Likewise.
52736 * conform/data/sys/stat.h-data: Likewise.
52737 * conform/data/sys/types.h-data: Likewise.
52738 * conform/data/sys/wait.h-data: Likewise.
52739 * conform/data/time.h-data: Likewise.
52740 * conform/data/unistd.h-data: Likewise.
52741 * conform/data/utime.h-data: Likewise.
52743 * io/sys/stat.h: fchmod was always in POSIX.
52744 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52745 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52746 * rt/aio.h: Define __need_timespec before including <time.h>.
52747 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52748 struct. Add forward declaration of pthread_attr_t and use it in
52750 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52751 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52752 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52753 always remove CLK_TCK definition.
52755 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
52757 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52759 2012-02-25 Ulrich Drepper <drepper@gmail.com>
52761 * conform/run-conformtest.sh: New file.
52762 * conform/Makefile: Run run-conformtest for tests.
52763 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
52766 * conform/data/uchar.h-data: New file.
52767 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52768 * conform/data/arpa/inet.h-data: Likewise.
52769 * conform/data/assert.h-data: Likewise.
52770 * conform/data/complex.h-data: Likewise.
52771 * conform/data/cpio.h-data: Likewise.
52772 * conform/data/ctype.h-data: Likewise.
52773 * conform/data/dirent.h-data: Likewise.
52774 * conform/data/dlfcn.h-data: Likewise.
52775 * conform/data/errno.h-data: Likewise.
52776 * conform/data/fcntl.h-data: Likewise.
52777 * conform/data/float.h-data: Likewise.
52778 * conform/data/fmtmsg.h-data: Likewise.
52779 * conform/data/fnmatch.h-data: Likewise.
52780 * conform/data/ftw.h-data: Likewise.
52781 * conform/data/glob.h-data: Likewise.
52782 * conform/data/grp.h-data: Likewise.
52783 * conform/data/iconv.h-data: Likewise.
52784 * conform/data/inttypes.h-data: Likewise.
52785 * conform/data/langinfo.h-data: Likewise.
52786 * conform/data/libgen.h-data: Likewise.
52787 * conform/data/limits.h-data: Likewise.
52788 * conform/data/locale.h-data: Likewise.
52789 * conform/data/math.h-data: Likewise.
52790 * conform/data/monetary.h-data: Likewise.
52791 * conform/data/mqueue.h-data: Likewise.
52792 * conform/data/ndbm.h-data: Likewise.
52793 * conform/data/net/if.h-data: Likewise.
52794 * conform/data/netdb.h-data: Likewise.
52795 * conform/data/netinet/in.h-data: Likewise.
52796 * conform/data/nl_types.h-data: Likewise.
52797 * conform/data/poll.h-data: Likewise.
52798 * conform/data/pthread.h-data: Likewise.
52799 * conform/data/pwd.h-data: Likewise.
52800 * conform/data/regex.h-data: Likewise.
52801 * conform/data/sched.h-data: Likewise.
52802 * conform/data/search.h-data: Likewise.
52803 * conform/data/semaphore.h-data: Likewise.
52804 * conform/data/setjmp.h-data: Likewise.
52805 * conform/data/signal.h-data: Likewise.
52806 * conform/data/spawn.h-data: Likewise.
52807 * conform/data/stdarg.h-data: Likewise.
52808 * conform/data/stdio.h-data: Likewise.
52809 * conform/data/stdlib.h-data: Likewise.
52810 * conform/data/string.h-data: Likewise.
52811 * conform/data/strings.h-data: Likewise.
52812 * conform/data/stropts.h-data: Likewise.
52813 * conform/data/sys/ipc.h-data: Likewise.
52814 * conform/data/sys/mman.h-data: Likewise.
52815 * conform/data/sys/msg.h-data: Likewise.
52816 * conform/data/sys/resource.h-data: Likewise.
52817 * conform/data/sys/select.h-data: Likewise.
52818 * conform/data/sys/sem.h-data: Likewise.
52819 * conform/data/sys/shm.h-data: Likewise.
52820 * conform/data/sys/socket.h-data: Likewise.
52821 * conform/data/sys/stat.h-data: Likewise.
52822 * conform/data/sys/statvfs.h-data: Likewise.
52823 * conform/data/sys/time.h-data: Likewise.
52824 * conform/data/sys/timeb.h-data: Likewise.
52825 * conform/data/sys/times.h-data: Likewise.
52826 * conform/data/sys/types.h-data: Likewise.
52827 * conform/data/sys/uio.h-data: Likewise.
52828 * conform/data/sys/un.h-data: Likewise.
52829 * conform/data/sys/utsname.h-data: Likewise.
52830 * conform/data/sys/wait.h-data: Likewise.
52831 * conform/data/syslog.h-data: Likewise.
52832 * conform/data/tar.h-data: Likewise.
52833 * conform/data/termios.h-data: Likewise.
52834 * conform/data/utime.h-data: Likewise.
52835 * conform/data/utmpx.h-data: Likewise.
52836 * conform/data/varargs.h-data: Likewise.
52837 * conform/data/wchar.h-data: Likewise.
52838 * conform/data/wctype.h-data: Likewise.
52839 * conform/data/wordexp.h-data: Likewise.
52841 * include/stropts.h: New file.
52842 * include/uchar.h: New file.
52843 * include/aio.h: Changes to allow conformtest.pl to use the headers.
52844 * include/assert.h: Likewise.
52845 * include/ctype.h: Likewise.
52846 * include/dirent.h: Likewise.
52847 * include/dlfcn.h: Likewise.
52848 * include/fcntl.h: Likewise.
52849 * include/fnmatch.h: Likewise.
52850 * include/glob.h: Likewise.
52851 * include/grp.h: Likewise.
52852 * include/libio.h: Likewise.
52853 * include/locale.h: Likewise.
52854 * include/math.h: Likewise.
52855 * include/net/if.h: Likewise.
52856 * include/netdb.h: Likewise.
52857 * include/netinet/in.h: Likewise.
52858 * include/pthread.h: Likewise.
52859 * include/pwd.h: Likewise.
52860 * include/regex.h: Likewise.
52861 * include/sched.h: Likewise.
52862 * include/search.h: Likewise.
52863 * include/setjmp.h: Likewise.
52864 * include/signal.h: Likewise.
52865 * include/stdio.h: Likewise.
52866 * include/stdlib.h: Likewise.
52867 * include/string.h: Likewise.
52868 * include/sys/cdefs.h: Likewise.
52869 * include/sys/mman.h: Likewise.
52870 * include/sys/msg.h: Likewise.
52871 * include/sys/resource.h: Likewise.
52872 * include/sys/select.h: Likewise.
52873 * include/sys/socket.h: Likewise.
52874 * include/sys/stat.h: Likewise.
52875 * include/sys/statvfs.h: Likewise.
52876 * include/sys/time.h: Likewise.
52877 * include/sys/times.h: Likewise.
52878 * include/sys/uio.h: Likewise.
52879 * include/sys/utsname.h: Likewise.
52880 * include/sys/wait.h: Likewise.
52881 * include/termios.h: Likewise.
52882 * include/time.h: Likewise.
52883 * include/ulimit.h: Likewise.
52884 * include/unistd.h: Likewise.
52885 * include/utime.h: Likewise.
52886 * include/wchar.h: Likewise.
52887 * include/wctype.h: Likewise.
52888 * include/wordexp.h: Likewise.
52890 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52892 * time/time.h: TIME_UTC must be a macro.
52893 Make timespec_get available for ISO C11 only as well.
52895 2012-02-24 Ulrich Drepper <drepper@gmail.com>
52897 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52898 Reported by Peng Haitao <penght@cn.fujitsu.com>.
52900 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52902 * configure.in: Use -o not -a in test for unsupported multi-arch.
52904 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52906 * manual/texinfo.tex: Update to version 2012-01-19.16.
52908 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52910 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52912 2012-02-24 Roland McGrath <roland@hack.frob.com>
52915 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52916 * manual/fdl-1.3.texi: New file.
52917 * manual/fdl-1.1.texi: File removed.
52920 * manual/libc.texinfo (FDL_VERSION): New @set.
52921 Use it for mention of FDL in cover text.
52922 (Documentation License): Use it in @include file name.
52924 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52925 Roland McGrath <roland@hack.frob.com>
52928 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52929 (not LONG_LONG_MAX and LONG_LONG_MIN.
52930 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52931 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
52933 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52935 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52939 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52940 manipulate bits before adding and subtracting TWO23[sx].
52941 * math/libm-test.inc (nearbyint_test): Add more tests.
52943 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52946 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52947 bits before adding and subtracting TWO23[sx].
52948 * math/libm-test.inc (rint_test): Add more tests.
52949 (rint_test_tonearest): Likewise.
52950 (rint_test_towardzero): Likewise.
52951 (rint_test_downward): Likewise.
52952 (rint_test_upward: Likewise.
52954 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52957 * include/stdc-predef.h: New file. Extracted from features.h.
52958 * include/features.h: Include stdc-predef.h.
52959 * Makefile (headers): Add stdc-predef.h.
52960 * CONFORMANCE (Compiler limitations): Update.
52962 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52964 * manual/libc.texinfo (VERSION, UPDATED): Revert.
52966 2012-02-21 David S. Miller <davem@davemloft.net>
52968 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52969 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52971 2012-02-20 David S. Miller <davem@davemloft.net>
52973 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52974 using a normal save/restore sequence, rather than allocating a
52975 dummy stack frame just to store a frame pointer and restore.
52976 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52978 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52980 * manual/install.texi: Fix stray word in line-wrapped comment.
52982 2012-02-20 David S. Miller <davem@davemloft.net>
52984 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52985 both binutils and gcc support GOTDATA.
52987 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52988 "rd %pc" in the PIC register setup sequences.
52990 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52991 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52992 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52993 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52994 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52995 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52996 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52997 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52998 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52999 (SYSCALL_ERROR_HANDLER): Likewise.
53000 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53001 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53002 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53003 (SYSCALL_ERROR_HANDLER): Likewise.
53005 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53006 (HAVE_GCC_GOTDATA): New.
53007 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53008 relocation support in both binutils and gcc.
53009 * sysdeps/sparc/elf/configure: Regenerate.
53011 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53012 * sysdeps/sparc/sparc32/elf/configure: Delete.
53013 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53014 * sysdeps/sparc/sparc64/elf/configure: Delete.
53015 * sysdeps/sparc/elf/configure.in: New file.
53016 * sysdeps/sparc/elf/configure: Generate.
53018 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53019 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53020 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53021 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53022 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53024 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53026 * manual/install.texi: Do not mention specific glibc version
53028 * manual/libc.texinfo (VERSION, UPDATED): Update.
53029 (@copying): Use @copyright{} and range of years.
53031 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53034 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53035 [crti.S not in sysdirs] (generated): Do not append.
53036 [crti.S not in sysdirs] (omit-deps): Likewise.
53037 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53038 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53039 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53040 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53041 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53043 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53044 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53045 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53046 * csu/defs.awk: Remove file.
53047 * sysdeps/generic/initfini.c: Likewise.
53048 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53050 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53053 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53055 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53056 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53057 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53058 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53059 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53060 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53062 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53063 (__EPOLL_PACKED): Define to empty if not defined by
53065 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53069 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53071 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53072 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53073 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53074 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53076 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53080 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53082 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53084 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53085 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53086 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53089 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53091 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53092 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53094 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53096 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53097 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53099 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53101 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53104 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53106 * math/w_acos.c: Use non-signaling floating-point comparisons.
53107 * math/w_acosf.c: Likewise.
53108 * math/w_acosh.c: Likewise.
53109 * math/w_acoshf.c: Likewise.
53110 * math/w_acoshl.c: Likewise.
53111 * math/w_acosl.c: Likewise.
53112 * math/w_asin.c: Likewise.
53113 * math/w_asinf.c: Likewise.
53114 * math/w_asinl.c: Likewise.
53115 * math/w_atanh.c: Likewise.
53116 * math/w_atanhf.c: Likewise.
53117 * math/w_atanhl.c: Likewise.
53118 * math/w_exp2.c: Likewise.
53119 * math/w_exp2f.c: Likewise.
53120 * math/w_exp2l.c: Likewise.
53121 * math/w_j0.c: Likewise.
53122 * math/w_j0f.c: Likewise.
53123 * math/w_j0l.c: Likewise.
53124 * math/w_j1.c: Likewise.
53125 * math/w_j1f.c: Likewise.
53126 * math/w_j1l.c: Likewise.
53127 * math/w_jn.c: Likewise.
53128 * math/w_jnf.c: Likewise.
53129 * math/w_log.c: Likewise.
53130 * math/w_log10.c: Likewise.
53131 * math/w_log10f.c: Likewise.
53132 * math/w_log10l.c: Likewise.
53133 * math/w_log2.c: Likewise.
53134 * math/w_log2f.c: Likewise.
53135 * math/w_log2l.c: Likewise.
53136 * math/w_logf.c: Likewise.
53137 * math/w_logl.c: Likewise.
53138 * math/w_sqrt.c: Likewise.
53139 * math/w_sqrtf.c: Likewise.
53140 * math/w_sqrtl.c: Likewise.
53141 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53142 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53143 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53144 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53145 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53147 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53150 * manual/string.texi (strnlen): Use correct parameter name in
53151 equivalent expression.
53153 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53156 * manual/users.texi (seteuid): Consistently use neweuid for
53159 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53162 * manual/nss.texi (Services in the NSS configuration): Correct
53163 list of services in example configuration file.
53165 2012-02-19 Nick Bowler <nbowler@draconx.ca>
53168 * manual/arith.texi: Remove statements about negative zero
53169 behaving identically to zero.
53171 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53174 * manual/install.texi: Do not document upgrading from libc5.
53176 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53179 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53181 2012-02-18 David S. Miller <davem@davemloft.net>
53183 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53184 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53185 %o7 across the call.
53186 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53188 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53189 SETUP_PIC_REG_LEAF.
53190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53191 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53192 * sysdeps/sparc/crtn.S: Likewise.
53194 2012-02-17 Ulrich Drepper <drepper@gmail.com>
53196 * aout/Makefile: Remove.
53198 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53201 * manual/examples/argp-ex1.c (main): Format definition in GNU
53203 * manual/examples/argp-ex2.c (main): Likewise.
53204 * manual/examples/argp-ex3.c (main): Likewise.
53205 * manual/examples/argp-ex4.c (main): Likewise.
53206 * manual/examples/longopt.c (main): Use new-style prototype
53208 * manual/examples/strncat.c (main): Specify return type and use
53209 (void) for arguments.
53210 * manual/examples/subopt.c (main): Use char **argv argument.
53212 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53215 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53218 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53221 * manual/string.texi (strchr): Change when strchrnul is
53224 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53227 * manual/locale.texi (setlocale): Document LOCPATH.
53229 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53232 * manual/process.texi (execle): Move @dots{} before last argument.
53234 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
53237 * manual/charset.texi (Generic Charset Conversion): Fix typo
53238 (LC_TYPE -> LC_CTYPE).
53240 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53243 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53244 (scalbnf): Likewise.
53245 (scalbnl): Likewise.
53246 (scalbln): Likewise.
53247 (scalblnf): Likewise.
53248 (scalblnl): Likewise.
53249 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53250 (vwarnx): Likewise.
53253 * manual/filesys.texi (telldir): Use braces around return type.
53254 * manual/llio.texi (mmap): Add space after comma.
53255 (mmap64): Likewise.
53256 * manual/math.texi (jn): Use @var{} on parameter names.
53262 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53264 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53266 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53267 (sched_get_priority_max): Likewise.
53268 * manual/signal.texi (sigvec): Add space after comma.
53269 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53271 (if_indextoname): Likewise.
53272 (if_freenameindex): Likewise.
53273 (sendto): Use ',' instead of '.' in prototype.
53274 * manual/startup.texi (syscall): Use @dots{} instead of literal
53276 * manual/stdio.texi (__fpending): Separate initial words of
53277 paragraph from @deftypefun line.
53278 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53280 (vsyslog): Use @var{} on parameter names.
53281 * manual/terminal.texi (stty): Use @var{} on parameter names.
53282 * manual/users.texi (getutmp): Use @var{} on parameter names.
53283 (getutmpx): Likewise.
53285 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53288 * manual/stdio.texi (fopen): Fix typos in description of
53291 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53294 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53295 get clock_id definition.
53297 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
53300 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53301 (madvise): Cast every argument to void on its own.
53303 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53306 * manual/startup.texi (Exit Status): Fix typo.
53308 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53311 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53312 * manual/examples/argp-ex2.c: Likewise.
53313 * manual/examples/argp-ex3.c: Likewise.
53315 2012-02-16 Richard Henderson <rth@redhat.com>
53317 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53318 * sysdeps/s390/s390-32/initfini.c: Remove.
53319 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53320 * sysdeps/s390/s390-64/initfini.c: Remove.
53322 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53324 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53325 compiler output for sysdeps/generic/initfini.c.
53326 * sysdeps/sh/elf/initfini.c: Remove file.
53328 2012-02-16 David S. Miller <davem@davemloft.net>
53331 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53333 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53334 * sysdeps/sparc/crti.S: New file.
53335 * sysdeps/sparc/crtn.S: New file.
53336 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53337 * sysdeps/sparc/sparc64/Makefile: Likewise.
53339 2012-02-15 Mike Frysinger <vapier@gentoo.org>
53342 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53344 2012-02-15 Roland McGrath <roland@hack.frob.com>
53347 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53349 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53350 (write, read, close): Likewise.
53351 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53353 2012-02-15 Joseph Myers <joseph@codesourcery.com>
53355 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53356 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53357 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53358 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53360 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53364 2012-02-14 Marek Polacek <polacek@redhat.com>
53366 * sysdeps/x86_64/crti.S: New file.
53367 * sysdeps/x86_64/crtn.S: New file.
53368 * sysdeps/x86_64/elf/initfini.c: Remove file.
53370 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53372 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53373 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53374 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53375 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53377 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53381 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53383 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53384 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53385 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53386 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53388 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53392 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
53394 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53395 __feraiseexcept instead of feraiseexcept.
53397 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53398 nanosleep invocations.
53399 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53400 strings, and add error checking for a nanosleep invocations.
53402 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
53404 Replace FSF snail mail address with URLs, as per GNU coding standards.
53405 Most of the snail mail addresses were wrong anyway, and omitting
53406 them makes the source code easier to maintain. Almost all of the
53407 changes are to license notices and to locale LC_IDENTIFICATION
53408 addresses, except for this one:
53409 * manual/libc.texinfo: In "Published by", give the FSF's URL,
53410 not its snail mail address.
53412 2012-02-09 Richard Henderson <rth@twiddle.net>
53414 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53415 of kernel-features.h.
53417 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53419 2012-02-08 Marek Polacek <polacek@redhat.com>
53421 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53422 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53423 * sysdeps/gnu/_G_config.h: Likewise.
53424 * sysdeps/generic/_G_config.h: Likewise.
53426 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
53428 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53432 * sysdeps/powerpc/powerpc32/crti.S: New file.
53433 * sysdeps/powerpc/powerpc32/crtn.S: New file.
53434 * sysdeps/powerpc/powerpc64/crti.S: New file.
53435 * sysdeps/powerpc/powerpc64/crtn.S: New file.
53437 * Makeconfig (have-initfini): Don't set.
53438 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53439 * configure.in (nopic_initfini): Don't substitute.
53440 * config.h.in (HAVE_INITFINI): Don't #undef.
53441 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53442 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53444 2012-02-08 Joseph Myers <joseph@codesourcery.com>
53446 Support crti.S and crtn.S provided directly by architectures.
53447 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53448 [crti.S in sysdirs] (omit-deps): Likewise.
53449 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53450 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53451 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53452 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53453 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53454 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53455 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53456 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53457 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53458 compiler output for sysdeps/generic/initfini.c.
53459 * sysdeps/i386/elf/Makefile: Remove file.
53460 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53462 2012-02-07 Marek Polacek <polacek@redhat.com>
53464 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53465 * sysdeps/gnu/_G_config.h: Likewise.
53466 * sysdeps/mach/hurd/_G_config.h: Likewise.
53468 2012-02-07 Marek Polacek <polacek@redhat.com>
53470 * math/Makefile (tests): Add tst-CMPLX2.
53471 * math/tst-CMPLX2.c: New file.
53473 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
53475 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53477 * math/libm-test.inc (jn_test): Add missing L suffix.
53479 2012-02-06 Marek Polacek <polacek@redhat.com>
53481 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53482 * sysdeps/i386/fpu/e_powf.S: Likewise.
53483 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53484 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53485 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53486 * sysdeps/i386/fpu/e_pow.S: Likewise.
53487 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53488 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53489 * sysdeps/i386/fpu/s_expm1.S: Likewise.
53490 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53491 * sysdeps/i386/fpu/e_log2.S: Likewise.
53492 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53493 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53494 * sysdeps/i386/fpu/e_powl.S: Likewise.
53495 * sysdeps/i386/fpu/s_log1p.S: Likewise.
53496 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53497 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53498 * sysdeps/i386/fpu/e_logl.S: Likewise.
53499 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53500 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53501 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53502 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53503 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53504 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53505 * sysdeps/i386/fpu/e_log.S: Likewise.
53506 * sysdeps/i386/fpu/s_cexp.S: Likewise.
53507 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53508 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53509 * sysdeps/i386/fpu/e_logf.S: Likewise.
53510 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53511 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53512 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53513 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53514 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53515 * sysdeps/i386/fpu/e_log10.S: Likewise.
53516 * sysdeps/i386/fpu/s_frexp.S: Likewise.
53517 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53518 * sysdeps/i386/fpu/s_asinh.S: Likewise.
53519 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53520 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53521 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53522 * sysdeps/i386/asm-syntax.h: Likewise.
53523 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53524 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53525 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53526 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53527 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53528 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53529 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53530 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53531 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53532 * sysdeps/powerpc/sysdep.h: Likewise.
53533 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53534 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53536 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53539 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53541 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53543 * sysdeps/i386/sysdep.h: Include <features.h>.
53544 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53547 2012-02-05 Joseph Myers <joseph@codesourcery.com>
53549 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53551 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53554 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53556 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53557 (SETUP_PIC_REG): Use GET_PC_THUNK.
53558 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53561 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53563 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53564 for non-PIC compilation.
53565 (SETUP_PIC_REG): Add .p2align directive.
53566 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53567 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53568 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53569 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53570 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53571 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53572 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53573 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53574 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53575 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53576 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53577 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53578 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53579 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53580 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53581 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53582 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53583 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53584 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53585 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53586 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53587 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53588 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53589 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53590 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53591 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53592 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53593 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53594 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53595 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53596 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53597 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53598 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53599 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53600 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53601 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53602 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53603 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53604 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53605 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53606 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53608 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53610 * math/tst-CMPLX.c: Include <stdio.h>.
53612 2012-01-31 Joseph Myers <joseph@codesourcery.com>
53614 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53616 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53617 * sysdeps/sparc/bits/mathdef.h: Likewise.
53619 2012-01-31 Marek Polacek <polacek@redhat.com>
53621 * libio/libio.h: Don't define _PARAMS.
53622 * locale/programs/config.h: Don't define PARAMS.
53623 * stdlib/strtol_l.c: Likewise.
53624 (__strtol_l): Remove PARAMS from the prototype.
53626 2012-01-31 Ulrich Drepper <drepper@gmail.com>
53628 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
53629 names. Just use the correct names. Remove unnecessary wrapper
53631 * malloc/arena.c: Likewise.
53632 * malloc/hooks.c: Likewise.
53634 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53635 ARENA_TEST says not to. Simplify test for creation of a new arena.
53636 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53638 2012-01-30 Ulrich Drepper <drepper@gmail.com>
53640 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53642 (update_get_addr): New function.
53643 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53644 GET_ADDR_MODULE parameter.
53646 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53648 * crypt/cert.c: Remove __STDC__ conditionals.
53649 * crypt/crypt-entry.c: Likewise.
53650 * crypt/crypt_util.c: Likewise.
53651 * libio/filedoalloc.c: Likewise.
53652 * libio/fileops.c: Likewise.
53653 * libio/genops.c: Likewise.
53654 * libio/iofclose.c: Likewise.
53655 * libio/iofdopen.c: Likewise.
53656 * libio/iofopen.c: Likewise.
53657 * libio/iofopen64.c: Likewise.
53658 * libio/iogetdelim.c: Likewise.
53659 * libio/iopopen.c: Likewise.
53660 * libio/obprintf.c: Likewise.
53661 * libio/oldfileops.c: Likewise.
53662 * libio/oldiofclose.c: Likewise.
53663 * libio/oldiofdopen.c: Likewise.
53664 * libio/oldiofopen.c: Likewise.
53665 * libio/oldiopopen.c: Likewise.
53666 * libio/wfiledoalloc.c: Likewise.
53667 * libio/wgenops.c: Likewise.
53668 * locale/programs/xmalloc.c: Likewise.
53669 * misc/syslog.c: Likewise.
53670 * stdio-common/xbug.c: Likewise.
53671 * string/memchr.c: Likewise.
53672 * string/memcmp.c: Likewise.
53673 * string/memrchr.c: Likewise.
53674 * string/rawmemchr.c: Likewise.
53675 * sysdeps/posix/getcwd.c: Likewise.
53676 * time/strftime_l.c: Likewise.
53678 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53680 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53681 * config.make.in (config-cflags-sse2avx): Define.
53682 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53685 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
53687 * scripts/config.guess: Update from upstream config git repository.
53688 * scripts/config.sub: Likewise.
53690 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
53692 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53694 (R_TILEPRO_*, R_TILEGX_*): New macros.
53696 * scripts/firstversions.awk: Fix bug in version range handling.
53698 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53700 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53702 * include/sys/epoll.h: New file.
53703 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53706 2012-01-28 Ulrich Drepper <drepper@gmail.com>
53708 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53709 Avoid unnecessary __WORDSIZE == 64 test.
53710 (fmaxf): Use VEX format if possible.
53715 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53716 * math/math_private.h: Remove libc_fegetround* and
53718 * sysdeps/i386/configure.in: Check for -msse2avx.
53719 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53720 also if SSE2AVX is defined.
53721 Remove libc_fegetround* and libc_fesetround*.
53722 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53723 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
53724 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53726 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53727 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53728 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53729 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53730 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53732 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53734 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53736 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53738 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53740 2012-01-27 Ulrich Drepper <drepper@gmail.com>
53743 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53745 * Makeconfig (libm): Define.
53746 * elf/Makefile: Add rules to build and run tst-relsort1.
53747 * elf/tst-relsort1.c: New file.
53748 * elf/tst-relsort1mod1.c: New file.
53749 * elf/tst-relsort1mod2.c: New file.
53751 2012-01-27 Joseph Myers <joseph@codesourcery.com>
53753 * math/s_ldexp.c: Remove __STDC__ conditionals.
53754 * math/s_ldexpf.c: Likewise.
53755 * math/s_ldexpl.c: Likewise.
53756 * math/s_nextafter.c: Likewise.
53757 * math/s_nexttowardf.c: Likewise.
53758 * math/s_significand.c: Likewise.
53759 * math/s_significandf.c: Likewise.
53760 * math/s_significandl.c: Likewise.
53761 * math/w_jnl.c: Likewise.
53762 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53763 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53764 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53765 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53766 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53767 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53768 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53769 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53770 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53771 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53772 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53774 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53775 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53776 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53777 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53778 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53779 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53781 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53782 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53783 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53784 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53785 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53786 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53787 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53788 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53789 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53790 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53791 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53792 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53793 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53794 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53795 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53796 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53797 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53798 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53799 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53800 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53801 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53802 * sysdeps/ieee754/k_standard.c: Likewise.
53803 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53804 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53805 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53806 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53807 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53808 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53809 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53810 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53811 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53812 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53813 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53814 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53815 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53816 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53817 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53818 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53819 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53820 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53821 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53822 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53823 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53824 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53825 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53826 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53827 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53828 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53829 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53830 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53831 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53832 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53833 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53834 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53835 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53836 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53837 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53838 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53839 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53840 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53841 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53842 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53843 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53844 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53845 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53846 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53847 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53848 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53849 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53850 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53851 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53852 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53853 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53854 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53855 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53856 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53857 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53858 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53859 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53860 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53861 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53862 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53863 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53864 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53865 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53866 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53867 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53868 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53869 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53870 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53871 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53872 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53873 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53874 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53875 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53876 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53877 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53878 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53879 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53880 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53881 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53882 * sysdeps/ieee754/s_matherr.c: Likewise.
53883 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53884 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53886 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53888 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53890 * crypt/md5.h: Remove __STDC__ conditionals.
53891 * libio/libioP.h: Likewise.
53892 * locale/programs/config.h: Likewise.
53893 * sysdeps/generic/sysdep.h: Likewise.
53894 * sysdeps/i386/asm-syntax.h: Likewise.
53895 * sysdeps/s390/asm-syntax.h: Likewise.
53896 * sysdeps/unix/sysdep.h: Likewise.
53897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53900 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53902 * libio/libio.h: Remove __STDC__ conditionals.
53903 * malloc/obstack.h: Likewise.
53904 * math/complex.h: Likewise.
53905 * math/math.h: Likewise.
53906 * sysdeps/generic/_G_config.h: Likewise.
53907 * sysdeps/gnu/_G_config.h: Likewise.
53908 * sysdeps/mach/hurd/_G_config.h: Likewise.
53909 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53910 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53911 * sysdeps/sparc/bits/mathdef.h: Likewise.
53913 2012-01-26 Ulrich Drepper <drepper@gmail.com>
53916 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53917 Clean up HAS_* macros.
53918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53919 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53921 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53923 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53924 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53925 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53926 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53927 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53929 2012-01-25 Joseph Myers <joseph@codesourcery.com>
53931 * elf/tst-unique3.cc (gets): Remove declaration.
53932 * elf/tst-unique3lib.cc (gets): Likewise.
53933 * elf/tst-unique3lib2.cc (gets): Likewise.
53934 * elf/tst-unique4.cc (gets): Likewise.
53936 2012-01-24 Ulrich Drepper <drepper@gmail.com>
53938 * include/stdio.h: Add C++ protection. Add gets declarations and
53940 * debug/tst-chk1.c: Don't declare gets here.
53941 * stdio-common/tst-gets.c: Likewise.
53943 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53945 * posix/glob: Remove directory.
53947 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53949 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53951 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
53953 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53954 of the non-standard EPFNOSUPPORT.
53956 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
53958 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53959 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53960 ANYWHERE set to 1 only on KERN_NO_SPACE error.
53962 2012-01-21 Ulrich Drepper <drepper@gmail.com>
53964 * wcsmbs/uchar.h: Test __STDC_VERSION__.
53966 2012-01-20 Ulrich Drepper <drepper@gmail.com>
53968 * nscd/aicache.c (addhstaiX): Do not cache negative results of
53970 * nscd/grpcache.c (cache_addgr): Likewise.
53971 * nscd/hstcache.c (cache_addhst): Likewise.
53972 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53973 * nscd/pwdcache.c (cache_addpw): Likewise.
53974 * nscd/servicescache.c (cache_addserv): Likewise.
53976 2012-01-16 Ulrich Drepper <drepper@gmail.com>
53978 * malloc/malloc.c: Various cleanups.
53979 * malloc/hooks.c: Likewise.
53981 * stdlib/Makefile (tests): Add bug-fmtmsg1.
53982 * stdlib/bug-fmtmsg1.c: New file.
53984 * stdlib/fmtmsg.c (init): Add missing unlock.
53985 Patch by Peng Haitao <penght@cn.fujitsu.com>.
53987 2012-01-12 Marek Polacek <polacek@redhat.com>
53989 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53992 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53994 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53995 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53996 macro to ensure uniqueness of label name.
53997 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53998 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54000 2012-01-11 Ulrich Drepper <drepper@gmail.com>
54002 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54004 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54005 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54006 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54009 2012-01-10 Ulrich Drepper <drepper@gmail.com>
54011 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54013 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54014 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54015 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54017 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54019 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54020 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54021 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54022 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54024 * math/bits/math-finite.h: Add ldexp support.
54026 2012-01-10 Marek Polacek <polacek@redhat.com>
54028 * locale/programs/localedef.h (show_archive_content): Add noreturn
54031 2012-01-09 Ulrich Drepper <drepper@gmail.com>
54033 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54035 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54037 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54039 * io/Makefile (headers): Add bits/poll2.h.
54041 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54044 typo #include statement.
54046 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54048 * include/sys/cdefs.h: Define __attribute_alloc_size.
54049 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54050 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54051 * elf/pldd.c: Likewise.
54052 * iconv/iconv_charmap.c: Likewise.
54053 * iconv/iconvconfig.c: Likewise.
54054 * iconv/strtab.c: Likewise.
54055 * locale/programs/locale.c: Likewise.
54056 * locale/programs/localedef.h: Likewise.
54057 * locale/programs/simple-hash.c: Likewise.
54058 * nscd/nscd.h: Likewise.
54059 * nss/makedb.c: Likewise.
54060 * sysdeps/generic/ldconfig.h: Likewise.
54061 * locale/programs/localedef.c: Remove xmalloc prototype.
54062 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54064 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54066 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54069 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54071 * math/Makefile (tests): Add tst-CMPLX.
54072 * math/tst-CMPLX.c: New file.
54074 * math/complex.h (CMPLXL): Fix typo.
54076 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54077 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54079 * debug/tst-chk1.c: Add poll and ppoll tests.
54080 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54081 * include/sys/poll.h: Add hidden proto for ppoll.
54082 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54083 * sysdeps/mach/hurd/ppoll.c: Likewise.
54084 * io/ppoll.c: Likewise.
54085 * debug/poll_chk.c: New file.
54086 * debug/ppoll_chk.c: New file.
54087 * include/bits/poll2.h: New file.
54088 * io/bits/poll2.h: New file.
54091 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54093 * configure.in: static is always set to yes. Remove.
54094 * config.make.in: Don't set build-static.
54095 * Makeconfig: Remove use of build-static.
54096 * dlfcn/Makefile: Likewise.
54097 * elf/Makefile: Likewise.
54098 * math/Makefile: Likewise.
54099 * misc/Makefile: Likewise.
54100 * nptl/Makefile: Likewise.
54101 * sysdeps/mach/hurd/Makefile: Likewise.
54103 * configure.in: PWD_P is not used anymore.
54104 * config.make.in: Remove PWD_P entry.
54106 * configure.in: Remove last remnants of RANLIB.
54107 No need to check for signed size_t anymore.
54108 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54110 Remove __builtin_expect test because we require at least gcc 3.4.
54111 * aclocal.m4: Likewise.
54113 * wcsmbs/mbrtoc16.c: Implement using towc function.
54114 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54115 * wcsmbs/wcsmbsload.c: Likewise.
54116 * iconv/gconv_simple.c: Likewise.
54117 * iconv/gconv_int.h: Likewise.
54118 * iconv/gconv_builtin.h: Likewise.
54119 * iconv/iconv_prog.c: Remove CHAR16 handling.
54121 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54123 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54125 * configure.in: Remove --with-elf and --enable-bounded options.
54126 Dont set base_machine for ia64. More non-ELF conditions removed.
54127 Remove testing and setting of leading underscore information.
54128 * config.make.in (build-bounded): Set to no.
54129 * config.h.in: Remove NO_UNDERSCORES entry.
54130 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
54132 * csu/start.c: Remove !NO_UNDERSCORE code.
54133 * locale/localeinfo.h: Likewise.
54134 * sysdeps/generic/machine-gmon.h: Likewise.
54135 * sysdeps/generic/sysdep.h: Likewise.
54136 * sysdeps/i386/sysdep.h: Likewise.
54137 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54138 * sysdeps/mach/sysdep.h: Likewise.
54139 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54140 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54141 * sysdeps/sh/sysdep.h: Likewise.
54142 * sysdeps/sparc/sparc32/alloca.S: Likewise.
54143 * sysdeps/unix/i386/sysdep.S: Likewise.
54144 * sysdeps/unix/sparc/start.c: Likewise.
54145 * sysdeps/unix/sparc/sysdep.S: Likewise.
54146 * sysdeps/unix/sparc/sysdep.h: Likewise.
54147 * sysdeps/unix/start.c: Likewise.
54148 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54149 * sysdeps/x86_64/sysdep.h: Likewise.
54151 2012-01-07 Ulrich Drepper <drepper@gmail.com>
54154 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54156 * argp/argp-fmtstream.h: Use const instead __const.
54157 * argp/argp.h: Likewise.
54158 * assert/assert.h: Likewise.
54159 * bits/fenv.h: Likewise.
54160 * bits/sched.h: Likewise.
54161 * bits/sigset.h: Likewise.
54162 * bits/sigthread.h: Likewise.
54163 * catgets/nl_types.h: Likewise.
54164 * conform/data/pthread.h-data: Likewise.
54165 * crypt/crypt-private.h: Likewise.
54166 * crypt/crypt.h: Likewise.
54167 * crypt/crypt_util.c: Likewise.
54168 * ctype/ctype.h: Likewise.
54169 * debug/execinfo.h: Likewise.
54170 * debug/mbsnrtowcs_chk.c: Likewise.
54171 * debug/mbsrtowcs_chk.c: Likewise.
54172 * debug/wcsnrtombs_chk.c: Likewise.
54173 * debug/wcsrtombs_chk.c: Likewise.
54174 * debug/wcstombs_chk.c: Likewise.
54175 * dirent/dirent.h: Likewise.
54176 * dlfcn/dlfcn.h: Likewise.
54177 * elf/neededtest4.c: Likewise.
54178 * grp/grp.h: Likewise.
54179 * gshadow/gshadow.h: Likewise.
54180 * iconv/gconv.h: Likewise.
54181 * iconv/gconv_int.h: Likewise.
54182 * iconv/gconv_simple.c: Likewise.
54183 * iconv/iconv.h: Likewise.
54184 * iconv/loop.c: Likewise.
54185 * iconv/skeleton.c: Likewise.
54186 * include/aio.h: Likewise.
54187 * include/aliases.h: Likewise.
54188 * include/argz.h: Likewise.
54189 * include/arpa/inet.h: Likewise.
54190 * include/assert.h: Likewise.
54191 * include/dirent.h: Likewise.
54192 * include/dlfcn.h: Likewise.
54193 * include/execinfo.h: Likewise.
54194 * include/fcntl.h: Likewise.
54195 * include/fenv.h: Likewise.
54196 * include/glob.h: Likewise.
54197 * include/grp.h: Likewise.
54198 * include/libintl.h: Likewise.
54199 * include/mntent.h: Likewise.
54200 * include/netdb.h: Likewise.
54201 * include/pwd.h: Likewise.
54202 * include/rpc/netdb.h: Likewise.
54203 * include/sched.h: Likewise.
54204 * include/search.h: Likewise.
54205 * include/shadow.h: Likewise.
54206 * include/signal.h: Likewise.
54207 * include/stdio.h: Likewise.
54208 * include/stdlib.h: Likewise.
54209 * include/string.h: Likewise.
54210 * include/sys/socket.h: Likewise.
54211 * include/sys/stat.h: Likewise.
54212 * include/sys/statfs.h: Likewise.
54213 * include/sys/statvfs.h: Likewise.
54214 * include/sys/syslog.h: Likewise.
54215 * include/sys/time.h: Likewise.
54216 * include/sys/uio.h: Likewise.
54217 * include/time.h: Likewise.
54218 * include/unistd.h: Likewise.
54219 * include/utmp.h: Likewise.
54220 * include/wchar.h: Likewise.
54221 * include/wctype.h: Likewise.
54222 * inet/aliases.h: Likewise.
54223 * inet/arpa/inet.h: Likewise.
54224 * inet/netinet/ether.h: Likewise.
54225 * inet/netinet/in.h: Likewise.
54226 * intl/libintl.h: Likewise.
54227 * io/bits/fcntl2.h: Likewise.
54228 * io/fcntl.h: Likewise.
54229 * io/ftw.h: Likewise.
54230 * io/sys/poll.h: Likewise.
54231 * io/sys/stat.h: Likewise.
54232 * io/sys/statfs.h: Likewise.
54233 * io/sys/statvfs.h: Likewise.
54234 * io/utime.h: Likewise.
54235 * libio/bits/stdio.h: Likewise.
54236 * libio/bits/stdio2.h: Likewise.
54237 * libio/libio.h: Likewise.
54238 * libio/libioP.h: Likewise.
54239 * libio/stdio.h: Likewise.
54240 * locale/lc-ctype.c: Likewise.
54241 * locale/locale.h: Likewise.
54242 * login/utmp.h: Likewise.
54243 * malloc/arena.c: Likewise.
54244 * malloc/malloc.c: Likewise.
54245 * malloc/malloc.h: Likewise.
54246 * malloc/mcheck.c: Likewise.
54247 * malloc/mtrace.c: Likewise.
54248 * math/bits/mathcalls.h: Likewise.
54249 * math/fenv.h: Likewise.
54250 * math/math_private.h: Likewise.
54251 * misc/bits/error.h: Likewise.
54252 * misc/bits/syslog.h: Likewise.
54253 * misc/err.h: Likewise.
54254 * misc/error.h: Likewise.
54255 * misc/fstab.h: Likewise.
54256 * misc/mntent.h: Likewise.
54257 * misc/regexp.h: Likewise.
54258 * misc/search.h: Likewise.
54259 * misc/sgtty.h: Likewise.
54260 * misc/sys/mman.h: Likewise.
54261 * misc/sys/syslog.h: Likewise.
54262 * misc/sys/uio.h: Likewise.
54263 * misc/sys/xattr.h: Likewise.
54264 * misc/ttyent.h: Likewise.
54265 * nis/rpcsvc/ypclnt.h: Likewise.
54266 * nss/nss.h: Likewise.
54267 * posix/bits/unistd.h: Likewise.
54268 * posix/fnmatch.h: Likewise.
54269 * posix/glob.h: Likewise.
54270 * posix/sched.h: Likewise.
54271 * posix/spawn.h: Likewise.
54272 * posix/sys/wait.h: Likewise.
54273 * posix/unistd.h: Likewise.
54274 * posix/wordexp.h: Likewise.
54275 * pwd/pwd.h: Likewise.
54276 * resolv/netdb.h: Likewise.
54277 * resource/sys/resource.h: Likewise.
54278 * rt/aio.h: Likewise.
54279 * rt/bits/mqueue2.h: Likewise.
54280 * rt/mqueue.h: Likewise.
54281 * shadow/shadow.h: Likewise.
54282 * signal/signal.h: Likewise.
54283 * socket/send.c: Likewise.
54284 * socket/sendto.c: Likewise.
54285 * socket/sys/socket.h: Likewise.
54286 * stdio-common/printf.h: Likewise.
54287 * stdlib/bits/stdlib.h: Likewise.
54288 * stdlib/fmtmsg.h: Likewise.
54289 * stdlib/monetary.h: Likewise.
54290 * stdlib/stdlib.h: Likewise.
54291 * stdlib/ucontext.h: Likewise.
54292 * streams/stropts.h: Likewise.
54293 * string/argz.h: Likewise.
54294 * string/bits/string2.h: Likewise.
54295 * string/string.h: Likewise.
54296 * string/strings.h: Likewise.
54297 * sunrpc/rpc/auth.h: Likewise.
54298 * sunrpc/rpc/auth_des.h: Likewise.
54299 * sunrpc/rpc/clnt.h: Likewise.
54300 * sunrpc/rpc/netdb.h: Likewise.
54301 * sunrpc/rpc/pmap_clnt.h: Likewise.
54302 * sunrpc/rpc/xdr.h: Likewise.
54303 * sysdeps/generic/inttypes.h: Likewise.
54304 * sysdeps/generic/net/if.h: Likewise.
54305 * sysdeps/generic/sys/swap.h: Likewise.
54306 * sysdeps/gnu/net/if.h: Likewise.
54307 * sysdeps/gnu/utmpx.h: Likewise.
54308 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54309 * sysdeps/i386/i486/bits/string.h: Likewise.
54310 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54311 * sysdeps/s390/bits/string.h: Likewise.
54312 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54313 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54314 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54315 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54316 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54317 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54318 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54319 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54320 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54321 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54322 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54323 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54324 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54325 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54326 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54327 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54328 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54329 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54330 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54331 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54332 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54333 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54334 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54335 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54336 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54337 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54338 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54339 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54340 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54341 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54342 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54343 * sysvipc/sys/ipc.h: Likewise.
54344 * sysvipc/sys/msg.h: Likewise.
54345 * sysvipc/sys/sem.h: Likewise.
54346 * sysvipc/sys/shm.h: Likewise.
54347 * termios/termios.h: Likewise.
54348 * time/sys/time.h: Likewise.
54349 * time/time.h: Likewise.
54350 * wcsmbs/bits/wchar2.h: Likewise.
54351 * wcsmbs/uchar.h: Likewise.
54352 * wcsmbs/wchar.h: Likewise.
54353 * wctype/wctype.h: Likewise.
54356 * Makeconfig: Remove all but ELF support including AIX support.
54357 * Makerules: Likewise.
54358 * config.h.in: Likewise.
54359 * config.make.in: Likewise.
54360 * configure: Likewise.
54361 * configure.in: Likewise.
54362 * csu/Makefile: Likewise.
54363 * csu/version.c: Likewise.
54364 * debug/Makefile: Likewise.
54365 * dlfcn/Makefile: Likewise.
54366 * elf/Makefile: Likewise.
54367 * extra-lib.mk: Likewise.
54368 * iconv/Makefile: Likewise.
54369 * include/libc-symbols.h: Likewise.
54370 * include/shlib-compat.h: Likewise.
54371 * resolv/Makefile: Likewise.
54372 * resolv/res_libc.c: Likewise.
54373 * rt/Makefile: Likewise.
54374 * sysdeps/i386/asm-syntax.h: Likewise.
54375 * sysdeps/i386/sysdep.h: Likewise.
54376 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54377 * sysdeps/mach/sysdep.h: Likewise.
54378 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54379 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54380 * sysdeps/s390/asm-syntax.h: Likewise.
54381 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54382 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54383 * sysdeps/sh/sysdep.h: Likewise.
54384 * sysdeps/unix/sparc/sysdep.h: Likewise.
54385 * sysdeps/wordsize-32/divdi3.c: Likewise.
54386 * sysdeps/x86_64/sysdep.h: Likewise.
54388 * argp/Versions: Remove _argp_unlock_xxx.
54391 * abilist/ld.abilist: Update. Adjust for removal of tls option.
54392 * abilist/libBrokenLocale.abilist: Likewise.
54393 * abilist/libanl.abilist: Likewise.
54394 * abilist/libc.abilist: Likewise.
54395 * abilist/libcrypt.abilist: Likewise.
54396 * abilist/libdl.abilist: Likewise.
54397 * abilist/libm.abilist: Likewise.
54398 * abilist/libnsl.abilist: Likewise.
54399 * abilist/libpthread.abilist: Likewise.
54400 * abilist/libresolv.abilist: Likewise.
54401 * abilist/librt.abilist: Likewise.
54402 * abilist/libthread_db.abilist: Likewise.
54403 * abilist/libutil.abilist: Likewise.
54404 * abilist/libnss_db.abilist: New file.
54406 * scripts/abilist.awk: Add support for indirect functions.
54408 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54410 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54412 * shlib-versions: Remove entries for ports architectures.
54414 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
54416 * elf/stackguard-macros.h: Remove support for IA-64.
54417 * elf/tst-auditmod1.c: Likewise.
54418 * sysdeps/generic/ldsodefs.h: Likewise.
54420 * sysdeps/unix/sysv/linux/configure.in: Ports should define
54421 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54425 * configure.in: Remove --enable-omitfp support.
54427 * config.make.in: Likewise.
54428 * Makeconfig: Likewise.
54429 * manual/install.texi: Likewise.
54431 In case anyone cares, the IA-64 architecture could move to ports.
54432 * sysdeps/ia64/*: Removed.
54433 * sysdeps/unix/sysv/linux/ia64/*: Removed.
54434 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54437 * configure.in: Remove entries for unsupported architectures.
54440 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54441 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
54443 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54444 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54445 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
54446 fall back to using wcrtomb.
54447 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54448 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
54450 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54451 * wcsmbs/tst-c16c32-1.c: New file.
54453 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54456 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54458 * elf/tst-unique3.cc: Add explicit declaration of gets.
54459 * elf/tst-unique3lib.cc: Likewise.
54460 * elf/tst-unique3lib2.cc: Likewise.
54461 * elf/tst-unique4.cc: Likewise.
54463 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54465 2012-01-06 Joseph Myers <joseph@codesourcery.com>
54468 * assert/assert.h (static_assert): Don't define for C++.
54469 * libio/stdio.h (gets): Do declare for C++ <= C++11.
54470 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54472 2012-01-03 Ulrich Drepper <drepper@gmail.com>
54474 * iconv/loop.c (single loop): Fix assertion in storing of
54477 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54479 2012-01-01 Ulrich Drepper <drepper@gmail.com>
54481 * posix/getconf.c: Update copyright year.
54482 * nss/getent.c: Likewise.
54483 * nss/makedb.c: Likewise.
54484 * iconv/iconvconfig.c: Likewise.
54485 * iconv/iconv_prog.c: Likewise.
54486 * elf/ldconfig.c: Likewise.
54487 * elf/pldd.c: Likewise.
54488 * elf/sotruss.ksh: Likewise.
54489 * catgets/gencat.c: Likewise.
54490 * csu/version.c: Likewise.
54491 * elf/ldd.bash.in: Likewise.
54492 * elf/sprof.c (print_version): Likewise.
54493 * locale/programs/locale.c: Likewise.
54494 * locale/programs/localedef.c: Likewise.
54495 * login/programs/pt_chown.c: Likewise.
54496 * nscd/nscd.c (print_version): Likewise.
54497 * debug/xtrace.sh: Likewise.
54498 * malloc/memusage.sh: Likewise.
54499 * malloc/mtrace.pl: Likewise.
54500 * debug/catchsegv.sh: Likewise.
54502 2011-12-30 Jakub Jelinek <jakub@redhat.com>
54504 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54507 2011-12-24 Ulrich Drepper <drepper@gmail.com>
54510 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54511 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54513 * iconv/gconv_int.h: Likewise.
54514 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54515 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54516 from libc for GLIBC_2.16.
54517 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54518 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54519 * wcsmbs/uchar.h: Really define mbstate_t.
54520 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54521 * wcsmbs/c16rtomb.c: New file.
54522 * wcsmbs/mbrtoc16.c: New file.
54523 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54524 for C/POSIX locale.
54525 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54526 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54528 * wcsmbs/wchar.h: Add missing __restrict.
54530 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54533 * time/Makefile (routines): Add timespec_get.
54534 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54535 * time/time.h: Define TIME_UTC and declare timespec_get. Define
54536 timespec for ISO C11.
54537 * time/timespec_get.c: New file.
54538 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54539 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54542 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54543 * stdlib/stdlib.h: Declare aligned_alloc.
54544 * Versions.def: Add GLIBC_2.16 for libc.
54545 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54548 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54551 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54555 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54558 * assert/assert.h (static_assert): Define.
54560 * version.h: Update for 2.16 development version.
54563 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54566 * version.h (RELEASE): Bump for 2.15 release.
54567 * include/features.h (__GLIBC_MINOR__): Bump to 15.
54569 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54570 Patch by Marek Polacek <mpolacek@redhat.com>.
54572 * bits/byteswap.h: Protect long long constants with __extension__.
54573 * sysdeps/i386/bits/byteswap.h: Likewise.
54574 * sysdeps/ia64/bits/byteswap.h: Likewise.
54575 * sysdeps/s390/bits/byteswap.h: Likewise.
54576 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54578 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54581 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54582 destination buffer.
54583 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54585 2011-12-23 Marek Polacek <polacek@redhat.com>
54587 * elf/dl-addr.c (determine_info): Add inline keyword.
54588 * elf/tst-auditmod4b.c (check_avx): Likewise.
54589 * elf/tst-auditmod6b.c (check_avx): Likewise.
54590 * elf/tst-auditmod6c.c (check_avx): Likewise.
54591 * elf/tst-auditmod7b.c (check_avx): Likewise.
54593 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54595 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54598 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54601 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54602 processing for last bytes.
54604 2011-08-06 Bruno Haible <bruno@clisp.org>
54607 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54608 U+0385, not to U+1FEE.
54611 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54612 entry for U+00A5 U+0301.
54614 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54617 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54618 buffer for the output is too small.
54620 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54624 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54625 SSE flags if possible.
54627 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54630 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54631 processing for last bytes.
54633 2011-12-22 Joseph Myers <joseph@codesourcery.com>
54635 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54636 (syscall-list-default-options, syscall-list-default-condition)
54637 (syscall-list-includes): Define.
54638 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54639 list of ABIs and options and #if conditions for each ABI. Do not
54640 handle common syscalls between ABIs specially.
54641 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54643 (syscall-list-variants, syscall-list-32bit-options)
54644 (syscall-list-32bit-condition, syscall-list-64bit-options)
54645 (syscall-list-64bit-condition): Define.
54646 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54647 (syscall-list-variants, syscall-list-32bit-options)
54648 (syscall-list-32bit-condition, syscall-list-64bit-options)
54649 (syscall-list-64bit-condition): Define.
54650 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54652 (syscall-list-variants, syscall-list-32bit-options)
54653 (syscall-list-32bit-condition, syscall-list-64bit-options)
54654 (syscall-list-64bit-condition): Define.
54655 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54657 (syscall-list-variants, syscall-list-32bit-options)
54658 (syscall-list-32bit-condition, syscall-list-64bit-options)
54659 (syscall-list-64bit-condition): Define.
54661 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54663 * locale/iso-639.def: Add brx entry.
54666 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54667 Proposed by Mariusz_Cukr <marcukr@op.pl>.
54669 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54670 __feraiseexcept_renamed.
54672 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54675 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54676 EPOLLET with unsigned values.
54677 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54678 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54680 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54681 to large cancellation.
54682 * math/s_cacoshf.c: Likewise.
54683 * math/s_cacoshl.c: Likewise.
54685 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
54689 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54690 * math/s_cacoshf.c: Likewise.
54691 * math/s_cacoshl.c: Likewise.
54693 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54696 * iconv/gconv.h: Define __GCONV_SWAP.
54697 * iconvdata/unicode.c: The swap bit must be stored in __flags.
54698 * iconvdata/utf-16.c: Likewise.
54699 * iconvdata/utf-32.c: Likewise.
54701 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
54704 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54705 numerator after shifting it by one limb.
54707 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
54709 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54710 under [__USE_EXTERN_INLINES].
54712 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54715 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54717 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54719 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54720 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54722 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54723 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54724 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54725 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54726 for strncasecmp/strncasecmp_l compilation.
54727 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54728 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54730 2011-12-08 Marek Polacek <mpolacek@redhat.com>
54733 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54736 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54739 * time/tzfile.c (__tzfile_read): Check values from file header.
54741 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
54743 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54744 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54745 * powerpc/powerpc32/dl-start.S: Likewise.
54746 * powerpc/powerpc32/elf/start.S: Likewise.
54747 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54748 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54749 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54750 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54751 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54752 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54753 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54754 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54755 * powerpc/powerpc32/fpu/s_round.S: Likewise.
54756 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54757 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54758 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54759 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54760 * powerpc/powerpc32/memset.S: Likewise.
54761 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54762 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54763 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54764 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54765 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54766 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54767 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54768 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54769 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54770 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54771 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54772 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54773 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54775 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54777 * math/libm-test.inc: Added more nearbyint tests.
54778 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54779 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54780 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54781 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54783 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
54785 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54788 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54790 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54791 Add wcscpy-ssse3 wcscpy-c.
54792 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54793 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54794 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54795 * sysdeps/x86_64/wcschr.S: New file.
54796 * sysdeps/x86_64/wcsrchr.S: New file.
54797 * string/test-strcmp.c: Remove checking of wcscmp function for
54799 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54800 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54801 wcsrchr-sse2 wcsrchr-c.
54802 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54803 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54804 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54805 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54806 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54807 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54808 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54809 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54810 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54811 * wcsmbc/wcschr.c (WCSCHR): New macro.
54813 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54815 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54816 * wcsmbs/test-wcsrchr.c: New file.
54817 * string/test-strrchr.c: Add wcsrchr support.
54819 * wcsmbs/test-wcscpy.c: New file.
54820 * string/test-strcpy.c: Add wcscpy support.
54823 2011-12-10 Ulrich Drepper <drepper@gmail.com>
54825 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54828 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
54831 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54833 2011-12-04 Ulrich Drepper <drepper@gmail.com>
54835 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54836 Minor optimizations.
54838 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54839 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54840 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54842 2011-12-03 Ulrich Drepper <drepper@gmail.com>
54844 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54845 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54846 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54847 for gcc to avoid warnings.
54848 * inet/Makefile (tests): Add tst-checks.
54849 * inet/tst-checks.c: New file.
54851 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54854 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54857 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54858 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54860 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54862 2011-12-02 Ulrich Drepper <drepper@gmail.com>
54864 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54867 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54869 2011-11-29 Joseph Myers <joseph@codesourcery.com>
54871 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54872 conditional on GCC version.
54873 (__arch_compare_and_exchange_val_8_acq)
54874 (__arch_compare_and_exchange_val_16_acq)
54875 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54876 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54877 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54879 2011-12-02 Joseph Myers <joseph@codesourcery.com>
54881 * sysdeps/sh/backtrace.c: New file.
54883 2011-12-02 Andreas Schwab <schwab@redhat.com>
54885 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
54888 2011-12-01 Andreas Schwab <schwab@redhat.com>
54890 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54891 falling back to utime.
54893 2011-11-30 Andreas Schwab <schwab@redhat.com>
54895 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54896 expectations for float.
54898 2011-11-29 Andreas Schwab <schwab@redhat.com>
54900 * locale/weight.h (findidx): Add parameter len.
54901 * locale/weightwc.h (findidx): Likewise.
54902 * posix/fnmatch_loop.c (FCT): Adjust caller.
54903 * posix/regcomp.c (build_equiv_class): Likewise.
54904 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54905 * posix/regexec.c (check_node_accept_bytes): Likewise.
54906 * string/strcoll_l.c (STRCOLL): Likewise.
54907 * string/strxfrm_l.c (STRXFRM): Likewise.
54909 2011-11-17 Ulrich Drepper <drepper@gmail.com>
54911 * Makefile.in: Remove CVSOPT handling.
54912 * configure.in: Remove use of AC_REVISION.
54913 * iconvdata/Makefile (distribute): No need to filter out CVS.
54914 * scripts/list-sources.sh: Remove CVS, subversion and monotone
54917 2011-11-16 Andreas Schwab <schwab@redhat.com>
54919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54920 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54921 [USE_AS_STRNCASECMP_L]: Likewise.
54922 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54923 NO_TLS_DIRECT_SEG_REFS.
54924 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54925 Fix argument offsets for non-PIC.
54926 [USE_AS_STRNCASECMP_L]: Likewise.
54927 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54928 NO_TLS_DIRECT_SEG_REFS.
54930 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54932 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54934 * locale/loadlocale.c (_nl_load_locale): Likewise.
54936 2011-11-15 Andreas Schwab <schwab@redhat.com>
54938 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54939 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54940 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54941 (SYSCALL_GETTIME): Set errno on error.
54943 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54944 count references to noai6ai_cached.
54946 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54948 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54950 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54951 FD_CLOEXEC for /proc/self/maps.
54953 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54954 FD_CLOEXEC for /proc/meminfo.
54956 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54959 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
54960 FD_CLOEXEC for given file.
54962 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54964 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54965 FD_CLOEXEC for /etc/hosts.
54966 (_gethtent): Likewise.
54968 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54970 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54971 cancellation and set FD_CLOEXEC for /etc/netgroup.
54973 * nss/nss_files/files-key.c (search): Don't allow cancellation when
54974 reading /etc/publickey.
54976 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54977 allow cancellation when reading /etc/group.
54979 * nss/nss_files/files-alias.c (internal_setent): Don't allow
54981 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
54983 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54984 when using data file.
54986 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54988 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54989 (write_nis_obj): Use "c" and "e" in fopen.
54991 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54993 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54995 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54997 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54999 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55002 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55004 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55006 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55008 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55009 file parsing and set FD_CLOEXEC.
55011 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55013 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55015 2011-11-14 Andreas Schwab <schwab@redhat.com>
55017 * malloc/arena.c (arena_get2): Don't call reused_arena when
55018 _int_new_arena failed.
55020 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55022 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55023 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55024 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55025 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55026 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55027 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55028 to compile strcasecmp and strncasecmp.
55029 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55030 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55032 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55034 2011-11-13 Ulrich Drepper <drepper@gmail.com>
55036 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55037 locale-defines.sym to gen-as-const-headers.
55038 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55039 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55040 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55041 to compile strcasecmp and strncasecmp.
55042 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55043 strcasecmp_l and strncasecmp_l.
55044 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55045 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55046 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55047 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55048 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55049 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55050 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55051 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55052 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55053 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55054 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55056 2011-11-12 Ulrich Drepper <drepper@gmail.com>
55058 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55059 result of SYSDEP_GETTIME_CPU to retval.
55060 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55061 parameter list to macro. Remove trailing semicolon. Adjust users.
55063 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55066 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55068 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55070 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55071 from unused variable.
55073 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55075 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55078 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55081 * sunrpc/rpc_prot.c (rejected): Fix case value.
55083 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55084 unsigned long long int to avoid warnings in shift.
55086 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55088 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55091 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55092 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55093 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55095 * nis/nis_table.c (nis_list): Use variable of correct type for
55096 result of __follow_path call.
55098 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55100 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55101 of math functions ceil, trunc, floor, round, and sqrt, when
55102 avaliable on the platform.
55103 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55105 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55106 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55107 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55109 2011-10-30 Marek Polacek <mpolacek@redhat.com>
55111 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55112 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55114 2011-11-11 Roland McGrath <roland@hack.frob.com>
55116 * include/unistd.h: Fix __readlink return type.
55117 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55119 2011-11-11 Ulrich Drepper <drepper@gmail.com>
55121 * stdlib/ucontext.h: Undo last change for makecontext.
55123 2011-11-11 Andreas Schwab <schwab@redhat.com>
55125 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55127 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55128 * setjmp/setjmp.h: Mark functions as non-leaf.
55129 * setjmp/bits/setjmp2.h: Likewise.
55130 * stdlib/ucontext.h: Likewise.
55132 2011-11-10 Andreas Schwab <schwab@redhat.com>
55134 * malloc/arena.c (_int_new_arena): Don't increment narenas.
55135 (reused_arena): Don't check arena limit.
55136 (arena_get2): Atomically check arena limit.
55138 2011-11-08 Ulrich Drepper <drepper@gmail.com>
55140 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55141 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55143 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55146 2011-11-07 Andreas Schwab <schwab@redhat.com>
55148 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55149 handler when locking.
55151 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55152 Fix size of allocated buffer.
55154 2011-11-04 Andreas Schwab <schwab@redhat.com>
55157 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55158 declarations for long double functions.
55159 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55161 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55163 2011-11-03 Andreas Schwab <schwab@redhat.com>
55165 * nscd/nscd.c (main): Don't start AVC thread until credentials are
55168 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55171 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55173 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55175 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55177 * include/alloca.h (stackinfo_alloca_round): Define.
55178 (extend_alloca): Use it.
55179 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55180 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55183 * scripts/check-local-headers.sh: Ignore libaudit.h.
55185 * nscd/Makefile (extra-objs): Make recursively expanded.
55187 2011-11-01 Ulrich Drepper <drepper@gmail.com>
55189 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55190 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55192 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55193 * posix/tst-rfc3484-2.c: Likewise.
55194 * posix/tst-rfc3484-3.c: Likewise.
55196 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55198 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55200 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55201 process_vm_writev from libc using GLIBC_2.15 version.
55203 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55205 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55207 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55210 2011-10-31 Ulrich Drepper <drepper@gmail.com>
55213 * nss/getent.c (initgroups_keys): Show error message in case no group
55216 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55217 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55218 __bump_nl_timestamp.
55219 * nscd/connections (nscd_init): When host database is served open
55220 netlink socket and request notification about configuration changes.
55221 (main_loop_poll): Track netlink file descriptor and bump timestamp
55222 in case data becomes available.
55223 (main_loop_epoll): Likewise.
55224 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55225 (database_pers_head): Add extra_data fileds.
55226 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55227 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55228 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55230 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55231 in6ai data, call __free_in6ai.
55232 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55233 Add -DHAVE_NETLINK.
55234 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55235 interface information. Reuse previous data if netlink timestamp
55237 (__bump_nl_timestamp): New function.
55238 (__free_in6ai): New function.
55240 2011-10-30 Ulrich Drepper <drepper@gmail.com>
55242 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55243 close_not_cancel_no_status here.
55244 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55246 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55249 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55252 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55253 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55254 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55256 2011-07-03 Andreas Jaeger <aj@suse.de>
55259 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55260 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55261 * math/libm-test.inc (sin_test): Add test case.
55263 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55266 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55267 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55269 * elf/chroot_canon.c (chroot_canon): Cleanups.
55271 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55274 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55275 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55277 * string/test-strchr.c: Make usable for strchrnul testing.
55278 * string/test-strchrnul.c: New file.
55279 * string/Makefile (strop-tests): Add strchrnul.
55281 * po/it.po: Update from translation team.
55282 * po/es.po: Likewise.
55284 2011-10-28 Ulrich Drepper <drepper@gmail.com>
55286 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55287 the three constants needed as parameters. Drop the others.
55288 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55289 __m128i_strloadu_tolower.
55290 Create and initialize variable zero and use it in all the places
55291 where _mm_setzero_si128 was used.
55293 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55294 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55295 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55296 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55298 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55299 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55300 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55301 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55302 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55303 __mpranred, __mptan.
55304 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55305 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55306 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55307 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55308 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55309 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55310 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55311 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55312 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55314 2011-10-28 Andreas Schwab <schwab@redhat.com>
55316 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55317 redefine if SHARED.
55318 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55321 wide char related routines to wcsmbs subdir.
55323 2011-10-27 Andreas Schwab <schwab@redhat.com>
55326 * misc/sys/cdefs.h (__THROWNL): Define.
55327 * posix/unistd.h: Use __THREADNL instead of __THREAD
55328 for memory synchronization functions.
55330 2011-10-26 Roland McGrath <roland@hack.frob.com>
55333 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55335 * manual/stdio.texi (Obstack Streams): Node removed.
55337 2011-10-26 Andreas Schwab <schwab@redhat.com>
55339 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55340 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55341 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55343 * math/math_private.h (math_force_eval): Allow non-addressable
55345 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55347 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55349 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55350 file is not needed.
55352 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55353 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55354 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55355 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55356 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55357 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55358 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55359 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55361 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55362 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55363 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55364 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55365 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55366 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55367 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55368 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55369 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55370 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55371 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55372 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55373 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55374 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55375 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55376 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55377 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55378 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55379 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55381 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55382 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
55384 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55385 place. Use VEX encoding when compiling for AVX.
55387 2011-10-25 Andreas Schwab <schwab@redhat.com>
55389 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55390 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55392 * string/test-strchr.c (do_test): Don't generate NUL bytes.
55394 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55396 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55397 useless if() expression.
55398 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55399 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55400 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55401 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55402 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55403 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55404 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55405 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55406 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55407 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55408 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55409 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55410 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55411 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55412 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55413 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55414 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55415 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55416 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55418 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55420 2011-10-25 Andreas Schwab <schwab@redhat.com>
55422 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55424 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55426 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55428 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55429 .text section. Avoid duplicate constants.
55430 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55431 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55432 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55434 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55435 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55436 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55437 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55438 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55439 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55440 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55441 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55442 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55443 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55444 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55445 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55446 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55447 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55448 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55449 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55450 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55451 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55452 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55453 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55454 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55455 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55456 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55457 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55458 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55459 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55460 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55461 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55462 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55463 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55464 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55465 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55466 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55467 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55468 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55469 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55470 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55471 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55472 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55473 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55474 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55476 2011-10-24 Ulrich Drepper <drepper@gmail.com>
55478 * sysdeps/x86_64/dla.h: Move to ...
55479 * sysdeps/x86_64/fpu/dla.h: ...here.
55480 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55481 situations. Use __builtin_fma only for gcc 4.6 and up.
55483 * config.make.in: Add have-mfma4 entry.
55484 * configure.in: Substitute libc_cv_cc_fma4.
55485 * math/Makefile (dbl-only-routines): Add sincostab.
55486 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55487 Use __sincostab not sincos.
55488 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55490 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55493 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
55495 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
55496 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
55497 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55498 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55500 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55501 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55503 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
55504 define aliases when function name is a macro.
55505 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55506 sysdeps/ieee754/dbl-64/sincos.tbl.
55507 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55508 fma4-enabled routines.
55509 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55510 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55511 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55512 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55513 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55514 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55515 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55516 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55517 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55518 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55519 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55520 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55521 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55522 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55523 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55524 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55525 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55526 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55527 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55528 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55529 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55530 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55531 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55532 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55533 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55534 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55535 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55536 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55537 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55538 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55540 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55542 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55543 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55545 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55546 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55547 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55548 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55549 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55551 2011-10-24 Andreas Schwab <schwab@redhat.com>
55553 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55555 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55557 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55559 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55561 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55563 * string/strnlen.c: Don't define STRNLEN, reverse logic.
55564 Remove unused variable magic_bits.
55565 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55567 * string/strnlen.c: Define and use STRNLEN macro.
55568 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55569 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55570 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55571 * wcsmbs/wcslen.c: Define and use WCSLEN.
55572 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55573 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55574 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55575 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55576 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55577 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55578 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55580 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55583 strnlen-sse2-no-bsf.
55584 Rename strlen-no-bsf to strlen-sse2-no-bsf.
55585 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55586 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55587 Add strnlen support.
55588 (USE_AS_STRNLEN): New macro.
55589 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55590 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55591 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55592 * sysdeps/x86_64/wcslen.S: New file.
55594 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
55596 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55597 XMM-moves are used for copying on small sizes.
55599 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55601 * wcsmbs/Makefile (strop-tests): Add wcschr.
55602 * wcsmbs/test-wcschr.c: New file.
55603 * string/test-strchr.c: Update.
55604 Add wcschr support.
55607 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55609 * wcsmbs/Makefile (strop-tests): Add wcslen.
55610 * wcsmbs/test-wcslen.c: New file.
55611 * string/test-strlen.c: Update.
55612 Add wcslen support.
55615 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55617 * po/it.po: Update from translation team.
55619 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55621 * sysdeps/x86_64/wcscmp.S: Update.
55622 Fix wrong comparison semantics.
55623 wcscmp shall use signed comparison not unsigned.
55624 Don't use substraction to avoid overflow bug.
55625 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55626 * wcsmbc/wcscmp.c: Likewise.
55627 * string/test-strcmp.c: Likewise.
55628 Add new tests to check cases with negative values.
55630 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55632 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55633 * sysdeps/x86_64/dla.h: ...here. New file.
55634 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55635 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55637 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55638 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55639 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55641 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55642 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55644 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
55646 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55647 __ynl_finite aliases.
55649 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55653 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55655 [DLA_FMA] (EMULV): Use DLA_FMA.
55656 [DLA_FMA] (MUL12): Use EMULV.
55657 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55658 that are not needed.
55659 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55660 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55661 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55662 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55663 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55664 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55665 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55667 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
55669 * math/s_nan.c: Undef __nan.
55670 * math/s_nanf.c: Undef __nanf.
55671 * math/s_nanl.c: Undef __nanl.
55672 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55675 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55677 * math/s_catan.c: Add branch predictions.
55678 * math/s_catanf.c: Likewise.
55679 * math/s_catanh.c: Likewise.
55680 * math/s_catanhf.c: Likewise.
55681 * math/s_catanhl.c: Likewise.
55682 * math/s_catanl.c: Likewise.
55683 * math/s_cexp.c: Likewise.
55684 * math/s_cexpf.c: Likewise.
55685 * math/s_cexpl.c: Likewise.
55686 * math/s_clog.c: Likewise.
55687 * math/s_clog10.c: Likewise.
55688 * math/s_clog10f.c: Likewise.
55689 * math/s_clog10l.c: Likewise.
55690 * math/s_clogf.c: Likewise.
55691 * math/s_clogl.c: Likewise.
55692 * math/s_csqrt.c: Likewise.
55693 * math/s_csqrtf.c: Likewise.
55694 * math/s_csqrtl.c: Likewise.
55695 * math/s_ctanf.c: Likewise.
55696 * math/s_ctanh.c: Likewise.
55697 * math/s_ctanhf.c: Likewise.
55698 * math/s_ctanhl.c: Likewise.
55699 * math/s_ctanl.c: Likewise.
55701 * math/math_private.h: Define __nan, __nanf, __nanl.
55702 * math/s_cacosh.c: Include <math_private.h>.
55703 * math/s_cacoshl.c: Likewise.
55704 * math/s_casinh.c: Likewise.
55705 * math/s_casinhf.c: Likewise.
55706 * math/s_casinhl.c: Likewise.
55707 * math/s_ccos.c: Rely entire on ccosh.
55708 * math/s_ccosf.c: Rely entire on ccoshf.
55709 * math/s_ccosl.c: Rely entirely on ccoshl.
55710 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
55711 Remove tests for FE_INVALID.
55712 * math/s_ccoshf.c: Likewise.
55713 * math/s_ccoshl.c: Likewise.
55714 * math/s_csin.c: Likewise.
55715 * math/s_csinf.c: Likewise.
55716 * math/s_csinh.c Likewise.
55717 * math/s_csinhf.c: Likewise.
55718 * math/s_csinhl.c: Likewise.
55719 * math/s_csinl.c: Likewise.
55720 * math/s_ctan.c: Likewise.
55721 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55722 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55723 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55725 2011-10-21 Ulrich Drepper <drepper@gmail.com>
55727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55728 compilation problems.
55730 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55733 2011-10-20 Ulrich Drepper <drepper@gmail.com>
55735 * sysdeps/i386/configure.in: Test for -mfma4 option.
55736 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55737 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55738 COMMON_CPUID_INDEX_80000001.
55739 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55740 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55741 use it if FMA3 is not supported.
55742 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55744 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55745 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55747 2011-10-20 Andreas Schwab <schwab@redhat.com>
55750 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55751 it would create a cycle with a link time dependency.
55753 2011-10-19 Ulrich Drepper <drepper@gmail.com>
55755 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55757 * string/Makefile (strop-tests): Add rawmemchr.
55758 * string/test-rawmemchr.c: New file.
55760 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55761 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
55762 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
55763 when compiling str{,n}casecmp and when AVX is available. Hook up
55764 new optimized code in initializers.
55766 2011-10-19 Andreas Schwab <schwab@redhat.com>
55768 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55769 __feraiseexcept instead of feraiseexcept.
55771 2011-10-18 Ulrich Drepper <drepper@gmail.com>
55773 * math/math_private.h: Define defaults for libc_fetestexcept and
55775 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55776 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55777 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55778 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55779 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55780 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55781 libc_fetestexcept and libc_feupdateenv.
55783 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55784 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55785 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55786 * sysdeps/x86_64/fpu/math_private.h: Define special version of
55787 libc_feholdexcept_setround.
55789 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55790 Add s_nearbyint-c and s_nearbyintf-c.
55791 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55792 nearbyintf inlines.
55793 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55794 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55795 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55796 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55798 * math/math_private.h: Define defaults for libc_fegetround,
55799 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55800 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55801 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55802 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55803 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55804 standard functions.
55805 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55806 Remove comments and hacks for old compiler versions.
55807 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55808 libc_fegetround, libc_fesetround, libc_feholdexcept, and
55809 libc_feholdexceptl.
55811 2011-10-18 Andreas Schwab <schwab@redhat.com>
55813 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55814 (__feraiseexcept_renamed): Add __NTH.
55815 (feraiseexcept): Add __NTH. Rename local variables to fix
55816 namespace violations.
55818 2011-10-17 Ulrich Drepper <drepper@gmail.com>
55820 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55822 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55824 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55825 recently added interfaces.
55826 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55828 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55829 about macro parameter expansion.
55831 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55832 __NO_MATH_INLINES is defined. Cleanups.
55834 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55835 and __floorf is target has SSE4.1.
55836 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55837 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55838 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55839 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55841 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55843 (floorf): Likewise.
55845 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55847 2011-10-17 Andreas Schwab <schwab@redhat.com>
55849 * misc/sys/cdefs.h: Fix last change.
55851 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55854 2011-10-16 Ulrich Drepper <drepper@gmail.com>
55856 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55858 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55859 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55860 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55861 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55862 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55863 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55864 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55865 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55866 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55867 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55868 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55869 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55870 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55871 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55872 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55873 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55874 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55875 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55876 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55877 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55878 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55879 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55881 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55882 ceil, ceilf, floor, floorf.
55884 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55885 Perform IRELATIVE relocations last.
55887 * elf/do-rel.h: Add another parameter nrelative, replacing the
55888 local variable with the same name. Change name of the function
55889 to end in Rel or Rela (uppercase).
55890 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55891 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
55892 elf_dynamic_do_##reloc function.
55894 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55896 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55897 is sufficient, at least on modern CPUs.
55899 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55901 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55902 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55904 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55906 * math/bits/math-finite.h: Add entries for exp.
55907 * math/e_expl.c: Add __*_finite alias.
55908 * sysdeps/i386/fpu/e_exp.S: Likewise.
55909 * sysdeps/i386/fpu/e_expf.S: Likewise.
55910 * sysdeps/i386/fpu/e_expl.c: Likewise.
55911 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55912 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55913 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55914 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55915 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55916 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55917 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55919 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55920 is sufficient, at least on modern CPUs.
55922 * ctype/ctype-info.c (__ctype_init): Define.
55923 * include/ctype.h (__ctype_init): Declare.
55924 (__ctype_b_loc): The variable is always initialized.
55925 (__ctype_toupper_loc): Likewise.
55926 (__ctype_tolower_loc): Likewise.
55927 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55928 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55930 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
55932 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55934 * configure.in: Also look in $cxxmachine/include for C++ system
55937 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55939 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55940 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55941 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55942 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
55943 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55944 (USE_AS_WMEMCMP): New macro.
55946 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55947 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55948 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55949 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55951 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55952 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55953 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55954 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55955 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55956 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55957 (USE_AS_WMEMCMP): New macro.
55958 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55959 * sysdeps/string/test-memcmp.c: Update.
55960 Fix simple_wmemcmp.
55962 * wcsmbs/wmemcmp.c: Update.
55963 (WMEMCMP): New macro.
55966 2011-10-12 Andreas Jaeger <aj@suse.de>
55969 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55971 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55973 * libio/iofwide.c (do_length): Avoid warning.
55975 * ctype/ctype.h (__isctype_f): Add missing __THROW.
55977 2011-10-14 Ulrich Drepper <drepper@gmail.com>
55979 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55981 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55982 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55983 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55984 * sysdeps/i386/i686/fpu/e_log.S: New file.
55985 * sysdeps/i386/i686/fpu/e_logf.S: New file.
55986 * sysdeps/i386/i686/fpu/e_logl.S: New file.
55988 * ctype/ctype.h: Add support for inlined isXXX functions when
55989 compiling C++ code.
55991 2011-10-14 Andreas Schwab <schwab@redhat.com>
55993 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55995 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55997 2011-10-13 Roland McGrath <roland@hack.frob.com>
56000 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56002 2011-10-13 Andreas Schwab <schwab@redhat.com>
56004 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56005 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56008 * sysdeps/x86_64/memrchr.S: Check for zero size.
56010 * string/stratcliff.c: Add memrchr tests.
56012 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56015 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56016 rawmemchr-sse2 rawmemchr-sse2-bsf.
56017 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56018 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56019 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56020 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56021 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56022 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56023 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56024 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56025 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56026 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56027 * string/memrchr.c (MEMRCHR): New macro.
56029 2011-10-12 Ulrich Drepper <drepper@gmail.com>
56031 Add integration with gcc's -ffinite-math-only and optimize wrapper
56033 * Versions.def: Define GLIBC_2.15 version for libm.
56034 * math/Makefile (headers): Add bits/math-finite.h.
56035 * math/bits/math-finite.h: New file.
56036 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56037 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56038 * math/e_acoshl.c: Add __*_finite alias.
56039 * math/e_acosl.c: Likewise.
56040 * math/e_asinl.c: Likewise.
56041 * math/e_atan2l.c: Likewise.
56042 * math/e_atanhl.c: Likewise.
56043 * math/e_coshl.c: Likewise.
56044 * math/e_exp10.c: Likewise.
56045 * math/e_exp10f.c: Likewise.
56046 * math/e_exp10l.c: Likewise.
56047 * math/e_exp2l.c: Likewise.
56048 * math/e_fmodl.c: Likewise.
56049 * math/e_gammal_r.c: Likewise.
56050 * math/e_hypotl.c: Likewise.
56051 * math/e_j0l.c: Likewise.
56052 * math/e_j1l.c: Likewise.
56053 * math/e_jnl.c: Likewise.
56054 * math/e_lgammal_r.c: Likewise.
56055 * math/e_log10l.c: Likewise.
56056 * math/e_log2l.c: Likewise.
56057 * math/e_logl.c: Likewise.
56058 * math/e_powl.c: Likewise.
56059 * math/e_sinhl.c: Likewise.
56060 * math/e_sqrtl.c: Likewise.
56061 * math/e_scalb.c: Completely rewritten and optimized.
56062 * math/e_scalbf.c: Likewise.
56063 * math/e_scalbl.c: Likewise.
56064 * math/w_acos.c: Likewise.
56065 * math/w_acosf.c: Likewise.
56066 * math/w_acosl.c: Likewise.
56067 * math/w_acosh.c: Likewise.
56068 * math/w_acoshf.c: Likewise.
56069 * math/w_acoshl.c: Likewise.
56070 * math/w_asin.c: Likewise.
56071 * math/w_asinf.c: Likewise.
56072 * math/w_asinl.c: Likewise.
56073 * math/w_atan2.c: Likewise.
56074 * math/w_atan2f.c: Likewise.
56075 * math/w_atan2l.c: Likewise.
56076 * math/w_atanh.c: Likewise.
56077 * math/w_atanhf.c: Likewise.
56078 * math/w_atanhl.c: Likewise.
56079 * math/w_exp10.c: Likewise.
56080 * math/w_exp10f.c: Likewise.
56081 * math/w_exp10l.c: Likewise.
56082 * math/w_fmod.c: Likewise.
56083 * math/w_fmodf.c: Likewise.
56084 * math/w_fmodl.c: Likewise.
56085 * math/w_j0.c: Likewise.
56086 * math/w_j0f.c: Likewise.
56087 * math/w_j0l.c: Likewise.
56088 * math/w_j1.c: Likewise.
56089 * math/w_j1f.c: Likewise.
56090 * math/w_j1l.c: Likewise.
56091 * math/w_jn.c: Likewise.
56092 * math/w_jnf.c: Likewise.
56093 * math/w_log.c: Likewise.
56094 * math/w_logf.c: Likewise.
56095 * math/w_logl.c: Likewise.
56096 * math/w_log10.c: Likewise.
56097 * math/w_log10f.c: Likewise.
56098 * math/w_log10l.c: Likewise.
56099 * math/w_log2.c: Likewise.
56100 * math/w_log2f.c: Likewise.
56101 * math/w_log2l.c: Likewise.
56102 * math/w_pow.c: Likewise.
56103 * math/w_powf.c: Likewise.
56104 * math/w_powl.c: Likewise.
56105 * math/w_remainder.c: Likewise.
56106 * math/w_remainderf.c: Likewise.
56107 * math/w_remainderl.c: Likewise.
56108 * math/w_scalb.c: Likewise.
56109 * math/w_scalbf.c: Likewise.
56110 * math/w_scalbl.c: Likewise.
56111 * math/w_sqrt.c: Likewise.
56112 * math/w_sqrtf.c: Likewise.
56113 * math/w_sqrtl.c: Likewise.
56114 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56115 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56117 * math/math_private.h: Declare __kernel_standard_f.
56118 * math/w_cosh.c: Remove cruft and optimize a bit.
56119 * math/w_coshf.c: Likewise.
56120 * math/w_coshl.c: Likewise.
56121 * math/w_exp2.c: Likewise.
56122 * math/w_exp2f.c: Likewise.
56123 * math/w_exp2l.c: Likewise.
56124 * math/w_hypot.c: Likewise.
56125 * math/w_hypotf.c: Likewise.
56126 * math/w_hypotl.c: Likewise.
56127 * math/w_lgamma.c: Likewise.
56128 * math/w_lgamma_r.c: Likewise.
56129 * math/w_lgammaf.c: Likewise.
56130 * math/w_lgammaf_r.c: Likewise.
56131 * math/w_lgammal.c: Likewise.
56132 * math/w_lgammal_r.c: Likewise.
56133 * math/w_sinh.c: Likewise.
56134 * math/w_sinhf.c: Likewise.
56135 * math/w_sinhl.c: Likewise.
56136 * math/w_tgamma.c: Likewise.
56137 * math/w_tgammaf.c: Likewise.
56138 * math/w_tgammal.c: Likewise.
56139 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56140 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56141 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56142 Minor optimizations. Pretty printing. Remove cruft.
56143 * sysdeps/i386/fpu/e_acosf.S: Likewise.
56144 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56145 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56146 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56147 * sysdeps/i386/fpu/e_acosl.c: Likewise.
56148 * sysdeps/i386/fpu/e_asin.S: Likewise.
56149 * sysdeps/i386/fpu/e_asinf.S: Likewise.
56150 * sysdeps/i386/fpu/e_atan2.S: Likewise.
56151 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56152 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56153 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56154 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56155 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56156 * sysdeps/i386/fpu/e_exp10.S: Likewise.
56157 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56158 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56159 * sysdeps/i386/fpu/e_exp2.S: Likewise.
56160 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56161 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56162 * sysdeps/i386/fpu/e_fmod.S: Likewise.
56163 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56164 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56165 * sysdeps/i386/fpu/e_hypot.S: Likewise.
56166 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56167 * sysdeps/i386/fpu/e_log.S: Likewise.
56168 * sysdeps/i386/fpu/e_log10.S: Likewise.
56169 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56170 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56171 * sysdeps/i386/fpu/e_log2.S: Likewise.
56172 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56173 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56174 * sysdeps/i386/fpu/e_logf.S: Likewise.
56175 * sysdeps/i386/fpu/e_logl.S: Likewise.
56176 * sysdeps/i386/fpu/e_pow.S: Likewise.
56177 * sysdeps/i386/fpu/e_powf.S: Likewise.
56178 * sysdeps/i386/fpu/e_powl.S: Likewise.
56179 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56180 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56181 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56182 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56183 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56184 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56185 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56186 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56187 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56188 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56189 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56190 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56191 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56192 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56193 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56194 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56195 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56196 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56197 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56198 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56199 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56200 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56201 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56202 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56203 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56204 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56205 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56206 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56207 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56208 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56209 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56210 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56211 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56212 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56213 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56214 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56215 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56216 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56217 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56218 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56219 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56220 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56221 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56222 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56223 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56224 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56225 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56226 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56227 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56228 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56229 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56230 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56231 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56232 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56233 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56234 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56235 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56236 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56237 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56238 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56239 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56240 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56241 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56242 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56243 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56244 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56245 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56246 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56247 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56248 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56249 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56250 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56251 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56252 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56253 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56254 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56255 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56256 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56257 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56258 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56259 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56260 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56261 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56262 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56264 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56265 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56266 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56267 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56268 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56269 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56270 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56271 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56272 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56273 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56274 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56275 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56276 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56277 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56278 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56279 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56280 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56281 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56282 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56283 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56284 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56285 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56286 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56287 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56288 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56289 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56290 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56291 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56292 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56293 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56294 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56295 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56296 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56297 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56298 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56299 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56300 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56301 (__isnanf): Likewise.
56302 (__isinf_ns): Likewise.
56303 (__isinf_nsf): Likewise.
56304 (__finite): Likewise.
56305 (__finitef): Likewise.
56306 (__ieee754_sqrt): Define as macro.
56307 (__ieee754_sqrtf): Define as macro.
56308 (__ieee754_sqrtl): Define as macro.
56309 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56311 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56312 __FINITE_MATH_ONLY__ consistent.
56313 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56315 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56317 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56320 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56322 2011-10-09 Ulrich Drepper <drepper@gmail.com>
56324 * po/ja.po: Update from translation team.
56326 2011-10-08 Roland McGrath <roland@hack.frob.com>
56328 * locale/programs/locarchive.c (prepare_address_space): New function.
56329 (create_archive, enlarge_archive, open_archive): Use it.
56331 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56332 inside [SHARED], where it is used.
56334 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56336 * nss/getent.c (netgroup_keys): Remove unused variable.
56337 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56339 2011-10-08 Ulrich Drepper <drepper@gmail.com>
56341 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56342 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56343 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56344 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56345 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56346 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56347 * math/Makefile (libm-calls): Add s_isinf_ns.
56348 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56349 * math/multc3.c: Likewise.
56350 * math/s_casin.c: Likewise.
56351 * math/s_casinf.c: Likewise.
56352 * math/s_casinl.c: Likewise.
56353 * math/s_ccos.c: Likewise.
56354 * math/s_ccosf.c: Likewise.
56355 * math/s_ccosl.c: Likewise.
56356 * math/s_ctan.c: Likewise.
56357 * math/s_ctanf.c: Likewise.
56358 * math/s_ctanh.c: Likewise.
56359 * math/s_ctanhf.c: Likewise.
56360 * math/s_ctanhl.c: Likewise.
56361 * math/s_ctanl.c: Likewise.
56362 * math/w_fmod.c: Likewise.
56363 * math/w_fmodf.c: Likewise.
56364 * math/w_fmodl.c: Likewise.
56365 * math/w_remainder.c: Likewise.
56366 * math/w_remainderf.c: Likewise.
56367 * math/w_remainderl.c: Likewise.
56368 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56369 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56370 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56371 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56372 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56373 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56374 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56375 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56377 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56379 * stdio-common/printf_fphex.c: Likewise.
56380 * stdio-common/printf_size.c: Likewise.
56382 * math/e_exp10.c: Include math_private.h using <...> not "...".
56383 * math/e_exp10f.c: Likewise.
56384 * math/e_exp10l.c: Likewise.
56385 * math/e_exp2l.c: Likewise.
56386 * math/e_j0l.c: Likewise.
56387 * math/e_j1l.c: Likewise.
56388 * math/e_jnl.c: Likewise.
56389 * math/e_lgammal_r.c: Likewise.
56390 * math/e_rem_pio2l.c: Likewise.
56391 * math/e_scalb.c: Likewise.
56392 * math/e_scalbf.c: Likewise.
56393 * math/e_scalbl.c: Likewise.
56394 * math/k_cosl.c: Likewise.
56395 * math/k_sinl.c: Likewise.
56396 * math/k_tanl.c: Likewise.
56397 * math/s_cacoshf.c: Likewise.
56398 * math/s_catan.c: Likewise.
56399 * math/s_catanf.c: Likewise.
56400 * math/s_catanh.c: Likewise.
56401 * math/s_catanhf.c: Likewise.
56402 * math/s_catanhl.c: Likewise.
56403 * math/s_catanl.c: Likewise.
56404 * math/s_ccosh.c: Likewise.
56405 * math/s_ccoshf.c: Likewise.
56406 * math/s_ccoshl.c: Likewise.
56407 * math/s_cexp.c: Likewise.
56408 * math/s_cexpf.c: Likewise.
56409 * math/s_cexpl.c: Likewise.
56410 * math/s_clog.c: Likewise.
56411 * math/s_clog10.c: Likewise.
56412 * math/s_clog10f.c: Likewise.
56413 * math/s_clog10l.c: Likewise.
56414 * math/s_clogf.c: Likewise.
56415 * math/s_clogl.c: Likewise.
56416 * math/s_csin.c: Likewise.
56417 * math/s_csinf.c: Likewise.
56418 * math/s_csinh.c: Likewise.
56419 * math/s_csinhf.c: Likewise.
56420 * math/s_csinhl.c: Likewise.
56421 * math/s_csinl.c: Likewise.
56422 * math/s_csqrt.c: Likewise.
56423 * math/s_csqrtf.c: Likewise.
56424 * math/s_csqrtl.c: Likewise.
56425 * math/s_ctan.c: Likewise.
56426 * math/s_ctanf.c: Likewise.
56427 * math/s_ctanh.c: Likewise.
56428 * math/s_ctanhf.c: Likewise.
56429 * math/s_ctanhl.c: Likewise.
56430 * math/s_ctanl.c: Likewise.
56431 * math/s_ldexp.c: Likewise.
56432 * math/s_ldexpf.c: Likewise.
56433 * math/s_ldexpl.c: Likewise.
56434 * math/s_significand.c: Likewise.
56435 * math/s_significandf.c: Likewise.
56436 * math/s_significandl.c: Likewise.
56437 * math/w_acos.c: Likewise.
56438 * math/w_acosf.c: Likewise.
56439 * math/w_acosh.c: Likewise.
56440 * math/w_acoshf.c: Likewise.
56441 * math/w_acoshl.c: Likewise.
56442 * math/w_acosl.c: Likewise.
56443 * math/w_asin.c: Likewise.
56444 * math/w_asinf.c: Likewise.
56445 * math/w_asinl.c: Likewise.
56446 * math/w_atan2.c: Likewise.
56447 * math/w_atan2f.c: Likewise.
56448 * math/w_atan2l.c: Likewise.
56449 * math/w_atanh.c: Likewise.
56450 * math/w_atanhf.c: Likewise.
56451 * math/w_atanhl.c: Likewise.
56452 * math/w_cosh.c: Likewise.
56453 * math/w_coshf.c: Likewise.
56454 * math/w_coshl.c: Likewise.
56455 * math/w_dremf.c: Likewise.
56456 * math/w_exp10.c: Likewise.
56457 * math/w_exp10f.c: Likewise.
56458 * math/w_exp10l.c: Likewise.
56459 * math/w_exp2.c: Likewise.
56460 * math/w_exp2f.c: Likewise.
56461 * math/w_fmod.c: Likewise.
56462 * math/w_fmodf.c: Likewise.
56463 * math/w_fmodl.c: Likewise.
56464 * math/w_hypot.c: Likewise.
56465 * math/w_hypotf.c: Likewise.
56466 * math/w_hypotl.c: Likewise.
56467 * math/w_j0.c: Likewise.
56468 * math/w_j0f.c: Likewise.
56469 * math/w_j0l.c: Likewise.
56470 * math/w_j1.c: Likewise.
56471 * math/w_j1f.c: Likewise.
56472 * math/w_j1l.c: Likewise.
56473 * math/w_jn.c: Likewise.
56474 * math/w_jnf.c: Likewise.
56475 * math/w_jnl.c: Likewise.
56476 * math/w_lgamma.c: Likewise.
56477 * math/w_lgamma_r.c: Likewise.
56478 * math/w_lgammaf.c: Likewise.
56479 * math/w_lgammaf_r.c: Likewise.
56480 * math/w_lgammal.c: Likewise.
56481 * math/w_lgammal_r.c: Likewise.
56482 * math/w_log.c: Likewise.
56483 * math/w_log10.c: Likewise.
56484 * math/w_log10f.c: Likewise.
56485 * math/w_log10l.c: Likewise.
56486 * math/w_log2.c: Likewise.
56487 * math/w_log2f.c: Likewise.
56488 * math/w_log2l.c: Likewise.
56489 * math/w_logf.c: Likewise.
56490 * math/w_logl.c: Likewise.
56491 * math/w_pow.c: Likewise.
56492 * math/w_powf.c: Likewise.
56493 * math/w_powl.c: Likewise.
56494 * math/w_remainder.c: Likewise.
56495 * math/w_remainderf.c: Likewise.
56496 * math/w_remainderl.c: Likewise.
56497 * math/w_scalb.c: Likewise.
56498 * math/w_scalbf.c: Likewise.
56499 * math/w_scalbl.c: Likewise.
56500 * math/w_sinh.c: Likewise.
56501 * math/w_sinhf.c: Likewise.
56502 * math/w_sinhl.c: Likewise.
56503 * math/w_sqrt.c: Likewise.
56504 * math/w_sqrtf.c: Likewise.
56505 * math/w_sqrtl.c: Likewise.
56506 * math/w_tgamma.c: Likewise.
56507 * math/w_tgammaf.c: Likewise.
56508 * math/w_tgammal.c: Likewise.
56510 * po/ja.po: Update from translation team.
56512 2011-09-29 Andreas Jaeger <aj@suse.de>
56515 * sunrpc/netname.c (netname2host): Fix logic.
56519 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56521 * math/w_remainder.c (__remainder): Likewise.
56522 * math/w_remainderf.c (__remainderf): Likewise.
56523 * math/libm-test.inc (remainder_test): Add test cases.
56525 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56527 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
56530 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56532 * string/test-memcmp.c: Avoid unncessary #defines.
56533 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56535 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56537 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56538 Use new sse2 version for core i3 - i7 as it's faster
56539 than sse42 version.
56540 (bit_Prefer_PMINUB_for_stringop): New.
56541 * sysdeps/x86_64/rawmemchr.S: Update.
56542 Replace with faster SSE2 version.
56543 * sysdeps/x86_64/memrchr.S: New file.
56544 * sysdeps/x86_64/memchr.S: Update.
56545 Replace with faster SSE2 version.
56547 2011-09-12 Marek Polacek <mpolacek@redhat.com>
56549 * elf/dl-load.c (lose): Add cast to avoid warning.
56551 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56553 * po/ca.po: Update from translation team.
56555 * inet/getnetgrent_r.c: Hook up nscd.
56556 * nscd/Makefile (routines): Add nscd_netgroup.
56557 (nscd-modules): Add netgroupcache.
56558 (CFLAGS-netgroupcache.c): Define.
56559 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56560 (cache_search): Add const to second parameter.
56561 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56563 (dbs): Add netgrdb entry.
56564 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56565 (verify_persistent_db): Handle netgrdb.
56566 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56567 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56569 (netgroup_response_header): Define.
56570 (innetgroup_response_header): Define.
56571 (datahead): Add netgroup_response_header and innetgroup_response_header
56573 * nscd/nscd.conf: Add entries for netgroup cache.
56574 * nscd/nscd.h (dbtype): Add netgrdb.
56575 (_PATH_NSCD_NETGROUP_DB): Define.
56576 (netgroup_iov_disabled): Declare.
56577 (xmalloc, xcalloc, xrealloc): Move declarations here.
56578 (cache_search): Adjust prototype.
56579 Add netgroup-related prototypes.
56580 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56581 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56582 (__nscd_innetgr): Declare.
56583 * nscd/selinux.c (perms): Use access_vector_t as element type and
56584 add netgroup-related initializers.
56585 * nscd/netgroupcache.c: New file.
56586 * nscd/nscd_netgroup.c: New file.
56587 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56588 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56589 For four parameters use innetgr.
56590 * nss/nss_files/files-init.c: Add definition and callback for netgr.
56591 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56592 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56593 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56595 * nscd/connections.c (register_traced_file): Don't register file
56596 for disabled databases.
56598 2011-10-06 Ulrich Drepper <drepper@gmail.com>
56600 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56602 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56603 from tree and freeing node.
56605 2011-09-25 Jiri Olsa <jolsa@redhat.com>
56607 * nss/nsswitch.c (__nss_database_lookup): Handle
56608 nss_parse_service_list out of memory case.
56610 2011-09-15 Jiri Olsa <jolsa@redhat.com>
56612 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56613 out of memory case.
56615 2011-10-04 Andreas Schwab <schwab@redhat.com>
56617 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56618 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56620 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56621 elf_machine_rela, elf_machine_lazy_rel.
56622 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56623 (ELF_DYNAMIC_DO_REL): Likewise.
56624 (ELF_DYNAMIC_DO_RELA): Likewise.
56625 (ELF_DYNAMIC_RELOCATE): Likewise.
56626 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56627 to ELF_DYNAMIC_DO_REL.
56628 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56629 (dl_main): In trace mode always set __RTLD_NOIFUNC.
56630 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56632 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56633 skip_ifunc, don't call ifunc function if non-zero.
56634 (elf_machine_rela): Likewise.
56635 (elf_machine_lazy_rel): Likewise.
56636 (elf_machine_lazy_rela): Likewise.
56637 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56638 (elf_machine_lazy_rel): Likewise.
56639 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56641 (elf_machine_lazy_rel): Likewise.
56642 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56644 (elf_machine_lazy_rel): Likewise.
56645 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56646 (elf_machine_lazy_rel): Likewise.
56647 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56648 (elf_machine_lazy_rel): Likewise.
56649 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56650 (elf_machine_lazy_rel): Likewise.
56651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56652 (elf_machine_lazy_rel): Likewise.
56653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56654 (elf_machine_lazy_rel): Likewise.
56655 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56656 (elf_machine_lazy_rel): Likewise.
56658 2011-09-28 Ulrich Drepper <drepper@gmail.com>
56660 * nss/nss_files/files-init.c (_nss_files_init): Use static
56661 initialization for all the *_traced_file variables.
56663 2011-09-28 Andreas Schwab <schwab@redhat.com>
56665 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56667 2011-09-27 Roland McGrath <roland@hack.frob.com>
56670 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56672 2011-09-27 Andreas Schwab <schwab@redhat.com>
56674 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56675 Reread the line before reparsing it.
56677 2011-09-26 Andreas Schwab <schwab@redhat.com>
56679 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56681 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
56682 Maxim Kuvyrkov <maxim@codesourcery.com>
56683 Joseph Myers <joseph@codesourcery.com>
56685 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56686 if needed for __stack_chk_guard.
56688 2011-09-19 Roland McGrath <roland@hack.frob.com>
56690 * sysdeps/posix/spawni.c (script_execute): Always define it.
56691 It will be optimized away if unused.
56692 (maybe_script_execute): New function.
56693 (__spawni): Call it.
56695 * Makerules: Don't include tls.make.
56696 (config-tls): Always set to thread.
56697 * tls.make.c: File removed.
56699 2011-09-19 Mike Frysinger <vapier@gentoo.org>
56701 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56702 * config.make.in (CPPFLAGS-config): New substituted variable.
56704 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56706 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56709 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56710 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56712 2011-09-15 Roland McGrath <roland@hack.frob.com>
56714 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56715 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56716 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56717 (CALL_FAIL): Likewise.
56718 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56719 (CALL_FAIL): Macro removed.
56720 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56722 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56724 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56725 for __FINITE_MATH_ONLY__ == 1.
56727 2011-09-15 Andreas Schwab <schwab@redhat.com>
56729 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56730 __ieee754_sqrt instead of sqrt.
56731 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56732 __ieee754_sqrtf instead of sqrtf.
56733 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56734 __floorf instead of floorf.
56735 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56736 __floorf, __truncf instead of floorf, truncf.
56738 2011-09-14 Ulrich Drepper <drepper@gmail.com>
56740 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56742 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56743 __extern_always_inline.
56744 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56747 2011-09-14 Andreas Schwab <schwab@redhat.com>
56749 * elf/rtld.c (dl_main): Also relocate in dependency order when
56750 doing symbol dependency testing.
56752 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
56754 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56755 Always define `refsym'.
56757 2011-09-13 Andreas Schwab <schwab@redhat.com>
56759 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56760 (__FD_ELT): Renamed from __FDELT.
56761 * misc/bits/select2.h (__FD_ELT): Likewise.
56762 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56763 __FD_MASK instead of __FDELT, __FDMASK.
56764 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56766 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56769 * elf/Makefile (gen-ldd): Fix pattern.
56771 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56772 (init_tls): Likewise.
56774 2011-09-12 Ulrich Drepper <drepper@gmail.com>
56776 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56778 2011-09-12 Andreas Schwab <schwab@redhat.com>
56780 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56781 `struct cmsghdr *' instead of `void *'.
56782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56785 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
56787 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56789 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56790 ldd_rewrite_script.
56792 2011-09-11 Ulrich Drepper <drepper@gmail.com>
56794 * configure.in: Remove --with-tls option.
56795 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56796 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56797 out in case it is missing.
56798 * sysdeps/ia64/elf/configure.in: Likewise.
56799 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56800 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56801 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56802 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56803 * sysdeps/sh/elf/configure.in: Likewise.
56804 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56805 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56806 * sysdeps/x86_64/elf/configure.in: Likewise.
56807 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56808 * sysdeps/mach/hurd/tls.h: Likewise.
56811 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56814 * configure.in: Fix use of AC_INIT.
56816 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56818 2011-09-10 Ulrich Drepper <drepper@gmail.com>
56820 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56822 * malloc/hooks.c: Likewise.
56825 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
56826 variables statically.
56827 (narenas): Initialize.
56828 (list_lock): Initialize.
56829 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
56830 initializtion of main_arena and list_lock. Small cleanups.
56831 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56832 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
56833 Add initializers to main_arena and mp_.
56834 (malloc_state): Remove pagesize member. Change all users to use
56837 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56838 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
56839 is always initialized.
56841 * malloc/malloc.c: Removed unused configurations and dead code.
56842 * malloc/arena.c: Likewise.
56843 * malloc/hooks.c: Likewise.
56844 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56846 * include/tls.h: Removed. USE___THREAD must always be defined.
56847 * bits/libc-tsd.h: Don't handle !USE___THREAD.
56848 * elf/dl-libc.c: Likewise.
56849 * elf/dl-tsd.c: Likewise.
56850 * include/errno.h: Likewise.
56851 * include/netdb.h: Likewise.
56852 * include/resolv.h: Likewise.
56853 * inet/herrno-loc.c: Likewise.
56854 * inet/herrno.c: Likewise.
56855 * malloc/arena.c: Likewise.
56856 * malloc/hooks.c: Likewise.
56857 * malloc/malloc.c: Likewise.
56858 * resolv/res-state.c: Likewise.
56859 * resolv/res_libc.c: Likewise.
56860 * sysdeps/i386/dl-machine.h: Likewise.
56861 * sysdeps/ia64/dl-machine.h: Likewise.
56862 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56863 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56864 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56865 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56866 * sysdeps/sh/dl-machine.h: Likewise.
56867 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56868 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56869 * sysdeps/unix/i386/sysdep.S: Likewise.
56870 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56871 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56872 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56873 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56874 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56875 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56876 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56877 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56878 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56879 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56880 * sysdeps/unix/x86_64/sysdep.S: Likewise.
56881 * sysdeps/x86_64/dl-machine.h: Likewise.
56882 * tls.make.c: Likewise.
56884 * configure.in: Remove --with-__thread option. Make tests for
56885 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56886 tls_model attribute fail if no support is available. Remove
56888 * Makeconfig: Adjust for dropped configure option. All features are
56890 * Makerules: Likewise.
56891 * Versions.def: Likewise.
56892 * argp/argp-fmtstream.c: Likewise.
56893 * argp/argp-fmtstream.h: Likewise.
56894 * argp/argp-help.c: Likewise.
56895 * assert/assert.c: Likewise.
56896 * config.h.in: Likewise.
56897 * config.make.in: Likewise.
56898 * configure: Likewise.
56899 * configure.in: Likewise.
56900 * csu/Versions: Likewise.
56901 * csu/init.c: Likewise.
56902 * elf/tst-audit2.c: Likewise.
56903 * elf/tst-tls10.c: Likewise.
56904 * elf/tst-tls10.h: Likewise.
56905 * elf/tst-tls11.c: Likewise.
56906 * elf/tst-tls12.c: Likewise.
56907 * elf/tst-tls14.c: Likewise.
56908 * elf/tst-tlsmod11.c: Likewise.
56909 * elf/tst-tlsmod12.c: Likewise.
56910 * elf/tst-tlsmod13.c: Likewise.
56911 * elf/tst-tlsmod13a.c: Likewise.
56912 * elf/tst-tlsmod14a.c: Likewise.
56913 * elf/tst-tlsmod15b.c: Likewise.
56914 * elf/tst-tlsmod16a.c: Likewise.
56915 * elf/tst-tlsmod16b.c: Likewise.
56916 * elf/tst-tlsmod7.c: Likewise.
56917 * elf/tst-tlsmod8.c: Likewise.
56918 * elf/tst-tlsmod9.c: Likewise.
56919 * gmon/gmon.c: Likewise.
56920 * grp/fgetgrent_r.c: Likewise.
56921 * grp/putgrent.c: Likewise.
56922 * hurd/fopenport.c: Likewise.
56923 * include/libc-symbols.h: Likewise.
56924 * include/tls.h: Likewise.
56925 * intl/gettextP.h: Likewise.
56926 * intl/loadinfo.h: Likewise.
56927 * locale/global-locale.c: Likewise.
56928 * locale/localeinfo.h: Likewise.
56929 * mach/devstream.c: Likewise.
56930 * malloc/arena.c: Likewise.
56931 * malloc/set-freeres.c: Likewise.
56932 * misc/err.c: Likewise.
56933 * misc/getttyent.c: Likewise.
56934 * misc/mntent_r.c: Likewise.
56935 * posix/getopt.c: Likewise.
56936 * posix/wordexp.c: Likewise.
56937 * pwd/fgetpwent_r.c: Likewise.
56938 * resolv/Versions: Likewise.
56939 * resolv/res_hconf.c: Likewise.
56940 * shadow/fgetspent_r.c: Likewise.
56941 * shadow/putspent.c: Likewise.
56942 * stdio-common/printf_fphex.c: Likewise.
56943 * stdio-common/tmpfile.c: Likewise.
56944 * stdlib/abort.c: Likewise.
56945 * stdlib/fmtmsg.c: Likewise.
56946 * sunrpc/auth_unix.c: Likewise.
56947 * sunrpc/clnt_perr.c: Likewise.
56948 * sunrpc/clnt_tcp.c: Likewise.
56949 * sunrpc/clnt_udp.c: Likewise.
56950 * sunrpc/clnt_unix.c: Likewise.
56951 * sunrpc/openchild.c: Likewise.
56952 * sunrpc/svc_simple.c: Likewise.
56953 * sunrpc/svc_tcp.c: Likewise.
56954 * sunrpc/svc_udp.c: Likewise.
56955 * sunrpc/svc_unix.c: Likewise.
56956 * sunrpc/xdr.c: Likewise.
56957 * sunrpc/xdr_array.c: Likewise.
56958 * sunrpc/xdr_rec.c: Likewise.
56959 * sunrpc/xdr_ref.c: Likewise.
56960 * sunrpc/xdr_stdio.c: Likewise.
56962 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56964 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56966 2011-07-03 Andreas Jaeger <aj@suse.de>
56968 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56969 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56970 regenerate with gen-libm-tests.pl.
56972 2010-05-12 Petr Baudis <pasky@suse.cz>
56975 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56976 around j0() zero points by switching to j1().
56977 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56978 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56979 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56980 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56982 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56984 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56986 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56988 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56989 Patch in part by Pavel Roskin <proski@gnu.org>.
56992 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56994 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
56995 Free memory block if necessary.
56998 * libio/genops.c (INTDEF): For string streams the _lock pointer can
56999 be NULL. Don't lock in this case.
57001 2011-09-09 Roland McGrath <roland@hack.frob.com>
57003 * elf/elf.h (ELFOSABI_GNU): New macro.
57004 (ELFOSABI_LINUX): Define to that.
57006 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57008 * string/strncat.c (strncat): Undef the symbol in case it has been
57009 defined in bits/string.h.
57011 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57013 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57015 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57018 2011-08-17 Andreas Jaeger <aj@suse.de>
57020 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57022 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57023 Ian Lance Taylor <iant@google.com>
57025 * math/libm-test.inc (lround_test): New testcase.
57026 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57028 2011-09-08 Ulrich Drepper <drepper@gmail.com>
57030 * Makefile: Remove support for automatic cvs check-ins.
57031 * Makerules: Likewise.
57032 * config.make.in: Likewise.
57033 * configure.in: Likewise.
57034 * intl/Makefile: Likewise.
57035 * locale/Makefile: Likewise.
57036 * po/Makefile: Likewise.
57037 * posix/Makefile: Likewise.
57038 * sysdeps/gnu/Makefile: Likewise.
57039 * sysdeps/mach/hurd/Makefile: Likewise.
57040 * sysdeps/sparc/sparc32/Makefile: Likewise.
57043 * posix/Makefile (bug-regex32-ENV): Define.
57044 Patch by John Stanley <jpsinthemix@verizon.net>.
57046 * misc/Makefile (headers): Add bits/select2.h.
57047 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57048 * misc/bits/select2.h: New file.
57049 * include/bits/select2.h: New file.
57050 * debug/Makefile (routines): Add fdelt_chk.
57051 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57052 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57054 * debug/fdelt_chk.c: New file.
57056 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57057 * wcsmbs/test-wmemcmp.c: Likewise.
57058 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57059 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57061 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57063 * string/Makefile (strop-tests): Add memcmp.
57064 * string/test-wmemcmp.c: New file.
57065 * string/test-memcmp.c: Add wmemcmp support.
57067 2011-09-08 Roland McGrath <roland@hack.frob.com>
57070 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57073 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57074 garbage value in a __mach_port_mod_refs call in the cases of the
57075 task-self and thread-self ports.
57077 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57079 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57081 2011-09-08 Andreas Schwab <schwab@redhat.com>
57083 * elf/dl-load.c (lose): Check for non-null L.
57085 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57087 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57089 * elf/dl-libc.c (dlerror_run): Pass back error code from
57093 * elf/dl-load.c (lose): Free l_origin if it is valid.
57095 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57097 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57098 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57099 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57100 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57101 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57102 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57104 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57106 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57107 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57108 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57109 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57110 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57111 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57112 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57113 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57114 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57115 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57117 2011-08-15 Alan Modra <amodra@gmail.com>
57120 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57121 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57122 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57123 ppc_mcount to static-only-routines.
57124 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57126 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57127 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57129 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
57131 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57132 for finite and infinity parameters.
57134 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57137 and add nop instructions for throughput optimization.
57138 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57140 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
57142 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57143 aligned copy for power7 with vector-scalar instructions.
57144 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57146 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
57148 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57151 2011-09-07 Andreas Schwab <schwab@redhat.com>
57154 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57157 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57159 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57160 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57161 syscall wrapper around clock_gettime in __vdso_clock_gettime.
57162 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57165 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57167 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57168 Forgot to demangle the pointer.
57170 * sysdeps/i386/sysdep.h: Define atom_text_section.
57171 * sysdeps/x86_64/sysdep.h: Likewise.
57172 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57173 section with atom_text_section.
57174 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57175 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57176 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57177 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57178 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57180 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57181 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57182 already be defined. Change to take two parameters and don't assign
57183 result to variable. Adjust all users.
57184 Define INTERNAL_GETTIME if not already defined.
57185 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57188 HAVE_CLOCK_GETTIME_VSYSCALL.
57189 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57191 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57192 gettimeofday vsyscall, just use time.
57194 2011-09-06 Andreas Schwab <schwab@redhat.com>
57196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57199 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57201 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57203 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57205 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57206 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57207 syscall if possible.
57209 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57211 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57212 e_ident. Don't pass to find_mapsXX.
57213 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57215 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57218 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57219 * sysdeps/x86_64/multiarch/strchr.S: Update.
57220 Check bit_slow_BSF bit.
57221 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57222 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57223 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57225 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57228 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57230 (tryshell): Define.
57231 (__spawni): Change last parameter to be flag. Test
57232 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57233 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57234 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57235 * posix/spawni.c: Likewise.
57236 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57237 * posix/spawnp.c: Likewise. Change normal version to use
57238 SPAWN_XFLAGS_USE_PATH.
57239 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57240 SPAWN_XFLAGS_TRY_SHELL.
57243 * posix/glob.h: Remove gcc 1.x support.
57246 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57248 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57251 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57253 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57254 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57255 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57256 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57257 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57258 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57260 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57262 * sysdeps/x86_64/wcscmp.S: New file.
57264 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57265 wcscmp-c wcscmp-sse2
57266 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57267 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57268 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57269 * wcsmbs/wcscmp.c: Allow renaming.
57271 2011-09-05 David S. Miller <davem@davemloft.net>
57273 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57274 stack slot, rather than the struct return pointer slot.
57275 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57276 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57278 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57280 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57282 * po/ja.po: Update from translation team.
57285 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57286 kernel in 64-bit binaries.
57288 2011-09-01 David S. Miller <davem@davemloft.net>
57290 * elf/elf.h (HWCAP_SPARC_*): Move to..
57291 * sysdeps/sparc/sysdep.h: this new file and add new values.
57292 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57293 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57294 _DL_HWCAP_COUNT to 24.
57295 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57297 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57298 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57299 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57300 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57301 instead of magic constants.
57302 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57304 2011-08-31 David S. Miller <davem@davemloft.net>
57306 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57307 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57308 Reimplement to do errno handling inline.
57309 (SYSCALL_ERROR_HANDLER): New macro.
57310 (__SYSCALL_STRING): Do not do errno handling in asm.
57311 (__CLONE_SYSCALL_STRING): Delete.
57312 (__INTERNAL_SYSCALL_STRING): Delete.
57313 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57314 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57315 (PSEUDO): Reimplement to do errno handling inline.
57316 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57317 (SYSCALL_ERROR_HANDLER): New macro.
57318 (__SYSCALL_STRING): Do not do errno handling in asm.
57319 (__CLONE_SYSCALL_STRING): Delete.
57320 (__INTERNAL_SYSCALL_STRING): Delete.
57321 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57322 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57324 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57325 (inline_syscall*): Add 'err' argument.
57326 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57327 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57328 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57329 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57331 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57332 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57334 2011-08-30 Andreas Schwab <schwab@redhat.com>
57336 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57338 2011-08-29 Jiri Olsa <jolsa@redhat.com>
57340 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57343 2011-08-24 David S. Miller <davem@davemloft.net>
57345 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57347 2011-08-24 Andreas Schwab <schwab@redhat.com>
57349 * elf/Makefile: Add rules to build and run unload8 test.
57350 * elf/unload8.c: New file.
57351 * elf/unload8mod1.c: New file.
57352 * elf/unload8mod1x.c: New file.
57353 * elf/unload8mod2.c: New file.
57354 * elf/unload8mod3.c: New file.
57356 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57359 2011-08-23 David S. Miller <davem@davemloft.net>
57361 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57362 subtract stack bias.
57363 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57364 %sp not %fp in calculations.
57365 (_JMPBUF_UNWINDS_ADJ): Likewise.
57367 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57368 (aio_suspend): Call it to force an exception region around the
57369 AIO_MISC_WAIT() invocation.
57371 2011-08-23 Andreas Schwab <schwab@redhat.com>
57373 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57376 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
57378 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57380 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57381 and <dl-machine.h>.
57382 (Elf64_FuncDesc): Remove.
57384 2011-08-22 David S. Miller <davem@davemloft.net>
57386 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57387 sigaltstack check, add missing cfi directives.
57388 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57389 missing cfi directives, and sigaltstack handling.
57391 2011-08-16 Andreas Schwab <schwab@redhat.com>
57394 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57395 object is seen twice.
57396 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57398 * elf/Makefile (distribute): Add tst-initorder2.c.
57399 (tests): Add tst-initorder2.
57400 (modules-names): Add tst-initorder2a tst-initorder2b
57401 tst-initorder2c tst-initorder2d. Add rules to build them.
57402 ($(objpfx)tst-initorder2.out): New rule.
57403 * elf/tst-initorder2.c: New file.
57404 * elf/tst-initorder2.exp: New file.
57406 2011-08-22 Andreas Schwab <schwab@redhat.com>
57408 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57410 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57411 dependencies back to end of function.
57413 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57414 $(elfobjdir)/ld.so.
57416 2011-08-21 Ulrich Drepper <drepper@gmail.com>
57418 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57419 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57420 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57421 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57422 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57423 of __vdso_gettimeofday.
57424 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57425 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
57427 (_libc_vdso_platform_setup): Remove initialization of
57428 __vdso_gettimeofday and __vdso_time.
57430 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57432 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57433 and fgetc_unlocked.
57434 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57437 * elf/dl-open.c (add_to_global): Report additions to the global scope
57438 for LD_DEBUG=scopes.
57439 (dl_open_worker): Also print scope of newly loaded dependencies.
57440 (_dl_show_scope): Indicate if there is no scope.
57443 * stdio-common/Makefile (tests): Add bug24.
57444 * stdio-common/bug24.c: New file.
57446 2011-08-19 Andreas Jaeger <aj@suse.de>
57449 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57450 non-existant file when using close-on-exec mode.
57452 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57454 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57455 the very first instruction.
57457 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57458 the CFI state in the end.
57459 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57460 inclusion of dl-trampoline.h.
57461 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57463 2011-08-19 Andreas Schwab <schwab@redhat.com>
57465 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57466 expectations for long double.
57468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57469 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57471 2011-08-14 David S. Miller <davem@davemloft.net>
57473 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57474 artificual limit depends upon the system page size.
57476 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57478 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57479 * resolv/Makefile: Define CFLAGS-libresolv.
57481 2011-08-17 Andreas Schwab <schwab@redhat.com>
57483 * nss/makedb.c (compute_tables): Make variables used in nested
57486 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57488 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57489 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57490 if buffer was too small.
57492 * elf/pldd.c (main): Attach to all threads in the process.
57493 Rewrite /proc handling to use *at functions.
57495 2011-08-16 Ulrich Drepper <drepper@gmail.com>
57497 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57498 specifies first scope to show.
57499 (dl_open_worker): Update callers. Move printing scope of new
57500 object to before the relocation.
57501 * elf/rtld.c (dl_main): Update _dl_show_scope call.
57502 * sysdeps/generic/ldsodefs.h: Update declaration.
57504 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57505 string for the scope number.
57507 2011-08-14 Ulrich Drepper <drepper@gmail.com>
57509 * nscd/servicescache.c (cache_addserv): Make sure written is always
57512 2011-08-14 Roland McGrath <roland@hack.frob.com>
57514 * sysdeps/i386/i486/bits/atomic.h
57515 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57516 statement expression, so as to suppress "set but not used" warning.
57517 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57519 * string/strncat.c (STRNCAT): Use prototype definition.
57521 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57522 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57524 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57525 (localedef-modules): Add localedef.
57526 (locale-modules): Add locale.
57528 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57529 * elf/rtld.c (dl_main): Invert order of assignment in last change,
57530 to avoid a warning.
57532 2011-08-14 David S. Miller <davem@davemloft.net>
57534 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57535 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57537 2011-08-13 Ulrich Drepper <drepper@gmail.com>
57539 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57540 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57541 * elf/rtld.c (dl_main): Set l_name of vDSO.
57542 Call _dl_show_scope when DL_DEBUG_SCOPES.
57543 (process_dl_debug): Recognize scopes flag and also set it for all.
57544 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57545 Declare _dl_show_scope.
57547 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57548 (do_dlopen): Pass caller_dlopen to dl_open.
57549 (__libc_dlopen_mode): Initialize caller_dlopen.
57551 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57552 of libc. Make tolower call locale-independent. Optimize a bit by
57553 using isdigit instead of isalnum.
57554 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57556 2011-08-12 Ulrich Drepper <drepper@gmail.com>
57558 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57559 was a dependency or dynamically loaded.
57561 2011-08-11 Ulrich Drepper <drepper@gmail.com>
57563 * intl/l10nflist.c: Allow architecture-specific pop function.
57564 * sysdeps/x86_64/l10nflist.c: New file.
57566 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57569 2011-08-10 Andreas Schwab <schwab@redhat.com>
57571 * include/dirent.h: Add libc_hidden_proto for scandirat and
57572 scandirat64. Don't declare __scandirat64.
57573 * dirent/scandirat.c: Add libc_hidden_def.
57574 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57575 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57577 2011-08-10 David S. Miller <davem@davemloft.net>
57579 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57581 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57582 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57583 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57585 2011-08-09 Ulrich Drepper <drepper@gmail.com>
57587 * Versions.def [libc]: Add GLIBC_2.15.
57588 * dirent/Makefile (routines): Add scandirat and scandirat64.
57589 * dirent/Versions [libc]: Export scandirat and scandirat64 for
57591 * dirent/dirent.h: Declare scandirat and scandirat64.
57592 * dirent/scandirat.c: New file.
57593 * dirent/scandirat64.c: New file.
57594 * sysdeps/wordsize-64/scandirat.c: New file.
57595 * sysdeps/wordsize-64/scandirat64.c: New file.
57596 * dirent/opendir.c: Define opendirat.
57597 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
57599 * dirent/scandir64.c: Adjust for scandir.c change.
57600 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
57601 __scandirat64, and __scandir_cancel_handler.
57602 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
57603 additional parameter and use openat instead of open (outside of ld.so).
57604 Add new __opendir as wrapper around __opendirat.
57605 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57606 here without requiring old scandirat implementation.
57608 2011-08-08 Ulrich Drepper <drepper@gmail.com>
57610 * dirent/scandir.c (cancel_handler): Renamed to
57611 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
57612 defined. Adjust users.
57613 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57614 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57616 2011-08-04 Ulrich Drepper <drepper@gmail.com>
57618 * string/test-string.h (IMPL): Use __STRING to expand name and then
57621 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
57624 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57626 * string/Makefile: Update.
57627 (strop-tests): Append strncat.
57628 * string/test-wcscmp.c: New file.
57629 New comprehensive test for wcscmp.
57630 * string/test-strcmp.c: Update.
57631 (WIDE): New define.
57633 2011-07-22 Andreas Schwab <schwab@redhat.com>
57635 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57638 2011-07-26 Andreas Schwab <schwab@redhat.com>
57640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57641 encoding to ACE if AI_IDN.
57643 2011-08-01 Jakub Jelinek <jakub@redhat.com>
57645 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57646 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57648 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57650 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57651 Fix overflow bug in strncat.
57652 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57654 * string/test-strncat.c: Update.
57655 Add new tests for checking overflow bugs.
57657 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57660 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57661 * sysdeps/i386/i686/multiarch/strcat.S: New file.
57662 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57663 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57664 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57665 * sysdeps/i386/i686/multiarch/strncat.S: New file.
57666 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57667 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57669 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57670 (USE_AS_STRCAT): Define.
57671 Add strcat and strncat support.
57672 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57674 2011-07-25 Andreas Schwab <schwab@redhat.com>
57676 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57677 __n bigger than INT_MAX+1.
57678 (__strncmp_g): Likewise.
57680 2011-07-23 Ulrich Drepper <drepper@gmail.com>
57682 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57683 * libio/stido.h: Likewise.
57685 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57690 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57691 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57692 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57693 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57694 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57697 * scripts/test-installation.pl: Don't expect libnss_test1 to be
57700 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57702 (_dl_x86_64_save_sse): Likewise.
57704 2011-07-22 Ulrich Drepper <drepper@gmail.com>
57706 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57708 (_dl_x86_64_save_sse): Likewise.
57710 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57712 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57714 2011-07-21 Andreas Schwab <schwab@redhat.com>
57716 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57718 (_dl_x86_64_save_sse): Use correct AVX check.
57720 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57722 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57723 bug in strncpy/strncat.
57724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57726 2011-07-21 Ulrich Drepper <drepper@gmail.com>
57728 * string/tester.c (test_strcat): Add tests for different alignments
57729 of source and destination.
57730 (test_strncat): Likewise.
57732 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57735 * posix/glob.c (glob): Check passed in values before using them in
57736 expressions to avoid some overflows.
57737 (glob_in_dir): Likewise.
57740 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57741 check for AVX enablement so that we don't crash with old kernels and
57743 * elf/tst-audit4.c: Add same checks here.
57744 * elf/tst-audit6.c: Likewise.
57746 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57748 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
57750 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57752 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57754 * po/cs.po: Update from translation team.
57755 * po/bg.po: Likewise.
57757 2011-07-12 Marek Polacek <mpolacek@redhat.com>
57759 * misc/sys/cdefs.h: Add support for const attribute.
57760 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57761 to gnu_dev_{major,minor,makedev} functions.
57763 2011-07-20 Marek Polacek <mpolacek@redhat.com>
57765 * intl/dcigettext.c (get_output_charset): Add missing bracket.
57767 2011-07-20 Andreas Schwab <schwab@redhat.com>
57769 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57772 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57774 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57775 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57776 register in order to avoid conflicts with the soft frame pointer
57777 being held in r11 when necessary.
57778 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57779 (INTERNAL_VSYSCALL_NCS): Likewise.
57781 2011-07-14 Marek Polacek <mpolacek@redhat.com>
57783 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57784 * elf/dl-fini.c (_dl_fini): Adjust caller.
57785 * elf/dl-close.c (_dl_close_worker): Likewise.
57786 * sysdeps/generic/ldsodefs.h: Adjust declaration.
57788 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57790 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57791 "aux_cache->nlibs < 0".
57793 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57794 in the reload-count case.
57796 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57799 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57800 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57801 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57802 * sysdeps/x86_64/multiarch/strcat.S: New file.
57803 * sysdeps/x86_64/multiarch/strncat.S: New file.
57804 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57805 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57806 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57807 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57808 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57809 (USE_AS_STRCAT): Define.
57810 Add strcat and strncat support.
57811 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57812 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57813 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57814 * string/strncat.c: Update.
57815 (USE_AS_STRNCAT): Define.
57816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57817 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57819 * sysdeps/x86_64/multiarch/init-arch.h
57820 (bit_Prefer_PMINUB_for_stringop): New.
57821 (index_Prefer_PMINUB_for_stringop): Likewise.
57822 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57823 bit_Prefer_PMINUB_for_stringop.
57825 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57827 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57829 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57830 of casting of buffer.
57831 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57832 buffer32 and buffer64.
57833 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57834 writes instead of casting of buffer.
57835 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57837 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57840 2011-07-19 Andreas Schwab <schwab@redhat.com>
57842 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57844 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57846 * nscd/nscd.c (termination_handler): Don't do anything for a database
57847 if it has not yet been initialized.
57849 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57851 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57853 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57855 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57857 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57859 * po/nl.po: Update from translation team.
57860 * po/sv.po: Likewise.
57862 2011-07-16 Roland McGrath <roland@hack.frob.com>
57864 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57865 now disallowed by GCC.
57867 * configure.in (use-default-link): Default to yes if a test -shared
57868 link meets our qualifications.
57869 * configure: Regenerated.
57871 * config.make.in (output-format): New variable.
57872 * configure.in: Check for ld --print-output-format support.
57873 * configure: Regenerated.
57874 * Makerules ($(common-objpfx)format.lds)
57875 [$(output-format) != unknown]: Just use $(output-format),
57876 instead of the linker-script munging.
57878 2011-07-14 Roland McGrath <roland@hack.frob.com>
57880 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57881 of $(common-objpfx)shlib.lds.
57882 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57884 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57885 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57887 * configure.in (-z relro check): Adjust test code to add a large
57888 writable data section after it.
57889 * configure: Regenerated.
57891 2011-07-11 Roland McGrath <roland@hack.frob.com>
57893 * configure.in (-z relro check): Fix test code to make the variable
57895 * configure: Regenerated.
57897 2011-07-11 Ulrich Drepper <drepper@gmail.com>
57899 * nscd/nscd.h (struct traced_file): Define.
57900 (struct database_dyn): Remove inotify_descr, reset_res, and filename
57901 elements. Add traced_files.
57902 (inotify_fd): Declare.
57903 (register_traced_file): Declare.
57904 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57905 (inotify_fd): Export.
57906 (resolv_conf_descr): Remove.
57907 (nscd_init): Move inotify descriptor creation to main.
57908 Don't register files for notification here.
57909 (register_traced_file): New function.
57910 (invalidate_cache): Don't use reset_res to determine whether to call
57911 res_init, go through the list of registered files.
57912 (main_loop_poll): The inotify descriptors are now stored in the
57913 structures for the traced files.
57914 (main_loop_epoll): Likewise
57915 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
57916 to __nss_disable_nscd.
57917 * nscd/cache.c (prune_cache): There is no single inotify descriptor
57918 for a database anymore. Check the records for all the registered
57920 * nss/Makefile (libnss_files-routines): Add files-init.
57921 (libnss_db-routines): Add db-init.
57922 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57923 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57924 * nss/nss_db/db-init.c: New file.
57925 * nss/nss_files/files-init.c: New file.
57926 * nss/nsswitch.c (nss_load_library): New function. Broken out of
57927 __nss_lookup_function.
57928 (__nss_lookup_function): Call nss_load_library.
57929 (nss_load_all_libraries): New function.
57930 (__nss_disable_nscd): Take parameter with callback function for files
57931 to register. Set is_nscd. Load all the DSOs for the NSS modules
57932 used for the cached services.
57933 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57934 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57935 options for features to all the files in nscd.
57937 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57939 2011-07-10 Roland McGrath <roland@hack.frob.com>
57941 * csu/elf-init.c (__libc_csu_init): Comment typo.
57943 2011-07-09 Ulrich Drepper <drepper@gmail.com>
57945 * po/pl.po: Update from translation team.
57946 * po/ja.po: Likewise.
57947 * po/ru.po: Likewise.
57948 * po/ko.po: Likewise.
57949 * po/fr.po: Likewise.
57951 2011-07-09 Roland McGrath <roland@hack.frob.com>
57953 * configure.in (.ctors/.dtors header and trailer check):
57954 Use an empirical test on a built program.
57955 * configure: Regenerated.
57957 * configure.in (-z relro check): Use an empirical test on a built DSO.
57958 Detect, but do not require, on ia64.
57959 * configure: Regenerated.
57961 * configure.in (READELF): Find it with AC_CHECK_TOOL.
57962 Update tests that use readelf to use $READELF instead.
57963 * configure: Regenerated.
57965 2011-07-08 Ulrich Drepper <drepper@gmail.com>
57967 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57968 if the result is not used.
57970 2011-07-05 Andreas Jaeger <aj@suse.de>
57973 * stdlib/tst-strtod.c: Add testcase.
57975 2011-07-07 Ulrich Drepper <drepper@gmail.com>
57977 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57978 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57979 The latter has a higher limit. Take additional parameter to pass to
57981 (__pathconf): Pass file to __statfs_link_max.
57982 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57984 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57988 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57989 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57991 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57992 (__statfs_filesize_max): Likewise.
57993 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57995 2011-07-05 Andreas Jaeger <aj@suse.de>
57997 * resolv/res_comp.c (dn_skipname): Remove unused variable.
57999 2011-07-06 Marek Polacek <mpolacek@redhat.com>
58001 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58003 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58006 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58008 * Makefile (strop-tests): Add strncat.
58009 * string/test-strncat.c: New file.
58011 2011-06-30 Marek Polacek <mpolacek@redhat.com>
58013 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58015 2011-06-21 Andreas Jaeger <aj@suse.de>
58017 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58018 Copy rule from iconvdata/Makefile.
58020 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58023 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58024 but no long options are defined, just return 'W'.
58026 2011-06-22 Marek Polacek <mpolacek@redhat.com>
58029 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58031 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58033 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58035 (innetgr): Likewise.
58037 2011-07-05 Roland McGrath <roland@hack.frob.com>
58039 * config.make.in (install_root): Default to $(DESTDIR).
58041 2011-07-05 Ulrich Drepper <drepper@gmail.com>
58043 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58045 2011-07-02 Roland McGrath <roland@hack.frob.com>
58047 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58049 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58050 containing directory rather than embedding absolute directory names.
58052 * scripts/check-local-headers.sh: Rewritten using awk.
58053 Match by word, not by line. Print error messages for matches.
58054 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58056 * Makerules [shlib-lds-flags empty]:
58057 ($(common-objpfx)libc_pic.opts): New target.
58058 ($(common-objpfx)libc_pic.os.clean): New target.
58059 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58061 * config.make.in (OBJCOPY): New variable.
58062 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58063 * configure: Regenerated.
58065 * config.make.in (use-default-link): New variable.
58066 * configure.in (use_default_link): Grok --with-default-link to set it.
58067 * configure: Regenerated.
58068 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58069 (shlib-lds, shlib-lds-flags): Define to empty.
58071 * Makerules (shlib-lds): New variable.
58072 (shlib-lds-flags): New variable.
58073 (build-shlib, build-moduile, build-module-asneeded): Use it.
58074 ($(common-objpfx)libc.so): Use $(shlib-lds).
58075 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58076 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58078 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58079 DT_FLAGS/DT_FLAGS_1 with zero flags.
58081 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58082 linker script munging.
58084 2011-07-02 Ulrich Drepper <drepper@gmail.com>
58086 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58088 * crypt/sha512.c (sha512_process_block): Perform total addition using
58089 128-bit if possible.
58090 (__sha512_finish_ctx): Likewise.
58091 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58093 * crypt/sha256.c (SWAP64): Define.
58094 (sha256_process_block): Perform total addition using 64-bit if
58096 (__sha256_finish_ctx): Likewise.
58098 2011-07-01 Ulrich Drepper <drepper@gmail.com>
58100 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58101 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58102 * nscd/hstcache.c (cache_addhst): Likewise.
58103 * nscd/grpcache.c (cache_addgr): Likewise.
58104 * nscd/aicache.c (addhstaiX): Likewise
58105 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58107 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
58109 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58111 * nscd/hstcache.c (cache_addhst): Likewise.
58112 * nscd/grpcache.c (cache_addgr): Likewise.
58113 * nscd/aicache.c (addhstaiX): Likewise
58115 2011-07-01 Andreas Schwab <schwab@redhat.com>
58117 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58118 domain only when needed.
58120 2011-06-30 Andreas Schwab <schwab@redhat.com>
58122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58123 is always restored.
58125 2011-06-29 Ulrich Drepper <drepper@gmail.com>
58127 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58128 are re-adding the entry.
58129 * nscd/servicescache.c (cache_addserv): Likewise.
58131 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
58133 * sysdeps/generic/dl-irel.h: fix protection against multiple
58135 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58137 2011-06-28 Ulrich Drepper <drepper@gmail.com>
58140 * malloc/memusage.sh: Fix quoting in message.
58141 * debug/xtrace.sh: Likewise.
58143 * configure.in: Remove support for --experimental-malloc option, make
58145 * config.make.in: Likewise.
58146 * malloc/Makefile: Likewise.
58148 2011-06-27 Andreas Schwab <schwab@redhat.com>
58150 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58151 two-byte characters.
58153 2011-06-27 Roland McGrath <roland@hack.frob.com>
58155 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58156 AC_CACHE_CHECK invocation.
58157 * configure: Regenerated.
58159 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58161 2011-06-27 Ulrich Drepper <drepper@gmail.com>
58164 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
58165 bit from old_res_options.
58167 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58169 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58170 value type for setfct.
58172 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58174 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58175 __gettimeofday instead of gettimeofday.
58177 2011-06-26 Ulrich Drepper <drepper@gmail.com>
58179 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58181 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58183 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58185 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58188 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58191 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58192 strcpy-sse2-unaligned strncpy-sse2-unaligned
58193 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58194 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58195 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58196 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58197 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58198 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58199 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58200 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58201 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58202 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58203 (STRCPY): Support SSE2 and SSSE3 versions.
58205 2011-06-24 Ulrich Drepper <drepper@gmail.com>
58208 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58209 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58210 kernels which artificially limit size of requests.
58212 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58215 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58216 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58217 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58218 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58219 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58220 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58221 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58222 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58223 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58224 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58225 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58226 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58227 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58228 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58230 Enable unaligned load optimization for Intel Core i3, i5 and i7
58232 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58234 (index_Fast_Unaligned_Load): Define.
58235 (HAS_FAST_UNALIGNED_LOAD): Define.
58237 2011-06-23 Marek Polacek <mpolacek@redhat.com>
58239 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58241 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58244 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58245 until it is clear that the information is realy needed.
58246 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58248 2011-06-22 Andreas Schwab <schwab@redhat.com>
58250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58252 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58254 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58255 /sys/devices/system/cpu/online if it is usable.
58257 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58258 reading the information from the /proc filesystem to once a second.
58260 2011-06-21 Andreas Jaeger <aj@suse.de>
58262 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58263 NULL after inclusion of kernel headers.
58265 2011-06-21 Ulrich Drepper <drepper@gmail.com>
58267 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58268 calls to internal_setent.
58271 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58272 addresses using gethostbyname4_r ignore IPv4 addresses.
58274 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58275 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58277 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58279 2011-06-20 David S. Miller <davem@davemloft.net>
58281 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58283 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58285 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58286 (elf_irel): Use it.
58287 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58288 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58289 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58290 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58291 * sysdeps/x86_64/dl-irel.h: Likewise.
58293 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58294 * elf/dl-sym.c: Likewise.
58296 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58298 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58299 need to dereference resplen2.
58301 2011-06-14 Andreas Schwab <schwab@redhat.com>
58303 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58305 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58307 * Makeconfig: Define vardbdir and inst_vardbdir.
58308 * nss/Makefile: Add rules to install db-Makefile.
58310 * nss/nss_db/db-XXX.c: Cleanup.
58312 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58313 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58315 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58316 * nss/makedb.c: Implement -g option to specify that value strings
58317 are generated and should not be added to table iterated over for
58319 * nss/nss_db/db-initgroups.c: New file.
58321 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58324 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58325 (internal_getgrouplist): Adjust to name change.
58326 Update use_initgroups_entry if this is not the first call.
58327 * nss/databases.def: Add initgroups entry.
58329 * nss/makedb.c (compute_tables): Check result of multiple hash table
58330 sizes to minimize maximum chain length.
58332 2011-06-14 Ulrich Drepper <drepper@gmail.com>
58334 * Versions.def: Add entry for libnss_db.
58335 * shlib-versions: Likewise.
58336 * nss/Makefile: Add rules to build libnss_db.
58337 * nss/Versions: Add libnss_db information. Organize libnss_files
58339 * nss/db-Makefile: Add gshadow support. Change rules for the new
58340 makedb progra. Some minor improvements to generate smaller files.
58341 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58343 * nss/makedb.c: ...here.
58344 Improve database format to be smaller and require less memory at
58346 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58348 * nss/nss_db/db-netgrp.c: Likewise.
58349 * nss/nss_db/db-open.c: Likewise.
58350 * nss/nss_files/flies-XXX.x: Adjust comments.
58351 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58352 * nss/nss_files/files-grp.c: Likewise.
58353 * nss/nss_files/files-hosts.c: Likewise.
58354 * nss/nss_files/files-network.c: Likewise.
58355 * nss/nss_files/files-proto.c: Likewise.
58356 * nss/nss_files/files-pwd.c: Likewise.
58357 * nss/nss_files/files-rpc.c: Likewise.
58358 * nss/nss_files/files-service.c: Likewise.
58359 * nss/nss_files/files-sgrp.c: Likewise.
58360 * nss/nss_files/files-spwd.c: Likewise.
58361 * nss/nss_db/db-alias.c: Removed.
58362 * nss/nss_db/dummy-db.h: Removed.
58364 2011-06-02 Ulrich Drepper <drepper@gmail.com>
58366 * nss/makedb.c: Rewritten to not use database library.
58367 * nss/Makefile: Update to build new makedb program.
58369 2011-06-14 Andreas Jaeger <aj@suse.de>
58371 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58372 memset declaration.
58374 2011-06-10 Andreas Schwab <schwab@redhat.com>
58376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58379 2011-06-10 Roland McGrath <roland@hack.frob.com>
58381 * Makerules (shlib.lds): Fail if the linker script comes out empty.
58382 * elf/Makefile ($(objpfx)ld.so): Likewise.
58384 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58385 Don't list ld.so twice in dependencies.
58387 * posix/bug-regex31.c: Include <stdlib.h>.
58389 * nscd/hstcache.c (cache_addhst): Remove unused variable.
58391 * nis/nss_compat/compat-spwd.c
58392 (getspent_next_nss_netgr): Remove unused variable.
58393 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58395 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58396 nonmembers" output to use the right array.
58398 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58400 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58402 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58403 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58404 * catgets/gencat.c (read_input_file): Likewise.
58405 * locale/programs/locarchive.c (enlarge_archive): Likewise.
58407 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58408 variable definition inside #if's controlling its use.
58410 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58412 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58414 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58416 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58419 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58421 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58422 * configure: Regenerated.
58424 * Makerules: Revert last change.
58425 * elf/Makefile: Likewise.
58427 2011-06-09 Roland McGrath <roland@hack.frob.com>
58429 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58430 * elf/Makefile ($(objpfx)librtld.os): Likewise.
58431 (reloc-link): Likewise.
58433 2011-06-09 Ulrich Drepper <drepper@gmail.com>
58435 * elf/Makefile: Add rules to build pldd.
58436 * elf/pldd.c: New file.
58437 * elf/pldd-xx.c: New file.
58439 2011-06-07 Ulrich Drepper <drepper@gmail.com>
58441 * version.h: Update for 2.15 development version.
58443 2011-06-07 David S. Miller <davem@davemloft.net>
58445 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58447 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58448 elf_machine_lazy_rel): Likewise.
58449 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58450 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58451 elf_machine_lazy_rel): Likewise.
58452 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58453 dl_hwcap via passed in argument.
58454 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58457 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58459 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
58461 2011-06-06 Roland McGrath <roland@hack.frob.com>
58464 * manual/fdl-1.1.texi: New file, verbatim from:
58465 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58466 * manual/lgpl-2.1.texi: New file, verbatim from:
58467 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58468 * manual/Makefile (licenses): New variable, list those new file names.
58470 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58472 * manual/fdl.texi: File removed.
58473 * manual/lesser.texi: File removed.
58474 * manual/libc.texinfo (Copying, Documentation License):
58475 Use new @include file names, put @appendix directive before @include.
58477 2011-06-04 Jakub Jelinek <jakub@redhat.com>
58480 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58481 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58482 (mq_open): Add __NTH.
58484 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
58486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58487 Assume Intel Core i3/i5/i7 processor if AVX is available.
58489 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58491 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58494 2011-05-31 Andreas Schwab <schwab@redhat.com>
58496 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58497 memory. Use alloca_account. Fix memory leak when retrying.
58499 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58501 * version.h (RELEASE): Bump for 2.14 release.
58502 * include/features.h (__GLIBC_MINOR__): Bump to 14.
58504 * config.make.in (RANLIB): Remove entry.
58506 2011-05-30 Ulrich Drepper <drepper@gmail.com>
58508 * po/Makefile (po-sed-cmd): Add ksh to extensions.
58509 (libc.pot): Work around missing support for .ksh extension in xgettext.
58512 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58513 if both request failed.
58514 (send_dg): In case of server errors clear resplen or *resplen2.
58517 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58518 when there are multiple maps.
58519 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58520 (_dl_fini): Remove test here.
58522 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58524 2011-05-29 Ulrich Drepper <drepper@gmail.com>
58527 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58528 bit from old_res_options.
58529 (gaih_inet): Likewise.
58532 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58535 * resolv/res_init.c (res_setoptions): Make the code more compact.
58538 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58542 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58544 * malloc/malloc.h: Mark malloc hook variables as deprecated.
58547 * malloc/malloc.h: Declare malloc hook variables as volatile.
58549 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58553 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58554 raise in the comment.
58555 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58556 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58557 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58559 2011-05-28 Ulrich Drepper <drepper@gmail.com>
58562 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58563 grow the buffers more if it already has to be sufficient.
58564 (build_wcs_upper_buffer): Likewise.
58565 * posix/regexec.c (check_matching): Likewise.
58566 (clean_state_log_if_needed): Likewise.
58567 (extend_buffers): Don't enlarge buffers beyond size of the input
58569 Patches mostly by Emil Wojak <emil@wojak.eu>.
58570 * posix/bug-regex32.c: New file.
58571 * posix/Makefile (tests): Add bug-regex32.
58573 * locale/findlocale.c (_nl_find_locale): Return right away if
58574 _nl_explode_name failed.
58575 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58577 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58579 * debug/xtrace.sh: Unify messages.
58580 * malloc/memusage.sh: Likewise.
58583 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58584 time symbol from vDSO. Substitute with vsyscall if not available.
58585 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58588 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58589 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58590 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58591 Add sendmmsg and internal_sendmmsg.
58592 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58593 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58594 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58596 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58597 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58598 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58600 2011-05-27 Ulrich Drepper <drepper@gmail.com>
58603 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58604 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
58606 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58610 * iconvdata/Makefile (tests): Add bug-iconv9.
58611 * iconvdata/bug-iconv9.c: New file.
58613 2011-05-27 Andreas Schwab <schwab@redhat.com>
58616 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58618 2011-05-25 Jakub Jelinek <jakub@redhat.com>
58620 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58621 (struct user_regs_struct): Change intcs field back to cs.
58623 2011-05-25 Ulrich Drepper <drepper@gmail.com>
58625 * po/ja.po: Update from translation team.
58627 2011-05-23 Ulrich Drepper <drepper@gmail.com>
58630 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58631 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58633 2011-05-20 Andreas Schwab <schwab@redhat.com>
58635 * stdlib/longlong.h: Update from GCC.
58637 2011-05-23 Andreas Schwab <schwab@redhat.com>
58639 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58641 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58642 Add parameter name.
58643 (__sysconf): Pass it down.
58645 2011-05-22 Ulrich Drepper <drepper@gmail.com>
58648 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58650 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58651 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58652 add in in __libc_use_alloca calls. Adjust callers.
58653 (glob): Use malloc in some situations.
58655 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58656 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58659 2011-05-21 Ulrich Drepper <drepper@gmail.com>
58661 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58662 and CLOCK_BOOTTIME_ALARM.
58665 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58668 * string/_strerror.c (__strerror_r): Print negative errors as signed
58672 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58673 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58674 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58676 * configure.in: Fix typo in redirection and correct removal of test
58677 files in two cases.
58680 * locale/setlocale.c (new_composite_name): Fix test to check for
58681 identical name of all categories.
58684 * libio/filedoalloc.c (local_isatty): New function.
58685 (_IO_file_doallocate): Use local_isatty.
58686 * stdio-common/perror.c (perror): In case a new stream is used
58687 forward the stream error.
58688 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58691 2011-05-20 Ulrich Drepper <drepper@gmail.com>
58694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58696 * include/alloca.h (extend_alloca_account): Define.
58699 * posix/regex.h: Fix comments with documentation of user-accessible
58700 fields after compilation and describe correct free'ing of pattern
58701 after re_compile_pattern.
58702 Patch by Reuben Thomas <rrt@sc3d.org>.
58704 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
58706 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58707 and -mno-altivec to prevent the compiler from using Altivec and/or
58708 VSX instructions when the corresponding registers are not available.
58710 2011-05-19 Andreas Schwab <schwab@redhat.com>
58712 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58714 2011-05-19 Ulrich Drepper <drepper@gmail.com>
58716 * libio/freopen.c (freopen): Use __dup2, not dup2.
58717 * libio/freopen64.c (freopen64): Likewise.
58719 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
58722 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58723 * math/Makefile (tests): Add test-powl.
58724 (CFLAGS-test-powl.c): Define.
58725 * math/test-powl.c: New file.
58727 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
58729 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58731 2011-05-17 Ulrich Drepper <drepper@gmail.com>
58734 * iconvdata/gb18030.c: Update to GB18020-2005.
58736 2011-05-16 Ulrich Drepper <drepper@gmail.com>
58738 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58739 RE_SYNTAX_POSIX_AWK): Update to match recent development.
58740 Patch by Aharon Robbins <arnold@skeeve.com>.
58743 * stdlib/putenv.c (putenv): Don't always create copy of the variable
58747 * misc/pselect.c (__pselect): Handle timeout value errors hidden
58748 through underflows.
58751 * misc/error.c (error_at_line): Ensure file_name and old_file_name
58752 point to strings before performing equality test for error_one_per_line
58756 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58759 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58760 (struct user_fpregs_struct): Avoid __uint*_t types.
58763 * malloc/mtrace.c (tr_where): Add additional parameter to point to
58764 symbol info. Use it instead of calling _dl_addr locally.
58765 (lock_and_info): New function.
58766 (tr_freehook): Call lock_and_info and pass symbol info as additional
58767 parameter to tr_where.
58768 (tr_mallochook): Likewise.
58769 (tr_reallochook): Likewise.
58770 (tr_memalignhook): Likewise.
58772 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
58773 used and couldn't be at all thread-safe.
58775 2011-05-15 Ulrich Drepper <drepper@gmail.com>
58777 * libio/freopen.c (freopen): Don't close old file descriptor
58778 before the new one is opened. Instead dup the new file descriptor
58779 to the old one after the new stream is created.
58780 * libio/freopen64.c (freopen64): Likewise.
58781 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58782 * libio/fileops.c (_IO_new_file_close_it): Handle new
58783 _IO_FLAGS2_NOCLOSE flag.
58784 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58785 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58786 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58787 _IO_FLAGS2_NOCLOSE flag.
58788 * include/unistd.h: Add hidden_proto for dup3.
58789 Define __have_dup3.
58790 * io/dup3.c: Define hidden symbol.
58791 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58794 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58795 when an incomplete long option is used.
58796 * posix/tst-getopt_long1.c: New file.
58797 * posix/Makefile (tests): Add tst-getopt_long1.
58800 * scripts/config.guess: Update from autoconf-2.68.
58801 * scripts/config.sub: Likewise.
58804 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58806 (has_cpuclock): ...this. New function.
58807 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58808 macro here based on has_cpuclock code.
58811 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58812 First byte (not low byte) is now always NUL.
58813 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58815 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58816 Use non-cancelable interfaces.
58819 * locale/iso-639.def: Add entry for Sorani.
58822 * include/stdlib.h: Move include protection to the right place.
58823 Define abort_msg_s. Declare __abort_msg with it.
58824 * stdlib/abort.c (__abort_msg): Adjust type.
58825 * assert/assert.c (__assert_fail_base): New function. Majority
58826 of code from __assert_fail. Allocate memory for __abort_msg with
58828 (__assert_fail): Now call __assert_fail_base.
58829 * assert/assert-perr.c: Remove bulk of implementation. Use
58830 __assert_fail_base.
58831 * include/assert.hL Declare __assert_fail_base.
58832 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58834 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58836 2011-05-14 Ulrich Drepper <drepper@gmail.com>
58840 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58841 until all modules are registered in the DTV.
58842 * elf/Makefile: Add rules to build and run tst-tls19.
58843 * elf/tst-tls19.c: New file.
58844 * elf/tst-tls19mod1.c: New file.
58845 * elf/tst-tls19mod2.c: New file.
58846 * elf/tst-tls19mod3.c: New file.
58847 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58850 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58854 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58855 two-byte sequence errors.
58856 * iconvdata/Makefile (tests): Add bug-iconv8.
58857 * iconvdata/bug-iconv8.c: New file.
58860 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58863 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58866 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58867 (dummy_getcfa): New function.
58868 (init): Get _Unwind_GetCFA address, use dummy if not found.
58869 (backtrace_helper): In recursion check, also check whether CFA changes.
58870 (__backtrace): Completely initialize arg.
58872 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58873 storing incomplete byte sequence in state object. Avoid testing for
58874 guaranteed too small input if we know there is enough data available.
58876 2011-05-11 Andreas Schwab <schwab@redhat.com>
58878 * Makeconfig (+link-pie): Indent.
58879 * Rules (binaries-pie): Define if $(have-fpie) and
58881 (binaries-shared): Also filter out $(binaries-pie).
58882 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58883 * nscd/Makefile (others-pie): Add nscd.
58884 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58885 ($(objpfx)nscd): Remove command override.
58886 * login/Makefile (others-pie): Add pt_chown.
58887 ($(objpfx)pt_chown): Remove command override.
58888 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58889 remove command overrides.
58891 2011-05-13 Ulrich Drepper <drepper@gmail.com>
58893 * libio/tst_putwc.c: Fix error messages.
58896 * libio/fileops.c (_IO_new_file_close_it): Always flush when
58897 currently writing and seek to current position when not.
58898 * libio/Makefile (tests): Add bug-fclose1.
58899 * libio/bug-fclose1.c: New file.
58901 2011-05-12 Ulrich Drepper <drepper@gmail.com>
58904 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58905 don't set DF_1_NODELETE here.
58906 (do_lookup_x): When entering new entry test for copy relocation
58907 and if necessary set DF_1_NODELETE flag.
58908 * elf/tst-unique4.cc: New file.
58909 * elf/tst-unique4.h: New file.
58910 * elf/tst-unique4lib.cc: New file.
58911 * elf/Makefile: Add rules to build and run tst-unique4.
58912 Patch by Piotr Bury <pbury@goahead.com>.
58914 2011-05-11 Ulrich Drepper <drepper@gmail.com>
58917 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58920 * misc/mntent_r.c (addmntent): Flush the stream after the output
58923 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58924 (is_trusted_path_normalize): Skip initial colon. Append slash
58925 to empty buffer. Duplicate is_trusted_path code but allow
58926 constructed patch to be prefix.
58927 (is_dst): Allow $ORIGIN followed by /.
58928 (_dl_dst_substitute): Correct clearing of check_for_trusted.
58929 Correct testing of result of is_trusted_path_normalize
58930 (decompose_rpath): Fix warning.
58932 2011-05-10 Ulrich Drepper <drepper@gmail.com>
58935 * grp/initgroups.c (internal_getgrouplist): When we found the service
58936 list through the initgroups entry in nsswitch.conf do not always
58937 continue on a successful lookup. Don't always use the
58938 __nss_group_database value if it is set.
58939 * nss/nsswitch.conf (initgroups): Change action for successful db
58940 lookup to continue for compatibility.
58942 2011-05-09 Ulrich Drepper <drepper@gmail.com>
58945 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58947 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58949 * iconvdata/tst-tables.sh: Likewise.
58950 * iconvdata/cp770.c: New file.
58951 * iconvdata/cp771.c: New file.
58952 * iconvdata/cp772.c: New file.
58953 * iconvdata/cp773.c: New file.
58954 * iconvdata/cp774.c: New file.
58955 * iconvdata/testdata/CP770: New file.
58956 * iconvdata/testdata/CP770..UTF8: New file.
58957 * iconvdata/testdata/CP771: New file.
58958 * iconvdata/testdata/CP771..UTF8: New file.
58959 * iconvdata/testdata/CP772: New file.
58960 * iconvdata/testdata/CP772..UTF8: New file.
58961 * iconvdata/testdata/CP773: New file.
58962 * iconvdata/testdata/CP773..UTF8: New file.
58963 * iconvdata/testdata/CP774: New file.
58964 * iconvdata/testdata/CP774..UTF8: New file.
58966 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58968 * iconvdata/gen-8bit-gap.sh: Likewise.
58969 * iconvdata/gen-8bit.sh: Likewise.
58971 * locale/iso-639.def: Add ary entry.
58974 * locale/C-translit.h.in: Add U20A1 transliteration.
58977 * locale/iso-639.def: Add wae entry.
58978 Patch by Kevin Bortis <bortis@translate-wae.ch>.
58981 * locale/programs/localedef.c (construct_output_path): Use ssize_t
58985 * locale/C-translit.h.in: Add entry for U20B9.
58986 Patch by pravin.d.s@gmail.com.
58988 2011-05-08 Ulrich Drepper <drepper@gmail.com>
58991 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58992 ENAMETOOLONG use generic getcwd.
58993 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
58994 in rtld. Use *stat64.
58995 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58996 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58997 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58998 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58999 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59000 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59001 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59002 __fstatat64 macros.
59003 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59004 * dirent/rewinddir.c: Add libc_hidden_def.
59005 * sysdeps/mach/hurd/rewinddir.c: Likewise.
59006 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
59008 * include/dirent.h (__alloc_dir): Add flags parameter.
59009 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59010 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59012 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59013 from fdopendir if O_CLOEXEC is already set.
59015 2011-03-15 Alan Modra <amodra@gmail.com>
59017 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59018 l_tls_firstbyte_offset non-zero. Save padding offset in
59019 l_tls_firstbyte_offset for later use.
59020 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59021 freeing static tls block.
59023 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59025 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59026 where #ifdef was intended. The intent is to prevent ARG_MAX from
59027 being defined by the kernel headers.
59029 2011-05-07 Ulrich Drepper <drepper@gmail.com>
59032 * resolv/resolv.h: Define RES_NOTLDQUERY.
59033 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59034 no-tld-query and set RES_NOTLDQUERY.
59035 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59036 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59037 modern BIND to search name as TLD unless forbidden.
59039 2011-05-07 Petr Baudis <pasky@suse.cz>
59040 Ulrich Drepper <drepper@gmail.com>
59043 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59044 (is_trusted_path): ...to here.
59045 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59046 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59047 using is_trusted_path_normalize() in setuid scripts.
59049 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59051 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59052 __BEGIN/__END_DECLS.
59054 2011-05-06 Ulrich Drepper <drepper@gmail.com>
59056 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59057 NSS_STATUS_NOTFOUND if no record was found.
59059 2011-05-05 Andreas Schwab <schwab@redhat.com>
59061 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59062 (headers-not-in-tirpc): Remove rpc/netdb.h
59063 * resolv/netdb.h: Revert last change.
59065 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59067 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59068 circular dependency between libgcc.a and libc.a.
59070 2011-05-05 Andreas Schwab <schwab@redhat.com>
59072 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59073 * nis/Makefile: Don't install rpcsvc/*.
59074 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59075 instead of <rpc/types.h>.
59076 (MAXHOSTNAMELEN): Define.
59078 2011-05-03 Andreas Schwab <schwab@redhat.com>
59080 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59082 2011-04-28 Maciej Babinski <mbabinski@google.com>
59085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59086 gethostbyname4_r when IPv6 results are possible.
59088 2011-05-02 Ulrich Drepper <drepper@gmail.com>
59091 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59092 _PC_PIPE_BUF handling.
59094 2011-04-30 Bruno Haible <bruno@clisp.org>
59097 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59098 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59100 * inet/getnameinfo.c (getnameinfo): Likewise.
59102 2011-04-29 Ulrich Drepper <drepper@gmail.com>
59104 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59105 to groups setting in database lookup.
59106 * nss/nsswitch.conf: Add initgroups entry.
59108 2011-04-22 Ulrich Drepper <drepper@gmail.com>
59111 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59113 Patch by Eric Blake <eblake@redhat.com>.
59115 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59117 * sunrpc/Makefile (need-export-routines): Add svc_run.
59118 (routines): Remove svc_run.
59119 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59120 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59121 * sunrpc/svc_run.c (svc_run): Likewise.
59122 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59124 2011-04-21 Ulrich Drepper <drepper@gmail.com>
59126 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59127 problem in reallocation in last patch.
59129 2011-04-20 Ulrich Drepper <drepper@gmail.com>
59131 * sunrpc/Makefile: Move inclusion of Rules.
59133 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59135 * nss/nss_files/files-initgroups.c: New file.
59136 * nss/Makefile (libnss_files-routines): Add files-initgroups.
59137 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59138 _nss_files_initgroups_dyn.
59140 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
59142 * elf/elf.h (R_ARM_IRELATIVE): Define.
59144 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59146 * po/ru.po: Update from translation team.
59148 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59150 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59153 2011-02-06 Mike Frysinger <vapier@gentoo.org>
59156 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59157 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59158 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59159 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59160 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59162 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
59164 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59166 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59167 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59168 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59170 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59173 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59175 * stdlib/bug-getcontext.c: New file.
59176 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59178 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59180 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59181 instructions into .machine "z9-109".
59182 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59183 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59185 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59187 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59188 between environment variables and auxiliary vector.
59190 2011-04-16 Ulrich Drepper <drepper@gmail.com>
59192 * Makefile: Add rules to build linkobj/libc.so.
59193 * include/libc-symbols.h: Define libc_hidden_nolink.
59194 * include/rpc/auth.h: Mark functions which are to be hidden.
59195 * include/rpc/auth_des.h: Likewise.
59196 * include/rpc/auth_unix.h: Likewise.
59197 * include/rpc/clnt.h: Likewise.
59198 * include/rpc/des_crypt.h: Likewise.
59199 * include/rpc/key_prot.h: Likewise.
59200 * include/rpc/pmap_clnt.h: Likewise.
59201 * include/rpc/pmap_prot.h: Likewise.
59202 * include/rpc/pmap_rmt.h: Likewise.
59203 * include/rpc/rpc_msg.h: Likewise.
59204 * include/rpc/svc.h: Likewise.
59205 * include/rpc/svc_auth.h: Likewise.
59206 * include/rpc/xdr.h: Likewise.
59207 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59208 * nss/Makefile: Likewise.
59209 * sunrpc/Makefile: Don't install headers. Build library with normal
59210 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59211 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59212 for the compat linking library. Remove use of INTDEF/INTUSE.
59213 * sunrpc/auth_none.c: Likewise.
59214 * sunrpc/auth_unix.c: Likewise.
59215 * sunrpc/authdes_prot.c: Likewise.
59216 * sunrpc/authuxprot.c: Likewise.
59217 * sunrpc/clnt_gen.c: Likewise.
59218 * sunrpc/clnt_perr.c: Likewise.
59219 * sunrpc/clnt_raw.c: Likewise.
59220 * sunrpc/clnt_simp.c: Likewise.
59221 * sunrpc/clnt_tcp.c: Likewise.
59222 * sunrpc/clnt_udp.c: Likewise.
59223 * sunrpc/clnt_unix.c: Likewise.
59224 * sunrpc/des_crypt.c: Likewise.
59225 * sunrpc/des_soft.c: Likewise.
59226 * sunrpc/get_myaddr.c: Likewise.
59227 * sunrpc/key_call.c: Likewise.
59228 * sunrpc/key_prot.c: Likewise.
59229 * sunrpc/netname.c: Likewise.
59230 * sunrpc/pm_getmaps.c: Likewise.
59231 * sunrpc/pm_getport.c: Likewise.
59232 * sunrpc/pmap_clnt.c: Likewise.
59233 * sunrpc/pmap_prot.c: Likewise.
59234 * sunrpc/pmap_prot2.c: Likewise.
59235 * sunrpc/pmap_rmt.c: Likewise.
59236 * sunrpc/publickey.c: Likewise.
59237 * sunrpc/rpc_cmsg.c: Likewise.
59238 * sunrpc/rpc_common.c: Likewise.
59239 * sunrpc/rpc_dtable.c: Likewise.
59240 * sunrpc/rpc_prot.c: Likewise.
59241 * sunrpc/rpc_thread.c: Likewise.
59242 * sunrpc/rtime.c: Likewise.
59243 * sunrpc/svc.c: Likewise.
59244 * sunrpc/svc_auth.c: Likewise.
59245 * sunrpc/svc_authux.c: Likewise.
59246 * sunrpc/svc_raw.c: Likewise.
59247 * sunrpc/svc_run.c: Likewise.
59248 * sunrpc/svc_simple.c: Likewise.
59249 * sunrpc/svc_tcp.c: Likewise.
59250 * sunrpc/svc_udp.c: Likewise.
59251 * sunrpc/svc_unix.c: Likewise.
59252 * sunrpc/svcauth_des.c: Likewise.
59253 * sunrpc/xcrypt.c: Likewise.
59254 * sunrpc/xdr.c: Likewise.
59255 * sunrpc/xdr_array.c: Likewise.
59256 * sunrpc/xdr_float.c: Likewise.
59257 * sunrpc/xdr_intXX_t.c: Likewise.
59258 * sunrpc/xdr_mem.c: Likewise.
59259 * sunrpc/xdr_rec.c: Likewise.
59260 * sunrpc/xdr_ref.c: Likewise.
59261 * sunrpc/xdr_sizeof.c: Likewise.
59262 * sunrpc/xdr_stdio.c: Likewise.
59264 2011-04-10 Ulrich Drepper <drepper@gmail.com>
59267 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59268 * sysdeps/ia64/dl-tls.h: Likewise.
59269 * sysdeps/powerpc/dl-tls.h: Likewise.
59270 * sysdeps/s390/dl-tls.h: Likewise.
59271 * sysdeps/sh/dl-tls.h: Likewise.
59272 * sysdeps/sparc/dl-tls.h: Likewise.
59273 * sysdeps/x86_64/dl-tls.h: Likewise.
59274 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59276 2011-03-14 Andreas Schwab <schwab@redhat.com>
59278 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59279 rpath element also skip the following colon.
59280 (expand_dynamic_string_token): Add is_path parameter and pass
59281 down to DL_DST_REQUIRED and _dl_dst_substitute.
59282 (decompose_rpath): Call expand_dynamic_string_token with
59283 non-zero is_path. Ignore empty rpaths.
59284 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59287 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59292 2011-04-09 Ulrich Drepper <drepper@gmail.com>
59295 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59296 Patch by Filipe David Manana <fdmanana@apache.org>.
59298 2011-04-07 Andreas Schwab <schwab@redhat.com>
59300 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59301 Maintain aligned stack.
59302 (CHECK_RSP): Remove unused macro.
59304 2011-04-03 Ulrich Drepper <drepper@gmail.com>
59306 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59307 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59309 2011-04-02 Ulrich Drepper <drepper@gmail.com>
59311 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59313 * include/features.h: Mention __USE_XOPEN2K8 in comment.
59315 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59318 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59319 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59320 * sysdeps/x86_64/memmove.c: New file.
59321 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59322 (memcpy): Renamed to ...
59323 (__new_memcpy): This.
59324 (memcpy): Provide GLIBC_2_14 memcpy.
59325 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59326 (memcpy): Provide GLIBC_2_2_5 memcpy.
59328 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59331 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59333 2011-03-30 Andreas Schwab <schwab@redhat.com>
59335 * misc/syncfs.c: New file.
59336 * misc/Makefile (routines): Add syncfs.
59337 * posix/unistd.h: Declare syncfs.
59338 * sysdeps/unix/syscalls.list: Add syncfs.
59340 2011-04-01 Andreas Schwab <schwab@redhat.com>
59342 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59344 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59345 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59346 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59347 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59349 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59352 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59354 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59355 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59356 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59357 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59358 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59360 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59362 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59363 sync_file_range.c with -fexceptions.
59364 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59365 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59366 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59367 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59368 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59369 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59370 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59371 sync_file_range as cancellation point
59372 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59373 now a wrapper around __call_sync_file_range with cancellation handling.
59374 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59375 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
59376 function name to __call_sync_file_range.
59377 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59378 Add call_sync_file_range.
59380 2011-04-01 Andreas Schwab <schwab@redhat.com>
59382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59385 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59387 * iconv/iconv.h: Fix typo in comment.
59388 * io/fcntl.h: Likewise.
59389 * libio/stdio.h: Likewise.
59390 * posix/spawn.h: Likewise.
59391 * posix/unistd.h: Likewise.
59392 * stdlib/stdlib.h: Likewise.
59393 * time/time.h: Likewise.
59394 * wcsmbs/wchar.h: Likewise.
59396 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59397 open_by_handle): Add.
59398 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59399 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
59400 Augment a few comments.
59401 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59403 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59404 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59405 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59406 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59409 * io/fcntl.h (AT_EMPTY_PATH): Define.
59411 2011-03-30 Ulrich Drepper <drepper@gmail.com>
59413 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59414 * sysdeps/unix/sysv/linux/bits/time.h: New file.
59415 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59417 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
59418 * Versions.def: Add GLIBC_2.14.
59419 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59422 2011-03-22 Ulrich Drepper <drepper@gmail.com>
59424 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59426 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59428 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
59431 * string/test-strncmp.c (do_page_test): New function.
59432 (check2): Likewise.
59433 (test_main): Call check2.
59434 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59436 2011-03-20 Ulrich Drepper <drepper@gmail.com>
59439 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59440 Handle cache information in CPU leaf 4.
59441 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59443 2011-03-18 Ulrich Drepper <drepper@gmail.com>
59446 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59447 character representation.
59448 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59450 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
59452 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59453 END(__isnan) to END(__isnanf) to match function entry point/label
59454 EALIGN(__isnanf,...).
59456 2011-03-10 Jakub Jelinek <jakub@redhat.com>
59458 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59460 2011-03-10 Ulrich Drepper <drepper@gmail.com>
59463 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59464 copy from the symbol referenced in the relocation to initialize the
59466 Patch by Piotr Bury <pbury@goahead.com>.
59467 * elf/Makefile: Add rules to build and tst-unique3.
59468 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59469 * elf/tst-unique3.cc: New file.
59470 * elf/tst-unique3.h: New file.
59471 * elf/tst-unique3lib.cc: New file.
59472 * elf/tst-unique3lib2.cc: New file.
59474 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59476 2011-03-10 Mike Frysinger <vapier@gentoo.org>
59478 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59479 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
59482 2011-03-06 Ulrich Drepper <drepper@gmail.com>
59484 * elf/dl-load.c (_dl_map_object): If we are looking for the first
59485 to-be-loaded object along a path to loader is ld.so.
59487 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59488 Ulrich Drepper <drepper@gmail.com>
59490 * sysdeps/x86_64/memset.S: After aligning destination, code
59491 branches to different locations depending on the value of
59492 misalignment, when multiarch is enabled. Fix this.
59494 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59496 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59497 Set _x86_64_preferred_memory_instruction for AMD processsors.
59498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59499 Set bit_Prefer_SSE_for_memop for AMD processors.
59501 2011-03-04 Ulrich Drepper <drepper@gmail.com>
59503 * libio/fmemopen.c (fmemopen): Optimize a bit.
59505 2011-03-03 Andreas Schwab <schwab@redhat.com>
59507 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59509 2011-03-03 Roland McGrath <roland@redhat.com>
59511 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59513 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
59515 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59516 __bzero_ultra1 instead of __memset_ultra1.
59518 2011-02-23 Andreas Schwab <schwab@redhat.com>
59519 Ulrich Drepper <drepper@gmail.com>
59522 * include/link.h (struct link_map): Add l_orig_initfini.
59523 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59524 returning unsuccessfully.
59525 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59526 close of a file loaded at startup, restore the original l_initfini
59528 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59529 list, store the pointer.
59530 * elf/Makefile ($(objpfx)noload-mem): New rule.
59531 (noload-ENV): Define.
59532 (tests): Add $(objpfx)noload-mem.
59533 * elf/noload.c: Include <memcheck.h>.
59534 (main): Call mtrace. Close all opened handles.
59536 2011-02-17 Andreas Schwab <schwab@redhat.com>
59539 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59540 dependencies are missing.
59542 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
59544 Fix __if_freereq crash: Unlike the generic version which uses free,
59546 * sysdeps/mach/hurd/ifreq.h: New file.
59548 2011-01-27 Petr Baudis <pasky@suse.cz>
59549 Ulrich Drepper <drepper@gmail.com>
59552 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59553 to extend_alloca().
59554 * stdio-common/bug23.c: New file.
59555 * stdio-common/Makefile (tests): Add bug23.
59557 2010-09-28 Andreas Schwab <schwab@redhat.com>
59558 Ulrich Drepper <drepper@gmail.com>
59561 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59562 before performing relro protection. At old place add assertion
59563 to make sure nothing changed.
59565 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
59566 Glauber de Oliveira Costa <glommer@gmail.com>
59568 * elf/elf.h: Add new ARM TLS relocs.
59570 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
59572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59573 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59575 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
59577 * sysdeps/wordsize-64/tst-writev.c: New file.
59579 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
59581 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59582 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59583 insns in _dl_start to prevent a TOC reference before relocs are
59586 2011-02-15 Ulrich Drepper <drepper@gmail.com>
59589 * Makeconfig: Remove RANLIB definition.
59590 * Makerules: Don't use RANLIB.
59591 * aclocal.m4: Remove ranlib test.
59592 * configure.in: No need to check for ranlib.
59593 * elf/rtld-Rules: Don't use RANLIB.
59595 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
59597 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59599 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59600 inclusion protection macro.
59602 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59603 SIGRTMIN and SIGRTMAX and print information in that case only when
59604 SIGRTMIN is defined.
59606 2011-02-11 Jakub Jelinek <jakub@redhat.com>
59608 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59609 arginfo fn returning -1.
59611 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59612 and thousands string is zero terminated.
59614 2011-02-03 Andreas Schwab <schwab@redhat.com>
59616 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59617 sysdeps/unix/sysv/linux/bits/socket.h.
59619 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
59621 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59622 (__CPU_COUNT): Remove old macros.
59623 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59624 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59625 (__CPU_ALLOC, __CPU_FREE): Add macros.
59626 (__sched_cpualloc, __sched_cpufree): Add declarations.
59628 2011-02-05 Ulrich Drepper <drepper@gmail.com>
59630 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59631 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59632 * nscd/aicache.c (addhstaiX): Return timeout of added value.
59633 (readdhstai): Return value of addhstaiX call.
59634 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59635 (addgrbyX): Return value returned by cache_addgr.
59636 (readdgrbyname): Return value returned by addgrbyX.
59637 (readdgrbygid): Likewise.
59638 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59639 (addpwbyX): Return value returned by cache_addpw.
59640 (readdpwbyname): Return value returned by addhstbyX.
59641 (readdpwbyuid): Likewise.
59642 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59643 (addservbyX): Return value returned by cache_addserv.
59644 (readdservbyname): Return value returned by addservbyX:
59645 (readdservbyport): Likewise.
59646 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59647 (addhstbyX): Return value returned by cache_addhst.
59648 (readdhstbyname): Return value returned by addhstbyX.
59649 (readdhstbyaddr): Likewise.
59650 (readdhstbynamev6): Likewise.
59651 (readdhstbyaddrv6): Likewise.
59652 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59653 (readdinitgroups): Return value returned by addinitgroupsX.
59654 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59655 (prune_cache): Keep track of timeout value of re-added entries.
59656 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59657 * nscd/nscd.h: Adjust prototypes of readd* functions.
59659 2011-02-04 Roland McGrath <roland@redhat.com>
59661 * nis/nis_server.c (nis_servstate): Use the right name for 0.
59662 (nis_stats): Likewise.
59663 * nis/nis_modify.c (nis_modify): Likewise.
59664 * nis/nis_remove.c (nis_remove): Likewise.
59665 * nis/nis_add.c (nis_add): Likewise.
59667 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59669 * posix/fnmatch_loop.c: Add some consts.
59671 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59673 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
59676 * config.make.in (config-cflags-novzeroupper): Define.
59677 * configure.in: Substitute libc_cv_cc_novzeroupper.
59678 * elf/Makefile (AVX-CFLAGS): Define.
59679 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59680 (CFLAGS-tst-auditmod4a.c): Likewise.
59681 (CFLAGS-tst-auditmod4b.c): Likewise.
59682 (CFLAGS-tst-auditmod6b.c): Likewise.
59683 (CFLAGS-tst-auditmod6c.c): Likewise.
59684 (CFLAGS-tst-auditmod7b.c): Likewise.
59685 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59687 2011-02-02 Ulrich Drepper <drepper@gmail.com>
59689 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59690 function to the callback.
59691 Patch partly by Jiri Olsa <jolsa@redhat.com>.
59693 2011-02-02 Andreas Schwab <schwab@redhat.com>
59695 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59698 2011-01-19 Ulrich Drepper <drepper@gmail.com>
59701 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59703 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59705 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59708 * elf/Makefile: Add rules to build and run new test.
59709 * elf/tst-initorder.c: New file.
59710 * elf/tst-initorder.exp: New file.
59711 * elf/tst-initordera1.c: New file.
59712 * elf/tst-initordera2.c: New file.
59713 * elf/tst-initordera3.c: New file.
59714 * elf/tst-initordera4.c: New file.
59715 * elf/tst-initorderb1.c: New file.
59716 * elf/tst-initorderb2.c: New file.
59717 * elf/tst-order-a1.c: New file.
59718 * elf/tst-order-a2.c: New file.
59719 * elf/tst-order-a3.c: New file.
59720 * elf/tst-order-a4.c: New file.
59721 * elf/tst-order-b1.c: New file.
59722 * elf/tst-order-b2.c: New file.
59723 * elf/tst-order-main.c: New file.
59724 New test case by George Gensure <werkt0@gmail.com>.
59726 2010-10-01 Andreas Schwab <schwab@redhat.com>
59728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59729 decoding ACE if AI_CANONIDN.
59731 2011-01-18 Ulrich Drepper <drepper@gmail.com>
59733 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59735 2011-01-17 Ulrich Drepper <drepper@gmail.com>
59737 * version.h (RELEASE): Bump for 2.13 release.
59738 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59740 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59742 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59744 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59745 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59746 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59747 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59748 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59749 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59751 * posix/getconf.c: Update copyright year.
59752 * catgets/gencat.c: Likewise.
59753 * csu/version.c: Likewise.
59754 * debug/catchsegv.sh: Likewise.
59755 * debug/xtrace.sh: Likewise.
59756 * elf/ldconfig.c: Likewise.
59757 * elf/ldd.bash.in: Likewise.
59758 * elf/sprof.c (print_version): Likewise.
59759 * iconv/iconv_prog.c: Likewise.
59760 * iconv/iconvconfig.c: Likewise.
59761 * locale/programs/locale.c: Likewise.
59762 * locale/programs/localedef.c: Likewise.
59763 * malloc/memusage.sh: Likewise.
59764 * malloc/mtrace.pl: Likewise.
59765 * nscd/nscd.c (print_version): Likewise.
59766 * nss/getent.c: Likewise.
59768 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59769 PF_CAIF, and PF_ALG.
59770 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59772 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
59774 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59775 (modules-names): Use them.
59776 (ifunc-test-modules, ifunc-pie-tests): Define.
59777 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59778 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59779 (test-extras): Likewise.
59780 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59781 $(compile-command.c).
59782 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59783 (all-built-dso): Define.
59784 (check-textrel.out, check-execstack.out): Depend on it.
59786 * configure.in: Don't override --enable-multi-arch.
59788 2011-01-15 Ulrich Drepper <drepper@gmail.com>
59791 * nscd/hstcache.c (tryagain): Define.
59792 (cache_addhst): Return tryagain not notfound for temporary errors.
59793 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59796 2011-01-14 Ulrich Drepper <drepper@gmail.com>
59799 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59800 to make the syscall.
59801 * sysdeps/unix/sysv/linux/setgroups.c: New file.
59804 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59805 and fall back to matching as normal character if the string ends before
59806 the matching ']' is found. This is what POSIX requires.
59807 * posix/testfnm.c: Adjust test result.
59808 * posix/globtest.sh: Adjust test result. Add new test.
59809 * posix/tst-fnmatch.input: Likewise.
59810 * posix/tst-fnmatch2.c: Add new test.
59812 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
59814 * elf/Makefile (check-execstack): Revert last change. Depend on
59816 (check-execstack.h): New target.
59817 (generated): Add check-execstack.h.
59818 * elf/check-execstack.c: Include "check-execstack.h".
59819 (main): Revert last change.
59820 (handle_file): Return zero if GNU_STACK is absent and
59821 DEFAULT_STACK_PERMS doesn't include PF_X.
59823 2011-01-13 Ulrich Drepper <drepper@gmail.com>
59825 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59826 in child fails because the descriptor is already closed.
59827 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59828 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59829 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59832 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59836 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59837 temporary buffer used to handle multi lookups locally.
59838 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59840 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59842 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59845 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
59847 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59848 alignment for SSE2.
59850 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59853 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59854 characters. When rounding increased number of integer digits recompute
59856 * stdio-common/tst-grouping.c: New file.
59857 * stdio-common/Makefile: Add rules to build and run tst-grouping.
59859 2011-01-09 Ulrich Drepper <drepper@gmail.com>
59861 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59862 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
59864 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59866 * bits/select.h: Likewise.
59868 2011-01-08 Ulrich Drepper <drepper@gmail.com>
59870 * po/ja.po: Update from translation team.
59872 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
59875 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59876 implementation just like for lxstat, fxstatat, et al.
59878 2010-12-27 Jim Meyering <meyering@redhat.com>
59881 * posix/regexec.c (build_trtable): Return failure indication upon
59882 calloc failure. Otherwise, re_search_internal could infloop on OOM.
59884 2010-12-25 Ulrich Drepper <drepper@gmail.com>
59887 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59888 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59889 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59890 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59893 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59896 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59897 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59899 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
59901 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59902 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59903 script has SORT_BY_INIT_PRIORITY.
59904 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59905 NO_CTORS_DTORS_SECTIONS is defined.
59906 * elf/soinit.c: Likewise.
59907 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59908 NO_CTORS_DTORS_SECTIONS is defined.
59909 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59910 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59911 * sysdeps/sh/init-first.c: Likewise.
59912 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59914 2010-12-24 Ulrich Drepper <drepper@gmail.com>
59916 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59917 always use the slow path.
59919 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
59921 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59922 similar rule which adds the sysdep directories to the header search in
59923 order to pick up the correct platform stackinfo.h.
59924 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59925 perform test if it is, otherwise return successfully without testing.
59926 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59927 DEFAULT_STACK_PERMS define in stackinfo.h.
59928 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59929 defined in stackinfo.h.
59930 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59931 DEFAULT_STACK_PERMS defined in stackinfo.h.
59932 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59933 * sysdeps/ia64/stackinfo.h: Likewise.
59934 * sysdeps/s390/stackinfo.h: Likewise.
59935 * sysdeps/sh/stackinfo.h: Likewise.
59936 * sysdeps/sparc/stackinfo.h: Likewise.
59937 * sysdeps/x86_64/stackinfo.h: Likewise.
59938 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59939 PF_X for powerpc64. Retain PF_X for powerpc32.
59941 2010-12-19 Ulrich Drepper <drepper@gmail.com>
59943 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59945 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59946 GETDENTS_64BIT_ALIGNED.
59948 2010-12-14 Ulrich Drepper <dreper@gmail.com>
59950 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59952 2010-12-10 Andreas Schwab <schwab@redhat.com>
59954 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59957 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59958 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59960 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59961 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59963 2010-12-09 Ulrich Drepper <drepper@gmail.com>
59966 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59969 2010-12-09 Jakub Jelinek <jakub@redhat.com>
59971 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59973 2010-12-03 Ulrich Drepper <drepper@gmail.com>
59975 * po/it.po: Update from translation team.
59977 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
59979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59982 2010-11-30 Ulrich Drepper <drepper@gmail.com>
59984 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59986 2010-11-24 Andreas Schwab <schwab@redhat.com>
59988 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59990 (gaih_getanswer_slice): Likewise.
59992 2010-10-20 Jakub Jelinek <jakub@redhat.com>
59994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59996 2010-05-31 Petr Baudis <pasky@suse.cz>
59999 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60000 silently even in the chroot mode.
60002 2010-11-22 Ulrich Drepper <drepper@gmail.com>
60004 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60005 last patch a bit. Pretty printing
60007 2010-05-31 Petr Baudis <pasky@suse.cz>
60010 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60011 initialization of skip_initgroups_dyn.
60013 2010-11-19 Ulrich Drepper <drepper@gmail.com>
60015 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60016 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60018 2010-11-16 Ulrich Drepper <drepper@gmail.com>
60020 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60022 2010-11-11 Andreas Schwab <schwab@redhat.com>
60024 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60025 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60026 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60027 ($(objpfx)tst-fnmatch-mem): New rule.
60028 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60029 * posix/tst-fnmatch.c (main): Call mtrace.
60031 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60034 Support Intel processor model 6 and model 0x2c.
60036 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
60038 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60041 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60044 * string/test-strncasecmp.c (check_result): New function.
60045 (do_one_test): Use it.
60046 (check1): New function.
60047 (test_main): Use it.
60048 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60049 Support strcasecmp and strncasecmp.
60051 2010-11-08 Ulrich Drepper <drepper@gmail.com>
60054 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60055 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60057 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60059 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60063 * sysdeps/x86_64/multiarch/bzero.S: New file.
60064 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60065 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60066 * sysdeps/x86_64/multiarch/memset.S: New file.
60067 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60069 Set bit_Prefer_SSE_for_memop for Intel processors.
60070 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60072 (index_Prefer_SSE_for_memop): Define.
60073 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60075 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
60077 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60078 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60080 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60083 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60084 (__x86_64_raw_data_cache_size_half): Likewise.
60085 (__x86_64_raw_shared_cache_size): Likewise.
60086 (__x86_64_raw_shared_cache_size_half): Likewise.
60088 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60089 (__x86_64_raw_data_cache_size_half): Likewise.
60090 (__x86_64_raw_shared_cache_size): Likewise.
60091 (__x86_64_raw_shared_cache_size_half): Likewise.
60092 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60093 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60094 and __x86_64_raw_shared_cache_size_half. Round
60095 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60096 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60097 to multiple of 256 bytes.
60099 2010-11-03 Ulrich Drepper <drepper@gmail.com>
60102 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60103 of inacessible symlinks. Verify result of symlink before returning it.
60104 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60105 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60107 2010-10-28 Erich Ritz <erichritz@gmail.com>
60109 * math/math.h (isinf): Fix typo in comment.
60111 2010-11-01 Ulrich Drepper <drepper@gmail.com>
60113 * po/da.po: Update from translation team.
60115 2010-10-26 Ulrich Drepper <drepper@gmail.com>
60117 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60118 is added to the list.
60120 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60121 Ulrich Drepper <drepper@gmail.com>
60123 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60124 the global list here. Move code to...
60125 (_dl_add_to_namespace_list): ...here. New function.
60126 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60127 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60128 * elf/dl-load.c (lose): Don't remove the element from the list.
60129 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60130 (_dl_map_object): Likewise.
60132 2010-10-25 Ulrich Drepper <drepper@gmail.com>
60135 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60136 into all bytes of SSE register.
60137 Patch by Richard Li <richardpku@gmail.com>.
60139 2010-10-24 Ulrich Drepper <drepper@gmail.com>
60142 * malloc/malloc.c (_int_free): Fill correct number of bytes when
60145 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
60147 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60148 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60149 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60150 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60155 2010-10-22 Andreas Schwab <schwab@redhat.com>
60157 * include/dlfcn.h (__RTLD_SECURE): Define.
60158 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
60159 mode & __RTLD_SECURE instead.
60160 (open_path): Rename preloaded parameter to secure.
60161 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60162 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60163 * elf/dl-deps.c (openaux): Likewise.
60164 * elf/rtld.c (struct map_args): Remove is_preloaded.
60165 (map_doit): Don't use it.
60166 (dl_main): Likewise.
60167 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60168 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60170 2010-09-09 Andreas Schwab <schwab@redhat.com>
60172 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60173 (sysd-rules-targets): Remove duplicates.
60174 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60175 rtld-%.$o dependency.
60177 2010-10-18 Andreas Schwab <schwab@redhat.com>
60179 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60180 _dl_map_object do it.
60182 2010-10-19 Ulrich Drepper <drepper@gmail.com>
60184 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60185 fast fma builtins, define the macros in the C99 standard.
60186 (FP_FAST_FMAF): Likewise.
60187 (FP_FAST_FMAL): Likewise.
60188 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60190 * bits/mathdef.h: Update copyright year.
60191 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60193 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60195 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60196 builtins, define the macros in the C99 standard.
60197 (FP_FAST_FMAF): Likewise.
60198 (FP_FAST_FMAL): Likewise.
60199 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60201 (FP_FAST_FMAF): Likewise.
60203 2010-10-15 Jakub Jelinek <jakub@redhat.com>
60206 * math/libm-test.inc (fma_test): Some new testcases.
60207 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60208 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60209 y and infinite z. Do multiplication by C already in long double.
60210 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60212 y and infinite z. Do bitwise or of inexact bit into u.d.
60213 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60214 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60215 * sysdeps/i386/fpu/s_fma.S: Removed.
60216 * sysdeps/i386/fpu/s_fmal.S: Removed.
60218 2010-10-16 Jakub Jelinek <jakub@redhat.com>
60221 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60223 computation is not scheduled after fetestexcept. Fix value
60224 of minimum denormal long double.
60226 2010-10-14 Jakub Jelinek <jakub@redhat.com>
60229 * math/libm-test.inc (fma_test): Add some more tests.
60230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60233 2010-10-15 Andreas Schwab <schwab@redhat.com>
60235 * scripts/data/localplt-s390-linux-gnu.data: New file.
60236 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60238 2010-10-13 Jakub Jelinek <jakub@redhat.com>
60241 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60242 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60244 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60246 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60248 if one of x and y is very large and the other is subnormal.
60249 * sysdeps/s390/fpu/s_fmaf.c: New file.
60250 * sysdeps/s390/fpu/s_fma.c: New file.
60251 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60252 * sysdeps/powerpc/fpu/s_fma.S: New file.
60253 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60254 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60255 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60257 2010-10-12 Jakub Jelinek <jakub@redhat.com>
60260 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60262 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60263 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60264 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60265 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60266 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60267 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60268 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60270 2010-10-12 Ulrich Drepper <drepper@redhat.com>
60273 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60274 * posix/bug-regex31.input: Add test case.
60276 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60278 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60279 * posix/bug-regex31.input: New file.
60282 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60283 (parse_sub_exp): Fix last change, use postorder.
60285 * posix/bug-regex31.c: New file.
60286 * posix/Makefile: Add rules to build and run bug-regex31.
60288 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60291 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60294 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60295 to have entries in sys_siglist.
60298 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60301 2010-10-07 Jakub Jelinek <jakub@redhat.com>
60304 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60305 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60306 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60307 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60308 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60309 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60310 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60311 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60312 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60313 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60314 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60315 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60316 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60317 * math/ftestexcept.c (fetestexcept): Likewise.
60318 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60319 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60320 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60321 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60322 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60323 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60324 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60326 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60329 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60332 2010-10-06 Ulrich Drepper <drepper@gmail.com>
60334 * string/bug-strstr1.c: New file.
60335 * string/Makefile: Add rules to build and run bug-strstr1.
60337 2010-10-05 Eric Blake <eblake@redhat.com>
60340 * string/str-two-way.h (two_way_long_needle): Always clear memory
60341 when skipping input due to the shift table.
60343 2010-10-03 Ulrich Drepper <drepper@gmail.com>
60346 * malloc/mcheck.c: Handle large requests.
60349 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60350 for strncmp and strncasecmp.
60351 * string/stratcliff.c: Add tests for strcmp and strncmp.
60352 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60354 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60356 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60359 2010-09-30 Andreas Jaeger <aj@suse.de>
60361 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60362 (CGROUP_SUPER_MAGIC): Define.
60363 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60364 Handle btrfs and cgroup file systems.
60365 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60368 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
60370 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60371 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60373 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60376 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60377 trying to locate the ELF header.
60379 2010-09-27 Andreas Schwab <schwab@redhat.com>
60382 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60383 Mask out sign-bit copies when constructing f_fsid.
60385 2010-09-24 Petr Baudis <pasky@suse.cz>
60387 * debug/stack_chk_fail_local.c: Add missing licence exception.
60388 * debug/warning-nop.c: Likewise.
60390 2010-09-15 Joseph Myers <joseph@codesourcery.com>
60392 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60393 implementing getdents64 using getdents syscall, set d_type if
60394 __ASSUME_GETDENTS32_D_TYPE.
60396 2010-09-16 Andreas Schwab <schwab@redhat.com>
60398 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60399 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60401 2010-09-21 Ulrich Drepper <drepper@redhat.com>
60404 * posix/unistd.h: Undo change of feature selection for ftruncate from
60407 2010-09-20 Ulrich Drepper <drepper@redhat.com>
60409 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60412 2010-09-20 Andreas Schwab <schwab@redhat.com>
60414 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60416 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60418 2010-09-14 Andreas Schwab <schwab@redhat.com>
60420 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60421 variables after CHECK_SP call.
60422 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60424 2010-09-13 Andreas Schwab <schwab@redhat.com>
60425 Ulrich Drepper <drepper@redhat.com>
60427 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60428 re-relocationg ld.so.
60429 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60430 _dl_init_paths call.
60431 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
60434 2010-09-14 Ulrich Drepper <drepper@redhat.com>
60436 * resolv/res_init.c (__res_vinit): Count the default server we added.
60438 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
60439 Ulrich Drepper <drepper@redhat.com>
60442 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60443 (____longjmp_chk): Use %ebx for saving value across system call.
60446 2010-09-06 Andreas Schwab <schwab@redhat.com>
60448 * manual/Makefile: Don't mix pattern rules with normal rules.
60450 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
60452 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60454 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60455 * libio/iofopncook.c (_IO_cookie_init): Likewise.
60456 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60457 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60458 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60461 2010-09-04 Ulrich Drepper <drepper@redhat.com>
60464 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60465 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60467 2010-09-02 Ulrich Drepper <drepper@redhat.com>
60469 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60470 * sysdeps/x86_64/addmul_1.S: Likewise.
60471 * sysdeps/x86_64/lshift.S: Likewise.
60472 * sysdeps/x86_64/mul_1.S: Likewise.
60473 * sysdeps/x86_64/rshift.S: Likewise.
60474 * sysdeps/x86_64/sub_n.S: Likewise.
60475 * sysdeps/x86_64/submul_1.S: Likewise.
60477 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
60479 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60480 Define __sched_param instead of SCHED_* and sched_param when
60481 <bits/sched.h> is included with __need_schedparam defined.
60482 * bits/sched.h [__need_schedparam]
60483 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60484 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60485 (__defined_schedparam): Define to 1.
60486 (__sched_param): New structure, identical to sched_param.
60487 (__need_schedparam): Undefine.
60489 2010-08-31 Mike Frysinger <vapier@gentoo.org>
60491 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60492 (epoll_create1): Declare.
60494 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60496 2010-08-31 Andreas Schwab <schwab@redhat.com>
60499 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60500 shifting retval into place.
60502 2010-09-01 Ulrich Drepper <drepper@redhat.com>
60504 * nis/rpcsvc/nis.h: Update copyright notice.
60505 * nis/rpcsvc/nis.x: Likewise.
60506 * nis/rpcsvc/nis_callback.h: Likewise.
60507 * nis/rpcsvc/nis_callback.x: Likewise.
60508 * nis/rpcsvc/nis_object.x: Likewise.
60509 * nis/rpcsvc/nis_tags.h: Likewise.
60510 * nis/rpcsvc/yp.h: Likewise.
60511 * nis/rpcsvc/yp.x: Likewise.
60512 * nis/rpcsvc/ypupd.h: Likewise.
60513 * nis/yp_xdr.c: Likewise.
60514 * nis/ypupdate_xdr.c: Likewise.
60516 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
60517 mainly the body of pmap_getport. Add parameters to specify timeouts.
60518 (pmap_getport): Use __libc_rpc_getport.
60519 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60520 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60521 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60523 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
60525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60528 2010-08-27 Roland McGrath <roland@redhat.com>
60530 * sysdeps/i386/i686/multiarch/Makefile
60531 (CFLAGS-varshift.c): New variable.
60533 2010-08-27 Ulrich Drepper <drepper@redhat.com>
60535 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60536 * sysdeps/i386/i686/multiarch/varshift.c: New file.
60538 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60540 * sysdeps/x86_64/strlen.S: Minimal code improvement.
60542 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
60544 * sysdeps/x86_64/strlen.S: Unroll the loop.
60545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60546 strlen-sse2 strlen-sse2-bsf.
60547 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60548 __strlen_no_bsf if bit_Slow_BSF is set.
60549 (__strlen_sse42): Removed.
60550 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60551 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60553 2010-08-25 Roland McGrath <roland@redhat.com>
60555 * sysdeps/x86_64/multiarch/varshift.S: File removed.
60556 * sysdeps/x86_64/multiarch/varshift.c: New file.
60557 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60558 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60559 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60560 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60562 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
60564 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60565 strlen-sse2 strlen-sse2-bsf.
60566 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60567 __strlen_sse2_bsf if bit_Slow_BSF is unset.
60568 (__strlen_sse2): Removed.
60569 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60570 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60572 bit_Slow_BSF for Atom.
60573 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60574 (index_Slow_BSF): Define.
60575 (HAS_SLOW_BSF): Define.
60577 2010-08-25 Ulrich Drepper <drepper@redhat.com>
60580 * resolv/res_init.c (__res_vinit): When no server address at all
60581 is given default to loopback.
60583 2010-08-24 Roland McGrath <roland@redhat.com>
60585 * configure.in: Remove config-name.h generation.
60586 * configure: Regenerated.
60587 * config-name.in: File removed.
60588 * scripts/config-uname.sh: New file.
60589 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60590 ($(objdir)config-name.h): New target.
60592 * sunrpc/rpc_parse.h: Avoid nested comment.
60594 2010-08-24 Richard Henderson <rth@redhat.com>
60595 Ulrich Drepper <drepper@redhat.com>
60596 H.J. Lu <hongjiu.lu@intel.com>
60598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60600 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60601 Replace _mm_srli_si128 with __m128i_shift_right. Replace
60602 _mm_alignr_epi8 with _mm_loadu_si128.
60603 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60604 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60605 (__m128i_shift_right): Removed.
60606 * sysdeps/i386/i686/multiarch/varshift.h: New file.
60607 * sysdeps/i386/i686/multiarch/varshift.S: New file.
60608 * sysdeps/x86_64/multiarch/varshift.h: New file.
60609 * sysdeps/x86_64/multiarch/varshift.S: New file.
60611 2010-08-21 Mike Frysinger <vapier@gentoo.org>
60613 * configure.in: Move assembler checks to before sysdep dir checking.
60615 2010-08-20 Petr Baudis <pasky@suse.cz>
60617 * LICENSES: Sync the sunrpc license.
60619 2010-08-19 Ulrich Drepper <drepper@redhat.com>
60621 * sunrpc/auth_des.c: Update copyright notice once again.
60622 * sunrpc/auth_none.c: Likewise.
60623 * sunrpc/auth_unix.c: Likewise.
60624 * sunrpc/authdes_prot.c: Likewise.
60625 * sunrpc/authuxprot.c: Likewise.
60626 * sunrpc/bindrsvprt.c: Likewise.
60627 * sunrpc/clnt_gen.c: Likewise.
60628 * sunrpc/clnt_perr.c: Likewise.
60629 * sunrpc/clnt_raw.c: Likewise.
60630 * sunrpc/clnt_simp.c: Likewise.
60631 * sunrpc/clnt_tcp.c: Likewise.
60632 * sunrpc/clnt_udp.c: Likewise.
60633 * sunrpc/clnt_unix.c: Likewise.
60634 * sunrpc/des_crypt.c: Likewise.
60635 * sunrpc/des_soft.c: Likewise.
60636 * sunrpc/get_myaddr.c: Likewise.
60637 * sunrpc/getrpcport.c: Likewise.
60638 * sunrpc/key_call.c: Likewise.
60639 * sunrpc/key_prot.c: Likewise.
60640 * sunrpc/openchild.c: Likewise.
60641 * sunrpc/pm_getmaps.c: Likewise.
60642 * sunrpc/pm_getport.c: Likewise.
60643 * sunrpc/pmap_clnt.c: Likewise.
60644 * sunrpc/pmap_prot.c: Likewise.
60645 * sunrpc/pmap_prot2.c: Likewise.
60646 * sunrpc/pmap_rmt.c: Likewise.
60647 * sunrpc/rpc/auth.h: Likewise.
60648 * sunrpc/rpc/auth_unix.h: Likewise.
60649 * sunrpc/rpc/clnt.h: Likewise.
60650 * sunrpc/rpc/des_crypt.h: Likewise.
60651 * sunrpc/rpc/key_prot.h: Likewise.
60652 * sunrpc/rpc/netdb.h: Likewise.
60653 * sunrpc/rpc/pmap_clnt.h: Likewise.
60654 * sunrpc/rpc/pmap_prot.h: Likewise.
60655 * sunrpc/rpc/pmap_rmt.h: Likewise.
60656 * sunrpc/rpc/rpc.h: Likewise.
60657 * sunrpc/rpc/rpc_des.h: Likewise.
60658 * sunrpc/rpc/rpc_msg.h: Likewise.
60659 * sunrpc/rpc/svc.h: Likewise.
60660 * sunrpc/rpc/svc_auth.h: Likewise.
60661 * sunrpc/rpc/types.h: Likewise.
60662 * sunrpc/rpc/xdr.h: Likewise.
60663 * sunrpc/rpc_clntout.c: Likewise.
60664 * sunrpc/rpc_cmsg.c: Likewise.
60665 * sunrpc/rpc_common.c: Likewise.
60666 * sunrpc/rpc_cout.c: Likewise.
60667 * sunrpc/rpc_dtable.c: Likewise.
60668 * sunrpc/rpc_hout.c: Likewise.
60669 * sunrpc/rpc_main.c: Likewise.
60670 * sunrpc/rpc_parse.c: Likewise.
60671 * sunrpc/rpc_parse.h: Likewise.
60672 * sunrpc/rpc_prot.c: Likewise.
60673 * sunrpc/rpc_sample.c: Likewise.
60674 * sunrpc/rpc_scan.c: Likewise.
60675 * sunrpc/rpc_scan.h: Likewise.
60676 * sunrpc/rpc_svcout.c: Likewise.
60677 * sunrpc/rpc_tblout.c: Likewise.
60678 * sunrpc/rpc_util.c: Likewise.
60679 * sunrpc/rpc_util.h: Likewise.
60680 * sunrpc/rpcinfo.c: Likewise.
60681 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60682 * sunrpc/rpcsvc/key_prot.x: Likewise.
60683 * sunrpc/rpcsvc/klm_prot.x: Likewise.
60684 * sunrpc/rpcsvc/mount.x: Likewise.
60685 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60686 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60687 * sunrpc/rpcsvc/rex.x: Likewise.
60688 * sunrpc/rpcsvc/rstat.x: Likewise.
60689 * sunrpc/rpcsvc/rusers.x: Likewise.
60690 * sunrpc/rpcsvc/sm_inter.x: Likewise.
60691 * sunrpc/rpcsvc/spray.x: Likewise.
60692 * sunrpc/rpcsvc/yppasswd.x: Likewise.
60693 * sunrpc/rtime.c: Likewise.
60694 * sunrpc/svc.c: Likewise.
60695 * sunrpc/svc_auth.c: Likewise.
60696 * sunrpc/svc_authux.c: Likewise.
60697 * sunrpc/svc_raw.c: Likewise.
60698 * sunrpc/svc_run.c: Likewise.
60699 * sunrpc/svc_simple.c: Likewise.
60700 * sunrpc/svc_tcp.c: Likewise.
60701 * sunrpc/svc_udp.c: Likewise.
60702 * sunrpc/svc_unix.c: Likewise.
60703 * sunrpc/svcauth_des.c: Likewise.
60704 * sunrpc/xcrypt.c: Likewise.
60705 * sunrpc/xdr.c: Likewise.
60706 * sunrpc/xdr_array.c: Likewise.
60707 * sunrpc/xdr_float.c: Likewise.
60708 * sunrpc/xdr_mem.c: Likewise.
60709 * sunrpc/xdr_rec.c: Likewise.
60710 * sunrpc/xdr_ref.c: Likewise.
60711 * sunrpc/xdr_sizeof.c: Likewise.
60712 * sunrpc/xdr_stdio.c: Likewise.
60714 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60717 2010-08-19 Andreas Schwab <schwab@redhat.com>
60719 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60721 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
60723 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60724 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60725 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60726 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60727 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60728 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60729 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60730 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60731 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60732 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60733 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60734 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60735 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60736 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60738 2010-07-26 Anton Blanchard <anton@samba.org>
60740 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60741 * malloc/arena.c (heap_trim): Likewise.
60743 2010-08-16 Ulrich Drepper <drepper@redhat.com>
60745 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60747 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60748 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60750 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
60752 * sysdeps/i386/elf/Makefile: New file.
60754 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60756 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60757 from fanotify_init.
60758 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60759 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60761 2010-08-15 Ulrich Drepper <drepper@redhat.com>
60763 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60765 * sysdeps/multiarch/strcmp.S: Likewise.
60767 2010-08-14 Ulrich Drepper <drepper@redhat.com>
60769 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60770 strncase_l-nonascii.
60771 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60772 Add strncase_l-ssse3.
60773 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60774 * sysdeps/x86_64/strcmp.S: Likewise.
60775 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60776 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60777 * sysdeps/x86_64/strncase.S: New file.
60778 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60779 * sysdeps/x86_64/strncase_l.S: New file.
60780 * string/Makefile (strop-tests): Add strncasecmp.
60781 * string/test-strncasecmp.c: New file.
60783 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60786 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60787 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60789 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60791 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60793 2010-08-12 Ulrich Drepper <drepper@redhat.com>
60795 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60796 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60797 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60799 2010-05-01 Alan Modra <amodra@gmail.com>
60801 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60802 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60803 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60804 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60805 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60806 tidying. Don't tail-call __sigjmp_save for static lib.
60807 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60809 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60810 (CALL_MCOUNT): Add eh info, and nop after bl.
60811 (TAIL_CALL_SYSCALL_ERROR): New macro.
60812 (PSEUDO_RET): Use it.
60813 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60814 Correct save location of integer regs and cr.
60815 (_dl_profile_resolve): Correct cr save location. Delete nops
60816 after bl when SHARED. Reduce cfi size a little by better
60817 placement of cfi directives.
60818 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60819 make a stack frame. Instead use parm save area as a temp.
60820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60821 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
60822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60823 Don't make a stack frame for parent, use parm save area.
60824 Increase child stack frame to 112 bytes. Don't save unused reg,
60825 and adjust reg usage. Set up cfi on error recovery and
60826 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60828 (__makecontext): Add dummy nop after jump to exit.
60829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60830 Use correct parm save area and cr save, reduce stack frame.
60831 Correct cfi for possible PSEUDO_RET frame setup.
60832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60833 Branch to local label emitted by PSEUDO_RET rather than
60836 2010-08-12 Andreas Schwab <schwab@redhat.com>
60839 * locale/programs/locale.c (print_assignment): New function.
60840 (show_locale_vars): Use it.
60842 2010-08-11 Ulrich Drepper <drepper@redhat.com>
60844 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60846 (struct statfs64): Likewise.
60847 (_STATFS_F_FLAGS): Define.
60848 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60849 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60850 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60851 (ST_VALID): Define locally.
60852 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60853 __statvfs_getflags, use the provided value.
60854 * sysdeps/unix/sysv/linux/kernel-features.h: Define
60855 __ASSUME_STATFS_F_FLAGS.
60857 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60859 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60860 Add sys/fanotify.h.
60861 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60862 fanotify_mask for GLIBC_2.13.
60863 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60864 fanotify_init and fanotify_mark.
60865 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60866 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60868 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60870 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60871 prlimit64 for GLIBC_2.13.
60872 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60874 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60877 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60878 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60879 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60880 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
60882 * sysdeps/unix/sysv/linux/prlimit.c: New file.
60885 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60886 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60888 * nss/Makefile: Add rules to build and run tst-nss-test1.
60889 * shlib-versions: Add entry for libnss_test1.
60890 * nss/nss_test1.c: New file.
60891 * nss/tst-nss-test1.c: New file.
60893 * nss/nsswitch.c (__nss_database_custom): Define new variable.
60894 (__nss_configure_lookup): Set appropriate entry in
60895 __nss_configure_lookup to true.
60896 * nss/nsswitch.h: Define enum with indeces of databases in
60897 databases and __nss_database_custom arrays. Declare
60898 __nss_database_custom.
60899 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60900 to avoid using nscd when custom rules are installed.
60901 * nss/getXXbyYY_r.c: Likewise.
60902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60904 * nss/nss_files/files-parse.c: Whitespace fixes.
60906 2010-08-09 Ulrich Drepper <drepper@redhat.com>
60909 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60910 * posix/fnmatch_loop.c: Likewise.
60912 2010-07-17 Andi Kleen <ak@linux.intel.com>
60914 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60915 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60916 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60917 * Versions.def [GLIBC_2.13]: Add.
60919 2010-08-06 Ulrich Drepper <drepper@redhat.com>
60921 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60922 Also fail if tpwd after pwuid call is NULL.
60924 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
60926 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60927 when converting to ms.
60929 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60931 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60932 EOPNOTSUPP errors with ENOTTY.
60933 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60934 EOPNOTSUPP errors with ENOTTY.
60936 2010-07-31 Ulrich Drepper <drepper@redhat.com>
60938 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60939 Add strcasecmp_l-ssse3.
60940 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60942 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60943 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60944 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60946 2010-07-30 Ulrich Drepper <drepper@redhat.com>
60948 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60950 * string/Makefile (strop-tests): Add strcasecmp.
60951 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60952 strcasecmp_l-nonascii.
60953 (gen-as-const-headers): Add locale-defines.sym.
60954 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60955 * sysdeps/x86_64/strcasecmp.S: New file.
60956 * sysdeps/x86_64/strcasecmp_l.S: New file.
60957 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60958 * sysdeps/x86_64/locale-defines.sym: New file.
60959 * string/test-strcasecmp.c: New file.
60961 * string/test-strcasestr.c: Test both ends of the range of characters.
60962 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60964 2010-07-29 Roland McGrath <roland@redhat.com>
60967 * manual/locale.texi (Yes-or-No Questions): Fix example code.
60969 2010-07-27 Ulrich Drepper <drepper@redhat.com>
60971 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60974 2010-07-27 Andreas Schwab <schwab@redhat.com>
60976 * manual/memory.texi (Malloc Tunable Parameters): Document
60979 2010-07-26 Roland McGrath <roland@redhat.com>
60982 * configure.in (-fgnu89-inline check): Set and substitute
60983 gnu89_inline, not libc_cv_gnu89_inline.
60984 * configure: Regenerated.
60985 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60987 2010-07-26 Ulrich Drepper <drepper@redhat.com>
60989 * string/test-strnlen.c: New file.
60990 * string/Makefile (strop-tests): Add strnlen.
60991 * string/tester.c (test_strnlen): Add a few more test cases.
60992 * string/tst-strlen.c: Better error reporting.
60994 * sysdeps/x86_64/strnlen.S: New file.
60996 2010-07-24 Ulrich Drepper <drepper@redhat.com>
60998 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60999 lower-latency instructions.
61001 2010-07-23 Ulrich Drepper <drepper@redhat.com>
61003 * string/test-strcasestr.c: New file.
61004 * string/test-strstr.c: New file.
61005 * string/Makefile (strop-tests): Add strstr and strcasestr.
61006 * string/str-two-way.h: Don't undefine MAX.
61007 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61009 2010-07-21 Andreas Schwab <schwab@redhat.com>
61011 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61012 strcasestr-nonascii.
61013 (CFLAGS-strcasestr-nonascii.c): Define.
61014 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61015 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61016 Remove unused attribute.
61018 2010-07-20 Roland McGrath <roland@redhat.com>
61020 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61021 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61022 ld.so.cache was broken. With it, there is no way to disable dsocaps
61023 like LD_HWCAP_MASK can disable hwcaps.
61025 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61027 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61029 2010-07-16 Ulrich Drepper <drepper@redhat.com>
61031 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61032 call in strcasestr.
61033 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61034 __strcasestr_sse42_nonascii.
61035 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61036 strcasestr-nonascii.c.
61037 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61039 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
61041 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61042 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61043 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61044 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61046 2010-07-09 Ulrich Drepper <drepper@redhat.com>
61048 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61051 2010-07-06 Andreas Schwab <schwab@redhat.com>
61054 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61057 2010-07-06 Ulrich Drepper <drepper@redhat.com>
61059 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61060 _PC_PIPE_BUF using F_GETPIPE_SZ.
61062 2010-07-05 Roland McGrath <roland@redhat.com>
61064 * manual/arith.texi (Rounding Functions): Fix rint description
61065 implicit in round description.
61067 2010-07-02 Ulrich Drepper <drepper@redhat.com>
61069 * elf/Makefile: Fix linking for a few tests to make recent linker
61072 2010-06-30 Andreas Schwab <schwab@redhat.com>
61074 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61075 $(common-objpfx)libc_nonshared.a.
61077 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
61079 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61080 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61081 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61082 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61083 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61084 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61085 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61086 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61101 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61102 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61103 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61104 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61105 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61106 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61107 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61108 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61109 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61110 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61111 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61112 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61128 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61130 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61131 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
61132 * string/memmove.c (memmove): Renamed to ...
61133 (MEMMOVE): ...this. Default to memmove.
61134 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61135 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61138 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61139 mempcpy-ssse3-back memmove-ssse3-back.
61140 * sysdeps/x86_64/multiarch/bcopy.S: New file .
61141 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61142 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61143 * sysdeps/x86_64/multiarch/memcpy.S: New file.
61144 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61145 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61146 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61147 * sysdeps/x86_64/multiarch/memmove.c: New file.
61148 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61149 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61150 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61151 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61152 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61153 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61155 (index_Fast_Copy_Backward): Define.
61156 (HAS_ARCH_FEATURE): Define.
61157 (HAS_FAST_REP_STRING): Define.
61158 (HAS_FAST_COPY_BACKWARD): Define.
61160 2010-06-21 Andreas Schwab <schwab@redhat.com>
61162 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61163 Restore proper fallback handling.
61165 2010-06-19 Ulrich Drepper <drepper@redhat.com>
61168 * posix/group_member.c (__group_member): Correct checking loop.
61170 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61171 OOM in getpwuid_r correctly. Return error number when the caller
61172 should return, otherwise -1.
61173 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61174 call returning > 0 value.
61175 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61177 2010-06-07 Andreas Schwab <schwab@redhat.com>
61179 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61180 libc_nonshared.a from targets in modules-names.
61182 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61184 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61187 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
61189 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61190 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61191 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61192 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61194 2010-06-02 Andreas Schwab <schwab@redhat.com>
61196 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61198 2010-06-14 Ulrich Drepper <drepper@redhat.com>
61200 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61202 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61205 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61206 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61207 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61209 2010-06-14 Roland McGrath <roland@redhat.com>
61211 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61213 2010-06-07 Jakub Jelinek <jakub@redhat.com>
61215 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61216 __REDIRECT followed by __THROW.
61217 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61218 * posix/getopt.h (getopt): Likewise.
61220 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61222 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61223 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61224 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61226 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61227 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61229 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
61231 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61233 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61237 Properly check family and model.
61239 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61241 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61243 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
61245 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61247 2010-05-21 Ulrich Drepper <drepper@redhat.com>
61249 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61252 2010-05-19 Andreas Schwab <schwab@redhat.com>
61254 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61257 2010-05-21 Andreas Schwab <schwab@redhat.com>
61259 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61260 and internal_recvmmsg.
61261 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61262 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61263 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61264 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61266 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61267 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61268 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61270 2010-05-20 Andreas Schwab <schwab@redhat.com>
61272 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61274 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
61276 POWER7 optimizations.
61277 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61278 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61280 2010-05-19 Ulrich Drepper <drepper@redhat.com>
61282 * version.h: Update for 2.13 development version.
61284 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
61286 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61287 exceptions. Return 0.
61289 2010-05-07 Roland McGrath <roland@redhat.com>
61291 * elf/ldconfig.c (main): Add a const.
61293 2010-05-06 Ulrich Drepper <drepper@redhat.com>
61295 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61296 (args_options): Add no-idn option.
61297 (ahosts_keys_int): Add idn_flags to ai_flags.
61298 (parse_option): Handle 'i' option to clear idn_flags.
61300 * malloc/malloc.c (_int_free): Possible race in the most recently
61301 added check. Only act on the data if no current modification
61304 See ChangeLog.17 for earlier changes.